
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

char * GetImageOption(ImageInfo *image_info,char *option)

{
  char *pcVar1;
  void *pvVar2;
  ImageInfo *unaff_s0;
  char *unaff_s1;
  
  if (image_info == (ImageInfo *)0x0) {
    (*(code *)PTR___assert_fail_003fa620)
              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,
               PTR_s_ltiple_images_003f98e8 + 0x217c);
LAB_00137168:
    pcVar1 = (char *)(*(code *)PTR___assert_fail_003fa620)
                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,
                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c);
  }
  else {
    unaff_s0 = image_info;
    unaff_s1 = option;
    if (image_info->signature != 0xabacadab) goto LAB_00137168;
    pcVar1 = image_info->filename;
    if (image_info->debug == MagickFalse) {
      pvVar2 = image_info->options;
      goto LAB_00137114;
    }
  }
  (*(code *)PTR_LogMagickEvent_003fa1f8)
            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,
             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,pcVar1);
  pvVar2 = unaff_s0->options;
LAB_00137114:
  if (pvVar2 == (void *)0x0) {
    pcVar1 = (char *)0x0;
  }
  else {
    pcVar1 = (char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1);
  }
  return pcVar1;
}



undefined4 GetImageOption(int param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  int unaff_s0;
  undefined4 unaff_s1;
  
  if (param_1 == 0) {
    (*(code *)PTR___assert_fail_003fa620)
              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,
               PTR_s_ltiple_images_003f98e8 + 0x217c);
LAB_00137168:
    iVar1 = (*(code *)PTR___assert_fail_003fa620)
                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,
                       PTR_s_ltiple_images_003f98e8 + 0x217c);
  }
  else {
    unaff_s0 = param_1;
    unaff_s1 = param_2;
    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;
    iVar1 = param_1 + 0x2210;
    if (*(int *)(param_1 + 0x3210) == 0) {
      iVar1 = *(int *)(param_1 + 0x1e8);
      goto LAB_00137114;
    }
  }
  (*(code *)PTR_LogMagickEvent_003fa1f8)
            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,
             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);
  iVar1 = *(int *)(unaff_s0 + 0x1e8);
LAB_00137114:
  if (iVar1 == 0) {
    uVar2 = 0;
  }
  else {
    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);
  }
  return uVar2;
}


