
/* 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 */

uchar * MagickRemoveImageProfile(MagickWand *wand,char *name,size_t *length)

{
  int iVar1;
  undefined4 uVar2;
  uchar *puVar3;
  undefined4 uVar4;
  size_t sVar5;
  Image *pIVar6;
  undefined *puVar7;
  undefined *puVar8;
  undefined *puVar9;
  
  if (wand != (MagickWand *)0x0) {
    if (wand->signature == 0xabacadab) {
      if (wand->debug != MagickFalse) {
        (*(code *)PTR_LogMagickEvent_0014f488)
                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,
                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,
                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);
      }
      puVar9 = PTR_RemoveImageProfile_0014f370;
      pIVar6 = wand->images;
      if (pIVar6 == (Image *)0x0) {
        puVar3 = (uchar *)0x0;
        (*(code *)PTR_ThrowMagickException_0014f2bc)
                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,
                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,
                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);
      }
      else {
        *length = 0;
        iVar1 = (*(code *)puVar9)(pIVar6,name);
        if (iVar1 == 0) {
          puVar3 = (uchar *)0x0;
        }
        else {
          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);
          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);
          if (puVar3 != (uchar *)0x0) {
            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);
            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);
            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);
            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);
            puVar9 = PTR_DestroyStringInfo_0014f1d0;
            *length = sVar5;
            (*(code *)puVar9)(iVar1);
          }
        }
      }
      return puVar3;
    }
    (*(code *)PTR___assert_fail_0014f720)
              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,
               PTR_s_t_char____NULL_0014f03c + 0x7cb4);
  }
  puVar8 = PTR_s_t_char____NULL_0014f03c + 0x7794;
  puVar7 = PTR_s_t_char____NULL_0014f03c + 0x417c;
  puVar9 = PTR___assert_fail_0014f720;
  (*(code *)PTR___assert_fail_0014f720)(puVar7,puVar8,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);
  if (puVar7 == (undefined *)0x0) {
    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))
                                (*(int *)(puVar9 + 0xb5668) + 0x417c,
                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,
                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);
    return puVar3;
  }
  if (*(int *)(puVar7 + 0x101c) != -0x54535255) {
    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))
                                (*(int *)(puVar9 + 0xb5668) + 0x419c,
                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,
                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);
    return puVar3;
  }
  if (*(int *)(puVar7 + 0x1018) != 0) {
    (**(code **)(puVar9 + 0xb5ab4))
              (0x40000,*(int *)(puVar9 + 0xb5668) + 0x7794,*(int *)(puVar9 + 0xb5668) + 0x7c70,0x71d
               ,*(int *)(puVar9 + 0xb565c) + -0x131c,puVar7 + 4,puVar9 + 0xbd62c);
  }
  *(undefined **)(*(int *)(puVar7 + 0x1008) + 0x14) = puVar8;
  return (uchar *)0x1;
}



int MagickRemoveImageProfile(int param_1,undefined4 param_2,undefined4 *param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined *puVar7;
  
  if (param_1 != 0) {
    if (*(int *)(param_1 + 0x101c) == -0x54535255) {
      if (*(int *)(&DAT_00001018 + param_1) != 0) {
        (*(code *)PTR_LogMagickEvent_0014f488)
                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,
                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,
                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);
      }
      puVar7 = PTR_RemoveImageProfile_0014f370;
      iVar4 = *(int *)(&DAT_00001004 + param_1);
      if (iVar4 == 0) {
        iVar4 = 0;
        (*(code *)PTR_ThrowMagickException_0014f2bc)
                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,
                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,
                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);
      }
      else {
        *param_3 = 0;
        iVar1 = (*(code *)puVar7)(iVar4,param_2);
        if (iVar1 == 0) {
          iVar4 = 0;
        }
        else {
          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);
          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);
          if (iVar4 != 0) {
            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);
            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);
            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);
            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);
            puVar7 = PTR_DestroyStringInfo_0014f1d0;
            *param_3 = uVar2;
            (*(code *)puVar7)(iVar1);
          }
        }
      }
      return iVar4;
    }
    (*(code *)PTR___assert_fail_0014f720)
              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,
               PTR_s_t_char____NULL_0014f03c + 0x7cb4);
  }
  puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;
  puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;
  puVar7 = PTR___assert_fail_0014f720;
  (*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);
  if (puVar5 == (undefined *)0x0) {
    iVar4 = (**(code **)(puVar7 + 0xb5d4c))
                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a
                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);
    return iVar4;
  }
  if (*(int *)(puVar5 + 0x101c) != -0x54535255) {
    iVar4 = (**(code **)(puVar7 + 0xb5d4c))
                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b
                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);
    return iVar4;
  }
  if (*(int *)(puVar5 + 0x1018) != 0) {
    (**(code **)(puVar7 + 0xb5ab4))
              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d
               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);
  }
  *(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;
  return 1;
}


