
/* 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 */
/* WARNING: Enum "ComplianceType": Some values do not have unique names */

MagickBooleanType PopDrawingWand(DrawingWand *wand)

{
  size_t sVar1;
  DrawInfo *pDVar2;
  MagickBooleanType MVar3;
  size_t sVar4;
  size_t sVar5;
  DrawInfo **ppDVar6;
  
  if (wand == (DrawingWand *)0x0) {
    MVar3 = (*(code *)PTR___assert_fail_0014f720)
                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970
                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);
    return MVar3;
  }
  if (wand->signature == 0xabacadab) {
    if (wand->debug != MagickFalse) {
      (*(code *)PTR_LogMagickEvent_0014f488)
                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,
                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,
                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);
    }
    sVar1 = wand->index;
    if (sVar1 != 0) {
      ppDVar6 = wand->graphic_context;
      pDVar2 = (DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1]);
      sVar4 = wand->index;
      sVar5 = wand->indent_depth;
      ppDVar6[sVar1] = pDVar2;
      wand->index = sVar4 - 1;
      if (sVar5 != 0) {
        wand->indent_depth = sVar5 - 1;
      }
      MVGPrintf(wand,PTR_s_t_char____NULL_0014f03c + 0x33c);
      return MagickTrue;
    }
    (*(code *)PTR_ThrowMagickException_0014f2bc)
              (wand->exception,PTR_s_t_char____NULL_0014f03c + -0x970,
               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,
               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,wand->name);
    return MagickFalse;
  }
  MVar3 = (*(code *)PTR___assert_fail_0014f720)
                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,
                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);
  return MVar3;
}



undefined4 PopDrawingWand(int param_1)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  
  if (param_1 == 0) {
    uVar1 = (*(code *)PTR___assert_fail_0014f720)
                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970
                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);
    return uVar1;
  }
  if (*(int *)(param_1 + 0x1054) == -0x54535255) {
    if (*(int *)(param_1 + 0x1050) != 0) {
      (*(code *)PTR_LogMagickEvent_0014f488)
                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,
                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,
                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);
    }
    if (*(int *)(param_1 + 0x1034) != 0) {
      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);
      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);
      iVar2 = *(int *)(param_1 + 0x1034);
      iVar3 = *(int *)(param_1 + 0x1040);
      *puVar4 = uVar1;
      *(int *)(param_1 + 0x1034) = iVar2 + -1;
      if (iVar3 != 0) {
        *(int *)(param_1 + 0x1040) = iVar3 + -1;
      }
      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);
      return 1;
    }
    (*(code *)PTR_ThrowMagickException_0014f2bc)
              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,
               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,
               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);
    return 0;
  }
  uVar1 = (*(code *)PTR___assert_fail_0014f720)
                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,
                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);
  return uVar1;
}