lui gp,0x2d
addiu gp,gp,-0x5818
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s1,0x28(sp)
sw s0,0x24(sp)
sw gp,0x18(sp)
beq a0,zero,0x00137140
_lui v0,0xabac
or s0,a0,zero
lw v1,0x3214(a0)
ori v0,v0,0xadab
bne v1,v0,0x00137168
_or s1,a1,zero
lw v0,0x3210(a0)
bne v0,zero,0x00137190
_addiu v0,a0,0x2210
lw a0,0x1e8(s0)
beq a0,zero,0x001371d0
_or a1,s1,zero
lw t9,-0x70e4(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw ra,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x30
lw a3,-0x7fc8(gp)
addiu a3,a3,0x217c
li a2,0x913
lw a1,-0x7fc8(gp)
addiu a1,a1,0x2220
lw a0,-0x7fd0(gp)
addiu a0,a0,0x4c5c
lw t9,-0x7290(gp)
jalr t9
_nop
lw a3,-0x7fc8(gp)
addiu a3,a3,0x217c
li a2,0x914
lw a1,-0x7fc8(gp)
addiu a1,a1,0x2220
lw a0,-0x7fd0(gp)
addiu a0,a0,0x3d70
lw t9,-0x7290(gp)
jalr t9
_nop
sw v0,0x14(sp)
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x2f6c
sw v0,0x10(sp)
li a3,0x916
lw a2,-0x7fc8(gp)
addiu a2,a2,0x216c
lw a1,-0x7fc8(gp)
addiu a1,a1,0x2220
ori a0,zero,0x8000
lw t9,-0x76b8(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x00137114
_lw a0,0x1e8(s0)
b 0x0013712c
_or v0,zero,zero
(translation_unit "undefined4 GetImageOption(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int unaff_s0;\n  undefined4 unaff_s1;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);\n  iVar1 = *(int *)(unaff_s0 + 0x1e8);\nLAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 GetImageOption(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int unaff_s0;\n  undefined4 unaff_s1;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);\n  iVar1 = *(int *)(unaff_s0 + 0x1e8);\nLAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "GetImageOption(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int unaff_s0;\n  undefined4 unaff_s1;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);\n  iVar1 = *(int *)(unaff_s0 + 0x1e8);\nLAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int unaff_s0;" primitive_type identifier ;) (declaration "undefined4 unaff_s1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);" (call_expression "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c)" ( (binary_expression "PTR_LAB_003f98e0 + 0x4c5c" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x217c" identifier + number_literal) ))) ;) (labeled_statement "LAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);" (assignment_expression "iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c)" ( (binary_expression "PTR_LAB_003f98e0 + 0x3d70" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x217c" identifier + number_literal) )))) ;)) }) (else_clause "else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }" else (compound_statement "{\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }" { (expression_statement "unaff_s0 = param_1;" (assignment_expression "unaff_s0 = param_1" identifier = identifier) ;) (expression_statement "unaff_s1 = param_2;" (assignment_expression "unaff_s1 = param_2" identifier = identifier) ;) (if_statement "if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;" if (parenthesized_expression "(*(int *)(param_1 + 0x3214) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3214) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3214)" * (cast_expression "(int *)(param_1 + 0x3214)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3214)" ( (binary_expression "param_1 + 0x3214" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00137168;" goto statement_identifier ;)) (expression_statement "iVar1 = param_1 + 0x2210;" (assignment_expression "iVar1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (if_statement "if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x3210) == 0)" ( (binary_expression "*(int *)(param_1 + 0x3210) == 0" (pointer_expression "*(int *)(param_1 + 0x3210)" * (cast_expression "(int *)(param_1 + 0x3210)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3210)" ( (binary_expression "param_1 + 0x3210" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x1e8);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1e8)" identifier = (pointer_expression "*(int *)(param_1 + 0x1e8)" * (cast_expression "(int *)(param_1 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1e8)" ( (binary_expression "param_1 + 0x1e8" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_00137114;" goto statement_identifier ;) })) }))) (expression_statement "(*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);" (call_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003fa1f8" * (cast_expression "(code *)PTR_LogMagickEvent_003fa1f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1)" ( number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x216c" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + -0x2f6c" identifier + number_literal) , identifier ))) ;) (expression_statement "iVar1 = *(int *)(unaff_s0 + 0x1e8);" (assignment_expression "iVar1 = *(int *)(unaff_s0 + 0x1e8)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x1e8)" * (cast_expression "(int *)(unaff_s0 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1e8)" ( (binary_expression "unaff_s0 + 0x1e8" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" statement_identifier : (if_statement "if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" else (compound_statement "{\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);" (assignment_expression "uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1)" identifier = (call_expression "(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1)" (parenthesized_expression "(*(code *)PTR_GetValueFromSplayTree_003fa7cc)" ( (pointer_expression "*(code *)PTR_GetValueFromSplayTree_003fa7cc" * (cast_expression "(code *)PTR_GetValueFromSplayTree_003fa7cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,unaff_s1)" ( identifier , identifier )))) ;) })))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "ChannelType": Some values do not have unique names */\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 "PixelChannel": Some values do not have unique names */\n\nchar * GetImageOption(ImageInfo *image_info,char *option)\n\n{\n  char *pcVar1;\n  void *pvVar2;\n  ImageInfo *unaff_s0;\n  char *unaff_s1;\n  \n  if (image_info == (ImageInfo *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    pcVar1 = (char *)(*(code *)PTR___assert_fail_003fa620)\n                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = image_info;\n    unaff_s1 = option;\n    if (image_info->signature != 0xabacadab) goto LAB_00137168;\n    pcVar1 = image_info->filename;\n    if (image_info->debug == MagickFalse) {\n      pvVar2 = image_info->options;\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,pcVar1);\n  pvVar2 = unaff_s0->options;\nLAB_00137114:\n  if (pvVar2 == (void *)0x0) {\n    pcVar1 = (char *)0x0;\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1);\n  }\n  return pcVar1;\n}\n\n" comment comment comment comment (function_definition "char * GetImageOption(ImageInfo *image_info,char *option)\n\n{\n  char *pcVar1;\n  void *pvVar2;\n  ImageInfo *unaff_s0;\n  char *unaff_s1;\n  \n  if (image_info == (ImageInfo *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    pcVar1 = (char *)(*(code *)PTR___assert_fail_003fa620)\n                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = image_info;\n    unaff_s1 = option;\n    if (image_info->signature != 0xabacadab) goto LAB_00137168;\n    pcVar1 = image_info->filename;\n    if (image_info->debug == MagickFalse) {\n      pvVar2 = image_info->options;\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,pcVar1);\n  pvVar2 = unaff_s0->options;\nLAB_00137114:\n  if (pvVar2 == (void *)0x0) {\n    pcVar1 = (char *)0x0;\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1);\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* GetImageOption(ImageInfo *image_info,char *option)" * (function_declarator "GetImageOption(ImageInfo *image_info,char *option)" identifier (parameter_list "(ImageInfo *image_info,char *option)" ( (parameter_declaration "ImageInfo *image_info" type_identifier (pointer_declarator "*image_info" * identifier)) , (parameter_declaration "char *option" primitive_type (pointer_declarator "*option" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  void *pvVar2;\n  ImageInfo *unaff_s0;\n  char *unaff_s1;\n  \n  if (image_info == (ImageInfo *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    pcVar1 = (char *)(*(code *)PTR___assert_fail_003fa620)\n                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = image_info;\n    unaff_s1 = option;\n    if (image_info->signature != 0xabacadab) goto LAB_00137168;\n    pcVar1 = image_info->filename;\n    if (image_info->debug == MagickFalse) {\n      pvVar2 = image_info->options;\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,pcVar1);\n  pvVar2 = unaff_s0->options;\nLAB_00137114:\n  if (pvVar2 == (void *)0x0) {\n    pcVar1 = (char *)0x0;\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1);\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "ImageInfo *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "char *unaff_s1;" primitive_type (pointer_declarator "*unaff_s1" * identifier) ;) (if_statement "if (image_info == (ImageInfo *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    pcVar1 = (char *)(*(code *)PTR___assert_fail_003fa620)\n                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = image_info;\n    unaff_s1 = option;\n    if (image_info->signature != 0xabacadab) goto LAB_00137168;\n    pcVar1 = image_info->filename;\n    if (image_info->debug == MagickFalse) {\n      pvVar2 = image_info->options;\n      goto LAB_00137114;\n    }\n  }" if (parenthesized_expression "(image_info == (ImageInfo *)0x0)" ( (binary_expression "image_info == (ImageInfo *)0x0" identifier == (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    pcVar1 = (char *)(*(code *)PTR___assert_fail_003fa620)\n                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);" (call_expression "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c)" ( (binary_expression "PTR_LAB_003f98e0 + 0x4c5c" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x217c" identifier + number_literal) ))) ;) (labeled_statement "LAB_00137168:\n    pcVar1 = (char *)(*(code *)PTR___assert_fail_003fa620)\n                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c);" statement_identifier : (expression_statement "pcVar1 = (char *)(*(code *)PTR___assert_fail_003fa620)\n                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR___assert_fail_003fa620)\n                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c)" identifier = (cast_expression "(char *)(*(code *)PTR___assert_fail_003fa620)\n                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                               (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,\n                                0x914,PTR_s_ltiple_images_003f98e8 + 0x217c)" ( (binary_expression "PTR_LAB_003f98e0 + 0x3d70" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x217c" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    unaff_s0 = image_info;\n    unaff_s1 = option;\n    if (image_info->signature != 0xabacadab) goto LAB_00137168;\n    pcVar1 = image_info->filename;\n    if (image_info->debug == MagickFalse) {\n      pvVar2 = image_info->options;\n      goto LAB_00137114;\n    }\n  }" else (compound_statement "{\n    unaff_s0 = image_info;\n    unaff_s1 = option;\n    if (image_info->signature != 0xabacadab) goto LAB_00137168;\n    pcVar1 = image_info->filename;\n    if (image_info->debug == MagickFalse) {\n      pvVar2 = image_info->options;\n      goto LAB_00137114;\n    }\n  }" { (expression_statement "unaff_s0 = image_info;" (assignment_expression "unaff_s0 = image_info" identifier = identifier) ;) (expression_statement "unaff_s1 = option;" (assignment_expression "unaff_s1 = option" identifier = identifier) ;) (if_statement "if (image_info->signature != 0xabacadab) goto LAB_00137168;" if (parenthesized_expression "(image_info->signature != 0xabacadab)" ( (binary_expression "image_info->signature != 0xabacadab" (field_expression "image_info->signature" identifier -> field_identifier) != number_literal) )) (goto_statement "goto LAB_00137168;" goto statement_identifier ;)) (expression_statement "pcVar1 = image_info->filename;" (assignment_expression "pcVar1 = image_info->filename" identifier = (field_expression "image_info->filename" identifier -> field_identifier)) ;) (if_statement "if (image_info->debug == MagickFalse) {\n      pvVar2 = image_info->options;\n      goto LAB_00137114;\n    }" if (parenthesized_expression "(image_info->debug == MagickFalse)" ( (binary_expression "image_info->debug == MagickFalse" (field_expression "image_info->debug" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      pvVar2 = image_info->options;\n      goto LAB_00137114;\n    }" { (expression_statement "pvVar2 = image_info->options;" (assignment_expression "pvVar2 = image_info->options" identifier = (field_expression "image_info->options" identifier -> field_identifier)) ;) (goto_statement "goto LAB_00137114;" goto statement_identifier ;) })) }))) (expression_statement "(*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,pcVar1);" (call_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,pcVar1)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003fa1f8" * (cast_expression "(code *)PTR_LogMagickEvent_003fa1f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,pcVar1)" ( number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x216c" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + -0x2f6c" identifier + number_literal) , identifier ))) ;) (expression_statement "pvVar2 = unaff_s0->options;" (assignment_expression "pvVar2 = unaff_s0->options" identifier = (field_expression "unaff_s0->options" identifier -> field_identifier)) ;) (labeled_statement "LAB_00137114:\n  if (pvVar2 == (void *)0x0) {\n    pcVar1 = (char *)0x0;\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1);\n  }" statement_identifier : (if_statement "if (pvVar2 == (void *)0x0) {\n    pcVar1 = (char *)0x0;\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1);\n  }" if (parenthesized_expression "(pvVar2 == (void *)0x0)" ( (binary_expression "pvVar2 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar1 = (char *)0x0;\n  }" { (expression_statement "pcVar1 = (char *)0x0;" (assignment_expression "pcVar1 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    pcVar1 = (char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1);\n  }" else (compound_statement "{\n    pcVar1 = (char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1);\n  }" { (expression_statement "pcVar1 = (char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1)" identifier = (cast_expression "(char *)(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(pvVar2,unaff_s1)" (parenthesized_expression "(*(code *)PTR_GetValueFromSplayTree_003fa7cc)" ( (pointer_expression "*(code *)PTR_GetValueFromSplayTree_003fa7cc" * (cast_expression "(code *)PTR_GetValueFromSplayTree_003fa7cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pvVar2,unaff_s1)" ( identifier , identifier ))))) ;) })))) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "undefined4 GetImageOption(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int unaff_s0;\n  undefined4 unaff_s1;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);\n  iVar1 = *(int *)(unaff_s0 + 0x1e8);\nLAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 GetImageOption(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int unaff_s0;\n  undefined4 unaff_s1;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);\n  iVar1 = *(int *)(unaff_s0 + 0x1e8);\nLAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "GetImageOption(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int unaff_s0;\n  undefined4 unaff_s1;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);\n  iVar1 = *(int *)(unaff_s0 + 0x1e8);\nLAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int unaff_s0;" primitive_type identifier ;) (declaration "undefined4 unaff_s1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);" (call_expression "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c)" ( (binary_expression "PTR_LAB_003f98e0 + 0x4c5c" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x217c" identifier + number_literal) ))) ;) (labeled_statement "LAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);" (assignment_expression "iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c)" ( (binary_expression "PTR_LAB_003f98e0 + 0x3d70" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x217c" identifier + number_literal) )))) ;)) }) (else_clause "else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }" else (compound_statement "{\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }" { (expression_statement "unaff_s0 = param_1;" (assignment_expression "unaff_s0 = param_1" identifier = identifier) ;) (expression_statement "unaff_s1 = param_2;" (assignment_expression "unaff_s1 = param_2" identifier = identifier) ;) (if_statement "if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;" if (parenthesized_expression "(*(int *)(param_1 + 0x3214) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3214) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3214)" * (cast_expression "(int *)(param_1 + 0x3214)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3214)" ( (binary_expression "param_1 + 0x3214" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00137168;" goto statement_identifier ;)) (expression_statement "iVar1 = param_1 + 0x2210;" (assignment_expression "iVar1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (if_statement "if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x3210) == 0)" ( (binary_expression "*(int *)(param_1 + 0x3210) == 0" (pointer_expression "*(int *)(param_1 + 0x3210)" * (cast_expression "(int *)(param_1 + 0x3210)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3210)" ( (binary_expression "param_1 + 0x3210" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x1e8);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1e8)" identifier = (pointer_expression "*(int *)(param_1 + 0x1e8)" * (cast_expression "(int *)(param_1 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1e8)" ( (binary_expression "param_1 + 0x1e8" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_00137114;" goto statement_identifier ;) })) }))) (expression_statement "(*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);" (call_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003fa1f8" * (cast_expression "(code *)PTR_LogMagickEvent_003fa1f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1)" ( number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x216c" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + -0x2f6c" identifier + number_literal) , identifier ))) ;) (expression_statement "iVar1 = *(int *)(unaff_s0 + 0x1e8);" (assignment_expression "iVar1 = *(int *)(unaff_s0 + 0x1e8)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x1e8)" * (cast_expression "(int *)(unaff_s0 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1e8)" ( (binary_expression "unaff_s0 + 0x1e8" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" statement_identifier : (if_statement "if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" else (compound_statement "{\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);" (assignment_expression "uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1)" identifier = (call_expression "(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1)" (parenthesized_expression "(*(code *)PTR_GetValueFromSplayTree_003fa7cc)" ( (pointer_expression "*(code *)PTR_GetValueFromSplayTree_003fa7cc" * (cast_expression "(code *)PTR_GetValueFromSplayTree_003fa7cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,unaff_s1)" ( identifier , identifier )))) ;) })))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) })))) (return_statement return IDENT ;) })))
(function_definition "undefined4 GetImageOption(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int unaff_s0;\n  undefined4 unaff_s1;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);\n  iVar1 = *(int *)(unaff_s0 + 0x1e8);\nLAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "GetImageOption(int param_1,undefined4 param_2)" (identifier "GetImageOption") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int unaff_s0;\n  undefined4 unaff_s1;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }\n  (*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);\n  iVar1 = *(int *)(unaff_s0 + 0x1e8);\nLAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int unaff_s0;" (primitive_type "int") (identifier "unaff_s0") (; ";")) (declaration "undefined4 unaff_s1;" (type_identifier "undefined4") (identifier "unaff_s1") (; ";")) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }\n  else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);\nLAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);\n  }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c);" (call_expression "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003fa620" (* "*") (cast_expression "(code *)PTR___assert_fail_003fa620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003fa620"))) () ")")) (argument_list "(PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,\n               PTR_s_ltiple_images_003f98e8 + 0x217c)" (( "(") (binary_expression "PTR_LAB_003f98e0 + 0x4c5c" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x4c5c")) (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x2220")) (, ",") (number_literal "0x913") (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x217c" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x217c")) () ")"))) (; ";")) (labeled_statement "LAB_00137168:\n    iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);" (statement_identifier "LAB_00137168") (: ":") (expression_statement "iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c);" (assignment_expression "iVar1 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003fa620" (* "*") (cast_expression "(code *)PTR___assert_fail_003fa620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003fa620"))) () ")")) (argument_list "(PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,\n                       PTR_s_ltiple_images_003f98e8 + 0x217c)" (( "(") (binary_expression "PTR_LAB_003f98e0 + 0x3d70" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x3d70")) (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x2220")) (, ",") (number_literal "0x914") (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x217c" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x217c")) () ")")))) (; ";"))) (} "}")) (else_clause "else {\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }" (else "else") (compound_statement "{\n    unaff_s0 = param_1;\n    unaff_s1 = param_2;\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;\n    iVar1 = param_1 + 0x2210;\n    if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }\n  }" ({ "{") (expression_statement "unaff_s0 = param_1;" (assignment_expression "unaff_s0 = param_1" (identifier "unaff_s0") (= "=") (identifier "param_1")) (; ";")) (expression_statement "unaff_s1 = param_2;" (assignment_expression "unaff_s1 = param_2" (identifier "unaff_s1") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3214) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x3214) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3214)" (* "*") (cast_expression "(int *)(param_1 + 0x3214)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3214)" (( "(") (binary_expression "param_1 + 0x3214" (identifier "param_1") (+ "+") (number_literal "0x3214")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (goto_statement "goto LAB_00137168;" (goto "goto") (statement_identifier "LAB_00137168") (; ";"))) (expression_statement "iVar1 = param_1 + 0x2210;" (assignment_expression "iVar1 = param_1 + 0x2210" (identifier "iVar1") (= "=") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210"))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x3210) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3210) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x3210) == 0" (pointer_expression "*(int *)(param_1 + 0x3210)" (* "*") (cast_expression "(int *)(param_1 + 0x3210)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3210)" (( "(") (binary_expression "param_1 + 0x3210" (identifier "param_1") (+ "+") (number_literal "0x3210")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0x1e8);\n      goto LAB_00137114;\n    }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1 + 0x1e8);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1e8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x1e8)" (* "*") (cast_expression "(int *)(param_1 + 0x1e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1e8)" (( "(") (binary_expression "param_1 + 0x1e8" (identifier "param_1") (+ "+") (number_literal "0x1e8")) () ")"))))) (; ";")) (goto_statement "goto LAB_00137114;" (goto "goto") (statement_identifier "LAB_00137114") (; ";")) (} "}"))) (} "}")))) (expression_statement "(*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);" (call_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)\n            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)" (( "(") (pointer_expression "*(code *)PTR_LogMagickEvent_003fa1f8" (* "*") (cast_expression "(code *)PTR_LogMagickEvent_003fa1f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LogMagickEvent_003fa1f8"))) () ")")) (argument_list "(0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,\n             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x2220" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x2220")) (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x216c" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x216c")) (, ",") (number_literal "0x916") (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + -0x2f6c" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "-0x2f6c")) (, ",") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(unaff_s0 + 0x1e8);" (assignment_expression "iVar1 = *(int *)(unaff_s0 + 0x1e8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(unaff_s0 + 0x1e8)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x1e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x1e8)" (( "(") (binary_expression "unaff_s0 + 0x1e8" (identifier "unaff_s0") (+ "+") (number_literal "0x1e8")) () ")"))))) (; ";")) (labeled_statement "LAB_00137114:\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" (statement_identifier "LAB_00137114") (: ":") (if_statement "if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = 0;\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" (else "else") (compound_statement "{\n    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);" (assignment_expression "uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1)" (parenthesized_expression "(*(code *)PTR_GetValueFromSplayTree_003fa7cc)" (( "(") (pointer_expression "*(code *)PTR_GetValueFromSplayTree_003fa7cc" (* "*") (cast_expression "(code *)PTR_GetValueFromSplayTree_003fa7cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetValueFromSplayTree_003fa7cc"))) () ")")) (argument_list "(iVar1,unaff_s1)" (( "(") (identifier "iVar1") (, ",") (identifier "unaff_s1") () ")")))) (; ";")) (} "}"))))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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 (assignment_expression left: (identifier) right: (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))))))) (goto_statement label: (statement_identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))))))) (return_statement (identifier)))))