lui gp,0xc
addiu gp,gp,-0x27d8
addu gp,gp,t9
addiu sp,sp,-0x40
sw gp,0x20(sp)
sw ra,0x3c(sp)
sw s3,0x38(sp)
sw s2,0x34(sp)
sw s1,0x30(sp)
beq a0,zero,0x000999b0
_sw s0,0x2c(sp)
lui v0,0xabac
lw v1,0x101c(a0)
ori v0,v0,0xadab
bne v1,v0,0x0009998c
_or s0,a0,zero
lw v0,0x1018(a0)
or s1,a1,zero
bne v0,zero,0x000998f4
_or s2,a2,zero
lw a0,0x1004(s0)
beq a0,zero,0x00099938
_lw t9,-0x7c90(gp)
or a1,s1,zero
jalr t9
_sw zero,0x0(s2)
lw gp,0x20(sp)
beq v0,zero,0x00099930
_or s0,v0,zero
lw t9,-0x7eb0(gp)
jalr t9
_or a0,v0,zero
li a1,0x1
lw gp,0x20(sp)
lw t9,-0x7974(gp)
jalr t9
_or a0,v0,zero
lw gp,0x20(sp)
beq v0,zero,0x000998d4
_or s1,v0,zero
lw t9,-0x7de4(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7eb0(gp)
jalr t9
_or s3,v0,zero
or a1,s3,zero
lw gp,0x20(sp)
or a2,v0,zero
lw t9,-0x7a74(gp)
jalr t9
_or a0,s1,zero
lw gp,0x20(sp)
lw t9,-0x7eb0(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7e30(gp)
jalr t9
_sw v0,0x0(s2)
lw ra,0x3c(sp)
or v0,s1,zero
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x40
addiu v0,a0,0x4
lw a2,-0x7fc4(gp)
lw a1,-0x7fc4(gp)
li a3,0x6e8
lw t9,-0x7b78(gp)
lui a0,0x4
sw v0,0x14(sp)
addiu a2,a2,0x7c98
lw v0,-0x7fd0(gp)
addiu a1,a1,0x7794
addiu v0,v0,-0x131c
jalr t9
_sw v0,0x10(sp)
b 0x00099828
_lw gp,0x20(sp)
b 0x000998d4
_or s1,zero,zero
addiu v0,s0,0x4
lw a0,0x100c(s0)
lw a2,-0x7fc4(gp)
li a3,0x6eb
sw v0,0x1c(sp)
or s1,zero,zero
lw v0,-0x7fd4(gp)
lw a1,-0x7fc4(gp)
addiu a2,a2,0x7c98
lw t9,-0x7d44(gp)
addiu v0,v0,0x5cf4
addiu a1,a1,0x7794
sw v0,0x18(sp)
lw v0,-0x7fc4(gp)
addiu v0,v0,-0x225c
sw v0,0x14(sp)
li v0,0x1d6
jalr t9
_sw v0,0x10(sp)
b 0x000998d8
_lw ra,0x3c(sp)
lw a3,-0x7fc4(gp)
li a2,0x6e6
lw a1,-0x7fc4(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x78e0(gp)
addiu a3,a3,0x7cb4
addiu a1,a1,0x7794
jalr t9
_addiu a0,a0,0x419c
lw a3,-0x7fc4(gp)
li a2,0x6e5
lw a1,-0x7fc4(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x78e0(gp)
addiu a3,a3,0x7cb4
addiu a1,a1,0x7794
jalr t9
_addiu a0,a0,0x417c
(translation_unit "int MagickRemoveImageProfile(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;\n  return 1;\n}\n\n" (function_definition "int MagickRemoveImageProfile(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;\n  return 1;\n}" primitive_type (function_declarator "MagickRemoveImageProfile(int param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }" { (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }" { (if_statement "if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }" if (parenthesized_expression "(*(int *)(&DAT_00001018 + param_1) != 0)" ( (binary_expression "*(int *)(&DAT_00001018 + param_1) != 0" (pointer_expression "*(int *)(&DAT_00001018 + param_1)" * (cast_expression "(int *)(&DAT_00001018 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + param_1)" ( (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" ( number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7c98" 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) ))) ;) })) (expression_statement "puVar7 = PTR_RemoveImageProfile_0014f370;" (assignment_expression "puVar7 = PTR_RemoveImageProfile_0014f370" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar4 = *(int *)(&DAT_00001004 + param_1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (if_statement "if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);" (call_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,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 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7c98" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x225c" identifier + number_literal) , (binary_expression "PTR_LAB_0014f02c + 0x5cf4" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) }) (else_clause "else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }" else (compound_statement "{\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }" { (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "iVar1 = (*(code *)puVar7)(iVar4,param_2);" (assignment_expression "iVar1 = (*(code *)puVar7)(iVar4,param_2)" identifier = (call_expression "(*(code *)puVar7)(iVar4,param_2)" (parenthesized_expression "(*(code *)puVar7)" ( (pointer_expression "*(code *)puVar7" * (cast_expression "(code *)puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar4 = 0;\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }" else (compound_statement "{\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }" { (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" ( (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" * (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);" (assignment_expression "iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1)" identifier = (call_expression "(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_0014f68c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_0014f68c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_0014f68c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,1)" ( identifier , number_literal )))) ;) (if_statement "if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }" { (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoDatum_0014f21c)" ( (pointer_expression "*(code *)PTR_GetStringInfoDatum_0014f21c" * (cast_expression "(code *)PTR_GetStringInfoDatum_0014f21c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" ( (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" * (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);" (call_expression "(*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0014f58c)" ( (pointer_expression "*(code *)PTR_memcpy_0014f58c" * (cast_expression "(code *)PTR_memcpy_0014f58c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,uVar2,uVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" ( (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" * (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "puVar7 = PTR_DestroyStringInfo_0014f1d0;" (assignment_expression "puVar7 = PTR_DestroyStringInfo_0014f1d0" identifier = identifier) ;) (expression_statement "*param_3 = uVar2;" (assignment_expression "*param_3 = uVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "(*(code *)puVar7)(iVar1);" (call_expression "(*(code *)puVar7)(iVar1)" (parenthesized_expression "(*(code *)puVar7)" ( (pointer_expression "*(code *)puVar7" * (cast_expression "(code *)puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) })) }))) }))) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4)" (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 + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7cb4" identifier + number_literal) ))) ;) })) (expression_statement "puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;" (assignment_expression "puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794" identifier = (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal)) ;) (expression_statement "puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;" (assignment_expression "puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c" identifier = (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x417c" identifier + number_literal)) ;) (expression_statement "puVar7 = PTR___assert_fail_0014f720;" (assignment_expression "puVar7 = PTR___assert_fail_0014f720" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4)" (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 "(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4)" ( identifier , identifier , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7cb4" identifier + number_literal) ))) ;) (if_statement "if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" if (parenthesized_expression "(puVar5 == (undefined *)0x0)" ( (binary_expression "puVar5 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" { (expression_statement "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" identifier = (call_expression "(**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" (parenthesized_expression "(**(code **)(puVar7 + 0xb5d4c))" ( (pointer_expression "**(code **)(puVar7 + 0xb5d4c)" * (pointer_expression "*(code **)(puVar7 + 0xb5d4c)" * (cast_expression "(code **)(puVar7 + 0xb5d4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb5d4c)" ( (binary_expression "puVar7 + 0xb5d4c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" ( (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x417c" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7c84" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) )))) ;) (return_statement "return iVar4;" return identifier ;) })) (if_statement "if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" if (parenthesized_expression "(*(int *)(puVar5 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(puVar5 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(puVar5 + 0x101c)" * (cast_expression "(int *)(puVar5 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x101c)" ( (binary_expression "puVar5 + 0x101c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" { (expression_statement "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" identifier = (call_expression "(**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" (parenthesized_expression "(**(code **)(puVar7 + 0xb5d4c))" ( (pointer_expression "**(code **)(puVar7 + 0xb5d4c)" * (pointer_expression "*(code **)(puVar7 + 0xb5d4c)" * (cast_expression "(code **)(puVar7 + 0xb5d4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb5d4c)" ( (binary_expression "puVar7 + 0xb5d4c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" ( (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x419c" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7c84" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) )))) ;) (return_statement "return iVar4;" return identifier ;) })) (if_statement "if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }" if (parenthesized_expression "(*(int *)(puVar5 + 0x1018) != 0)" ( (binary_expression "*(int *)(puVar5 + 0x1018) != 0" (pointer_expression "*(int *)(puVar5 + 0x1018)" * (cast_expression "(int *)(puVar5 + 0x1018)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1018)" ( (binary_expression "puVar5 + 0x1018" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }" { (expression_statement "(**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);" (call_expression "(**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c)" (parenthesized_expression "(**(code **)(puVar7 + 0xb5ab4))" ( (pointer_expression "**(code **)(puVar7 + 0xb5ab4)" * (pointer_expression "*(code **)(puVar7 + 0xb5ab4)" * (cast_expression "(code **)(puVar7 + 0xb5ab4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb5ab4)" ( (binary_expression "puVar7 + 0xb5ab4" identifier + number_literal) ))))) )) (argument_list "(0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c)" ( number_literal , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7c70" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar7 + 0xb565c) + -0x131c" (pointer_expression "*(int *)(puVar7 + 0xb565c)" * (cast_expression "(int *)(puVar7 + 0xb565c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb565c)" ( (binary_expression "puVar7 + 0xb565c" identifier + number_literal) )))) + number_literal) , (binary_expression "puVar5 + 4" identifier + number_literal) , (binary_expression "puVar7 + 0xbd62c" identifier + number_literal) ))) ;) })) (expression_statement "*(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;" (assignment_expression "*(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6" (pointer_expression "*(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14)" * (cast_expression "(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar5 + 0x1008) + 0x14)" ( (binary_expression "*(int *)(puVar5 + 0x1008) + 0x14" (pointer_expression "*(int *)(puVar5 + 0x1008)" * (cast_expression "(int *)(puVar5 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1008)" ( (binary_expression "puVar5 + 0x1008" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })))
(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\nuchar * MagickRemoveImageProfile(MagickWand *wand,char *name,size_t *length)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  uchar *puVar3;\n  undefined4 uVar4;\n  size_t sVar5;\n  Image *pIVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  \n  if (wand != (MagickWand *)0x0) {\n    if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      puVar9 = PTR_RemoveImageProfile_0014f370;\n      pIVar6 = wand->images;\n      if (pIVar6 == (Image *)0x0) {\n        puVar3 = (uchar *)0x0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n      }\n      else {\n        *length = 0;\n        iVar1 = (*(code *)puVar9)(pIVar6,name);\n        if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }\n      }\n      return puVar3;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar8 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar7 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar9 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar7,puVar8,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar7 == (undefined *)0x0) {\n    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x417c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);\n    return puVar3;\n  }\n  if (*(int *)(puVar7 + 0x101c) != -0x54535255) {\n    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x419c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);\n    return puVar3;\n  }\n  if (*(int *)(puVar7 + 0x1018) != 0) {\n    (**(code **)(puVar9 + 0xb5ab4))\n              (0x40000,*(int *)(puVar9 + 0xb5668) + 0x7794,*(int *)(puVar9 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar9 + 0xb565c) + -0x131c,puVar7 + 4,puVar9 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar7 + 0x1008) + 0x14) = puVar8;\n  return (uchar *)0x1;\n}\n\n" comment comment comment comment comment (function_definition "uchar * MagickRemoveImageProfile(MagickWand *wand,char *name,size_t *length)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  uchar *puVar3;\n  undefined4 uVar4;\n  size_t sVar5;\n  Image *pIVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  \n  if (wand != (MagickWand *)0x0) {\n    if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      puVar9 = PTR_RemoveImageProfile_0014f370;\n      pIVar6 = wand->images;\n      if (pIVar6 == (Image *)0x0) {\n        puVar3 = (uchar *)0x0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n      }\n      else {\n        *length = 0;\n        iVar1 = (*(code *)puVar9)(pIVar6,name);\n        if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }\n      }\n      return puVar3;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar8 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar7 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar9 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar7,puVar8,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar7 == (undefined *)0x0) {\n    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x417c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);\n    return puVar3;\n  }\n  if (*(int *)(puVar7 + 0x101c) != -0x54535255) {\n    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x419c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);\n    return puVar3;\n  }\n  if (*(int *)(puVar7 + 0x1018) != 0) {\n    (**(code **)(puVar9 + 0xb5ab4))\n              (0x40000,*(int *)(puVar9 + 0xb5668) + 0x7794,*(int *)(puVar9 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar9 + 0xb565c) + -0x131c,puVar7 + 4,puVar9 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar7 + 0x1008) + 0x14) = puVar8;\n  return (uchar *)0x1;\n}" type_identifier (pointer_declarator "* MagickRemoveImageProfile(MagickWand *wand,char *name,size_t *length)" * (function_declarator "MagickRemoveImageProfile(MagickWand *wand,char *name,size_t *length)" identifier (parameter_list "(MagickWand *wand,char *name,size_t *length)" ( (parameter_declaration "MagickWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t *length" primitive_type (pointer_declarator "*length" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  uchar *puVar3;\n  undefined4 uVar4;\n  size_t sVar5;\n  Image *pIVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  \n  if (wand != (MagickWand *)0x0) {\n    if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      puVar9 = PTR_RemoveImageProfile_0014f370;\n      pIVar6 = wand->images;\n      if (pIVar6 == (Image *)0x0) {\n        puVar3 = (uchar *)0x0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n      }\n      else {\n        *length = 0;\n        iVar1 = (*(code *)puVar9)(pIVar6,name);\n        if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }\n      }\n      return puVar3;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar8 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar7 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar9 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar7,puVar8,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar7 == (undefined *)0x0) {\n    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x417c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);\n    return puVar3;\n  }\n  if (*(int *)(puVar7 + 0x101c) != -0x54535255) {\n    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x419c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);\n    return puVar3;\n  }\n  if (*(int *)(puVar7 + 0x1018) != 0) {\n    (**(code **)(puVar9 + 0xb5ab4))\n              (0x40000,*(int *)(puVar9 + 0xb5668) + 0x7794,*(int *)(puVar9 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar9 + 0xb565c) + -0x131c,puVar7 + 4,puVar9 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar7 + 0x1008) + 0x14) = puVar8;\n  return (uchar *)0x1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "uchar *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "Image *pIVar6;" type_identifier (pointer_declarator "*pIVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (if_statement "if (wand != (MagickWand *)0x0) {\n    if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      puVar9 = PTR_RemoveImageProfile_0014f370;\n      pIVar6 = wand->images;\n      if (pIVar6 == (Image *)0x0) {\n        puVar3 = (uchar *)0x0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n      }\n      else {\n        *length = 0;\n        iVar1 = (*(code *)puVar9)(pIVar6,name);\n        if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }\n      }\n      return puVar3;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }" if (parenthesized_expression "(wand != (MagickWand *)0x0)" ( (binary_expression "wand != (MagickWand *)0x0" identifier != (cast_expression "(MagickWand *)0x0" ( (type_descriptor "MagickWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      puVar9 = PTR_RemoveImageProfile_0014f370;\n      pIVar6 = wand->images;\n      if (pIVar6 == (Image *)0x0) {\n        puVar3 = (uchar *)0x0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n      }\n      else {\n        *length = 0;\n        iVar1 = (*(code *)puVar9)(pIVar6,name);\n        if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }\n      }\n      return puVar3;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }" { (if_statement "if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      puVar9 = PTR_RemoveImageProfile_0014f370;\n      pIVar6 = wand->images;\n      if (pIVar6 == (Image *)0x0) {\n        puVar3 = (uchar *)0x0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n      }\n      else {\n        *length = 0;\n        iVar1 = (*(code *)puVar9)(pIVar6,name);\n        if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }\n      }\n      return puVar3;\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      puVar9 = PTR_RemoveImageProfile_0014f370;\n      pIVar6 = wand->images;\n      if (pIVar6 == (Image *)0x0) {\n        puVar3 = (uchar *)0x0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n      }\n      else {\n        *length = 0;\n        iVar1 = (*(code *)puVar9)(pIVar6,name);\n        if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }\n      }\n      return puVar3;\n    }" { (if_statement "if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name)" ( number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7c98" 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 "puVar9 = PTR_RemoveImageProfile_0014f370;" (assignment_expression "puVar9 = PTR_RemoveImageProfile_0014f370" identifier = identifier) ;) (expression_statement "pIVar6 = wand->images;" (assignment_expression "pIVar6 = wand->images" identifier = (field_expression "wand->images" identifier -> field_identifier)) ;) (if_statement "if (pIVar6 == (Image *)0x0) {\n        puVar3 = (uchar *)0x0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n      }\n      else {\n        *length = 0;\n        iVar1 = (*(code *)puVar9)(pIVar6,name);\n        if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }\n      }" if (parenthesized_expression "(pIVar6 == (Image *)0x0)" ( (binary_expression "pIVar6 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar3 = (uchar *)0x0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);\n      }" { (expression_statement "puVar3 = (uchar *)0x0;" (assignment_expression "puVar3 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name);" (call_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (wand->exception,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,wand->name)" ( (field_expression "wand->exception" identifier -> field_identifier) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7c98" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x225c" identifier + number_literal) , (binary_expression "PTR_LAB_0014f02c + 0x5cf4" identifier + number_literal) , (field_expression "wand->name" identifier -> field_identifier) ))) ;) }) (else_clause "else {\n        *length = 0;\n        iVar1 = (*(code *)puVar9)(pIVar6,name);\n        if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }\n      }" else (compound_statement "{\n        *length = 0;\n        iVar1 = (*(code *)puVar9)(pIVar6,name);\n        if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }\n      }" { (expression_statement "*length = 0;" (assignment_expression "*length = 0" (pointer_expression "*length" * identifier) = number_literal) ;) (expression_statement "iVar1 = (*(code *)puVar9)(pIVar6,name);" (assignment_expression "iVar1 = (*(code *)puVar9)(pIVar6,name)" identifier = (call_expression "(*(code *)puVar9)(pIVar6,name)" (parenthesized_expression "(*(code *)puVar9)" ( (pointer_expression "*(code *)puVar9" * (cast_expression "(code *)puVar9" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar6,name)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n          puVar3 = (uchar *)0x0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          puVar3 = (uchar *)0x0;\n        }" { (expression_statement "puVar3 = (uchar *)0x0;" (assignment_expression "puVar3 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }" else (compound_statement "{\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }\n        }" { (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" ( (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" * (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);" (assignment_expression "puVar3 = (uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1)" identifier = (cast_expression "(uchar *)(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_0014f68c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_0014f68c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_0014f68c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,1)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar3 != (uchar *)0x0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }" if (parenthesized_expression "(puVar3 != (uchar *)0x0)" ( (binary_expression "puVar3 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);\n            sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar9 = PTR_DestroyStringInfo_0014f1d0;\n            *length = sVar5;\n            (*(code *)puVar9)(iVar1);\n          }" { (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoDatum_0014f21c)" ( (pointer_expression "*(code *)PTR_GetStringInfoDatum_0014f21c" * (cast_expression "(code *)PTR_GetStringInfoDatum_0014f21c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar4 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" ( (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" * (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4);" (call_expression "(*(code *)PTR_memcpy_0014f58c)(puVar3,uVar2,uVar4)" (parenthesized_expression "(*(code *)PTR_memcpy_0014f58c)" ( (pointer_expression "*(code *)PTR_memcpy_0014f58c" * (cast_expression "(code *)PTR_memcpy_0014f58c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,uVar2,uVar4)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "sVar5 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" ( (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" * (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "puVar9 = PTR_DestroyStringInfo_0014f1d0;" (assignment_expression "puVar9 = PTR_DestroyStringInfo_0014f1d0" identifier = identifier) ;) (expression_statement "*length = sVar5;" (assignment_expression "*length = sVar5" (pointer_expression "*length" * identifier) = identifier) ;) (expression_statement "(*(code *)puVar9)(iVar1);" (call_expression "(*(code *)puVar9)(iVar1)" (parenthesized_expression "(*(code *)puVar9)" ( (pointer_expression "*(code *)puVar9" * (cast_expression "(code *)puVar9" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) })) }))) }))) (return_statement "return puVar3;" return identifier ;) })) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4)" (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 + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7cb4" identifier + number_literal) ))) ;) })) (expression_statement "puVar8 = PTR_s_t_char____NULL_0014f03c + 0x7794;" (assignment_expression "puVar8 = PTR_s_t_char____NULL_0014f03c + 0x7794" identifier = (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal)) ;) (expression_statement "puVar7 = PTR_s_t_char____NULL_0014f03c + 0x417c;" (assignment_expression "puVar7 = PTR_s_t_char____NULL_0014f03c + 0x417c" identifier = (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x417c" identifier + number_literal)) ;) (expression_statement "puVar9 = PTR___assert_fail_0014f720;" (assignment_expression "puVar9 = PTR___assert_fail_0014f720" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_0014f720)(puVar7,puVar8,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)(puVar7,puVar8,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4)" (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 "(puVar7,puVar8,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4)" ( identifier , identifier , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7cb4" identifier + number_literal) ))) ;) (if_statement "if (puVar7 == (undefined *)0x0) {\n    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x417c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);\n    return puVar3;\n  }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x417c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);\n    return puVar3;\n  }" { (expression_statement "puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x417c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);" (assignment_expression "puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x417c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84)" identifier = (cast_expression "(uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x417c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x417c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84)" (parenthesized_expression "(**(code **)(puVar9 + 0xb5d4c))" ( (pointer_expression "**(code **)(puVar9 + 0xb5d4c)" * (pointer_expression "*(code **)(puVar9 + 0xb5d4c)" * (cast_expression "(code **)(puVar9 + 0xb5d4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0xb5d4c)" ( (binary_expression "puVar9 + 0xb5d4c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar9 + 0xb5668) + 0x417c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71a,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84)" ( (binary_expression "*(int *)(puVar9 + 0xb5668) + 0x417c" (pointer_expression "*(int *)(puVar9 + 0xb5668)" * (cast_expression "(int *)(puVar9 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xb5668)" ( (binary_expression "puVar9 + 0xb5668" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar9 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar9 + 0xb5668)" * (cast_expression "(int *)(puVar9 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xb5668)" ( (binary_expression "puVar9 + 0xb5668" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar9 + 0xb5668) + 0x7c84" (pointer_expression "*(int *)(puVar9 + 0xb5668)" * (cast_expression "(int *)(puVar9 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xb5668)" ( (binary_expression "puVar9 + 0xb5668" identifier + number_literal) )))) + number_literal) ))))) ;) (return_statement "return puVar3;" return identifier ;) })) (if_statement "if (*(int *)(puVar7 + 0x101c) != -0x54535255) {\n    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x419c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);\n    return puVar3;\n  }" if (parenthesized_expression "(*(int *)(puVar7 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(puVar7 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(puVar7 + 0x101c)" * (cast_expression "(int *)(puVar7 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x101c)" ( (binary_expression "puVar7 + 0x101c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x419c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);\n    return puVar3;\n  }" { (expression_statement "puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x419c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84);" (assignment_expression "puVar3 = (uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x419c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84)" identifier = (cast_expression "(uchar *)(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x419c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar9 + 0xb5d4c))\n                                (*(int *)(puVar9 + 0xb5668) + 0x419c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84)" (parenthesized_expression "(**(code **)(puVar9 + 0xb5d4c))" ( (pointer_expression "**(code **)(puVar9 + 0xb5d4c)" * (pointer_expression "*(code **)(puVar9 + 0xb5d4c)" * (cast_expression "(code **)(puVar9 + 0xb5d4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0xb5d4c)" ( (binary_expression "puVar9 + 0xb5d4c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar9 + 0xb5668) + 0x419c,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7794,0x71b,\n                                 *(int *)(puVar9 + 0xb5668) + 0x7c84)" ( (binary_expression "*(int *)(puVar9 + 0xb5668) + 0x419c" (pointer_expression "*(int *)(puVar9 + 0xb5668)" * (cast_expression "(int *)(puVar9 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xb5668)" ( (binary_expression "puVar9 + 0xb5668" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar9 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar9 + 0xb5668)" * (cast_expression "(int *)(puVar9 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xb5668)" ( (binary_expression "puVar9 + 0xb5668" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar9 + 0xb5668) + 0x7c84" (pointer_expression "*(int *)(puVar9 + 0xb5668)" * (cast_expression "(int *)(puVar9 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xb5668)" ( (binary_expression "puVar9 + 0xb5668" identifier + number_literal) )))) + number_literal) ))))) ;) (return_statement "return puVar3;" return identifier ;) })) (if_statement "if (*(int *)(puVar7 + 0x1018) != 0) {\n    (**(code **)(puVar9 + 0xb5ab4))\n              (0x40000,*(int *)(puVar9 + 0xb5668) + 0x7794,*(int *)(puVar9 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar9 + 0xb565c) + -0x131c,puVar7 + 4,puVar9 + 0xbd62c);\n  }" if (parenthesized_expression "(*(int *)(puVar7 + 0x1018) != 0)" ( (binary_expression "*(int *)(puVar7 + 0x1018) != 0" (pointer_expression "*(int *)(puVar7 + 0x1018)" * (cast_expression "(int *)(puVar7 + 0x1018)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1018)" ( (binary_expression "puVar7 + 0x1018" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar9 + 0xb5ab4))\n              (0x40000,*(int *)(puVar9 + 0xb5668) + 0x7794,*(int *)(puVar9 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar9 + 0xb565c) + -0x131c,puVar7 + 4,puVar9 + 0xbd62c);\n  }" { (expression_statement "(**(code **)(puVar9 + 0xb5ab4))\n              (0x40000,*(int *)(puVar9 + 0xb5668) + 0x7794,*(int *)(puVar9 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar9 + 0xb565c) + -0x131c,puVar7 + 4,puVar9 + 0xbd62c);" (call_expression "(**(code **)(puVar9 + 0xb5ab4))\n              (0x40000,*(int *)(puVar9 + 0xb5668) + 0x7794,*(int *)(puVar9 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar9 + 0xb565c) + -0x131c,puVar7 + 4,puVar9 + 0xbd62c)" (parenthesized_expression "(**(code **)(puVar9 + 0xb5ab4))" ( (pointer_expression "**(code **)(puVar9 + 0xb5ab4)" * (pointer_expression "*(code **)(puVar9 + 0xb5ab4)" * (cast_expression "(code **)(puVar9 + 0xb5ab4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0xb5ab4)" ( (binary_expression "puVar9 + 0xb5ab4" identifier + number_literal) ))))) )) (argument_list "(0x40000,*(int *)(puVar9 + 0xb5668) + 0x7794,*(int *)(puVar9 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar9 + 0xb565c) + -0x131c,puVar7 + 4,puVar9 + 0xbd62c)" ( number_literal , (binary_expression "*(int *)(puVar9 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar9 + 0xb5668)" * (cast_expression "(int *)(puVar9 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xb5668)" ( (binary_expression "puVar9 + 0xb5668" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar9 + 0xb5668) + 0x7c70" (pointer_expression "*(int *)(puVar9 + 0xb5668)" * (cast_expression "(int *)(puVar9 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xb5668)" ( (binary_expression "puVar9 + 0xb5668" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar9 + 0xb565c) + -0x131c" (pointer_expression "*(int *)(puVar9 + 0xb565c)" * (cast_expression "(int *)(puVar9 + 0xb565c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xb565c)" ( (binary_expression "puVar9 + 0xb565c" identifier + number_literal) )))) + number_literal) , (binary_expression "puVar7 + 4" identifier + number_literal) , (binary_expression "puVar9 + 0xbd62c" identifier + number_literal) ))) ;) })) (expression_statement "*(undefined **)(*(int *)(puVar7 + 0x1008) + 0x14) = puVar8;" (assignment_expression "*(undefined **)(*(int *)(puVar7 + 0x1008) + 0x14) = puVar8" (pointer_expression "*(undefined **)(*(int *)(puVar7 + 0x1008) + 0x14)" * (cast_expression "(undefined **)(*(int *)(puVar7 + 0x1008) + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar7 + 0x1008) + 0x14)" ( (binary_expression "*(int *)(puVar7 + 0x1008) + 0x14" (pointer_expression "*(int *)(puVar7 + 0x1008)" * (cast_expression "(int *)(puVar7 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1008)" ( (binary_expression "puVar7 + 0x1008" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return (uchar *)0x1;" return (cast_expression "(uchar *)0x1" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "int MagickRemoveImageProfile(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;\n  return 1;\n}\n\n" (function_definition "int MagickRemoveImageProfile(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;\n  return 1;\n}" primitive_type (function_declarator "MagickRemoveImageProfile(int param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }" { (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }" { (if_statement "if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }" if (parenthesized_expression "(*(int *)(&DAT_00001018 + param_1) != 0)" ( (binary_expression "*(int *)(&DAT_00001018 + param_1) != 0" (pointer_expression "*(int *)(&DAT_00001018 + param_1)" * (cast_expression "(int *)(&DAT_00001018 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + param_1)" ( (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" ( number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7c98" 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) ))) ;) })) (expression_statement "puVar7 = PTR_RemoveImageProfile_0014f370;" (assignment_expression "puVar7 = PTR_RemoveImageProfile_0014f370" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar4 = *(int *)(&DAT_00001004 + param_1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (if_statement "if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);" (call_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,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 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7c98" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x225c" identifier + number_literal) , (binary_expression "PTR_LAB_0014f02c + 0x5cf4" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) }) (else_clause "else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }" else (compound_statement "{\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }" { (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "iVar1 = (*(code *)puVar7)(iVar4,param_2);" (assignment_expression "iVar1 = (*(code *)puVar7)(iVar4,param_2)" identifier = (call_expression "(*(code *)puVar7)(iVar4,param_2)" (parenthesized_expression "(*(code *)puVar7)" ( (pointer_expression "*(code *)puVar7" * (cast_expression "(code *)puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar4 = 0;\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }" else (compound_statement "{\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }" { (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" ( (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" * (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);" (assignment_expression "iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1)" identifier = (call_expression "(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_0014f68c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_0014f68c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_0014f68c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,1)" ( identifier , number_literal )))) ;) (if_statement "if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }" { (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoDatum_0014f21c)" ( (pointer_expression "*(code *)PTR_GetStringInfoDatum_0014f21c" * (cast_expression "(code *)PTR_GetStringInfoDatum_0014f21c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" ( (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" * (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);" (call_expression "(*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0014f58c)" ( (pointer_expression "*(code *)PTR_memcpy_0014f58c" * (cast_expression "(code *)PTR_memcpy_0014f58c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,uVar2,uVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" identifier = (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" ( (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" * (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "puVar7 = PTR_DestroyStringInfo_0014f1d0;" (assignment_expression "puVar7 = PTR_DestroyStringInfo_0014f1d0" identifier = identifier) ;) (expression_statement "*param_3 = uVar2;" (assignment_expression "*param_3 = uVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "(*(code *)puVar7)(iVar1);" (call_expression "(*(code *)puVar7)(iVar1)" (parenthesized_expression "(*(code *)puVar7)" ( (pointer_expression "*(code *)puVar7" * (cast_expression "(code *)puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) })) }))) }))) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4)" (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 + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" identifier + number_literal) , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7cb4" identifier + number_literal) ))) ;) })) (expression_statement "puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;" (assignment_expression "puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794" identifier = (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" identifier + number_literal)) ;) (expression_statement "puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;" (assignment_expression "puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c" identifier = (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x417c" identifier + number_literal)) ;) (expression_statement "puVar7 = PTR___assert_fail_0014f720;" (assignment_expression "puVar7 = PTR___assert_fail_0014f720" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4)" (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 "(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4)" ( identifier , identifier , number_literal , (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7cb4" identifier + number_literal) ))) ;) (if_statement "if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" if (parenthesized_expression "(puVar5 == (undefined *)0x0)" ( (binary_expression "puVar5 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" { (expression_statement "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" identifier = (call_expression "(**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" (parenthesized_expression "(**(code **)(puVar7 + 0xb5d4c))" ( (pointer_expression "**(code **)(puVar7 + 0xb5d4c)" * (pointer_expression "*(code **)(puVar7 + 0xb5d4c)" * (cast_expression "(code **)(puVar7 + 0xb5d4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb5d4c)" ( (binary_expression "puVar7 + 0xb5d4c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" ( (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x417c" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7c84" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) )))) ;) (return_statement "return iVar4;" return identifier ;) })) (if_statement "if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" if (parenthesized_expression "(*(int *)(puVar5 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(puVar5 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(puVar5 + 0x101c)" * (cast_expression "(int *)(puVar5 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x101c)" ( (binary_expression "puVar5 + 0x101c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" { (expression_statement "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" identifier = (call_expression "(**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" (parenthesized_expression "(**(code **)(puVar7 + 0xb5d4c))" ( (pointer_expression "**(code **)(puVar7 + 0xb5d4c)" * (pointer_expression "*(code **)(puVar7 + 0xb5d4c)" * (cast_expression "(code **)(puVar7 + 0xb5d4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb5d4c)" ( (binary_expression "puVar7 + 0xb5d4c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" ( (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x419c" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7c84" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) )))) ;) (return_statement "return iVar4;" return identifier ;) })) (if_statement "if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }" if (parenthesized_expression "(*(int *)(puVar5 + 0x1018) != 0)" ( (binary_expression "*(int *)(puVar5 + 0x1018) != 0" (pointer_expression "*(int *)(puVar5 + 0x1018)" * (cast_expression "(int *)(puVar5 + 0x1018)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1018)" ( (binary_expression "puVar5 + 0x1018" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }" { (expression_statement "(**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);" (call_expression "(**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c)" (parenthesized_expression "(**(code **)(puVar7 + 0xb5ab4))" ( (pointer_expression "**(code **)(puVar7 + 0xb5ab4)" * (pointer_expression "*(code **)(puVar7 + 0xb5ab4)" * (cast_expression "(code **)(puVar7 + 0xb5ab4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb5ab4)" ( (binary_expression "puVar7 + 0xb5ab4" identifier + number_literal) ))))) )) (argument_list "(0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c)" ( number_literal , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7c70" (pointer_expression "*(int *)(puVar7 + 0xb5668)" * (cast_expression "(int *)(puVar7 + 0xb5668)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb5668)" ( (binary_expression "puVar7 + 0xb5668" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar7 + 0xb565c) + -0x131c" (pointer_expression "*(int *)(puVar7 + 0xb565c)" * (cast_expression "(int *)(puVar7 + 0xb565c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb565c)" ( (binary_expression "puVar7 + 0xb565c" identifier + number_literal) )))) + number_literal) , (binary_expression "puVar5 + 4" identifier + number_literal) , (binary_expression "puVar7 + 0xbd62c" identifier + number_literal) ))) ;) })) (expression_statement "*(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;" (assignment_expression "*(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6" (pointer_expression "*(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14)" * (cast_expression "(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar5 + 0x1008) + 0x14)" ( (binary_expression "*(int *)(puVar5 + 0x1008) + 0x14" (pointer_expression "*(int *)(puVar5 + 0x1008)" * (cast_expression "(int *)(puVar5 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1008)" ( (binary_expression "puVar5 + 0x1008" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != 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 { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) != 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) ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = 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 IDENT + LIT) )))) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (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 ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) }))) }))) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + 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 { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + 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 { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "int MagickRemoveImageProfile(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;\n  return 1;\n}" (primitive_type "int") (function_declarator "MagickRemoveImageProfile(int param_1,undefined4 param_2,undefined4 *param_3)" (identifier "MagickRemoveImageProfile") (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }\n  puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;\n  puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }\n  if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }\n  *(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x101c) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" (* "*") (cast_expression "(int *)(param_1 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x101c)" (( "(") (binary_expression "param_1 + 0x101c" (identifier "param_1") (+ "+") (number_literal "0x101c")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      puVar7 = PTR_RemoveImageProfile_0014f370;\n      iVar4 = *(int *)(&DAT_00001004 + param_1);\n      if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }\n      return iVar4;\n    }" ({ "{") (if_statement "if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }" (if "if") (parenthesized_expression "(*(int *)(&DAT_00001018 + param_1) != 0)" (( "(") (binary_expression "*(int *)(&DAT_00001018 + param_1) != 0" (pointer_expression "*(int *)(&DAT_00001018 + param_1)" (* "*") (cast_expression "(int *)(&DAT_00001018 + param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001018 + param_1)" (( "(") (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" (& "&") (identifier "DAT_00001018")) (+ "+") (identifier "param_1")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,\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 + 0x7794" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x7794")) (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7c98" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x7c98")) (, ",") (number_literal "0x6e8") (, ",") (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")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar7 = PTR_RemoveImageProfile_0014f370;" (assignment_expression "puVar7 = PTR_RemoveImageProfile_0014f370" (identifier "puVar7") (= "=") (identifier "PTR_RemoveImageProfile_0014f370")) (; ";")) (expression_statement "iVar4 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar4 = *(int *)(&DAT_00001004 + param_1)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(&DAT_00001004 + param_1)" (* "*") (cast_expression "(int *)(&DAT_00001004 + param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001004 + param_1)" (( "(") (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (identifier "param_1")) () ")"))))) (; ";")) (if_statement "if (iVar4 == 0) {\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }\n      else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar4 = 0;\n        (*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);\n      }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);" (call_expression "(*(code *)PTR_ThrowMagickException_0014f2bc)\n                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,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 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,\n                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,\n                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")")))) (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x7794")) (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7c98" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x7c98")) (, ",") (number_literal "0x6eb") (, ",") (number_literal "0x1d6") (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + -0x225c" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "-0x225c")) (, ",") (binary_expression "PTR_LAB_0014f02c + 0x5cf4" (identifier "PTR_LAB_0014f02c") (+ "+") (number_literal "0x5cf4")) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }" (else "else") (compound_statement "{\n        *param_3 = 0;\n        iVar1 = (*(code *)puVar7)(iVar4,param_2);\n        if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }\n      }" ({ "{") (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = (*(code *)puVar7)(iVar4,param_2);" (assignment_expression "iVar1 = (*(code *)puVar7)(iVar4,param_2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)puVar7)(iVar4,param_2)" (parenthesized_expression "(*(code *)puVar7)" (( "(") (pointer_expression "*(code *)puVar7" (* "*") (cast_expression "(code *)puVar7" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7"))) () ")")) (argument_list "(iVar4,param_2)" (( "(") (identifier "iVar4") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n          iVar4 = 0;\n        }\n        else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar4 = 0;\n        }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }" (else "else") (compound_statement "{\n          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);\n          if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }\n        }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" (( "(") (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" (* "*") (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetStringInfoLength_0014f150"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);" (assignment_expression "iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_0014f68c)" (( "(") (pointer_expression "*(code *)PTR_AcquireQuantumMemory_0014f68c" (* "*") (cast_expression "(code *)PTR_AcquireQuantumMemory_0014f68c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireQuantumMemory_0014f68c"))) () ")")) (argument_list "(uVar2,1)" (( "(") (identifier "uVar2") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);\n            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);\n            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);\n            puVar7 = PTR_DestroyStringInfo_0014f1d0;\n            *param_3 = uVar2;\n            (*(code *)puVar7)(iVar1);\n          }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoDatum_0014f21c)" (( "(") (pointer_expression "*(code *)PTR_GetStringInfoDatum_0014f21c" (* "*") (cast_expression "(code *)PTR_GetStringInfoDatum_0014f21c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetStringInfoDatum_0014f21c"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" (( "(") (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" (* "*") (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetStringInfoLength_0014f150"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);" (call_expression "(*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0014f58c)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0014f58c" (* "*") (cast_expression "(code *)PTR_memcpy_0014f58c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0014f58c"))) () ")")) (argument_list "(iVar4,uVar2,uVar3)" (( "(") (identifier "iVar4") (, ",") (identifier "uVar2") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_GetStringInfoLength_0014f150)(iVar1)" (parenthesized_expression "(*(code *)PTR_GetStringInfoLength_0014f150)" (( "(") (pointer_expression "*(code *)PTR_GetStringInfoLength_0014f150" (* "*") (cast_expression "(code *)PTR_GetStringInfoLength_0014f150" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetStringInfoLength_0014f150"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "puVar7 = PTR_DestroyStringInfo_0014f1d0;" (assignment_expression "puVar7 = PTR_DestroyStringInfo_0014f1d0" (identifier "puVar7") (= "=") (identifier "PTR_DestroyStringInfo_0014f1d0")) (; ";")) (expression_statement "*param_3 = uVar2;" (assignment_expression "*param_3 = uVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "(*(code *)puVar7)(iVar1);" (call_expression "(*(code *)puVar7)(iVar1)" (parenthesized_expression "(*(code *)puVar7)" (( "(") (pointer_expression "*(code *)puVar7" (* "*") (cast_expression "(code *)puVar7" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (} "}")))) (} "}")))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4)" (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 + 0x7794,0x6e6,\n               PTR_s_t_char____NULL_0014f03c + 0x7cb4)" (( "(") (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 + 0x7794" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x7794")) (, ",") (number_literal "0x6e6") (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7cb4" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x7cb4")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;" (assignment_expression "puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794" (identifier "puVar6") (= "=") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7794" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x7794"))) (; ";")) (expression_statement "puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;" (assignment_expression "puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c" (identifier "puVar5") (= "=") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x417c" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x417c"))) (; ";")) (expression_statement "puVar7 = PTR___assert_fail_0014f720;" (assignment_expression "puVar7 = PTR___assert_fail_0014f720" (identifier "puVar7") (= "=") (identifier "PTR___assert_fail_0014f720")) (; ";")) (expression_statement "(*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4)" (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 "(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4)" (( "(") (identifier "puVar5") (, ",") (identifier "puVar6") (, ",") (number_literal "0x6e5") (, ",") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x7cb4" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x7cb4")) () ")"))) (; ";")) (if_statement "if (puVar5 == (undefined *)0x0) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" (if "if") (parenthesized_expression "(puVar5 == (undefined *)0x0)" (( "(") (binary_expression "puVar5 == (undefined *)0x0" (identifier "puVar5") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" ({ "{") (expression_statement "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" (parenthesized_expression "(**(code **)(puVar7 + 0xb5d4c))" (( "(") (pointer_expression "**(code **)(puVar7 + 0xb5d4c)" (* "*") (pointer_expression "*(code **)(puVar7 + 0xb5d4c)" (* "*") (cast_expression "(code **)(puVar7 + 0xb5d4c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0xb5d4c)" (( "(") (binary_expression "puVar7 + 0xb5d4c" (identifier "puVar7") (+ "+") (number_literal "0xb5d4c")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" (( "(") (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x417c" (pointer_expression "*(int *)(puVar7 + 0xb5668)" (* "*") (cast_expression "(int *)(puVar7 + 0xb5668)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xb5668)" (( "(") (binary_expression "puVar7 + 0xb5668" (identifier "puVar7") (+ "+") (number_literal "0xb5668")) () ")")))) (+ "+") (number_literal "0x417c")) (, ",") (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar7 + 0xb5668)" (* "*") (cast_expression "(int *)(puVar7 + 0xb5668)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xb5668)" (( "(") (binary_expression "puVar7 + 0xb5668" (identifier "puVar7") (+ "+") (number_literal "0xb5668")) () ")")))) (+ "+") (number_literal "0x7794")) (, ",") (number_literal "0x71a") (, ",") (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7c84" (pointer_expression "*(int *)(puVar7 + 0xb5668)" (* "*") (cast_expression "(int *)(puVar7 + 0xb5668)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xb5668)" (( "(") (binary_expression "puVar7 + 0xb5668" (identifier "puVar7") (+ "+") (number_literal "0xb5668")) () ")")))) (+ "+") (number_literal "0x7c84")) () ")")))) (; ";")) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (if_statement "if (*(int *)(puVar5 + 0x101c) != -0x54535255) {\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar5 + 0x101c) != -0x54535255)" (( "(") (binary_expression "*(int *)(puVar5 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(puVar5 + 0x101c)" (* "*") (cast_expression "(int *)(puVar5 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x101c)" (( "(") (binary_expression "puVar5 + 0x101c" (identifier "puVar5") (+ "+") (number_literal "0x101c")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);\n    return iVar4;\n  }" ({ "{") (expression_statement "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(puVar7 + 0xb5d4c))\n                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" (parenthesized_expression "(**(code **)(puVar7 + 0xb5d4c))" (( "(") (pointer_expression "**(code **)(puVar7 + 0xb5d4c)" (* "*") (pointer_expression "*(code **)(puVar7 + 0xb5d4c)" (* "*") (cast_expression "(code **)(puVar7 + 0xb5d4c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0xb5d4c)" (( "(") (binary_expression "puVar7 + 0xb5d4c" (identifier "puVar7") (+ "+") (number_literal "0xb5d4c")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b\n                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84)" (( "(") (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x419c" (pointer_expression "*(int *)(puVar7 + 0xb5668)" (* "*") (cast_expression "(int *)(puVar7 + 0xb5668)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xb5668)" (( "(") (binary_expression "puVar7 + 0xb5668" (identifier "puVar7") (+ "+") (number_literal "0xb5668")) () ")")))) (+ "+") (number_literal "0x419c")) (, ",") (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar7 + 0xb5668)" (* "*") (cast_expression "(int *)(puVar7 + 0xb5668)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xb5668)" (( "(") (binary_expression "puVar7 + 0xb5668" (identifier "puVar7") (+ "+") (number_literal "0xb5668")) () ")")))) (+ "+") (number_literal "0x7794")) (, ",") (number_literal "0x71b") (, ",") (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7c84" (pointer_expression "*(int *)(puVar7 + 0xb5668)" (* "*") (cast_expression "(int *)(puVar7 + 0xb5668)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xb5668)" (( "(") (binary_expression "puVar7 + 0xb5668" (identifier "puVar7") (+ "+") (number_literal "0xb5668")) () ")")))) (+ "+") (number_literal "0x7c84")) () ")")))) (; ";")) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (if_statement "if (*(int *)(puVar5 + 0x1018) != 0) {\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar5 + 0x1018) != 0)" (( "(") (binary_expression "*(int *)(puVar5 + 0x1018) != 0" (pointer_expression "*(int *)(puVar5 + 0x1018)" (* "*") (cast_expression "(int *)(puVar5 + 0x1018)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x1018)" (( "(") (binary_expression "puVar5 + 0x1018" (identifier "puVar5") (+ "+") (number_literal "0x1018")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);\n  }" ({ "{") (expression_statement "(**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);" (call_expression "(**(code **)(puVar7 + 0xb5ab4))\n              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c)" (parenthesized_expression "(**(code **)(puVar7 + 0xb5ab4))" (( "(") (pointer_expression "**(code **)(puVar7 + 0xb5ab4)" (* "*") (pointer_expression "*(code **)(puVar7 + 0xb5ab4)" (* "*") (cast_expression "(code **)(puVar7 + 0xb5ab4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0xb5ab4)" (( "(") (binary_expression "puVar7 + 0xb5ab4" (identifier "puVar7") (+ "+") (number_literal "0xb5ab4")) () ")"))))) () ")")) (argument_list "(0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d\n               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c)" (( "(") (number_literal "0x40000") (, ",") (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7794" (pointer_expression "*(int *)(puVar7 + 0xb5668)" (* "*") (cast_expression "(int *)(puVar7 + 0xb5668)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xb5668)" (( "(") (binary_expression "puVar7 + 0xb5668" (identifier "puVar7") (+ "+") (number_literal "0xb5668")) () ")")))) (+ "+") (number_literal "0x7794")) (, ",") (binary_expression "*(int *)(puVar7 + 0xb5668) + 0x7c70" (pointer_expression "*(int *)(puVar7 + 0xb5668)" (* "*") (cast_expression "(int *)(puVar7 + 0xb5668)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xb5668)" (( "(") (binary_expression "puVar7 + 0xb5668" (identifier "puVar7") (+ "+") (number_literal "0xb5668")) () ")")))) (+ "+") (number_literal "0x7c70")) (, ",") (number_literal "0x71d") (, ",") (binary_expression "*(int *)(puVar7 + 0xb565c) + -0x131c" (pointer_expression "*(int *)(puVar7 + 0xb565c)" (* "*") (cast_expression "(int *)(puVar7 + 0xb565c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xb565c)" (( "(") (binary_expression "puVar7 + 0xb565c" (identifier "puVar7") (+ "+") (number_literal "0xb565c")) () ")")))) (+ "+") (number_literal "-0x131c")) (, ",") (binary_expression "puVar5 + 4" (identifier "puVar5") (+ "+") (number_literal "4")) (, ",") (binary_expression "puVar7 + 0xbd62c" (identifier "puVar7") (+ "+") (number_literal "0xbd62c")) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;" (assignment_expression "*(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6" (pointer_expression "*(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14)" (* "*") (cast_expression "(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(puVar5 + 0x1008) + 0x14)" (( "(") (binary_expression "*(int *)(puVar5 + 0x1008) + 0x14" (pointer_expression "*(int *)(puVar5 + 0x1008)" (* "*") (cast_expression "(int *)(puVar5 + 0x1008)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x1008)" (( "(") (binary_expression "puVar5 + 0x1008" (identifier "puVar5") (+ "+") (number_literal "0x1008")) () ")")))) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

type_1 * function_1(type_2 *var_1,char *name,size_t *length)

{
  int var_7;
  type_3 uVar2;
  type_1 *var_8;
  type_3 uVar4;
  size_t sVar5;
  type_4 *var_5;
  type_5 *var_9;
  type_5 *puVar8;
  type_5 *var_10;
  
  if (var_1 != (type_2 *)0x0) {
    if (var_1->signature == 0xabacadab) {
      if (var_1->debug != var_2) {
        (*(type_6 *)PTR_LogMagickEvent_0014f488)
                  (0x40000,var_3 + 0x7794,
                   var_3 + 0x7c98,0x6e8,
                   var_4 + -0x131c,var_1->name);
      }
      var_10 = PTR_RemoveImageProfile_0014f370;
      var_5 = var_1->images;
      if (var_5 == (type_4 *)0x0) {
        var_8 = (type_1 *)0x0;
        (*(type_6 *)PTR_ThrowMagickException_0014f2bc)
                  (var_1->exception,var_3 + 0x7794,
                   var_3 + 0x7c98,0x6eb,0x1d6,
                   var_3 + -0x225c,var_6 + 0x5cf4,var_1->name);
      }
      else {
        *length = 0;
        var_7 = (*(type_6 *)var_10)(var_5,name);
        if (var_7 == 0) {
          var_8 = (type_1 *)0x0;
        }
        else {
          uVar2 = (*(type_6 *)PTR_GetStringInfoLength_0014f150)(var_7);
          var_8 = (type_1 *)(*(type_6 *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);
          if (var_8 != (type_1 *)0x0) {
            uVar2 = (*(type_6 *)PTR_GetStringInfoDatum_0014f21c)(var_7);
            uVar4 = (*(type_6 *)PTR_GetStringInfoLength_0014f150)(var_7);
            (*(type_6 *)PTR_memcpy_0014f58c)(var_8,uVar2,uVar4);
            sVar5 = (*(type_6 *)PTR_GetStringInfoLength_0014f150)(var_7);
            var_10 = PTR_DestroyStringInfo_0014f1d0;
            *length = sVar5;
            (*(type_6 *)var_10)(var_7);
          }
        }
      }
      return var_8;
    }
    (*(type_6 *)PTR___assert_fail_0014f720)
              (var_3 + 0x419c,var_3 + 0x7794,0x6e6,
               var_3 + 0x7cb4);
  }
  puVar8 = var_3 + 0x7794;
  var_9 = var_3 + 0x417c;
  var_10 = PTR___assert_fail_0014f720;
  (*(type_6 *)PTR___assert_fail_0014f720)(var_9,puVar8,0x6e5,var_3 + 0x7cb4);
  if (var_9 == (type_5 *)0x0) {
    var_8 = (type_1 *)(**(type_6 **)(var_10 + 0xb5d4c))
                                (*(int *)(var_10 + 0xb5668) + 0x417c,
                                 *(int *)(var_10 + 0xb5668) + 0x7794,0x71a,
                                 *(int *)(var_10 + 0xb5668) + 0x7c84);
    return var_8;
  }
  if (*(int *)(var_9 + 0x101c) != -0x54535255) {
    var_8 = (type_1 *)(**(type_6 **)(var_10 + 0xb5d4c))
                                (*(int *)(var_10 + 0xb5668) + 0x419c,
                                 *(int *)(var_10 + 0xb5668) + 0x7794,0x71b,
                                 *(int *)(var_10 + 0xb5668) + 0x7c84);
    return var_8;
  }
  if (*(int *)(var_9 + 0x1018) != 0) {
    (**(type_6 **)(var_10 + 0xb5ab4))
              (0x40000,*(int *)(var_10 + 0xb5668) + 0x7794,*(int *)(var_10 + 0xb5668) + 0x7c70,0x71d
               ,*(int *)(var_10 + 0xb565c) + -0x131c,var_9 + 4,var_10 + 0xbd62c);
  }
  *(type_5 **)(*(int *)(var_9 + 0x1008) + 0x14) = puVar8;
  return (type_1 *)0x1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator 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 (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: (pointer_expression argument: (identifier)) right: (identifier))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (identifier)) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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: (identifier) right: (number_literal))))) (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)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) 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 (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))))))))) (return_statement (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (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)) (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)) (number_literal) (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)))))) (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 (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (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)) (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)) (number_literal) (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)))))) (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 (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (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)) (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)) (number_literal) (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)) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator 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: (number_literal))))) right: (identifier))) (return_statement (number_literal)))))