lui gp,0xe
addiu gp,gp,0x57b4
addu gp,gp,t9
addiu sp,sp,-0x38
sw gp,0x20(sp)
sw ra,0x34(sp)
sw s1,0x30(sp)
beq a0,zero,0x000719c4
_sw s0,0x2c(sp)
lui v0,0xabac
lw v1,0x1054(a0)
ori v0,v0,0xadab
bne v1,v0,0x000719a0
_or s0,a0,zero
lw v0,0x1050(a0)
bne v0,zero,0x00071968
_addiu v0,a0,0x4
lw v0,0x1034(s0)
beq v0,zero,0x00071908
_sll v0,v0,0x2
lw s1,0x1038(s0)
lw t9,-0x7cc8(gp)
addu s1,s1,v0
jalr t9
_lw a0,0x0(s1)
lw v1,0x1034(s0)
lw a0,0x1040(s0)
lw gp,0x20(sp)
addiu v1,v1,-0x1
sw v0,0x0(s1)
bne a0,zero,0x000718fc
_sw v1,0x1034(s0)
lw a1,-0x7fc4(gp)
or a0,s0,zero
lw t9,-0x7f90(gp)
addiu t9,t9,0x2838
bal 0x00062838
_addiu a1,a1,0x33c
li v0,0x1
lw ra,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x38
addiu a0,a0,-0x1
b 0x000718cc
_sw a0,0x1040(s0)
addiu v0,s0,0x4
lw a0,0x1008(s0)
lw a2,-0x7fc4(gp)
li a3,0x1afd
sw v0,0x1c(sp)
lw v0,-0x7fd4(gp)
lw a1,-0x7fc4(gp)
addiu a2,a2,0x390
lw t9,-0x7d44(gp)
addiu v0,v0,0x5cf4
addiu a1,a1,-0x970
sw v0,0x18(sp)
lw v0,-0x7fc4(gp)
addiu v0,v0,0x31c
sw v0,0x14(sp)
li v0,0x1cc
jalr t9
_sw v0,0x10(sp)
or v0,zero,zero
lw ra,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x38
lw a2,-0x7fc4(gp)
lw a1,-0x7fc4(gp)
li a3,0x1afa
lw t9,-0x7b78(gp)
lui a0,0x4
sw v0,0x14(sp)
addiu a2,a2,0x390
lw v0,-0x7fd0(gp)
addiu a1,a1,-0x970
addiu v0,v0,-0x131c
jalr t9
_sw v0,0x10(sp)
b 0x00071890
_lw gp,0x20(sp)
lw a3,-0x7fc4(gp)
li a2,0x1af8
lw a1,-0x7fc4(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x78e0(gp)
addiu a3,a3,0x3a0
addiu a1,a1,-0x970
jalr t9
_addiu a0,a0,0x419c
lw a3,-0x7fc4(gp)
li a2,0x1af7
lw a1,-0x7fc4(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x78e0(gp)
addiu a3,a3,0x3a0
addiu a1,a1,-0x970
jalr t9
_addiu a0,a0,-0x954
(translation_unit "undefined4 PopDrawingWand(int param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }\n  uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return uVar1;\n}\n\n" (function_definition "undefined4 PopDrawingWand(int param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }\n  uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return uVar1;\n}" type_identifier (function_declarator "PopDrawingWand(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }\n  uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);" (assignment_expression "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" identifier = (call_expression "(*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x954" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x3a0" identifier + number_literal) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1054) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1054) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1054)" * (cast_expression "(int *)(param_1 + 0x1054)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1054)" ( (binary_expression "param_1 + 0x1054" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1050) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1050) != 0" (pointer_expression "*(int *)(param_1 + 0x1050)" * (cast_expression "(int *)(param_1 + 0x1050)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1050)" ( (binary_expression "param_1 + 0x1050" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }" { (expression_statement "(*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);" (call_expression "(*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_0014f488)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_0014f488" * (cast_expression "(code *)PTR_LogMagickEvent_0014f488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" ( number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x390" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x131c" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1034) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1034) != 0" (pointer_expression "*(int *)(param_1 + 0x1034)" * (cast_expression "(int *)(param_1 + 0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1034)" ( (binary_expression "param_1 + 0x1034" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }" { (expression_statement "puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);" (assignment_expression "puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" ( (binary_expression "*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1038)" * (cast_expression "(int *)(param_1 + 0x1038)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1038)" ( (binary_expression "param_1 + 0x1038" identifier + number_literal) )))) + (binary_expression "*(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1034)" * (cast_expression "(int *)(param_1 + 0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1034)" ( (binary_expression "param_1 + 0x1034" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);" (assignment_expression "uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4)" identifier = (call_expression "(*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4)" (parenthesized_expression "(*(code *)PTR_DestroyDrawInfo_0014f338)" ( (pointer_expression "*(code *)PTR_DestroyDrawInfo_0014f338" * (cast_expression "(code *)PTR_DestroyDrawInfo_0014f338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1034);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1034)" identifier = (pointer_expression "*(int *)(param_1 + 0x1034)" * (cast_expression "(int *)(param_1 + 0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1034)" ( (binary_expression "param_1 + 0x1034" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x1040);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x1040)" identifier = (pointer_expression "*(int *)(param_1 + 0x1040)" * (cast_expression "(int *)(param_1 + 0x1040)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1040)" ( (binary_expression "param_1 + 0x1040" identifier + number_literal) ))))) ;) (expression_statement "*puVar4 = uVar1;" (assignment_expression "*puVar4 = uVar1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x1034) = iVar2 + -1;" (assignment_expression "*(int *)(param_1 + 0x1034) = iVar2 + -1" (pointer_expression "*(int *)(param_1 + 0x1034)" * (cast_expression "(int *)(param_1 + 0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1034)" ( (binary_expression "param_1 + 0x1034" identifier + number_literal) )))) = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (if_statement "if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }" { (expression_statement "*(int *)(param_1 + 0x1040) = iVar3 + -1;" (assignment_expression "*(int *)(param_1 + 0x1040) = iVar3 + -1" (pointer_expression "*(int *)(param_1 + 0x1040)" * (cast_expression "(int *)(param_1 + 0x1040)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1040)" ( (binary_expression "param_1 + 0x1040" identifier + number_literal) )))) = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) })) (expression_statement "FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);" (call_expression "FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c)" identifier (argument_list "(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c)" ( identifier , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x33c" identifier + number_literal) ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "(*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);" (call_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_0014f2bc" * (cast_expression "(code *)PTR_ThrowMagickException_0014f2bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4)" ( (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001008 + param_1)" ( (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" & identifier) + identifier) )))) , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x390" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x31c" identifier + number_literal) , (binary_expression "PTR_LAB_0014f02c + 0x5cf4" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);" (assignment_expression "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" identifier = (call_expression "(*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x3a0" identifier + number_literal) )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* 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/* WARNING: Enum "ComplianceType": Some values do not have unique names */\n\nMagickBooleanType PopDrawingWand(DrawingWand *wand)\n\n{\n  size_t sVar1;\n  DrawInfo *pDVar2;\n  MagickBooleanType MVar3;\n  size_t sVar4;\n  size_t sVar5;\n  DrawInfo **ppDVar6;\n  \n  if (wand == (DrawingWand *)0x0) {\n    MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return MVar3;\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n    }\n    sVar1 = wand->index;\n    if (sVar1 != 0) {\n      ppDVar6 = wand->graphic_context;\n      pDVar2 = (DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1]);\n      sVar4 = wand->index;\n      sVar5 = wand->indent_depth;\n      ppDVar6[sVar1] = pDVar2;\n      wand->index = sVar4 - 1;\n      if (sVar5 != 0) {\n        wand->indent_depth = sVar5 - 1;\n      }\n      MVGPrintf(wand,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return MagickTrue;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (wand->exception,PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n    return MagickFalse;\n  }\n  MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return MVar3;\n}\n\n" comment comment comment comment comment comment (function_definition "MagickBooleanType PopDrawingWand(DrawingWand *wand)\n\n{\n  size_t sVar1;\n  DrawInfo *pDVar2;\n  MagickBooleanType MVar3;\n  size_t sVar4;\n  size_t sVar5;\n  DrawInfo **ppDVar6;\n  \n  if (wand == (DrawingWand *)0x0) {\n    MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return MVar3;\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n    }\n    sVar1 = wand->index;\n    if (sVar1 != 0) {\n      ppDVar6 = wand->graphic_context;\n      pDVar2 = (DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1]);\n      sVar4 = wand->index;\n      sVar5 = wand->indent_depth;\n      ppDVar6[sVar1] = pDVar2;\n      wand->index = sVar4 - 1;\n      if (sVar5 != 0) {\n        wand->indent_depth = sVar5 - 1;\n      }\n      MVGPrintf(wand,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return MagickTrue;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (wand->exception,PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n    return MagickFalse;\n  }\n  MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return MVar3;\n}" type_identifier (function_declarator "PopDrawingWand(DrawingWand *wand)" identifier (parameter_list "(DrawingWand *wand)" ( (parameter_declaration "DrawingWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  DrawInfo *pDVar2;\n  MagickBooleanType MVar3;\n  size_t sVar4;\n  size_t sVar5;\n  DrawInfo **ppDVar6;\n  \n  if (wand == (DrawingWand *)0x0) {\n    MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return MVar3;\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n    }\n    sVar1 = wand->index;\n    if (sVar1 != 0) {\n      ppDVar6 = wand->graphic_context;\n      pDVar2 = (DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1]);\n      sVar4 = wand->index;\n      sVar5 = wand->indent_depth;\n      ppDVar6[sVar1] = pDVar2;\n      wand->index = sVar4 - 1;\n      if (sVar5 != 0) {\n        wand->indent_depth = sVar5 - 1;\n      }\n      MVGPrintf(wand,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return MagickTrue;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (wand->exception,PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n    return MagickFalse;\n  }\n  MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return MVar3;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "DrawInfo *pDVar2;" type_identifier (pointer_declarator "*pDVar2" * identifier) ;) (declaration "MagickBooleanType MVar3;" type_identifier identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "DrawInfo **ppDVar6;" type_identifier (pointer_declarator "**ppDVar6" * (pointer_declarator "*ppDVar6" * identifier)) ;) (if_statement "if (wand == (DrawingWand *)0x0) {\n    MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return MVar3;\n  }" if (parenthesized_expression "(wand == (DrawingWand *)0x0)" ( (binary_expression "wand == (DrawingWand *)0x0" identifier == (cast_expression "(DrawingWand *)0x0" ( (type_descriptor "DrawingWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return MVar3;\n  }" { (expression_statement "MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);" (assignment_expression "MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" identifier = (call_expression "(*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x954" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x3a0" identifier + number_literal) )))) ;) (return_statement "return MVar3;" return identifier ;) })) (if_statement "if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n    }\n    sVar1 = wand->index;\n    if (sVar1 != 0) {\n      ppDVar6 = wand->graphic_context;\n      pDVar2 = (DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1]);\n      sVar4 = wand->index;\n      sVar5 = wand->indent_depth;\n      ppDVar6[sVar1] = pDVar2;\n      wand->index = sVar4 - 1;\n      if (sVar5 != 0) {\n        wand->indent_depth = sVar5 - 1;\n      }\n      MVGPrintf(wand,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return MagickTrue;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (wand->exception,PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n    return MagickFalse;\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      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n    }\n    sVar1 = wand->index;\n    if (sVar1 != 0) {\n      ppDVar6 = wand->graphic_context;\n      pDVar2 = (DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1]);\n      sVar4 = wand->index;\n      sVar5 = wand->indent_depth;\n      ppDVar6[sVar1] = pDVar2;\n      wand->index = sVar4 - 1;\n      if (sVar5 != 0) {\n        wand->indent_depth = sVar5 - 1;\n      }\n      MVGPrintf(wand,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return MagickTrue;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (wand->exception,PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n    return MagickFalse;\n  }" { (if_statement "if (wand->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,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      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n    }" { (expression_statement "(*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);" (call_expression "(*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_0014f488)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_0014f488" * (cast_expression "(code *)PTR_LogMagickEvent_0014f488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name)" ( number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x390" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x131c" identifier + number_literal) , (field_expression "wand->name" identifier -> field_identifier) ))) ;) })) (expression_statement "sVar1 = wand->index;" (assignment_expression "sVar1 = wand->index" identifier = (field_expression "wand->index" identifier -> field_identifier)) ;) (if_statement "if (sVar1 != 0) {\n      ppDVar6 = wand->graphic_context;\n      pDVar2 = (DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1]);\n      sVar4 = wand->index;\n      sVar5 = wand->indent_depth;\n      ppDVar6[sVar1] = pDVar2;\n      wand->index = sVar4 - 1;\n      if (sVar5 != 0) {\n        wand->indent_depth = sVar5 - 1;\n      }\n      MVGPrintf(wand,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return MagickTrue;\n    }" if (parenthesized_expression "(sVar1 != 0)" ( (binary_expression "sVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      ppDVar6 = wand->graphic_context;\n      pDVar2 = (DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1]);\n      sVar4 = wand->index;\n      sVar5 = wand->indent_depth;\n      ppDVar6[sVar1] = pDVar2;\n      wand->index = sVar4 - 1;\n      if (sVar5 != 0) {\n        wand->indent_depth = sVar5 - 1;\n      }\n      MVGPrintf(wand,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return MagickTrue;\n    }" { (expression_statement "ppDVar6 = wand->graphic_context;" (assignment_expression "ppDVar6 = wand->graphic_context" identifier = (field_expression "wand->graphic_context" identifier -> field_identifier)) ;) (expression_statement "pDVar2 = (DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1]);" (assignment_expression "pDVar2 = (DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1])" identifier = (cast_expression "(DrawInfo *)(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1])" ( (type_descriptor "DrawInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[sVar1])" (parenthesized_expression "(*(code *)PTR_DestroyDrawInfo_0014f338)" ( (pointer_expression "*(code *)PTR_DestroyDrawInfo_0014f338" * (cast_expression "(code *)PTR_DestroyDrawInfo_0014f338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ppDVar6[sVar1])" ( (subscript_expression "ppDVar6[sVar1]" identifier [ identifier ]) ))))) ;) (expression_statement "sVar4 = wand->index;" (assignment_expression "sVar4 = wand->index" identifier = (field_expression "wand->index" identifier -> field_identifier)) ;) (expression_statement "sVar5 = wand->indent_depth;" (assignment_expression "sVar5 = wand->indent_depth" identifier = (field_expression "wand->indent_depth" identifier -> field_identifier)) ;) (expression_statement "ppDVar6[sVar1] = pDVar2;" (assignment_expression "ppDVar6[sVar1] = pDVar2" (subscript_expression "ppDVar6[sVar1]" identifier [ identifier ]) = identifier) ;) (expression_statement "wand->index = sVar4 - 1;" (assignment_expression "wand->index = sVar4 - 1" (field_expression "wand->index" identifier -> field_identifier) = (binary_expression "sVar4 - 1" identifier - number_literal)) ;) (if_statement "if (sVar5 != 0) {\n        wand->indent_depth = sVar5 - 1;\n      }" if (parenthesized_expression "(sVar5 != 0)" ( (binary_expression "sVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        wand->indent_depth = sVar5 - 1;\n      }" { (expression_statement "wand->indent_depth = sVar5 - 1;" (assignment_expression "wand->indent_depth = sVar5 - 1" (field_expression "wand->indent_depth" identifier -> field_identifier) = (binary_expression "sVar5 - 1" identifier - number_literal)) ;) })) (expression_statement "MVGPrintf(wand,PTR_s_t_char____NULL_0014f03c + 0x33c);" (call_expression "MVGPrintf(wand,PTR_s_t_char____NULL_0014f03c + 0x33c)" identifier (argument_list "(wand,PTR_s_t_char____NULL_0014f03c + 0x33c)" ( identifier , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x33c" identifier + number_literal) ))) ;) (return_statement "return MagickTrue;" return identifier ;) })) (expression_statement "(*(code *)PTR_ThrowMagickException_0014f2bc)\n              (wand->exception,PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,wand->name);" (call_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)\n              (wand->exception,PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,wand->name)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_0014f2bc" * (cast_expression "(code *)PTR_ThrowMagickException_0014f2bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand->exception,PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,wand->name)" ( (field_expression "wand->exception" identifier -> field_identifier) , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x390" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x31c" identifier + number_literal) , (binary_expression "PTR_LAB_0014f02c + 0x5cf4" identifier + number_literal) , (field_expression "wand->name" identifier -> field_identifier) ))) ;) (return_statement "return MagickFalse;" return identifier ;) })) (expression_statement "MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);" (assignment_expression "MVar3 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" identifier = (call_expression "(*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x3a0" identifier + number_literal) )))) ;) (return_statement "return MVar3;" return identifier ;) })))
(translation_unit "undefined4 PopDrawingWand(int param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }\n  uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return uVar1;\n}\n\n" (function_definition "undefined4 PopDrawingWand(int param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }\n  uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return uVar1;\n}" type_identifier (function_declarator "PopDrawingWand(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }\n  uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);" (assignment_expression "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" identifier = (call_expression "(*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x954" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x3a0" identifier + number_literal) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1054) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1054) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1054)" * (cast_expression "(int *)(param_1 + 0x1054)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1054)" ( (binary_expression "param_1 + 0x1054" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1050) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1050) != 0" (pointer_expression "*(int *)(param_1 + 0x1050)" * (cast_expression "(int *)(param_1 + 0x1050)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1050)" ( (binary_expression "param_1 + 0x1050" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }" { (expression_statement "(*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);" (call_expression "(*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_0014f488)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_0014f488" * (cast_expression "(code *)PTR_LogMagickEvent_0014f488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" ( number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x390" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x131c" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1034) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1034) != 0" (pointer_expression "*(int *)(param_1 + 0x1034)" * (cast_expression "(int *)(param_1 + 0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1034)" ( (binary_expression "param_1 + 0x1034" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }" { (expression_statement "puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);" (assignment_expression "puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" ( (binary_expression "*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1038)" * (cast_expression "(int *)(param_1 + 0x1038)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1038)" ( (binary_expression "param_1 + 0x1038" identifier + number_literal) )))) + (binary_expression "*(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1034)" * (cast_expression "(int *)(param_1 + 0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1034)" ( (binary_expression "param_1 + 0x1034" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);" (assignment_expression "uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4)" identifier = (call_expression "(*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4)" (parenthesized_expression "(*(code *)PTR_DestroyDrawInfo_0014f338)" ( (pointer_expression "*(code *)PTR_DestroyDrawInfo_0014f338" * (cast_expression "(code *)PTR_DestroyDrawInfo_0014f338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1034);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1034)" identifier = (pointer_expression "*(int *)(param_1 + 0x1034)" * (cast_expression "(int *)(param_1 + 0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1034)" ( (binary_expression "param_1 + 0x1034" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x1040);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x1040)" identifier = (pointer_expression "*(int *)(param_1 + 0x1040)" * (cast_expression "(int *)(param_1 + 0x1040)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1040)" ( (binary_expression "param_1 + 0x1040" identifier + number_literal) ))))) ;) (expression_statement "*puVar4 = uVar1;" (assignment_expression "*puVar4 = uVar1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x1034) = iVar2 + -1;" (assignment_expression "*(int *)(param_1 + 0x1034) = iVar2 + -1" (pointer_expression "*(int *)(param_1 + 0x1034)" * (cast_expression "(int *)(param_1 + 0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1034)" ( (binary_expression "param_1 + 0x1034" identifier + number_literal) )))) = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (if_statement "if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }" { (expression_statement "*(int *)(param_1 + 0x1040) = iVar3 + -1;" (assignment_expression "*(int *)(param_1 + 0x1040) = iVar3 + -1" (pointer_expression "*(int *)(param_1 + 0x1040)" * (cast_expression "(int *)(param_1 + 0x1040)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1040)" ( (binary_expression "param_1 + 0x1040" identifier + number_literal) )))) = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) })) (expression_statement "FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);" (call_expression "FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c)" identifier (argument_list "(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c)" ( identifier , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x33c" identifier + number_literal) ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "(*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);" (call_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_0014f2bc" * (cast_expression "(code *)PTR_ThrowMagickException_0014f2bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4)" ( (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001008 + param_1)" ( (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" & identifier) + identifier) )))) , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x390" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x31c" identifier + number_literal) , (binary_expression "PTR_LAB_0014f02c + 0x5cf4" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);" (assignment_expression "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" identifier = (call_expression "(*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x3a0" identifier + number_literal) )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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) )))) ;) (return_statement return 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) )) (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 (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) , (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (return_statement return LIT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (return_statement return LIT ;) })) (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) )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 PopDrawingWand(int param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }\n  uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "PopDrawingWand(int param_1)" (identifier "PopDrawingWand") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }\n  uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (if_statement "if (param_1 == 0) {\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);" (assignment_expression "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR___assert_fail_0014f720)\n                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_0014f720" (* "*") (cast_expression "(code *)PTR___assert_fail_0014f720" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_0014f720"))) () ")")) (argument_list "(PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970\n                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (( "(") (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x954" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "-0x954")) (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "-0x970")) (, ",") (number_literal "0x1af7") (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x3a0" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x3a0")) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1054) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x1054) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1054)" (* "*") (cast_expression "(int *)(param_1 + 0x1054)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1054)" (( "(") (binary_expression "param_1 + 0x1054" (identifier "param_1") (+ "+") (number_literal "0x1054")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }\n    if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }\n    (*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n    return 0;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1050) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1050) != 0" (pointer_expression "*(int *)(param_1 + 0x1050)" (* "*") (cast_expression "(int *)(param_1 + 0x1050)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1050)" (( "(") (binary_expression "param_1 + 0x1050" (identifier "param_1") (+ "+") (number_literal "0x1050")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n    }" ({ "{") (expression_statement "(*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);" (call_expression "(*(code *)PTR_LogMagickEvent_0014f488)\n                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_0014f488)" (( "(") (pointer_expression "*(code *)PTR_LogMagickEvent_0014f488" (* "*") (cast_expression "(code *)PTR_LogMagickEvent_0014f488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LogMagickEvent_0014f488"))) () ")")) (argument_list "(0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,\n                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,\n                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "-0x970")) (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x390" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x390")) (, ",") (number_literal "0x1afa") (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x131c" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "-0x131c")) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1034) != 0) {\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1034) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1034) != 0" (pointer_expression "*(int *)(param_1 + 0x1034)" (* "*") (cast_expression "(int *)(param_1 + 0x1034)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1034)" (( "(") (binary_expression "param_1 + 0x1034" (identifier "param_1") (+ "+") (number_literal "0x1034")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);\n      iVar2 = *(int *)(param_1 + 0x1034);\n      iVar3 = *(int *)(param_1 + 0x1040);\n      *puVar4 = uVar1;\n      *(int *)(param_1 + 0x1034) = iVar2 + -1;\n      if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }\n      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);\n      return 1;\n    }" ({ "{") (expression_statement "puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);" (assignment_expression "puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1038)" (* "*") (cast_expression "(int *)(param_1 + 0x1038)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1038)" (( "(") (binary_expression "param_1 + 0x1038" (identifier "param_1") (+ "+") (number_literal "0x1038")) () ")")))) (+ "+") (binary_expression "*(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1034)" (* "*") (cast_expression "(int *)(param_1 + 0x1034)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1034)" (( "(") (binary_expression "param_1 + 0x1034" (identifier "param_1") (+ "+") (number_literal "0x1034")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);" (assignment_expression "uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4)" (parenthesized_expression "(*(code *)PTR_DestroyDrawInfo_0014f338)" (( "(") (pointer_expression "*(code *)PTR_DestroyDrawInfo_0014f338" (* "*") (cast_expression "(code *)PTR_DestroyDrawInfo_0014f338" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyDrawInfo_0014f338"))) () ")")) (argument_list "(*puVar4)" (( "(") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) () ")")))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x1034);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1034)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x1034)" (* "*") (cast_expression "(int *)(param_1 + 0x1034)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1034)" (( "(") (binary_expression "param_1 + 0x1034" (identifier "param_1") (+ "+") (number_literal "0x1034")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x1040);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x1040)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x1040)" (* "*") (cast_expression "(int *)(param_1 + 0x1040)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1040)" (( "(") (binary_expression "param_1 + 0x1040" (identifier "param_1") (+ "+") (number_literal "0x1040")) () ")"))))) (; ";")) (expression_statement "*puVar4 = uVar1;" (assignment_expression "*puVar4 = uVar1" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(int *)(param_1 + 0x1034) = iVar2 + -1;" (assignment_expression "*(int *)(param_1 + 0x1034) = iVar2 + -1" (pointer_expression "*(int *)(param_1 + 0x1034)" (* "*") (cast_expression "(int *)(param_1 + 0x1034)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1034)" (( "(") (binary_expression "param_1 + 0x1034" (identifier "param_1") (+ "+") (number_literal "0x1034")) () ")")))) (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar3 != 0) {\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *(int *)(param_1 + 0x1040) = iVar3 + -1;\n      }" ({ "{") (expression_statement "*(int *)(param_1 + 0x1040) = iVar3 + -1;" (assignment_expression "*(int *)(param_1 + 0x1040) = iVar3 + -1" (pointer_expression "*(int *)(param_1 + 0x1040)" (* "*") (cast_expression "(int *)(param_1 + 0x1040)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1040)" (( "(") (binary_expression "param_1 + 0x1040" (identifier "param_1") (+ "+") (number_literal "0x1040")) () ")")))) (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);" (call_expression "FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c)" (identifier "FUN_00062838") (argument_list "(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x33c" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x33c")) () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);" (call_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)\n              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_0014f2bc" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_0014f2bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_0014f2bc"))) () ")")) (argument_list "(*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,\n               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,\n               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4)" (( "(") (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" (* "*") (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001008 + param_1)" (( "(") (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" (& "&") (identifier "DAT_00001008")) (+ "+") (identifier "param_1")) () ")")))) (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "-0x970")) (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x390" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x390")) (, ",") (number_literal "0x1afd") (, ",") (number_literal "0x1cc") (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x31c" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x31c")) (, ",") (binary_expression "PTR_LAB_0014f02c + 0x5cf4" (identifier "PTR_LAB_0014f02c") (+ "+") (number_literal "0x5cf4")) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);" (assignment_expression "uVar1 = (*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR___assert_fail_0014f720)\n                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_0014f720" (* "*") (cast_expression "(code *)PTR___assert_fail_0014f720" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_0014f720"))) () ")")) (argument_list "(PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,\n                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0)" (( "(") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x419c")) (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x970" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "-0x970")) (, ",") (number_literal "0x1af8") (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x3a0" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x3a0")) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* 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 */
/* WARNING: Enum "ComplianceType": Some values do not have unique names */

type_1 function_1(type_2 *var_1)

{
  size_t var_5;
  type_3 *pDVar2;
  type_1 MVar3;
  size_t var_6;
  size_t var_7;
  type_3 **ppDVar6;
  
  if (var_1 == (type_2 *)0x0) {
    MVar3 = (*(type_4 *)PTR___assert_fail_0014f720)
                      (var_2 + -0x954,var_2 + -0x970
                       ,0x1af7,var_2 + 0x3a0);
    return MVar3;
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      (*(type_4 *)PTR_LogMagickEvent_0014f488)
                (0x40000,var_2 + -0x970,
                 var_2 + 0x390,0x1afa,
                 var_4 + -0x131c,var_1->name);
    }
    var_5 = var_1->index;
    if (var_5 != 0) {
      ppDVar6 = var_1->graphic_context;
      pDVar2 = (type_3 *)(*(type_4 *)PTR_DestroyDrawInfo_0014f338)(ppDVar6[var_5]);
      var_6 = var_1->index;
      var_7 = var_1->indent_depth;
      ppDVar6[var_5] = pDVar2;
      var_1->index = var_6 - 1;
      if (var_7 != 0) {
        var_1->indent_depth = var_7 - 1;
      }
      var_8(var_1,var_2 + 0x33c);
      return MagickTrue;
    }
    (*(type_4 *)PTR_ThrowMagickException_0014f2bc)
              (var_1->exception,var_2 + -0x970,
               var_2 + 0x390,0x1afd,0x1cc,
               var_2 + 0x31c,var_9 + 0x5cf4,var_1->name);
    return var_3;
  }
  MVar3 = (*(type_4 *)PTR___assert_fail_0014f720)
                    (var_2 + 0x419c,var_2 + -0x970,
                     0x1af8,var_2 + 0x3a0);
  return MVar3;
}


(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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (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: (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)))))) (return_statement (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: (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: (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)) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (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))))))) (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 (pointer_expression argument: (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))))))) (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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_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: (binary_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: (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: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement (number_literal)))) (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (return_statement (number_literal)))) (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)))))) (return_statement (identifier)))))