undefined4 MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  int unaff_s0;
  undefined4 unaff_s1;
  
  if (param_1 == 0) {
    (*(code *)PTR___assert_fail_003fa620)
              (PTR_LAB_003f98e0 + 0x4c5c,PTR_s_ltiple_images_003f98e8 + 0x2220,0x913,
               PTR_s_ltiple_images_003f98e8 + 0x217c);
LAB_00137168:
    iVar1 = (*(code *)PTR___assert_fail_003fa620)
                      (PTR_LAB_003f98e0 + 0x3d70,PTR_s_ltiple_images_003f98e8 + 0x2220,0x914,
                       PTR_s_ltiple_images_003f98e8 + 0x217c);
  }
  else {
    unaff_s0 = param_1;
    unaff_s1 = param_2;
    if (*(int *)(param_1 + 0x3214) != -0x54535255) goto LAB_00137168;
    iVar1 = param_1 + 0x2210;
    if (*(int *)(param_1 + 0x3210) == 0) {
      iVar1 = *(int *)(param_1 + 0x1e8);
      goto LAB_00137114;
    }
  }
  (*(code *)PTR_LogMagickEvent_003fa1f8)
            (0x8000,PTR_s_ltiple_images_003f98e8 + 0x2220,PTR_s_ltiple_images_003f98e8 + 0x216c,
             0x916,PTR_s_ltiple_images_003f98e8 + -0x2f6c,iVar1);
  iVar1 = *(int *)(unaff_s0 + 0x1e8);
LAB_00137114:
  if (iVar1 == 0) {
    uVar2 = 0;
  }
  else {
    uVar2 = (*(code *)PTR_GetValueFromSplayTree_003fa7cc)(iVar1,unaff_s1);
  }
  return uVar2;
}