int MASKED(int param_1,undefined4 param_2,undefined4 *param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined *puVar7;
  
  if (param_1 != 0) {
    if (*(int *)(param_1 + 0x101c) == -0x54535255) {
      if (*(int *)(&DAT_00001018 + param_1) != 0) {
        (*(code *)PTR_LogMagickEvent_0014f488)
                  (0x40000,PTR_s_t_char____NULL_0014f03c + 0x7794,
                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6e8,
                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);
      }
      puVar7 = PTR_RemoveImageProfile_0014f370;
      iVar4 = *(int *)(&DAT_00001004 + param_1);
      if (iVar4 == 0) {
        iVar4 = 0;
        (*(code *)PTR_ThrowMagickException_0014f2bc)
                  (*(undefined4 *)(param_1 + 0x100c),PTR_s_t_char____NULL_0014f03c + 0x7794,
                   PTR_s_t_char____NULL_0014f03c + 0x7c98,0x6eb,0x1d6,
                   PTR_s_t_char____NULL_0014f03c + -0x225c,PTR_LAB_0014f02c + 0x5cf4,param_1 + 4);
      }
      else {
        *param_3 = 0;
        iVar1 = (*(code *)puVar7)(iVar4,param_2);
        if (iVar1 == 0) {
          iVar4 = 0;
        }
        else {
          uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);
          iVar4 = (*(code *)PTR_AcquireQuantumMemory_0014f68c)(uVar2,1);
          if (iVar4 != 0) {
            uVar2 = (*(code *)PTR_GetStringInfoDatum_0014f21c)(iVar1);
            uVar3 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);
            (*(code *)PTR_memcpy_0014f58c)(iVar4,uVar2,uVar3);
            uVar2 = (*(code *)PTR_GetStringInfoLength_0014f150)(iVar1);
            puVar7 = PTR_DestroyStringInfo_0014f1d0;
            *param_3 = uVar2;
            (*(code *)puVar7)(iVar1);
          }
        }
      }
      return iVar4;
    }
    (*(code *)PTR___assert_fail_0014f720)
              (PTR_s_t_char____NULL_0014f03c + 0x419c,PTR_s_t_char____NULL_0014f03c + 0x7794,0x6e6,
               PTR_s_t_char____NULL_0014f03c + 0x7cb4);
  }
  puVar6 = PTR_s_t_char____NULL_0014f03c + 0x7794;
  puVar5 = PTR_s_t_char____NULL_0014f03c + 0x417c;
  puVar7 = PTR___assert_fail_0014f720;
  (*(code *)PTR___assert_fail_0014f720)(puVar5,puVar6,0x6e5,PTR_s_t_char____NULL_0014f03c + 0x7cb4);
  if (puVar5 == (undefined *)0x0) {
    iVar4 = (**(code **)(puVar7 + 0xb5d4c))
                      (*(int *)(puVar7 + 0xb5668) + 0x417c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71a
                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);
    return iVar4;
  }
  if (*(int *)(puVar5 + 0x101c) != -0x54535255) {
    iVar4 = (**(code **)(puVar7 + 0xb5d4c))
                      (*(int *)(puVar7 + 0xb5668) + 0x419c,*(int *)(puVar7 + 0xb5668) + 0x7794,0x71b
                       ,*(int *)(puVar7 + 0xb5668) + 0x7c84);
    return iVar4;
  }
  if (*(int *)(puVar5 + 0x1018) != 0) {
    (**(code **)(puVar7 + 0xb5ab4))
              (0x40000,*(int *)(puVar7 + 0xb5668) + 0x7794,*(int *)(puVar7 + 0xb5668) + 0x7c70,0x71d
               ,*(int *)(puVar7 + 0xb565c) + -0x131c,puVar5 + 4,puVar7 + 0xbd62c);
  }
  *(undefined **)(*(int *)(puVar5 + 0x1008) + 0x14) = puVar6;
  return 1;
}