undefined4 MASKED(int param_1)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  
  if (param_1 == 0) {
    uVar1 = (*(code *)PTR___assert_fail_0014f720)
                      (PTR_s_t_char____NULL_0014f03c + -0x954,PTR_s_t_char____NULL_0014f03c + -0x970
                       ,0x1af7,PTR_s_t_char____NULL_0014f03c + 0x3a0);
    return uVar1;
  }
  if (*(int *)(param_1 + 0x1054) == -0x54535255) {
    if (*(int *)(param_1 + 0x1050) != 0) {
      (*(code *)PTR_LogMagickEvent_0014f488)
                (0x40000,PTR_s_t_char____NULL_0014f03c + -0x970,
                 PTR_s_t_char____NULL_0014f03c + 0x390,0x1afa,
                 PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);
    }
    if (*(int *)(param_1 + 0x1034) != 0) {
      puVar4 = (undefined4 *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);
      uVar1 = (*(code *)PTR_DestroyDrawInfo_0014f338)(*puVar4);
      iVar2 = *(int *)(param_1 + 0x1034);
      iVar3 = *(int *)(param_1 + 0x1040);
      *puVar4 = uVar1;
      *(int *)(param_1 + 0x1034) = iVar2 + -1;
      if (iVar3 != 0) {
        *(int *)(param_1 + 0x1040) = iVar3 + -1;
      }
      FUN_00062838(param_1,PTR_s_t_char____NULL_0014f03c + 0x33c);
      return 1;
    }
    (*(code *)PTR_ThrowMagickException_0014f2bc)
              (*(undefined4 *)(&DAT_00001008 + param_1),PTR_s_t_char____NULL_0014f03c + -0x970,
               PTR_s_t_char____NULL_0014f03c + 0x390,0x1afd,0x1cc,
               PTR_s_t_char____NULL_0014f03c + 0x31c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);
    return 0;
  }
  uVar1 = (*(code *)PTR___assert_fail_0014f720)
                    (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + -0x970,
                     0x1af8,PTR_s_t_char____NULL_0014f03c + 0x3a0);
  return uVar1;
}

