
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

PixelInterpolateMethod MagickGetInterpolateMethod(MagickWand *wand)

{
  int iVar1;
  PixelInterpolateMethod PVar2;
  
  if (wand == (MagickWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,
                  "MagickGetInterpolateMethod");
  }
  if (wand->signature == 0xabacadab) {
    if (wand->debug != MagickFalse) {
      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",
                     wand->name);
    }
    iVar1 = GetImageOption(wand->image_info,"interpolate");
    PVar2 = UndefinedInterpolatePixel;
    if (iVar1 != 0) {
      PVar2 = ParseCommandOption(0x25,0,iVar1);
    }
    return PVar2;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,
                "MagickGetInterpolateMethod");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MagickGetInterpolateMethod(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,
                  "MagickGetInterpolateMethod");
  }
  if (*(int *)(param_1 + 0x101c) == -0x54535255) {
    if (*(int *)(param_1 + 0x1018) != 0) {
      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",
                     param_1 + 4);
    }
    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");
    uVar2 = 0;
    if (iVar1 != 0) {
      uVar2 = ParseCommandOption(0x25,0,iVar1);
    }
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,
                "MagickGetInterpolateMethod");
}


PUSH ESI
PUSH EBX
CALL 0x0001e8f0
ADD EBX,0xe2019
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
TEST ESI,ESI
JZ 0x0008409f
CMP dword ptr [ESI + 0x101c],0xabacadab
JNZ 0x00084080
MOV EAX,dword ptr [ESI + 0x1018]
TEST EAX,EAX
JNZ 0x00084050
LEA EAX,[EBX + 0xfff8210e]
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESI + 0x1008]
CALL 0x0001d8b0
ADD ESP,0x10
XOR EDX,EDX
TEST EAX,EAX
JZ 0x00084042
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x25
CALL 0x0001cb90
ADD ESP,0x10
MOV EDX,EAX
ADD ESP,0x4
MOV EAX,EDX
POP EBX
POP ESI
RET
LEA EAX,[ESI + 0x4]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xfff92fa4]
PUSH EAX
LEA EAX,[EBX + 0xfff92748]
PUSH 0x3ef
PUSH EAX
LEA EAX,[EBX + 0xfff92068]
PUSH EAX
PUSH 0x40000
CALL 0x0001d6f0
ADD ESP,0x20
JMP 0x00084012
LEA EAX,[EBX + 0xfff92764]
PUSH EAX
LEA EAX,[EBX + 0xfff92068]
PUSH 0x3ed
PUSH EAX
LEA EAX,[EBX + 0xfff8e9f8]
PUSH EAX
CALL 0x0001ccf0
LEA EAX,[EBX + 0xfff92764]
PUSH EAX
LEA EAX,[EBX + 0xfff92068]
PUSH 0x3ec
PUSH EAX
LEA EAX,[EBX + 0xfff8e933]
PUSH EAX
CALL 0x0001ccf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 MagickGetInterpolateMethod(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}\n\n" comment (function_definition "undefined4 MagickGetInterpolateMethod(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}" type_identifier (function_declarator "MagickGetInterpolateMethod(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickGetInterpolateMethod"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1018) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1018) != 0" (pointer_expression "*(int *)(param_1 + 0x1018)" * (cast_expression "(int *)(param_1 + 0x1018)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1018)" ( (binary_expression "param_1 + 0x1018" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4)" ( number_literal , (string_literal ""MagickWand/magick-property.c"" " string_content ") , (string_literal ""MagickGetInterpolateMethod"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (expression_statement "iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");" (assignment_expression "iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate")" identifier = (call_expression "GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate")" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1008),"interpolate")" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) , (string_literal ""interpolate"" " string_content ") )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }" { (expression_statement "uVar2 = ParseCommandOption(0x25,0,iVar1);" (assignment_expression "uVar2 = ParseCommandOption(0x25,0,iVar1)" identifier = (call_expression "ParseCommandOption(0x25,0,iVar1)" identifier (argument_list "(0x25,0,iVar1)" ( number_literal , number_literal , identifier )))) ;) })) (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickGetInterpolateMethod"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nPixelInterpolateMethod MagickGetInterpolateMethod(MagickWand *wand)\n\n{\n  int iVar1;\n  PixelInterpolateMethod PVar2;\n  \n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     wand->name);\n    }\n    iVar1 = GetImageOption(wand->image_info,"interpolate");\n    PVar2 = UndefinedInterpolatePixel;\n    if (iVar1 != 0) {\n      PVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return PVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}\n\n" comment comment comment comment comment comment comment (function_definition "PixelInterpolateMethod MagickGetInterpolateMethod(MagickWand *wand)\n\n{\n  int iVar1;\n  PixelInterpolateMethod PVar2;\n  \n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     wand->name);\n    }\n    iVar1 = GetImageOption(wand->image_info,"interpolate");\n    PVar2 = UndefinedInterpolatePixel;\n    if (iVar1 != 0) {\n      PVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return PVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}" type_identifier (function_declarator "MagickGetInterpolateMethod(MagickWand *wand)" identifier (parameter_list "(MagickWand *wand)" ( (parameter_declaration "MagickWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  PixelInterpolateMethod PVar2;\n  \n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     wand->name);\n    }\n    iVar1 = GetImageOption(wand->image_info,"interpolate");\n    PVar2 = UndefinedInterpolatePixel;\n    if (iVar1 != 0) {\n      PVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return PVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "PixelInterpolateMethod PVar2;" type_identifier identifier ;) (if_statement "if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }" if (parenthesized_expression "(wand == (MagickWand *)0x0)" ( (binary_expression "wand == (MagickWand *)0x0" identifier == (cast_expression "(MagickWand *)0x0" ( (type_descriptor "MagickWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickGetInterpolateMethod"" " string_content ") ))) ;) })) (if_statement "if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     wand->name);\n    }\n    iVar1 = GetImageOption(wand->image_info,"interpolate");\n    PVar2 = UndefinedInterpolatePixel;\n    if (iVar1 != 0) {\n      PVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return PVar2;\n  }" if (parenthesized_expression "(wand->signature == 0xabacadab)" ( (binary_expression "wand->signature == 0xabacadab" (field_expression "wand->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     wand->name);\n    }\n    iVar1 = GetImageOption(wand->image_info,"interpolate");\n    PVar2 = UndefinedInterpolatePixel;\n    if (iVar1 != 0) {\n      PVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return PVar2;\n  }" { (if_statement "if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     wand->name);\n    }" if (parenthesized_expression "(wand->debug != MagickFalse)" ( (binary_expression "wand->debug != MagickFalse" (field_expression "wand->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     wand->name);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     wand->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     wand->name)" identifier (argument_list "(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     wand->name)" ( number_literal , (string_literal ""MagickWand/magick-property.c"" " string_content ") , (string_literal ""MagickGetInterpolateMethod"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "wand->name" identifier -> field_identifier) ))) ;) })) (expression_statement "iVar1 = GetImageOption(wand->image_info,"interpolate");" (assignment_expression "iVar1 = GetImageOption(wand->image_info,"interpolate")" identifier = (call_expression "GetImageOption(wand->image_info,"interpolate")" identifier (argument_list "(wand->image_info,"interpolate")" ( (field_expression "wand->image_info" identifier -> field_identifier) , (string_literal ""interpolate"" " string_content ") )))) ;) (expression_statement "PVar2 = UndefinedInterpolatePixel;" (assignment_expression "PVar2 = UndefinedInterpolatePixel" identifier = identifier) ;) (if_statement "if (iVar1 != 0) {\n      PVar2 = ParseCommandOption(0x25,0,iVar1);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      PVar2 = ParseCommandOption(0x25,0,iVar1);\n    }" { (expression_statement "PVar2 = ParseCommandOption(0x25,0,iVar1);" (assignment_expression "PVar2 = ParseCommandOption(0x25,0,iVar1)" identifier = (call_expression "ParseCommandOption(0x25,0,iVar1)" identifier (argument_list "(0x25,0,iVar1)" ( number_literal , number_literal , identifier )))) ;) })) (return_statement "return PVar2;" return identifier ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickGetInterpolateMethod"" " string_content ") ))) ;) })))
(translation_unit "undefined4 MagickGetInterpolateMethod(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}\n\n" (function_definition "undefined4 MagickGetInterpolateMethod(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}" type_identifier (function_declarator "MagickGetInterpolateMethod(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }" { (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickGetInterpolateMethod"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1018) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1018) != 0" (pointer_expression "*(int *)(param_1 + 0x1018)" * (cast_expression "(int *)(param_1 + 0x1018)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1018)" ( (binary_expression "param_1 + 0x1018" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4)" ( number_literal , (string_literal ""MagickWand/magick-property.c"" " string_content ") , (string_literal ""MagickGetInterpolateMethod"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (expression_statement "iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");" (assignment_expression "iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate")" identifier = (call_expression "GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate")" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1008),"interpolate")" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) , (string_literal ""interpolate"" " string_content ") )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }" { (expression_statement "uVar2 = ParseCommandOption(0x25,0,iVar1);" (assignment_expression "uVar2 = ParseCommandOption(0x25,0,iVar1)" identifier = (call_expression "ParseCommandOption(0x25,0,iVar1)" identifier (argument_list "(0x25,0,iVar1)" ( number_literal , number_literal , identifier )))) ;) })) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickGetInterpolateMethod"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined4 MagickGetInterpolateMethod(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}" (type_identifier "undefined4") (function_declarator "MagickGetInterpolateMethod(int param_1)" (identifier "MagickGetInterpolateMethod") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");\n  }" ({ "{") (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod")" (identifier "__assert_fail") (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,\n                  "MagickGetInterpolateMethod")" (( "(") (string_literal ""wand != (MagickWand *) NULL"" (" """) (string_content "wand != (MagickWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/magick-property.c"" (" """) (string_content "MagickWand/magick-property.c") (" """)) (, ",") (number_literal "0x3ec") (, ",") (string_literal ""MagickGetInterpolateMethod"" (" """) (string_content "MagickGetInterpolateMethod") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x101c) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" (* "*") (cast_expression "(int *)(param_1 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x101c)" (( "(") (binary_expression "param_1 + 0x101c" (identifier "param_1") (+ "+") (number_literal "0x101c")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }\n    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");\n    uVar2 = 0;\n    if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }\n    return uVar2;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1018) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1018) != 0" (pointer_expression "*(int *)(param_1 + 0x1018)" (* "*") (cast_expression "(int *)(param_1 + 0x1018)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1018)" (( "(") (binary_expression "param_1 + 0x1018" (identifier "param_1") (+ "+") (number_literal "0x1018")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",\n                     param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/magick-property.c"" (" """) (string_content "MagickWand/magick-property.c") (" """)) (, ",") (string_literal ""MagickGetInterpolateMethod"" (" """) (string_content "MagickGetInterpolateMethod") (" """)) (, ",") (number_literal "0x3ef") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");" (assignment_expression "iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate")" (identifier "iVar1") (= "=") (call_expression "GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate")" (identifier "GetImageOption") (argument_list "(*(undefined4 *)(param_1 + 0x1008),"interpolate")" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1008)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1008)" (( "(") (binary_expression "param_1 + 0x1008" (identifier "param_1") (+ "+") (number_literal "0x1008")) () ")")))) (, ",") (string_literal ""interpolate"" (" """) (string_content "interpolate") (" """)) () ")")))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar1 != 0) {\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = ParseCommandOption(0x25,0,iVar1);\n    }" ({ "{") (expression_statement "uVar2 = ParseCommandOption(0x25,0,iVar1);" (assignment_expression "uVar2 = ParseCommandOption(0x25,0,iVar1)" (identifier "uVar2") (= "=") (call_expression "ParseCommandOption(0x25,0,iVar1)" (identifier "ParseCommandOption") (argument_list "(0x25,0,iVar1)" (( "(") (number_literal "0x25") (, ",") (number_literal "0") (, ",") (identifier "iVar1") () ")")))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod")" (identifier "__assert_fail") (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,\n                "MagickGetInterpolateMethod")" (( "(") (string_literal ""wand->signature == MagickWandSignature"" (" """) (string_content "wand->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/magick-property.c"" (" """) (string_content "MagickWand/magick-property.c") (" """)) (, ",") (number_literal "0x3ed") (, ",") (string_literal ""MagickGetInterpolateMethod"" (" """) (string_content "MagickGetInterpolateMethod") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

type_1 function_1(type_2 *var_1)

{
  int var_6;
  type_1 PVar2;
  
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,
                  "MagickGetInterpolateMethod");
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      var_4(0x40000,"MagickWand/magick-property.c","MagickGetInterpolateMethod",0x3ef,"%s",
                     var_1->name);
    }
    var_6 = var_5(var_1->image_info,"interpolate");
    PVar2 = UndefinedInterpolatePixel;
    if (var_6 != 0) {
      PVar2 = var_7(0x25,0,var_6);
    }
    return PVar2;
  }
                    /* WARNING: Subroutine does not return */
  var_2("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,
                "MagickGetInterpolateMethod");
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content)) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (string_literal (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (identifier))))))) (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0x3ec,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x101c) == -0x54535255) {
    if (*(int *)(param_1 + 0x1018) != 0) {
      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MASKED",0x3ef,"%s",
                     param_1 + 4);
    }
    iVar1 = GetImageOption(*(undefined4 *)(param_1 + 0x1008),"interpolate");
    uVar2 = 0;
    if (iVar1 != 0) {
      uVar2 = ParseCommandOption(0x25,0,iVar1);
    }
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0x3ed,
                "MASKED");
}

