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

double GetImageTotalInkDensity(Image *image,ExceptionInfo *exception)

{
  undefined1 uVar1;
  bool bVar2;
  ExceptionInfo *pEVar3;
  size_t sVar4;
  undefined1 *puVar5;
  undefined1 *puVar6;
  int extraout_v1;
  int extraout_v1_00;
  int extraout_v1_01;
  int extraout_v1_02;
  int iVar8;
  size_t sVar9;
  int *piVar10;
  undefined1 *puVar11;
  int iVar12;
  undefined4 *puVar13;
  undefined *puVar14;
  undefined4 uVar15;
  double dVar16;
  undefined8 uVar17;
  undefined1 auStack_78 [4];
  int *piStack_74;
  undefined4 uStack_6c;
  undefined *local_58;
  undefined *local_54;
  undefined *local_50;
  char *local_4c;
  int local_38;
  undefined4 uStack_34;
  Image *local_30;
  ExceptionInfo *local_2c;
  ExceptionInfo *local_28;
  int local_24;
  int local_1c;
  undefined1 *puVar7;
  
  puVar14 = PTR___stack_chk_guard_003a9230;
  local_1c = *(int *)PTR___stack_chk_guard_003a9230;
  if (image == (Image *)0x0) {
    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)
                               (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,
                                PTR_s_t_to_left_003a88e4 + 0x3e48);
    return dVar16;
  }
  if (image->debug != MagickFalse) {
    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);
  }
  if (image->signature != 0xabacadab) {
    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)
                               (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,
                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,
                                PTR_s_t_to_left_003a88e4 + 0x3e48);
    return dVar16;
  }
  if (image->colorspace != CMYKColorspace) {
    local_4c = image->filename;
    local_50 = PTR_LAB_003a88e0 + 0x3e28;
    piVar10 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);
    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;
    local_58 = (undefined *)0x1d1;
    (*(code *)PTR_ThrowMagickException_003a8f20)
              (exception,piVar10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);
    dVar16 = 0.0;
    pEVar3 = exception;
    goto LAB_0013e23c;
  }
  pEVar3 = (ExceptionInfo *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(image,exception);
  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image);
  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3))
     && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 4 ||
         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)))) {
    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
    sVar4 = image->rows;
    sVar9 = sVar4;
    if ((int)sVar4 < 0) {
      sVar9 = sVar4 + 0x3f;
    }
    if (extraout_v1 < (int)sVar9 >> 6) {
      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      bVar2 = extraout_v1_02 < 2;
    }
    else {
      bVar2 = (int)sVar4 < 0x80;
    }
    iVar8 = 1;
    if ((bool)(bVar2 ^ 1)) {
      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      sVar9 = image->rows;
      if ((int)sVar9 < 0) {
        sVar9 = sVar9 + 0x3f;
      }
      iVar8 = (int)sVar9 >> 6;
      if (extraout_v1_01 < iVar8) goto LAB_0013e428;
    }
  }
  else {
    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {
      uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {
        iVar8 = 1;
        goto LAB_0013e2dc;
      }
    }
    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {
LAB_0013e428:
      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      iVar8 = extraout_v1_00;
    }
    else {
      iVar8 = 2;
    }
  }
LAB_0013e2dc:
  piVar10 = &local_38;
  local_24 = 1;
  uStack_34 = 0;
  local_38 = 0;
  local_30 = image;
  local_2c = exception;
  local_28 = pEVar3;
  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar10,iVar8,0);
  iVar8 = local_24;
  dVar16 = (double)CONCAT44(local_38,uStack_34);
  (*(code *)PTR_DestroyCacheView_003a8ef4)();
  if (iVar8 == 0) {
    dVar16 = 0.0;
  }
LAB_0013e23c:
  if (local_1c == *(int *)puVar14) {
    return dVar16;
  }
  uVar15 = 0x13e4dc;
  puVar14 = PTR___stack_chk_fail_003a9064;
  dVar16 = (double)(*(code *)PTR___stack_chk_fail_003a9064)();
  puVar13 = *(undefined4 **)(puVar14 + 0x26ad50);
  puVar5 = (undefined1 *)pEVar3->severity;
  iVar8 = *piVar10;
  piStack_74 = (int *)*puVar13;
  puVar7 = puVar5;
  puVar11 = auStack_78;
  uStack_6c = uVar15;
  do {
    iVar8 = iVar8 + -1;
    puVar6 = puVar7 + 1;
    pEVar3->severity = (ExceptionType)puVar6;
    uVar1 = *puVar7;
    *piVar10 = iVar8;
    *puVar11 = uVar1;
    puVar7 = puVar6;
    puVar11 = puVar11 + 1;
  } while (puVar6 != puVar5 + 4);
  if (piStack_74 != (int *)*puVar13) {
    dVar16 = (double)(**(code **)(puVar14 + 0x26ab84))();
    iVar12 = *piStack_74;
    iVar8 = *piVar10;
    *piStack_74 = iVar12 + 1;
    *piVar10 = iVar8 + -1;
    *piStack_74 = iVar12 + 2;
    *piVar10 = iVar8 + -2;
    return dVar16;
  }
  return dVar16;
}



int GetImageTotalInkDensity(int param_1,undefined4 *param_2)

{
  undefined1 uVar1;
  undefined1 uVar2;
  bool bVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  int extraout_v1;
  int extraout_v1_00;
  int extraout_v1_01;
  int extraout_v1_02;
  int iVar8;
  int *piVar9;
  int *piVar10;
  undefined1 *puVar11;
  undefined4 *puVar12;
  undefined *puVar13;
  undefined4 uVar14;
  undefined8 uVar15;
  int iStack_78;
  undefined4 *puStack_74;
  undefined4 uStack_6c;
  undefined *local_58;
  undefined *local_54;
  undefined *local_50;
  int local_4c;
  int local_38 [3];
  undefined4 *local_2c;
  undefined4 *local_28;
  undefined4 local_24;
  int local_1c;
  
  puVar13 = PTR___stack_chk_guard_003a9230;
  local_1c = *(int *)PTR___stack_chk_guard_003a9230;
  if (param_1 == 0) {
    iVar8 = (*(code *)PTR___assert_fail_003a9608)
                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,
                       PTR_s_t_to_left_003a88e4 + 0x3e48);
    return iVar8;
  }
  if (*(int *)(param_1 + 0x3350) != 0) {
    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);
  }
  if (*(int *)(param_1 + 0x336c) != -0x54535255) {
    iVar8 = (*(code *)PTR___assert_fail_003a9608)
                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,
                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);
    return iVar8;
  }
  if (*(int *)(param_1 + 4) != 2) {
    local_4c = param_1 + 0x340;
    local_50 = PTR_LAB_003a88e0 + 0x3e28;
    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);
    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;
    local_58 = (undefined *)0x1d1;
    (*(code *)PTR_ThrowMagickException_003a8f20)
              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);
    puVar4 = param_2;
    goto LAB_0013e23c;
  }
  puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);
  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);
  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)
      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||
            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {
    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
    iVar5 = *(int *)(param_1 + 0x1c);
    iVar8 = iVar5;
    if (iVar5 < 0) {
      iVar8 = iVar5 + 0x3f;
    }
    if (extraout_v1 < iVar8 >> 6) {
      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      bVar3 = extraout_v1_02 < 2;
    }
    else {
      bVar3 = iVar5 < 0x80;
    }
    iVar8 = 1;
    if ((bool)(bVar3 ^ 1)) {
      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      iVar8 = *(int *)(param_1 + 0x1c);
      if (iVar8 < 0) {
        iVar8 = iVar8 + 0x3f;
      }
      iVar8 = iVar8 >> 6;
      if (extraout_v1_01 < iVar8) goto LAB_0013e428;
    }
  }
  else {
    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {
      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {
        iVar8 = 1;
        goto LAB_0013e2dc;
      }
    }
    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {
LAB_0013e428:
      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      iVar8 = extraout_v1_00;
    }
    else {
      iVar8 = 2;
    }
  }
LAB_0013e2dc:
  piVar9 = local_38;
  local_24 = 1;
  local_38[1] = 0;
  local_38[0] = 0;
  local_38[2] = param_1;
  local_2c = param_2;
  local_28 = puVar4;
  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);
  (*(code *)PTR_DestroyCacheView_003a8ef4)();
LAB_0013e23c:
  if (local_1c == *(int *)puVar13) {
    return *(int *)puVar13;
  }
  uVar14 = 0x13e4dc;
  puVar13 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);
  puVar6 = (undefined1 *)*puVar4;
  iVar8 = *piVar9;
  puStack_74 = (undefined4 *)*puVar12;
  puVar11 = puVar6;
  piVar10 = &iStack_78;
  uStack_6c = uVar14;
  do {
    iVar8 = iVar8 + -1;
    puVar7 = puVar11 + 1;
    *puVar4 = puVar7;
    uVar1 = *puVar11;
    *piVar9 = iVar8;
    *(undefined1 *)piVar10 = uVar1;
    puVar11 = puVar7;
    piVar10 = (int *)((int)piVar10 + 1);
  } while (puVar7 != puVar6 + 4);
  if (puStack_74 != (undefined4 *)*puVar12) {
    (**(code **)(puVar13 + 0x26ab84))();
    puVar11 = (undefined1 *)*puStack_74;
    iVar8 = *piVar9;
    *puStack_74 = puVar11 + 1;
    uVar1 = *puVar11;
    *piVar9 = iVar8 + -1;
    *puStack_74 = puVar11 + 2;
    uVar2 = puVar11[1];
    *piVar9 = iVar8 + -2;
    return (int)CONCAT11(uVar1,uVar2);
  }
  return iStack_78;
}


lui gp,0x27
addiu gp,gp,0x2734
addu gp,gp,t9
addiu sp,sp,-0x68
sw s1,0x58(sp)
lw s1,-0x7680(gp)
sw gp,0x20(sp)
sw ra,0x64(sp)
sw s3,0x60(sp)
sw s2,0x5c(sp)
sw s0,0x54(sp)
lw v0,0x0(s1)
sw v0,0x4c(sp)
beq a0,zero,0x0013e4ac
_or s0,a0,zero
lw v0,0x3350(a0)
bne v0,zero,0x0013e3b8
_or s2,a1,zero
lui v0,0xabac
lw v1,0x336c(s0)
ori v0,v0,0xadab
bne v1,v0,0x0013e488
_li v0,0x2
lw v1,0x4(s0)
beq v1,v0,0x0013e264
_lw v0,-0x7fd0(gp)
mtc1 zero,f0
addiu s0,s0,0x340
lw a2,-0x7fcc(gp)
li a3,0x6b
lw a1,-0x7fcc(gp)
or a0,s2,zero
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,0x3e30
sw s0,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,0x3e10
lw v0,-0x7fc8(gp)
mthc1 zero,f0
addiu v0,v0,0x6b00
sw v0,0x14(sp)
li v0,0x1d1
sw v0,0x10(sp)
jalr t9
_sdc1 f0,0x28(sp)
ldc1 f0,0x28(sp)
lw gp,0x20(sp)
lw v1,0x4c(sp)
lw v0,0x0(s1)
bne v1,v0,0x0013e4d0
_lw ra,0x64(sp)
lw s3,0x60(sp)
lw s2,0x5c(sp)
lw s1,0x58(sp)
lw s0,0x54(sp)
jr ra
_addiu sp,sp,0x68
lw t9,-0x715c(gp)
or a0,s0,zero
jalr t9
_or a1,s2,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x73fc(gp)
jalr t9
_or s3,v0,zero
li v1,0x4
beq v0,v1,0x0013e340
_lw gp,0x20(sp)
lw t9,-0x73fc(gp)
jalr t9
_or a0,s0,zero
li v1,0x3
beq v0,v1,0x0013e340
_lw gp,0x20(sp)
lw t9,-0x7774(gp)
jalr t9
_li a0,0x7
beq v0,zero,0x0013e3ec
_lw gp,0x20(sp)
lw t9,-0x7774(gp)
jalr t9
_li a0,0x7
beq v0,zero,0x0013e41c
_lw gp,0x20(sp)
li a2,0x2
lw a0,-0x7f48(gp)
li v0,0x1
lw t9,-0x7718(gp)
or a3,zero,zero
addiu a1,sp,0x30
sw s0,0x38(sp)
addiu a0,a0,-0x20c0
sw v0,0x44(sp)
sw s3,0x40(sp)
sw s2,0x3c(sp)
sw zero,0x34(sp)
jalr t9
_sw zero,0x30(sp)
or a0,s3,zero
ldc1 f0,0x30(sp)
lw gp,0x20(sp)
lw s0,0x44(sp)
lw t9,-0x79bc(gp)
jalr t9
_sdc1 f0,0x28(sp)
mtc1 zero,f2
ldc1 f0,0x28(sp)
lw gp,0x20(sp)
mthc1 zero,f2
b 0x0013e23c
_movz.D f0,f2,s0
lw t9,-0x73fc(gp)
jalr t9
_or a0,s0,zero
li v1,0x4
beq v0,v1,0x0013e370
_lw gp,0x20(sp)
lw t9,-0x73fc(gp)
jalr t9
_or a0,s0,zero
li v1,0x3
bne v0,v1,0x0013e2ac
_lw gp,0x20(sp)
lw t9,-0x7774(gp)
jalr t9
_li a0,0x7
lw v0,0x1c(s0)
lw gp,0x20(sp)
bgez v0,0x0013e390
_or a0,v0,zero
addiu a0,v0,0x3f
sra a0,a0,0x6
slt v1,v1,a0
bne v1,zero,0x0013e470
_lw t9,-0x7774(gp)
slti v0,v0,0x80
xori v0,v0,0x1
bne v0,zero,0x0013e43c
_li a2,0x1
b 0x0013e2dc
_lw a0,-0x7f48(gp)
lw v0,-0x7fc8(gp)
li a3,0x67
lw a2,-0x7fcc(gp)
ori a0,zero,0x8000
lw a1,-0x7fcc(gp)
lw t9,-0x76d0(gp)
addiu v0,v0,-0x1fec
addiu a2,a2,0x3e30
addiu a1,a1,0x3e10
jalr t9
_sw v0,0x10(sp)
b 0x0013e1c4
_lw gp,0x20(sp)
sltiu v1,v1,0x2
beq v1,zero,0x0013e2c4
_lw t9,-0x7774(gp)
jalr t9
_li a0,0x7
bne v0,zero,0x0013e2c0
_lw gp,0x20(sp)
sltiu v1,v1,0x2
beq v1,zero,0x0013e2c4
_lw t9,-0x7774(gp)
b 0x0013e2d8
_li a2,0x1
sltiu v1,v1,0x2
beq v1,zero,0x0013e2d4
_lw t9,-0x7774(gp)
jalr t9
_li a0,0x7
lw gp,0x20(sp)
b 0x0013e2d8
_or a2,v1,zero
lw t9,-0x7774(gp)
jalr t9
_li a0,0x7
lw a2,0x1c(s0)
bgez a2,0x0013e458
_lw gp,0x20(sp)
addiu a2,a2,0x3f
sra a2,a2,0x6
slt v1,v1,a2
beq v1,zero,0x0013e2dc
_lw a0,-0x7f48(gp)
b 0x0013e428
_lw t9,-0x7774(gp)
jalr t9
_li a0,0x7
slti v0,v1,0x2
lw gp,0x20(sp)
b 0x0013e3a8
_xori v0,v0,0x1
lw a3,-0x7fcc(gp)
li a2,0x68
lw a1,-0x7fcc(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,0x3e48
addiu a1,a1,0x3e10
jalr t9
_addiu a0,a0,-0x3784
lw a3,-0x7fcc(gp)
li a2,0x65
lw a1,-0x7fcc(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,0x3e48
addiu a1,a1,0x3e10
jalr t9
_addiu a0,a0,0xdd0
lw t9,-0x784c(gp)
jalr t9
_nop
nop
(translation_unit "int GetImageTotalInkDensity(int param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  undefined4 *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  undefined8 uVar15;\n  int iStack_78;\n  undefined4 *puStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  int local_4c;\n  int local_38 [3];\n  undefined4 *local_2c;\n  undefined4 *local_28;\n  undefined4 local_24;\n  int local_1c;\n  \n  puVar13 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar9 = local_38;\n  local_24 = 1;\n  local_38[1] = 0;\n  local_38[0] = 0;\n  local_38[2] = param_1;\n  local_2c = param_2;\n  local_28 = puVar4;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }\n  uVar14 = 0x13e4dc;\n  puVar13 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);\n  puVar6 = (undefined1 *)*puVar4;\n  iVar8 = *piVar9;\n  puStack_74 = (undefined4 *)*puVar12;\n  puVar11 = puVar6;\n  piVar10 = &iStack_78;\n  uStack_6c = uVar14;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);\n  if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }\n  return iStack_78;\n}\n\n" (function_definition "int GetImageTotalInkDensity(int param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  undefined4 *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  undefined8 uVar15;\n  int iStack_78;\n  undefined4 *puStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  int local_4c;\n  int local_38 [3];\n  undefined4 *local_2c;\n  undefined4 *local_28;\n  undefined4 local_24;\n  int local_1c;\n  \n  puVar13 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar9 = local_38;\n  local_24 = 1;\n  local_38[1] = 0;\n  local_38[0] = 0;\n  local_38[2] = param_1;\n  local_2c = param_2;\n  local_28 = puVar4;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }\n  uVar14 = 0x13e4dc;\n  puVar13 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);\n  puVar6 = (undefined1 *)*puVar4;\n  iVar8 = *piVar9;\n  puStack_74 = (undefined4 *)*puVar12;\n  puVar11 = puVar6;\n  piVar10 = &iStack_78;\n  uStack_6c = uVar14;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);\n  if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }\n  return iStack_78;\n}" primitive_type (function_declarator "GetImageTotalInkDensity(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  undefined4 *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  undefined8 uVar15;\n  int iStack_78;\n  undefined4 *puStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  int local_4c;\n  int local_38 [3];\n  undefined4 *local_2c;\n  undefined4 *local_28;\n  undefined4 local_24;\n  int local_1c;\n  \n  puVar13 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar9 = local_38;\n  local_24 = 1;\n  local_38[1] = 0;\n  local_38[0] = 0;\n  local_38[2] = param_1;\n  local_2c = param_2;\n  local_28 = puVar4;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }\n  uVar14 = 0x13e4dc;\n  puVar13 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);\n  puVar6 = (undefined1 *)*puVar4;\n  iVar8 = *piVar9;\n  puStack_74 = (undefined4 *)*puVar12;\n  puVar11 = puVar6;\n  piVar10 = &iStack_78;\n  uStack_6c = uVar14;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);\n  if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }\n  return iStack_78;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int extraout_v1;" primitive_type identifier ;) (declaration "int extraout_v1_00;" primitive_type identifier ;) (declaration "int extraout_v1_01;" primitive_type identifier ;) (declaration "int extraout_v1_02;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined1 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined8 uVar15;" type_identifier identifier ;) (declaration "int iStack_78;" primitive_type identifier ;) (declaration "undefined4 *puStack_74;" type_identifier (pointer_declarator "*puStack_74" * identifier) ;) (declaration "undefined4 uStack_6c;" type_identifier identifier ;) (declaration "undefined *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "undefined *local_54;" type_identifier (pointer_declarator "*local_54" * identifier) ;) (declaration "undefined *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_38 [3];" primitive_type (array_declarator "local_38 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (declaration "undefined4 *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar13 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar13 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" * (cast_expression "(int *)PTR___stack_chk_guard_003a9230" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" { (expression_statement "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);" (assignment_expression "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48)" identifier = (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48)" ( (binary_expression "PTR_LAB_003a88e0 + 0xdd0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e48" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3350) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3350) != 0" (pointer_expression "*(int *)(param_1 + 0x3350)" * (cast_expression "(int *)(param_1 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3350)" ( (binary_expression "param_1 + 0x3350" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }" { (expression_statement "local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;" (assignment_expression "local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67)" ( number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e30" identifier + number_literal) , number_literal ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x336c) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x336c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x336c)" * (cast_expression "(int *)(param_1 + 0x336c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x336c)" ( (binary_expression "param_1 + 0x336c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" { (expression_statement "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);" (assignment_expression "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48)" identifier = (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e48" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 4) != 2)" ( (binary_expression "*(int *)(param_1 + 4) != 2" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }" { (expression_statement "local_4c = param_1 + 0x340;" (assignment_expression "local_4c = param_1 + 0x340" identifier = (binary_expression "param_1 + 0x340" identifier + number_literal)) ;) (expression_statement "local_50 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "local_50 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);" (assignment_expression "piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10)" identifier = (cast_expression "(int *)(PTR_s_t_to_left_003a88e4 + 0x3e10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_t_to_left_003a88e4 + 0x3e10)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) )))) ;) (expression_statement "local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;" (assignment_expression "local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00" identifier + number_literal)) ;) (expression_statement "local_58 = (undefined *)0x1d1;" (assignment_expression "local_58 = (undefined *)0x1d1" identifier = (cast_expression "(undefined *)0x1d1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b)" ( identifier , identifier , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e30" identifier + number_literal) , number_literal ))) ;) (expression_statement "puVar4 = param_2;" (assignment_expression "puVar4 = param_2" identifier = identifier) ;) (goto_statement "goto LAB_0013e23c;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireVirtualCacheView_003a9754)" ( (pointer_expression "*(code *)PTR_AcquireVirtualCacheView_003a9754" * (cast_expression "(code *)PTR_AcquireVirtualCacheView_003a9754" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))))) ;) (expression_statement "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" if (parenthesized_expression "(((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3))))" ( (binary_expression "((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))" (parenthesized_expression "((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      )" ( (binary_expression "(iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (parenthesized_expression "(iVar8 == 4)" ( (binary_expression "iVar8 == 4" identifier == number_literal) )) || (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" ( (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar8 == 3" identifier == number_literal)) ))) )) && (parenthesized_expression "((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))" ( (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3))" ( (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (binary_expression "iVar8 == 4" identifier == number_literal) || (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" ( (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar8 == 3" identifier == number_literal)) )))) )) ))) )) (compound_statement "{\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }" { (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;) (expression_statement "iVar5 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = iVar5;" (assignment_expression "iVar8 = iVar5" identifier = identifier) ;) (if_statement "if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar8 = iVar5 + 0x3f;\n    }" { (expression_statement "iVar8 = iVar5 + 0x3f;" (assignment_expression "iVar8 = iVar5 + 0x3f" identifier = (binary_expression "iVar5 + 0x3f" identifier + number_literal)) ;) })) (if_statement "if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }" if (parenthesized_expression "(extraout_v1 < iVar8 >> 6)" ( (binary_expression "extraout_v1 < iVar8 >> 6" identifier < (binary_expression "iVar8 >> 6" identifier >> number_literal)) )) (compound_statement "{\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }" { (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;) (expression_statement "bVar3 = extraout_v1_02 < 2;" (assignment_expression "bVar3 = extraout_v1_02 < 2" identifier = (binary_expression "extraout_v1_02 < 2" identifier < number_literal)) ;) }) (else_clause "else {\n      bVar3 = iVar5 < 0x80;\n    }" else (compound_statement "{\n      bVar3 = iVar5 < 0x80;\n    }" { (expression_statement "bVar3 = iVar5 < 0x80;" (assignment_expression "bVar3 = iVar5 < 0x80" identifier = (binary_expression "iVar5 < 0x80" identifier < number_literal)) ;) }))) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (if_statement "if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }" if (parenthesized_expression "((bool)(bVar3 ^ 1))" ( (cast_expression "(bool)(bVar3 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar3 ^ 1)" ( (binary_expression "bVar3 ^ 1" identifier ^ number_literal) ))) )) (compound_statement "{\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }" { (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;) (expression_statement "iVar8 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar8 = iVar8 + 0x3f;\n      }" { (expression_statement "iVar8 = iVar8 + 0x3f;" (assignment_expression "iVar8 = iVar8 + 0x3f" identifier = (binary_expression "iVar8 + 0x3f" identifier + number_literal)) ;) })) (expression_statement "iVar8 = iVar8 >> 6;" (assignment_expression "iVar8 = iVar8 >> 6" identifier = (binary_expression "iVar8 >> 6" identifier >> number_literal)) ;) (if_statement "if (extraout_v1_01 < iVar8) goto LAB_0013e428;" if (parenthesized_expression "(extraout_v1_01 < iVar8)" ( (binary_expression "extraout_v1_01 < iVar8" identifier < identifier) )) (goto_statement "goto LAB_0013e428;" goto statement_identifier ;)) })) }) (else_clause "else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" else (compound_statement "{\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" { (expression_statement "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" identifier = (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }" if (parenthesized_expression "(((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2))" ( (binary_expression "((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)" (parenthesized_expression "((int)((ulonglong)uVar15 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar15 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar15 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" ( (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar15 < 2)" ( (binary_expression "(uint)uVar15 < 2" (cast_expression "(uint)uVar15" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }" { (expression_statement "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" identifier = (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }" if (parenthesized_expression "(((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2))" ( (binary_expression "((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)" (parenthesized_expression "((int)((ulonglong)uVar15 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar15 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar15 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" ( (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar15 < 2)" ( (binary_expression "(uint)uVar15 < 2" (cast_expression "(uint)uVar15" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }" { (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0013e2dc;" goto statement_identifier ;) })) })) (expression_statement "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" identifier = (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }" if (parenthesized_expression "(((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2))" ( (binary_expression "((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)" (parenthesized_expression "((int)((ulonglong)uVar15 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar15 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar15 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" ( (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar15 < 2)" ( (binary_expression "(uint)uVar15 < 2" (cast_expression "(uint)uVar15" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }" { (labeled_statement "LAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" statement_identifier : (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;)) (expression_statement "iVar8 = extraout_v1_00;" (assignment_expression "iVar8 = extraout_v1_00" identifier = identifier) ;) }) (else_clause "else {\n      iVar8 = 2;\n    }" else (compound_statement "{\n      iVar8 = 2;\n    }" { (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) }))) }))) (labeled_statement "LAB_0013e2dc:\n  piVar9 = local_38;" statement_identifier : (expression_statement "piVar9 = local_38;" (assignment_expression "piVar9 = local_38" identifier = identifier) ;)) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "local_38[1] = 0;" (assignment_expression "local_38[1] = 0" (subscript_expression "local_38[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_38[0] = 0;" (assignment_expression "local_38[0] = 0" (subscript_expression "local_38[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_38[2] = param_1;" (assignment_expression "local_38[2] = param_1" (subscript_expression "local_38[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_2c = param_2;" (assignment_expression "local_2c = param_2" identifier = identifier) ;) (expression_statement "local_28 = puVar4;" (assignment_expression "local_28 = puVar4" identifier = identifier) ;) (expression_statement "(*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);" (call_expression "(*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0)" (parenthesized_expression "(*(code *)PTR_GOMP_parallel_003a9198)" ( (pointer_expression "*(code *)PTR_GOMP_parallel_003a9198" * (cast_expression "(code *)PTR_GOMP_parallel_003a9198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0)" ( (binary_expression "PTR_LAB_003a8968 + -0x20c0" identifier + number_literal) , identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR_DestroyCacheView_003a8ef4)();" (call_expression "(*(code *)PTR_DestroyCacheView_003a8ef4)()" (parenthesized_expression "(*(code *)PTR_DestroyCacheView_003a8ef4)" ( (pointer_expression "*(code *)PTR_DestroyCacheView_003a8ef4" * (cast_expression "(code *)PTR_DestroyCacheView_003a8ef4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }" statement_identifier : (if_statement "if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar13)" ( (binary_expression "local_1c == *(int *)puVar13" identifier == (pointer_expression "*(int *)puVar13" * (cast_expression "(int *)puVar13" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar13;\n  }" { (return_statement "return *(int *)puVar13;" return (pointer_expression "*(int *)puVar13" * (cast_expression "(int *)puVar13" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "uVar14 = 0x13e4dc;" (assignment_expression "uVar14 = 0x13e4dc" identifier = number_literal) ;) (expression_statement "puVar13 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar13 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);" (assignment_expression "puVar12 = *(undefined4 **)(puVar13 + 0x26ad50)" identifier = (pointer_expression "*(undefined4 **)(puVar13 + 0x26ad50)" * (cast_expression "(undefined4 **)(puVar13 + 0x26ad50)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x26ad50)" ( (binary_expression "puVar13 + 0x26ad50" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = (undefined1 *)*puVar4;" (assignment_expression "puVar6 = (undefined1 *)*puVar4" identifier = (cast_expression "(undefined1 *)*puVar4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "iVar8 = *piVar9;" (assignment_expression "iVar8 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (expression_statement "puStack_74 = (undefined4 *)*puVar12;" (assignment_expression "puStack_74 = (undefined4 *)*puVar12" identifier = (cast_expression "(undefined4 *)*puVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar12" * identifier))) ;) (expression_statement "puVar11 = puVar6;" (assignment_expression "puVar11 = puVar6" identifier = identifier) ;) (expression_statement "piVar10 = &iStack_78;" (assignment_expression "piVar10 = &iStack_78" identifier = (pointer_expression "&iStack_78" & identifier)) ;) (expression_statement "uStack_6c = uVar14;" (assignment_expression "uStack_6c = uVar14" identifier = identifier) ;) (do_statement "do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);" do (compound_statement "{\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  }" { (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar11 + 1;" (assignment_expression "puVar7 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = puVar7;" (assignment_expression "*puVar4 = puVar7" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "uVar1 = *puVar11;" (assignment_expression "uVar1 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*piVar9 = iVar8;" (assignment_expression "*piVar9 = iVar8" (pointer_expression "*piVar9" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)piVar10 = uVar1;" (assignment_expression "*(undefined1 *)piVar10 = uVar1" (pointer_expression "*(undefined1 *)piVar10" * (cast_expression "(undefined1 *)piVar10" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "puVar11 = puVar7;" (assignment_expression "puVar11 = puVar7" identifier = identifier) ;) (expression_statement "piVar10 = (int *)((int)piVar10 + 1);" (assignment_expression "piVar10 = (int *)((int)piVar10 + 1)" identifier = (cast_expression "(int *)((int)piVar10 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar10 + 1)" ( (binary_expression "(int)piVar10 + 1" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(puVar7 != puVar6 + 4)" ( (binary_expression "puVar7 != puVar6 + 4" identifier != (binary_expression "puVar6 + 4" identifier + number_literal)) )) ;) (if_statement "if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }" if (parenthesized_expression "(puStack_74 != (undefined4 *)*puVar12)" ( (binary_expression "puStack_74 != (undefined4 *)*puVar12" identifier != (cast_expression "(undefined4 *)*puVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar12" * identifier))) )) (compound_statement "{\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }" { (expression_statement "(**(code **)(puVar13 + 0x26ab84))();" (call_expression "(**(code **)(puVar13 + 0x26ab84))()" (parenthesized_expression "(**(code **)(puVar13 + 0x26ab84))" ( (pointer_expression "**(code **)(puVar13 + 0x26ab84)" * (pointer_expression "*(code **)(puVar13 + 0x26ab84)" * (cast_expression "(code **)(puVar13 + 0x26ab84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x26ab84)" ( (binary_expression "puVar13 + 0x26ab84" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "puVar11 = (undefined1 *)*puStack_74;" (assignment_expression "puVar11 = (undefined1 *)*puStack_74" identifier = (cast_expression "(undefined1 *)*puStack_74" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puStack_74" * identifier))) ;) (expression_statement "iVar8 = *piVar9;" (assignment_expression "iVar8 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (expression_statement "*puStack_74 = puVar11 + 1;" (assignment_expression "*puStack_74 = puVar11 + 1" (pointer_expression "*puStack_74" * identifier) = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "uVar1 = *puVar11;" (assignment_expression "uVar1 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*piVar9 = iVar8 + -1;" (assignment_expression "*piVar9 = iVar8 + -1" (pointer_expression "*piVar9" * identifier) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "*puStack_74 = puVar11 + 2;" (assignment_expression "*puStack_74 = puVar11 + 2" (pointer_expression "*puStack_74" * identifier) = (binary_expression "puVar11 + 2" identifier + number_literal)) ;) (expression_statement "uVar2 = puVar11[1];" (assignment_expression "uVar2 = puVar11[1]" identifier = (subscript_expression "puVar11[1]" identifier [ number_literal ])) ;) (expression_statement "*piVar9 = iVar8 + -2;" (assignment_expression "*piVar9 = iVar8 + -2" (pointer_expression "*piVar9" * identifier) = (binary_expression "iVar8 + -2" identifier + number_literal)) ;) (return_statement "return (int)CONCAT11(uVar1,uVar2);" return (cast_expression "(int)CONCAT11(uVar1,uVar2)" ( (type_descriptor "int" primitive_type) ) (call_expression "CONCAT11(uVar1,uVar2)" identifier (argument_list "(uVar1,uVar2)" ( identifier , identifier )))) ;) })) (return_statement "return iStack_78;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\ndouble GetImageTotalInkDensity(Image *image,ExceptionInfo *exception)\n\n{\n  undefined1 uVar1;\n  bool bVar2;\n  ExceptionInfo *pEVar3;\n  size_t sVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  size_t sVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 uVar15;\n  double dVar16;\n  undefined8 uVar17;\n  undefined1 auStack_78 [4];\n  int *piStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  char *local_4c;\n  int local_38;\n  undefined4 uStack_34;\n  Image *local_30;\n  ExceptionInfo *local_2c;\n  ExceptionInfo *local_28;\n  int local_24;\n  int local_1c;\n  undefined1 *puVar7;\n  \n  puVar14 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (image == (Image *)0x0) {\n    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return dVar16;\n  }\n  if (image->debug != MagickFalse) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (image->signature != 0xabacadab) {\n    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return dVar16;\n  }\n  if (image->colorspace != CMYKColorspace) {\n    local_4c = image->filename;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar10 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (exception,piVar10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    dVar16 = 0.0;\n    pEVar3 = exception;\n    goto LAB_0013e23c;\n  }\n  pEVar3 = (ExceptionInfo *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(image,exception);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3))\n     && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 4 ||\n         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    sVar4 = image->rows;\n    sVar9 = sVar4;\n    if ((int)sVar4 < 0) {\n      sVar9 = sVar4 + 0x3f;\n    }\n    if (extraout_v1 < (int)sVar9 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar2 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar2 = (int)sVar4 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar2 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      sVar9 = image->rows;\n      if ((int)sVar9 < 0) {\n        sVar9 = sVar9 + 0x3f;\n      }\n      iVar8 = (int)sVar9 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n      uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar10 = &local_38;\n  local_24 = 1;\n  uStack_34 = 0;\n  local_38 = 0;\n  local_30 = image;\n  local_2c = exception;\n  local_28 = pEVar3;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar10,iVar8,0);\n  iVar8 = local_24;\n  dVar16 = (double)CONCAT44(local_38,uStack_34);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\n  if (iVar8 == 0) {\n    dVar16 = 0.0;\n  }\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar14) {\n    return dVar16;\n  }\n  uVar15 = 0x13e4dc;\n  puVar14 = PTR___stack_chk_fail_003a9064;\n  dVar16 = (double)(*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar13 = *(undefined4 **)(puVar14 + 0x26ad50);\n  puVar5 = (undefined1 *)pEVar3->severity;\n  iVar8 = *piVar10;\n  piStack_74 = (int *)*puVar13;\n  puVar7 = puVar5;\n  puVar11 = auStack_78;\n  uStack_6c = uVar15;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar6 = puVar7 + 1;\n    pEVar3->severity = (ExceptionType)puVar6;\n    uVar1 = *puVar7;\n    *piVar10 = iVar8;\n    *puVar11 = uVar1;\n    puVar7 = puVar6;\n    puVar11 = puVar11 + 1;\n  } while (puVar6 != puVar5 + 4);\n  if (piStack_74 != (int *)*puVar13) {\n    dVar16 = (double)(**(code **)(puVar14 + 0x26ab84))();\n    iVar12 = *piStack_74;\n    iVar8 = *piVar10;\n    *piStack_74 = iVar12 + 1;\n    *piVar10 = iVar8 + -1;\n    *piStack_74 = iVar12 + 2;\n    *piVar10 = iVar8 + -2;\n    return dVar16;\n  }\n  return dVar16;\n}\n\n" comment comment comment comment comment (function_definition "double GetImageTotalInkDensity(Image *image,ExceptionInfo *exception)\n\n{\n  undefined1 uVar1;\n  bool bVar2;\n  ExceptionInfo *pEVar3;\n  size_t sVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  size_t sVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 uVar15;\n  double dVar16;\n  undefined8 uVar17;\n  undefined1 auStack_78 [4];\n  int *piStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  char *local_4c;\n  int local_38;\n  undefined4 uStack_34;\n  Image *local_30;\n  ExceptionInfo *local_2c;\n  ExceptionInfo *local_28;\n  int local_24;\n  int local_1c;\n  undefined1 *puVar7;\n  \n  puVar14 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (image == (Image *)0x0) {\n    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return dVar16;\n  }\n  if (image->debug != MagickFalse) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (image->signature != 0xabacadab) {\n    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return dVar16;\n  }\n  if (image->colorspace != CMYKColorspace) {\n    local_4c = image->filename;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar10 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (exception,piVar10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    dVar16 = 0.0;\n    pEVar3 = exception;\n    goto LAB_0013e23c;\n  }\n  pEVar3 = (ExceptionInfo *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(image,exception);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3))\n     && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 4 ||\n         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    sVar4 = image->rows;\n    sVar9 = sVar4;\n    if ((int)sVar4 < 0) {\n      sVar9 = sVar4 + 0x3f;\n    }\n    if (extraout_v1 < (int)sVar9 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar2 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar2 = (int)sVar4 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar2 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      sVar9 = image->rows;\n      if ((int)sVar9 < 0) {\n        sVar9 = sVar9 + 0x3f;\n      }\n      iVar8 = (int)sVar9 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n      uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar10 = &local_38;\n  local_24 = 1;\n  uStack_34 = 0;\n  local_38 = 0;\n  local_30 = image;\n  local_2c = exception;\n  local_28 = pEVar3;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar10,iVar8,0);\n  iVar8 = local_24;\n  dVar16 = (double)CONCAT44(local_38,uStack_34);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\n  if (iVar8 == 0) {\n    dVar16 = 0.0;\n  }\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar14) {\n    return dVar16;\n  }\n  uVar15 = 0x13e4dc;\n  puVar14 = PTR___stack_chk_fail_003a9064;\n  dVar16 = (double)(*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar13 = *(undefined4 **)(puVar14 + 0x26ad50);\n  puVar5 = (undefined1 *)pEVar3->severity;\n  iVar8 = *piVar10;\n  piStack_74 = (int *)*puVar13;\n  puVar7 = puVar5;\n  puVar11 = auStack_78;\n  uStack_6c = uVar15;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar6 = puVar7 + 1;\n    pEVar3->severity = (ExceptionType)puVar6;\n    uVar1 = *puVar7;\n    *piVar10 = iVar8;\n    *puVar11 = uVar1;\n    puVar7 = puVar6;\n    puVar11 = puVar11 + 1;\n  } while (puVar6 != puVar5 + 4);\n  if (piStack_74 != (int *)*puVar13) {\n    dVar16 = (double)(**(code **)(puVar14 + 0x26ab84))();\n    iVar12 = *piStack_74;\n    iVar8 = *piVar10;\n    *piStack_74 = iVar12 + 1;\n    *piVar10 = iVar8 + -1;\n    *piStack_74 = iVar12 + 2;\n    *piVar10 = iVar8 + -2;\n    return dVar16;\n  }\n  return dVar16;\n}" primitive_type (function_declarator "GetImageTotalInkDensity(Image *image,ExceptionInfo *exception)" identifier (parameter_list "(Image *image,ExceptionInfo *exception)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  bool bVar2;\n  ExceptionInfo *pEVar3;\n  size_t sVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  size_t sVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 uVar15;\n  double dVar16;\n  undefined8 uVar17;\n  undefined1 auStack_78 [4];\n  int *piStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  char *local_4c;\n  int local_38;\n  undefined4 uStack_34;\n  Image *local_30;\n  ExceptionInfo *local_2c;\n  ExceptionInfo *local_28;\n  int local_24;\n  int local_1c;\n  undefined1 *puVar7;\n  \n  puVar14 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (image == (Image *)0x0) {\n    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return dVar16;\n  }\n  if (image->debug != MagickFalse) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (image->signature != 0xabacadab) {\n    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return dVar16;\n  }\n  if (image->colorspace != CMYKColorspace) {\n    local_4c = image->filename;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar10 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (exception,piVar10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    dVar16 = 0.0;\n    pEVar3 = exception;\n    goto LAB_0013e23c;\n  }\n  pEVar3 = (ExceptionInfo *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(image,exception);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3))\n     && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 4 ||\n         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    sVar4 = image->rows;\n    sVar9 = sVar4;\n    if ((int)sVar4 < 0) {\n      sVar9 = sVar4 + 0x3f;\n    }\n    if (extraout_v1 < (int)sVar9 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar2 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar2 = (int)sVar4 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar2 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      sVar9 = image->rows;\n      if ((int)sVar9 < 0) {\n        sVar9 = sVar9 + 0x3f;\n      }\n      iVar8 = (int)sVar9 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n      uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar10 = &local_38;\n  local_24 = 1;\n  uStack_34 = 0;\n  local_38 = 0;\n  local_30 = image;\n  local_2c = exception;\n  local_28 = pEVar3;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar10,iVar8,0);\n  iVar8 = local_24;\n  dVar16 = (double)CONCAT44(local_38,uStack_34);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\n  if (iVar8 == 0) {\n    dVar16 = 0.0;\n  }\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar14) {\n    return dVar16;\n  }\n  uVar15 = 0x13e4dc;\n  puVar14 = PTR___stack_chk_fail_003a9064;\n  dVar16 = (double)(*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar13 = *(undefined4 **)(puVar14 + 0x26ad50);\n  puVar5 = (undefined1 *)pEVar3->severity;\n  iVar8 = *piVar10;\n  piStack_74 = (int *)*puVar13;\n  puVar7 = puVar5;\n  puVar11 = auStack_78;\n  uStack_6c = uVar15;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar6 = puVar7 + 1;\n    pEVar3->severity = (ExceptionType)puVar6;\n    uVar1 = *puVar7;\n    *piVar10 = iVar8;\n    *puVar11 = uVar1;\n    puVar7 = puVar6;\n    puVar11 = puVar11 + 1;\n  } while (puVar6 != puVar5 + 4);\n  if (piStack_74 != (int *)*puVar13) {\n    dVar16 = (double)(**(code **)(puVar14 + 0x26ab84))();\n    iVar12 = *piStack_74;\n    iVar8 = *piVar10;\n    *piStack_74 = iVar12 + 1;\n    *piVar10 = iVar8 + -1;\n    *piStack_74 = iVar12 + 2;\n    *piVar10 = iVar8 + -2;\n    return dVar16;\n  }\n  return dVar16;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "ExceptionInfo *pEVar3;" type_identifier (pointer_declarator "*pEVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int extraout_v1;" primitive_type identifier ;) (declaration "int extraout_v1_00;" primitive_type identifier ;) (declaration "int extraout_v1_01;" primitive_type identifier ;) (declaration "int extraout_v1_02;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "size_t sVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined1 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "double dVar16;" primitive_type identifier ;) (declaration "undefined8 uVar17;" type_identifier identifier ;) (declaration "undefined1 auStack_78 [4];" type_identifier (array_declarator "auStack_78 [4]" identifier [ number_literal ]) ;) (declaration "int *piStack_74;" primitive_type (pointer_declarator "*piStack_74" * identifier) ;) (declaration "undefined4 uStack_6c;" type_identifier identifier ;) (declaration "undefined *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "undefined *local_54;" type_identifier (pointer_declarator "*local_54" * identifier) ;) (declaration "undefined *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "char *local_4c;" primitive_type (pointer_declarator "*local_4c" * identifier) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "undefined4 uStack_34;" type_identifier identifier ;) (declaration "Image *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "ExceptionInfo *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (declaration "ExceptionInfo *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (expression_statement "puVar14 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar14 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" * (cast_expression "(int *)PTR___stack_chk_guard_003a9230" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (image == (Image *)0x0) {\n    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return dVar16;\n  }" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return dVar16;\n  }" { (expression_statement "dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);" (assignment_expression "dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48)" identifier = (cast_expression "(double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48)" ( (type_descriptor "double" primitive_type) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48)" ( (binary_expression "PTR_LAB_003a88e0 + 0xdd0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e48" identifier + number_literal) ))))) ;) (return_statement "return dVar16;" return identifier ;) })) (if_statement "if (image->debug != MagickFalse) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }" if (parenthesized_expression "(image->debug != MagickFalse)" ( (binary_expression "image->debug != MagickFalse" (field_expression "image->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }" { (expression_statement "local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;" (assignment_expression "local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67)" ( number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e30" identifier + number_literal) , number_literal ))) ;) })) (if_statement "if (image->signature != 0xabacadab) {\n    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return dVar16;\n  }" if (parenthesized_expression "(image->signature != 0xabacadab)" ( (binary_expression "image->signature != 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return dVar16;\n  }" { (expression_statement "dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48);" (assignment_expression "dVar16 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48)" identifier = (cast_expression "(double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48)" ( (type_descriptor "double" primitive_type) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                                PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,\n                                PTR_s_t_to_left_003a88e4 + 0x3e48)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e48" identifier + number_literal) ))))) ;) (return_statement "return dVar16;" return identifier ;) })) (if_statement "if (image->colorspace != CMYKColorspace) {\n    local_4c = image->filename;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar10 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (exception,piVar10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    dVar16 = 0.0;\n    pEVar3 = exception;\n    goto LAB_0013e23c;\n  }" if (parenthesized_expression "(image->colorspace != CMYKColorspace)" ( (binary_expression "image->colorspace != CMYKColorspace" (field_expression "image->colorspace" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    local_4c = image->filename;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar10 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (exception,piVar10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    dVar16 = 0.0;\n    pEVar3 = exception;\n    goto LAB_0013e23c;\n  }" { (expression_statement "local_4c = image->filename;" (assignment_expression "local_4c = image->filename" identifier = (field_expression "image->filename" identifier -> field_identifier)) ;) (expression_statement "local_50 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "local_50 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "piVar10 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);" (assignment_expression "piVar10 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10)" identifier = (cast_expression "(int *)(PTR_s_t_to_left_003a88e4 + 0x3e10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_t_to_left_003a88e4 + 0x3e10)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) )))) ;) (expression_statement "local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;" (assignment_expression "local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00" identifier + number_literal)) ;) (expression_statement "local_58 = (undefined *)0x1d1;" (assignment_expression "local_58 = (undefined *)0x1d1" identifier = (cast_expression "(undefined *)0x1d1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (exception,piVar10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (exception,piVar10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(exception,piVar10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b)" ( identifier , identifier , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e30" identifier + number_literal) , number_literal ))) ;) (expression_statement "dVar16 = 0.0;" (assignment_expression "dVar16 = 0.0" identifier = number_literal) ;) (expression_statement "pEVar3 = exception;" (assignment_expression "pEVar3 = exception" identifier = identifier) ;) (goto_statement "goto LAB_0013e23c;" goto statement_identifier ;) })) (expression_statement "pEVar3 = (ExceptionInfo *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(image,exception);" (assignment_expression "pEVar3 = (ExceptionInfo *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(image,exception)" identifier = (cast_expression "(ExceptionInfo *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(image,exception)" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireVirtualCacheView_003a9754)(image,exception)" (parenthesized_expression "(*(code *)PTR_AcquireVirtualCacheView_003a9754)" ( (pointer_expression "*(code *)PTR_AcquireVirtualCacheView_003a9754" * (cast_expression "(code *)PTR_AcquireVirtualCacheView_003a9754" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image,exception)" ( identifier , identifier ))))) ;) (expression_statement "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image);" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(image)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image)" ( identifier )))) ;) (if_statement "if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3))\n     && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 4 ||\n         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    sVar4 = image->rows;\n    sVar9 = sVar4;\n    if ((int)sVar4 < 0) {\n      sVar9 = sVar4 + 0x3f;\n    }\n    if (extraout_v1 < (int)sVar9 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar2 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar2 = (int)sVar4 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar2 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      sVar9 = image->rows;\n      if ((int)sVar9 < 0) {\n        sVar9 = sVar9 + 0x3f;\n      }\n      iVar8 = (int)sVar9 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n      uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" if (parenthesized_expression "(((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3))\n     && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 4 ||\n         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3))))" ( (binary_expression "((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3))\n     && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 4 ||\n         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)))" (parenthesized_expression "((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3))" ( (binary_expression "(iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)" (parenthesized_expression "(iVar8 == 4)" ( (binary_expression "iVar8 == 4" identifier == number_literal) )) || (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)" ( (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(image)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image)" ( identifier )))) , (binary_expression "iVar8 == 3" identifier == number_literal)) ))) )) && (parenthesized_expression "((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 4 ||\n         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)))" ( (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 4 ||\n         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3))" ( (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 4 ||\n         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(image)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image)" ( identifier )))) , (binary_expression "iVar8 == 4 ||\n         (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)" (binary_expression "iVar8 == 4" identifier == number_literal) || (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3)" ( (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image), iVar8 == 3" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(image)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(image)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image)" ( identifier )))) , (binary_expression "iVar8 == 3" identifier == number_literal)) )))) )) ))) )) (compound_statement "{\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    sVar4 = image->rows;\n    sVar9 = sVar4;\n    if ((int)sVar4 < 0) {\n      sVar9 = sVar4 + 0x3f;\n    }\n    if (extraout_v1 < (int)sVar9 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar2 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar2 = (int)sVar4 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar2 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      sVar9 = image->rows;\n      if ((int)sVar9 < 0) {\n        sVar9 = sVar9 + 0x3f;\n      }\n      iVar8 = (int)sVar9 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }" { (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;) (expression_statement "sVar4 = image->rows;" (assignment_expression "sVar4 = image->rows" identifier = (field_expression "image->rows" identifier -> field_identifier)) ;) (expression_statement "sVar9 = sVar4;" (assignment_expression "sVar9 = sVar4" identifier = identifier) ;) (if_statement "if ((int)sVar4 < 0) {\n      sVar9 = sVar4 + 0x3f;\n    }" if (parenthesized_expression "((int)sVar4 < 0)" ( (binary_expression "(int)sVar4 < 0" (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      sVar9 = sVar4 + 0x3f;\n    }" { (expression_statement "sVar9 = sVar4 + 0x3f;" (assignment_expression "sVar9 = sVar4 + 0x3f" identifier = (binary_expression "sVar4 + 0x3f" identifier + number_literal)) ;) })) (if_statement "if (extraout_v1 < (int)sVar9 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar2 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar2 = (int)sVar4 < 0x80;\n    }" if (parenthesized_expression "(extraout_v1 < (int)sVar9 >> 6)" ( (binary_expression "extraout_v1 < (int)sVar9 >> 6" identifier < (binary_expression "(int)sVar9 >> 6" (cast_expression "(int)sVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) (compound_statement "{\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar2 = extraout_v1_02 < 2;\n    }" { (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;) (expression_statement "bVar2 = extraout_v1_02 < 2;" (assignment_expression "bVar2 = extraout_v1_02 < 2" identifier = (binary_expression "extraout_v1_02 < 2" identifier < number_literal)) ;) }) (else_clause "else {\n      bVar2 = (int)sVar4 < 0x80;\n    }" else (compound_statement "{\n      bVar2 = (int)sVar4 < 0x80;\n    }" { (expression_statement "bVar2 = (int)sVar4 < 0x80;" (assignment_expression "bVar2 = (int)sVar4 < 0x80" identifier = (binary_expression "(int)sVar4 < 0x80" (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ;) }))) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (if_statement "if ((bool)(bVar2 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      sVar9 = image->rows;\n      if ((int)sVar9 < 0) {\n        sVar9 = sVar9 + 0x3f;\n      }\n      iVar8 = (int)sVar9 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }" if (parenthesized_expression "((bool)(bVar2 ^ 1))" ( (cast_expression "(bool)(bVar2 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar2 ^ 1)" ( (binary_expression "bVar2 ^ 1" identifier ^ number_literal) ))) )) (compound_statement "{\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      sVar9 = image->rows;\n      if ((int)sVar9 < 0) {\n        sVar9 = sVar9 + 0x3f;\n      }\n      iVar8 = (int)sVar9 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }" { (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;) (expression_statement "sVar9 = image->rows;" (assignment_expression "sVar9 = image->rows" identifier = (field_expression "image->rows" identifier -> field_identifier)) ;) (if_statement "if ((int)sVar9 < 0) {\n        sVar9 = sVar9 + 0x3f;\n      }" if (parenthesized_expression "((int)sVar9 < 0)" ( (binary_expression "(int)sVar9 < 0" (cast_expression "(int)sVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        sVar9 = sVar9 + 0x3f;\n      }" { (expression_statement "sVar9 = sVar9 + 0x3f;" (assignment_expression "sVar9 = sVar9 + 0x3f" identifier = (binary_expression "sVar9 + 0x3f" identifier + number_literal)) ;) })) (expression_statement "iVar8 = (int)sVar9 >> 6;" (assignment_expression "iVar8 = (int)sVar9 >> 6" identifier = (binary_expression "(int)sVar9 >> 6" (cast_expression "(int)sVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if (extraout_v1_01 < iVar8) goto LAB_0013e428;" if (parenthesized_expression "(extraout_v1_01 < iVar8)" ( (binary_expression "extraout_v1_01 < iVar8" identifier < identifier) )) (goto_statement "goto LAB_0013e428;" goto statement_identifier ;)) })) }) (else_clause "else {\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n      uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" else (compound_statement "{\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n      uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" { (expression_statement "uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" identifier = (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n      uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }" if (parenthesized_expression "(((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2))" ( (binary_expression "((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)" (parenthesized_expression "((int)((ulonglong)uVar17 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar17 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar17 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar17 >> 0x20)" ( (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar17 < 2)" ( (binary_expression "(uint)uVar17 < 2" (cast_expression "(uint)uVar17" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n      uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }" { (expression_statement "uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" identifier = (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }" if (parenthesized_expression "(((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2))" ( (binary_expression "((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)" (parenthesized_expression "((int)((ulonglong)uVar17 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar17 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar17 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar17 >> 0x20)" ( (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar17 < 2)" ( (binary_expression "(uint)uVar17 < 2" (cast_expression "(uint)uVar17" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }" { (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0013e2dc;" goto statement_identifier ;) })) })) (expression_statement "uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar17 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" identifier = (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }" if (parenthesized_expression "(((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2))" ( (binary_expression "((int)((ulonglong)uVar17 >> 0x20) == 0) && ((uint)uVar17 < 2)" (parenthesized_expression "((int)((ulonglong)uVar17 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar17 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar17 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar17 >> 0x20)" ( (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar17 < 2)" ( (binary_expression "(uint)uVar17 < 2" (cast_expression "(uint)uVar17" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }" { (labeled_statement "LAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" statement_identifier : (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;)) (expression_statement "iVar8 = extraout_v1_00;" (assignment_expression "iVar8 = extraout_v1_00" identifier = identifier) ;) }) (else_clause "else {\n      iVar8 = 2;\n    }" else (compound_statement "{\n      iVar8 = 2;\n    }" { (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) }))) }))) (labeled_statement "LAB_0013e2dc:\n  piVar10 = &local_38;" statement_identifier : (expression_statement "piVar10 = &local_38;" (assignment_expression "piVar10 = &local_38" identifier = (pointer_expression "&local_38" & identifier)) ;)) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "uStack_34 = 0;" (assignment_expression "uStack_34 = 0" identifier = number_literal) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_30 = image;" (assignment_expression "local_30 = image" identifier = identifier) ;) (expression_statement "local_2c = exception;" (assignment_expression "local_2c = exception" identifier = identifier) ;) (expression_statement "local_28 = pEVar3;" (assignment_expression "local_28 = pEVar3" identifier = identifier) ;) (expression_statement "(*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar10,iVar8,0);" (call_expression "(*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar10,iVar8,0)" (parenthesized_expression "(*(code *)PTR_GOMP_parallel_003a9198)" ( (pointer_expression "*(code *)PTR_GOMP_parallel_003a9198" * (cast_expression "(code *)PTR_GOMP_parallel_003a9198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a8968 + -0x20c0,piVar10,iVar8,0)" ( (binary_expression "PTR_LAB_003a8968 + -0x20c0" identifier + number_literal) , identifier , identifier , number_literal ))) ;) (expression_statement "iVar8 = local_24;" (assignment_expression "iVar8 = local_24" identifier = identifier) ;) (expression_statement "dVar16 = (double)CONCAT44(local_38,uStack_34);" (assignment_expression "dVar16 = (double)CONCAT44(local_38,uStack_34)" identifier = (cast_expression "(double)CONCAT44(local_38,uStack_34)" ( (type_descriptor "double" primitive_type) ) (call_expression "CONCAT44(local_38,uStack_34)" identifier (argument_list "(local_38,uStack_34)" ( identifier , identifier ))))) ;) (expression_statement "(*(code *)PTR_DestroyCacheView_003a8ef4)();" (call_expression "(*(code *)PTR_DestroyCacheView_003a8ef4)()" (parenthesized_expression "(*(code *)PTR_DestroyCacheView_003a8ef4)" ( (pointer_expression "*(code *)PTR_DestroyCacheView_003a8ef4" * (cast_expression "(code *)PTR_DestroyCacheView_003a8ef4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar8 == 0) {\n    dVar16 = 0.0;\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    dVar16 = 0.0;\n  }" { (expression_statement "dVar16 = 0.0;" (assignment_expression "dVar16 = 0.0" identifier = number_literal) ;) })) (labeled_statement "LAB_0013e23c:\n  if (local_1c == *(int *)puVar14) {\n    return dVar16;\n  }" statement_identifier : (if_statement "if (local_1c == *(int *)puVar14) {\n    return dVar16;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar14)" ( (binary_expression "local_1c == *(int *)puVar14" identifier == (pointer_expression "*(int *)puVar14" * (cast_expression "(int *)puVar14" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return dVar16;\n  }" { (return_statement "return dVar16;" return identifier ;) }))) (expression_statement "uVar15 = 0x13e4dc;" (assignment_expression "uVar15 = 0x13e4dc" identifier = number_literal) ;) (expression_statement "puVar14 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar14 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "dVar16 = (double)(*(code *)PTR___stack_chk_fail_003a9064)();" (assignment_expression "dVar16 = (double)(*(code *)PTR___stack_chk_fail_003a9064)()" identifier = (cast_expression "(double)(*(code *)PTR___stack_chk_fail_003a9064)()" ( (type_descriptor "double" primitive_type) ) (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "puVar13 = *(undefined4 **)(puVar14 + 0x26ad50);" (assignment_expression "puVar13 = *(undefined4 **)(puVar14 + 0x26ad50)" identifier = (pointer_expression "*(undefined4 **)(puVar14 + 0x26ad50)" * (cast_expression "(undefined4 **)(puVar14 + 0x26ad50)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x26ad50)" ( (binary_expression "puVar14 + 0x26ad50" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = (undefined1 *)pEVar3->severity;" (assignment_expression "puVar5 = (undefined1 *)pEVar3->severity" identifier = (cast_expression "(undefined1 *)pEVar3->severity" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pEVar3->severity" identifier -> field_identifier))) ;) (expression_statement "iVar8 = *piVar10;" (assignment_expression "iVar8 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "piStack_74 = (int *)*puVar13;" (assignment_expression "piStack_74 = (int *)*puVar13" identifier = (cast_expression "(int *)*puVar13" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar13" * identifier))) ;) (expression_statement "puVar7 = puVar5;" (assignment_expression "puVar7 = puVar5" identifier = identifier) ;) (expression_statement "puVar11 = auStack_78;" (assignment_expression "puVar11 = auStack_78" identifier = identifier) ;) (expression_statement "uStack_6c = uVar15;" (assignment_expression "uStack_6c = uVar15" identifier = identifier) ;) (do_statement "do {\n    iVar8 = iVar8 + -1;\n    puVar6 = puVar7 + 1;\n    pEVar3->severity = (ExceptionType)puVar6;\n    uVar1 = *puVar7;\n    *piVar10 = iVar8;\n    *puVar11 = uVar1;\n    puVar7 = puVar6;\n    puVar11 = puVar11 + 1;\n  } while (puVar6 != puVar5 + 4);" do (compound_statement "{\n    iVar8 = iVar8 + -1;\n    puVar6 = puVar7 + 1;\n    pEVar3->severity = (ExceptionType)puVar6;\n    uVar1 = *puVar7;\n    *piVar10 = iVar8;\n    *puVar11 = uVar1;\n    puVar7 = puVar6;\n    puVar11 = puVar11 + 1;\n  }" { (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "puVar6 = puVar7 + 1;" (assignment_expression "puVar6 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "pEVar3->severity = (ExceptionType)puVar6;" (assignment_expression "pEVar3->severity = (ExceptionType)puVar6" (field_expression "pEVar3->severity" identifier -> field_identifier) = (cast_expression "(ExceptionType)puVar6" ( (type_descriptor "ExceptionType" type_identifier) ) identifier)) ;) (expression_statement "uVar1 = *puVar7;" (assignment_expression "uVar1 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*piVar10 = iVar8;" (assignment_expression "*piVar10 = iVar8" (pointer_expression "*piVar10" * identifier) = identifier) ;) (expression_statement "*puVar11 = uVar1;" (assignment_expression "*puVar11 = uVar1" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "puVar7 = puVar6;" (assignment_expression "puVar7 = puVar6" identifier = identifier) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar6 != puVar5 + 4)" ( (binary_expression "puVar6 != puVar5 + 4" identifier != (binary_expression "puVar5 + 4" identifier + number_literal)) )) ;) (if_statement "if (piStack_74 != (int *)*puVar13) {\n    dVar16 = (double)(**(code **)(puVar14 + 0x26ab84))();\n    iVar12 = *piStack_74;\n    iVar8 = *piVar10;\n    *piStack_74 = iVar12 + 1;\n    *piVar10 = iVar8 + -1;\n    *piStack_74 = iVar12 + 2;\n    *piVar10 = iVar8 + -2;\n    return dVar16;\n  }" if (parenthesized_expression "(piStack_74 != (int *)*puVar13)" ( (binary_expression "piStack_74 != (int *)*puVar13" identifier != (cast_expression "(int *)*puVar13" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar13" * identifier))) )) (compound_statement "{\n    dVar16 = (double)(**(code **)(puVar14 + 0x26ab84))();\n    iVar12 = *piStack_74;\n    iVar8 = *piVar10;\n    *piStack_74 = iVar12 + 1;\n    *piVar10 = iVar8 + -1;\n    *piStack_74 = iVar12 + 2;\n    *piVar10 = iVar8 + -2;\n    return dVar16;\n  }" { (expression_statement "dVar16 = (double)(**(code **)(puVar14 + 0x26ab84))();" (assignment_expression "dVar16 = (double)(**(code **)(puVar14 + 0x26ab84))()" identifier = (cast_expression "(double)(**(code **)(puVar14 + 0x26ab84))()" ( (type_descriptor "double" primitive_type) ) (call_expression "(**(code **)(puVar14 + 0x26ab84))()" (parenthesized_expression "(**(code **)(puVar14 + 0x26ab84))" ( (pointer_expression "**(code **)(puVar14 + 0x26ab84)" * (pointer_expression "*(code **)(puVar14 + 0x26ab84)" * (cast_expression "(code **)(puVar14 + 0x26ab84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x26ab84)" ( (binary_expression "puVar14 + 0x26ab84" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar12 = *piStack_74;" (assignment_expression "iVar12 = *piStack_74" identifier = (pointer_expression "*piStack_74" * identifier)) ;) (expression_statement "iVar8 = *piVar10;" (assignment_expression "iVar8 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "*piStack_74 = iVar12 + 1;" (assignment_expression "*piStack_74 = iVar12 + 1" (pointer_expression "*piStack_74" * identifier) = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "*piVar10 = iVar8 + -1;" (assignment_expression "*piVar10 = iVar8 + -1" (pointer_expression "*piVar10" * identifier) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "*piStack_74 = iVar12 + 2;" (assignment_expression "*piStack_74 = iVar12 + 2" (pointer_expression "*piStack_74" * identifier) = (binary_expression "iVar12 + 2" identifier + number_literal)) ;) (expression_statement "*piVar10 = iVar8 + -2;" (assignment_expression "*piVar10 = iVar8 + -2" (pointer_expression "*piVar10" * identifier) = (binary_expression "iVar8 + -2" identifier + number_literal)) ;) (return_statement "return dVar16;" return identifier ;) })) (return_statement "return dVar16;" return identifier ;) })))
(translation_unit "int GetImageTotalInkDensity(int param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  undefined4 *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  undefined8 uVar15;\n  int iStack_78;\n  undefined4 *puStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  int local_4c;\n  int local_38 [3];\n  undefined4 *local_2c;\n  undefined4 *local_28;\n  undefined4 local_24;\n  int local_1c;\n  \n  puVar13 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar9 = local_38;\n  local_24 = 1;\n  local_38[1] = 0;\n  local_38[0] = 0;\n  local_38[2] = param_1;\n  local_2c = param_2;\n  local_28 = puVar4;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }\n  uVar14 = 0x13e4dc;\n  puVar13 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);\n  puVar6 = (undefined1 *)*puVar4;\n  iVar8 = *piVar9;\n  puStack_74 = (undefined4 *)*puVar12;\n  puVar11 = puVar6;\n  piVar10 = &iStack_78;\n  uStack_6c = uVar14;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);\n  if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }\n  return iStack_78;\n}\n\n" (function_definition "int GetImageTotalInkDensity(int param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  undefined4 *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  undefined8 uVar15;\n  int iStack_78;\n  undefined4 *puStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  int local_4c;\n  int local_38 [3];\n  undefined4 *local_2c;\n  undefined4 *local_28;\n  undefined4 local_24;\n  int local_1c;\n  \n  puVar13 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar9 = local_38;\n  local_24 = 1;\n  local_38[1] = 0;\n  local_38[0] = 0;\n  local_38[2] = param_1;\n  local_2c = param_2;\n  local_28 = puVar4;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }\n  uVar14 = 0x13e4dc;\n  puVar13 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);\n  puVar6 = (undefined1 *)*puVar4;\n  iVar8 = *piVar9;\n  puStack_74 = (undefined4 *)*puVar12;\n  puVar11 = puVar6;\n  piVar10 = &iStack_78;\n  uStack_6c = uVar14;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);\n  if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }\n  return iStack_78;\n}" primitive_type (function_declarator "GetImageTotalInkDensity(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  undefined4 *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  undefined8 uVar15;\n  int iStack_78;\n  undefined4 *puStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  int local_4c;\n  int local_38 [3];\n  undefined4 *local_2c;\n  undefined4 *local_28;\n  undefined4 local_24;\n  int local_1c;\n  \n  puVar13 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar9 = local_38;\n  local_24 = 1;\n  local_38[1] = 0;\n  local_38[0] = 0;\n  local_38[2] = param_1;\n  local_2c = param_2;\n  local_28 = puVar4;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }\n  uVar14 = 0x13e4dc;\n  puVar13 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);\n  puVar6 = (undefined1 *)*puVar4;\n  iVar8 = *piVar9;\n  puStack_74 = (undefined4 *)*puVar12;\n  puVar11 = puVar6;\n  piVar10 = &iStack_78;\n  uStack_6c = uVar14;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);\n  if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }\n  return iStack_78;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int extraout_v1;" primitive_type identifier ;) (declaration "int extraout_v1_00;" primitive_type identifier ;) (declaration "int extraout_v1_01;" primitive_type identifier ;) (declaration "int extraout_v1_02;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined1 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined8 uVar15;" type_identifier identifier ;) (declaration "int iStack_78;" primitive_type identifier ;) (declaration "undefined4 *puStack_74;" type_identifier (pointer_declarator "*puStack_74" * identifier) ;) (declaration "undefined4 uStack_6c;" type_identifier identifier ;) (declaration "undefined *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "undefined *local_54;" type_identifier (pointer_declarator "*local_54" * identifier) ;) (declaration "undefined *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_38 [3];" primitive_type (array_declarator "local_38 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (declaration "undefined4 *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar13 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar13 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" * (cast_expression "(int *)PTR___stack_chk_guard_003a9230" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" { (expression_statement "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);" (assignment_expression "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48)" identifier = (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48)" ( (binary_expression "PTR_LAB_003a88e0 + 0xdd0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e48" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3350) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3350) != 0" (pointer_expression "*(int *)(param_1 + 0x3350)" * (cast_expression "(int *)(param_1 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3350)" ( (binary_expression "param_1 + 0x3350" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }" { (expression_statement "local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;" (assignment_expression "local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67)" ( number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e30" identifier + number_literal) , number_literal ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x336c) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x336c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x336c)" * (cast_expression "(int *)(param_1 + 0x336c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x336c)" ( (binary_expression "param_1 + 0x336c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" { (expression_statement "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);" (assignment_expression "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48)" identifier = (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e48" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 4) != 2)" ( (binary_expression "*(int *)(param_1 + 4) != 2" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }" { (expression_statement "local_4c = param_1 + 0x340;" (assignment_expression "local_4c = param_1 + 0x340" identifier = (binary_expression "param_1 + 0x340" identifier + number_literal)) ;) (expression_statement "local_50 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "local_50 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);" (assignment_expression "piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10)" identifier = (cast_expression "(int *)(PTR_s_t_to_left_003a88e4 + 0x3e10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_t_to_left_003a88e4 + 0x3e10)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" identifier + number_literal) )))) ;) (expression_statement "local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;" (assignment_expression "local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00" identifier + number_literal)) ;) (expression_statement "local_58 = (undefined *)0x1d1;" (assignment_expression "local_58 = (undefined *)0x1d1" identifier = (cast_expression "(undefined *)0x1d1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b)" ( identifier , identifier , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e30" identifier + number_literal) , number_literal ))) ;) (expression_statement "puVar4 = param_2;" (assignment_expression "puVar4 = param_2" identifier = identifier) ;) (goto_statement "goto LAB_0013e23c;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireVirtualCacheView_003a9754)" ( (pointer_expression "*(code *)PTR_AcquireVirtualCacheView_003a9754" * (cast_expression "(code *)PTR_AcquireVirtualCacheView_003a9754" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))))) ;) (expression_statement "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" if (parenthesized_expression "(((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3))))" ( (binary_expression "((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))" (parenthesized_expression "((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      )" ( (binary_expression "(iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (parenthesized_expression "(iVar8 == 4)" ( (binary_expression "iVar8 == 4" identifier == number_literal) )) || (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" ( (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar8 == 3" identifier == number_literal)) ))) )) && (parenthesized_expression "((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))" ( (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3))" ( (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (binary_expression "iVar8 == 4" identifier == number_literal) || (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" ( (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" identifier = (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" ( (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" * (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar8 == 3" identifier == number_literal)) )))) )) ))) )) (compound_statement "{\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }" { (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;) (expression_statement "iVar5 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = iVar5;" (assignment_expression "iVar8 = iVar5" identifier = identifier) ;) (if_statement "if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar8 = iVar5 + 0x3f;\n    }" { (expression_statement "iVar8 = iVar5 + 0x3f;" (assignment_expression "iVar8 = iVar5 + 0x3f" identifier = (binary_expression "iVar5 + 0x3f" identifier + number_literal)) ;) })) (if_statement "if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }" if (parenthesized_expression "(extraout_v1 < iVar8 >> 6)" ( (binary_expression "extraout_v1 < iVar8 >> 6" identifier < (binary_expression "iVar8 >> 6" identifier >> number_literal)) )) (compound_statement "{\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }" { (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;) (expression_statement "bVar3 = extraout_v1_02 < 2;" (assignment_expression "bVar3 = extraout_v1_02 < 2" identifier = (binary_expression "extraout_v1_02 < 2" identifier < number_literal)) ;) }) (else_clause "else {\n      bVar3 = iVar5 < 0x80;\n    }" else (compound_statement "{\n      bVar3 = iVar5 < 0x80;\n    }" { (expression_statement "bVar3 = iVar5 < 0x80;" (assignment_expression "bVar3 = iVar5 < 0x80" identifier = (binary_expression "iVar5 < 0x80" identifier < number_literal)) ;) }))) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (if_statement "if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }" if (parenthesized_expression "((bool)(bVar3 ^ 1))" ( (cast_expression "(bool)(bVar3 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar3 ^ 1)" ( (binary_expression "bVar3 ^ 1" identifier ^ number_literal) ))) )) (compound_statement "{\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }" { (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;) (expression_statement "iVar8 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar8 = iVar8 + 0x3f;\n      }" { (expression_statement "iVar8 = iVar8 + 0x3f;" (assignment_expression "iVar8 = iVar8 + 0x3f" identifier = (binary_expression "iVar8 + 0x3f" identifier + number_literal)) ;) })) (expression_statement "iVar8 = iVar8 >> 6;" (assignment_expression "iVar8 = iVar8 >> 6" identifier = (binary_expression "iVar8 >> 6" identifier >> number_literal)) ;) (if_statement "if (extraout_v1_01 < iVar8) goto LAB_0013e428;" if (parenthesized_expression "(extraout_v1_01 < iVar8)" ( (binary_expression "extraout_v1_01 < iVar8" identifier < identifier) )) (goto_statement "goto LAB_0013e428;" goto statement_identifier ;)) })) }) (else_clause "else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" else (compound_statement "{\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" { (expression_statement "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" identifier = (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }" if (parenthesized_expression "(((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2))" ( (binary_expression "((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)" (parenthesized_expression "((int)((ulonglong)uVar15 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar15 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar15 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" ( (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar15 < 2)" ( (binary_expression "(uint)uVar15 < 2" (cast_expression "(uint)uVar15" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }" { (expression_statement "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" identifier = (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }" if (parenthesized_expression "(((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2))" ( (binary_expression "((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)" (parenthesized_expression "((int)((ulonglong)uVar15 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar15 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar15 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" ( (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar15 < 2)" ( (binary_expression "(uint)uVar15 < 2" (cast_expression "(uint)uVar15" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }" { (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0013e2dc;" goto statement_identifier ;) })) })) (expression_statement "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" identifier = (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }" if (parenthesized_expression "(((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2))" ( (binary_expression "((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)" (parenthesized_expression "((int)((ulonglong)uVar15 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar15 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar15 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" ( (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar15 < 2)" ( (binary_expression "(uint)uVar15 < 2" (cast_expression "(uint)uVar15" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }" { (labeled_statement "LAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" statement_identifier : (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" ( (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" * (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(7)" ( number_literal ))) ;)) (expression_statement "iVar8 = extraout_v1_00;" (assignment_expression "iVar8 = extraout_v1_00" identifier = identifier) ;) }) (else_clause "else {\n      iVar8 = 2;\n    }" else (compound_statement "{\n      iVar8 = 2;\n    }" { (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) }))) }))) (labeled_statement "LAB_0013e2dc:\n  piVar9 = local_38;" statement_identifier : (expression_statement "piVar9 = local_38;" (assignment_expression "piVar9 = local_38" identifier = identifier) ;)) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "local_38[1] = 0;" (assignment_expression "local_38[1] = 0" (subscript_expression "local_38[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_38[0] = 0;" (assignment_expression "local_38[0] = 0" (subscript_expression "local_38[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_38[2] = param_1;" (assignment_expression "local_38[2] = param_1" (subscript_expression "local_38[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_2c = param_2;" (assignment_expression "local_2c = param_2" identifier = identifier) ;) (expression_statement "local_28 = puVar4;" (assignment_expression "local_28 = puVar4" identifier = identifier) ;) (expression_statement "(*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);" (call_expression "(*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0)" (parenthesized_expression "(*(code *)PTR_GOMP_parallel_003a9198)" ( (pointer_expression "*(code *)PTR_GOMP_parallel_003a9198" * (cast_expression "(code *)PTR_GOMP_parallel_003a9198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0)" ( (binary_expression "PTR_LAB_003a8968 + -0x20c0" identifier + number_literal) , identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR_DestroyCacheView_003a8ef4)();" (call_expression "(*(code *)PTR_DestroyCacheView_003a8ef4)()" (parenthesized_expression "(*(code *)PTR_DestroyCacheView_003a8ef4)" ( (pointer_expression "*(code *)PTR_DestroyCacheView_003a8ef4" * (cast_expression "(code *)PTR_DestroyCacheView_003a8ef4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }" statement_identifier : (if_statement "if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar13)" ( (binary_expression "local_1c == *(int *)puVar13" identifier == (pointer_expression "*(int *)puVar13" * (cast_expression "(int *)puVar13" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar13;\n  }" { (return_statement "return *(int *)puVar13;" return (pointer_expression "*(int *)puVar13" * (cast_expression "(int *)puVar13" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "uVar14 = 0x13e4dc;" (assignment_expression "uVar14 = 0x13e4dc" identifier = number_literal) ;) (expression_statement "puVar13 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar13 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);" (assignment_expression "puVar12 = *(undefined4 **)(puVar13 + 0x26ad50)" identifier = (pointer_expression "*(undefined4 **)(puVar13 + 0x26ad50)" * (cast_expression "(undefined4 **)(puVar13 + 0x26ad50)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x26ad50)" ( (binary_expression "puVar13 + 0x26ad50" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = (undefined1 *)*puVar4;" (assignment_expression "puVar6 = (undefined1 *)*puVar4" identifier = (cast_expression "(undefined1 *)*puVar4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "iVar8 = *piVar9;" (assignment_expression "iVar8 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (expression_statement "puStack_74 = (undefined4 *)*puVar12;" (assignment_expression "puStack_74 = (undefined4 *)*puVar12" identifier = (cast_expression "(undefined4 *)*puVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar12" * identifier))) ;) (expression_statement "puVar11 = puVar6;" (assignment_expression "puVar11 = puVar6" identifier = identifier) ;) (expression_statement "piVar10 = &iStack_78;" (assignment_expression "piVar10 = &iStack_78" identifier = (pointer_expression "&iStack_78" & identifier)) ;) (expression_statement "uStack_6c = uVar14;" (assignment_expression "uStack_6c = uVar14" identifier = identifier) ;) (do_statement "do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);" do (compound_statement "{\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  }" { (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar11 + 1;" (assignment_expression "puVar7 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = puVar7;" (assignment_expression "*puVar4 = puVar7" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "uVar1 = *puVar11;" (assignment_expression "uVar1 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*piVar9 = iVar8;" (assignment_expression "*piVar9 = iVar8" (pointer_expression "*piVar9" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)piVar10 = uVar1;" (assignment_expression "*(undefined1 *)piVar10 = uVar1" (pointer_expression "*(undefined1 *)piVar10" * (cast_expression "(undefined1 *)piVar10" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "puVar11 = puVar7;" (assignment_expression "puVar11 = puVar7" identifier = identifier) ;) (expression_statement "piVar10 = (int *)((int)piVar10 + 1);" (assignment_expression "piVar10 = (int *)((int)piVar10 + 1)" identifier = (cast_expression "(int *)((int)piVar10 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar10 + 1)" ( (binary_expression "(int)piVar10 + 1" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(puVar7 != puVar6 + 4)" ( (binary_expression "puVar7 != puVar6 + 4" identifier != (binary_expression "puVar6 + 4" identifier + number_literal)) )) ;) (if_statement "if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }" if (parenthesized_expression "(puStack_74 != (undefined4 *)*puVar12)" ( (binary_expression "puStack_74 != (undefined4 *)*puVar12" identifier != (cast_expression "(undefined4 *)*puVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar12" * identifier))) )) (compound_statement "{\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }" { (expression_statement "(**(code **)(puVar13 + 0x26ab84))();" (call_expression "(**(code **)(puVar13 + 0x26ab84))()" (parenthesized_expression "(**(code **)(puVar13 + 0x26ab84))" ( (pointer_expression "**(code **)(puVar13 + 0x26ab84)" * (pointer_expression "*(code **)(puVar13 + 0x26ab84)" * (cast_expression "(code **)(puVar13 + 0x26ab84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x26ab84)" ( (binary_expression "puVar13 + 0x26ab84" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "puVar11 = (undefined1 *)*puStack_74;" (assignment_expression "puVar11 = (undefined1 *)*puStack_74" identifier = (cast_expression "(undefined1 *)*puStack_74" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puStack_74" * identifier))) ;) (expression_statement "iVar8 = *piVar9;" (assignment_expression "iVar8 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (expression_statement "*puStack_74 = puVar11 + 1;" (assignment_expression "*puStack_74 = puVar11 + 1" (pointer_expression "*puStack_74" * identifier) = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "uVar1 = *puVar11;" (assignment_expression "uVar1 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*piVar9 = iVar8 + -1;" (assignment_expression "*piVar9 = iVar8 + -1" (pointer_expression "*piVar9" * identifier) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "*puStack_74 = puVar11 + 2;" (assignment_expression "*puStack_74 = puVar11 + 2" (pointer_expression "*puStack_74" * identifier) = (binary_expression "puVar11 + 2" identifier + number_literal)) ;) (expression_statement "uVar2 = puVar11[1];" (assignment_expression "uVar2 = puVar11[1]" identifier = (subscript_expression "puVar11[1]" identifier [ number_literal ])) ;) (expression_statement "*piVar9 = iVar8 + -2;" (assignment_expression "*piVar9 = iVar8 + -2" (pointer_expression "*piVar9" * identifier) = (binary_expression "iVar8 + -2" identifier + number_literal)) ;) (return_statement "return (int)CONCAT11(uVar1,uVar2);" return (cast_expression "(int)CONCAT11(uVar1,uVar2)" ( (type_descriptor "int" primitive_type) ) (call_expression "CONCAT11(uVar1,uVar2)" identifier (argument_list "(uVar1,uVar2)" ( identifier , identifier )))) ;) })) (return_statement "return iStack_78;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 ))) ;) })) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) , (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) )))) )) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT >> LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT ^ LIT) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) })) }) (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 ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 ( (binary_expression IDENT + LIT) , IDENT , IDENT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }))) (expression_statement (assignment_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 ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (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 ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int GetImageTotalInkDensity(int param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  undefined4 *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  undefined8 uVar15;\n  int iStack_78;\n  undefined4 *puStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  int local_4c;\n  int local_38 [3];\n  undefined4 *local_2c;\n  undefined4 *local_28;\n  undefined4 local_24;\n  int local_1c;\n  \n  puVar13 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar9 = local_38;\n  local_24 = 1;\n  local_38[1] = 0;\n  local_38[0] = 0;\n  local_38[2] = param_1;\n  local_2c = param_2;\n  local_28 = puVar4;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }\n  uVar14 = 0x13e4dc;\n  puVar13 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);\n  puVar6 = (undefined1 *)*puVar4;\n  iVar8 = *piVar9;\n  puStack_74 = (undefined4 *)*puVar12;\n  puVar11 = puVar6;\n  piVar10 = &iStack_78;\n  uStack_6c = uVar14;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);\n  if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }\n  return iStack_78;\n}" (primitive_type "int") (function_declarator "GetImageTotalInkDensity(int param_1,undefined4 *param_2)" (identifier "GetImageTotalInkDensity") (parameter_list "(int param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int extraout_v1;\n  int extraout_v1_00;\n  int extraout_v1_01;\n  int extraout_v1_02;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  undefined1 *puVar11;\n  undefined4 *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  undefined8 uVar15;\n  int iStack_78;\n  undefined4 *puStack_74;\n  undefined4 uStack_6c;\n  undefined *local_58;\n  undefined *local_54;\n  undefined *local_50;\n  int local_4c;\n  int local_38 [3];\n  undefined4 *local_2c;\n  undefined4 *local_28;\n  undefined4 local_24;\n  int local_1c;\n  \n  puVar13 = PTR___stack_chk_guard_003a9230;\n  local_1c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }\n  if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }\n  if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);\n  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);\n  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }\nLAB_0013e2dc:\n  piVar9 = local_38;\n  local_24 = 1;\n  local_38[1] = 0;\n  local_38[0] = 0;\n  local_38[2] = param_1;\n  local_2c = param_2;\n  local_28 = puVar4;\n  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);\n  (*(code *)PTR_DestroyCacheView_003a8ef4)();\nLAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }\n  uVar14 = 0x13e4dc;\n  puVar13 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);\n  puVar6 = (undefined1 *)*puVar4;\n  iVar8 = *piVar9;\n  puStack_74 = (undefined4 *)*puVar12;\n  puVar11 = puVar6;\n  piVar10 = &iStack_78;\n  uStack_6c = uVar14;\n  do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);\n  if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }\n  return iStack_78;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int extraout_v1;" (primitive_type "int") (identifier "extraout_v1") (; ";")) (declaration "int extraout_v1_00;" (primitive_type "int") (identifier "extraout_v1_00") (; ";")) (declaration "int extraout_v1_01;" (primitive_type "int") (identifier "extraout_v1_01") (; ";")) (declaration "int extraout_v1_02;" (primitive_type "int") (identifier "extraout_v1_02") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "undefined1 *puVar11;" (type_identifier "undefined1") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "undefined4 *puVar12;" (type_identifier "undefined4") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "undefined *puVar13;" (type_identifier "undefined") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "undefined4 uVar14;" (type_identifier "undefined4") (identifier "uVar14") (; ";")) (declaration "undefined8 uVar15;" (type_identifier "undefined8") (identifier "uVar15") (; ";")) (declaration "int iStack_78;" (primitive_type "int") (identifier "iStack_78") (; ";")) (declaration "undefined4 *puStack_74;" (type_identifier "undefined4") (pointer_declarator "*puStack_74" (* "*") (identifier "puStack_74")) (; ";")) (declaration "undefined4 uStack_6c;" (type_identifier "undefined4") (identifier "uStack_6c") (; ";")) (declaration "undefined *local_58;" (type_identifier "undefined") (pointer_declarator "*local_58" (* "*") (identifier "local_58")) (; ";")) (declaration "undefined *local_54;" (type_identifier "undefined") (pointer_declarator "*local_54" (* "*") (identifier "local_54")) (; ";")) (declaration "undefined *local_50;" (type_identifier "undefined") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "int local_4c;" (primitive_type "int") (identifier "local_4c") (; ";")) (declaration "int local_38 [3];" (primitive_type "int") (array_declarator "local_38 [3]" (identifier "local_38") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 *local_2c;" (type_identifier "undefined4") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (declaration "undefined4 *local_28;" (type_identifier "undefined4") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (expression_statement "puVar13 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar13 = PTR___stack_chk_guard_003a9230" (identifier "puVar13") (= "=") (identifier "PTR___stack_chk_guard_003a9230")) (; ";")) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_003a9230" (identifier "local_1c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_003a9230" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_003a9230")))) (; ";")) (if_statement "if (param_1 == 0) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" ({ "{") (expression_statement "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48);" (assignment_expression "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,\n                       PTR_s_t_to_left_003a88e4 + 0x3e48)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0xdd0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xdd0")) (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "0x3e10")) (, ",") (number_literal "0x65") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e48" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "0x3e48")) () ")")))) (; ";")) (return_statement "return iVar8;" (return "return") (identifier "iVar8") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3350) != 0) {\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3350) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x3350) != 0" (pointer_expression "*(int *)(param_1 + 0x3350)" (* "*") (cast_expression "(int *)(param_1 + 0x3350)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3350)" (( "(") (binary_expression "param_1 + 0x3350" (identifier "param_1") (+ "+") (number_literal "0x3350")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);\n  }" ({ "{") (expression_statement "local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;" (assignment_expression "local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec" (identifier "local_58") (= "=") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x1fec"))) (; ";")) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" (( "(") (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" (* "*") (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LogMagickEvent_003a91e0"))) () ")")) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "0x3e10")) (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e30" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "0x3e30")) (, ",") (number_literal "0x67") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x336c) != -0x54535255) {\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x336c) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x336c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x336c)" (* "*") (cast_expression "(int *)(param_1 + 0x336c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x336c)" (( "(") (binary_expression "param_1 + 0x336c" (identifier "param_1") (+ "+") (number_literal "0x336c")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);\n    return iVar8;\n  }" ({ "{") (expression_statement "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);" (assignment_expression "iVar8 = (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x3784")) (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "0x3e10")) (, ",") (number_literal "0x68") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e48" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "0x3e48")) () ")")))) (; ";")) (return_statement "return iVar8;" (return "return") (identifier "iVar8") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 4) != 2) {\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 4) != 2)" (( "(") (binary_expression "*(int *)(param_1 + 4) != 2" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n    local_4c = param_1 + 0x340;\n    local_50 = PTR_LAB_003a88e0 + 0x3e28;\n    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);\n    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;\n    local_58 = (undefined *)0x1d1;\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);\n    puVar4 = param_2;\n    goto LAB_0013e23c;\n  }" ({ "{") (expression_statement "local_4c = param_1 + 0x340;" (assignment_expression "local_4c = param_1 + 0x340" (identifier "local_4c") (= "=") (binary_expression "param_1 + 0x340" (identifier "param_1") (+ "+") (number_literal "0x340"))) (; ";")) (expression_statement "local_50 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "local_50 = PTR_LAB_003a88e0 + 0x3e28" (identifier "local_50") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";")) (expression_statement "piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);" (assignment_expression "piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10)" (identifier "piVar9") (= "=") (cast_expression "(int *)(PTR_s_t_to_left_003a88e4 + 0x3e10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_t_to_left_003a88e4 + 0x3e10)" (( "(") (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e10" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "0x3e10")) () ")")))) (; ";")) (expression_statement "local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;" (assignment_expression "local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00" (identifier "local_54") (= "=") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "0x6b00"))) (; ";")) (expression_statement "local_58 = (undefined *)0x1d1;" (assignment_expression "local_58 = (undefined *)0x1d1" (identifier "local_58") (= "=") (cast_expression "(undefined *)0x1d1" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1d1"))) (; ";")) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b)" (( "(") (identifier "param_2") (, ",") (identifier "piVar9") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3e30" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "0x3e30")) (, ",") (number_literal "0x6b") () ")"))) (; ";")) (expression_statement "puVar4 = param_2;" (assignment_expression "puVar4 = param_2" (identifier "puVar4") (= "=") (identifier "param_2")) (; ";")) (goto_statement "goto LAB_0013e23c;" (goto "goto") (statement_identifier "LAB_0013e23c") (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireVirtualCacheView_003a9754)" (( "(") (pointer_expression "*(code *)PTR_AcquireVirtualCacheView_003a9754" (* "*") (cast_expression "(code *)PTR_AcquireVirtualCacheView_003a9754" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireVirtualCacheView_003a9754"))) () ")")) (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))))) (; ";")) (expression_statement "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" (( "(") (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" (* "*") (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetImagePixelCacheType_003a94b4"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }\n  else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" (if "if") (parenthesized_expression "(((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3))))" (( "(") (binary_expression "((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))" (parenthesized_expression "((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)\n      )" (( "(") (binary_expression "(iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (parenthesized_expression "(iVar8 == 4)" (( "(") (binary_expression "iVar8 == 4" (identifier "iVar8") (== "==") (number_literal "4")) () ")")) (|| "||") (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (( "(") (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" (( "(") (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" (* "*") (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetImagePixelCacheType_003a94b4"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar8 == 3" (identifier "iVar8") (== "==") (number_literal "3"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))" (( "(") (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3))" (( "(") (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" (( "(") (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" (* "*") (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetImagePixelCacheType_003a94b4"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar8 == 4 ||\n            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (binary_expression "iVar8 == 4" (identifier "iVar8") (== "==") (number_literal "4")) (|| "||") (parenthesized_expression "(iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)" (( "(") (comma_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3" (assignment_expression "iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1)" (parenthesized_expression "(*(code *)PTR_GetImagePixelCacheType_003a94b4)" (( "(") (pointer_expression "*(code *)PTR_GetImagePixelCacheType_003a94b4" (* "*") (cast_expression "(code *)PTR_GetImagePixelCacheType_003a94b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetImagePixelCacheType_003a94b4"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar8 == 3" (identifier "iVar8") (== "==") (number_literal "3"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    iVar5 = *(int *)(param_1 + 0x1c);\n    iVar8 = iVar5;\n    if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }\n    if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }\n    iVar8 = 1;\n    if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }\n  }" ({ "{") (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" (( "(") (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" (* "*") (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetMagickResourceLimit_003a913c"))) () ")")) (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (expression_statement "iVar5 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x1c)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar8 = iVar5;" (assignment_expression "iVar8 = iVar5" (identifier "iVar8") (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (iVar5 < 0) {\n      iVar8 = iVar5 + 0x3f;\n    }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar8 = iVar5 + 0x3f;\n    }" ({ "{") (expression_statement "iVar8 = iVar5 + 0x3f;" (assignment_expression "iVar8 = iVar5 + 0x3f" (identifier "iVar8") (= "=") (binary_expression "iVar5 + 0x3f" (identifier "iVar5") (+ "+") (number_literal "0x3f"))) (; ";")) (} "}"))) (if_statement "if (extraout_v1 < iVar8 >> 6) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }\n    else {\n      bVar3 = iVar5 < 0x80;\n    }" (if "if") (parenthesized_expression "(extraout_v1 < iVar8 >> 6)" (( "(") (binary_expression "extraout_v1 < iVar8 >> 6" (identifier "extraout_v1") (< "<") (binary_expression "iVar8 >> 6" (identifier "iVar8") (>> ">>") (number_literal "6"))) () ")")) (compound_statement "{\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      bVar3 = extraout_v1_02 < 2;\n    }" ({ "{") (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" (( "(") (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" (* "*") (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetMagickResourceLimit_003a913c"))) () ")")) (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (expression_statement "bVar3 = extraout_v1_02 < 2;" (assignment_expression "bVar3 = extraout_v1_02 < 2" (identifier "bVar3") (= "=") (binary_expression "extraout_v1_02 < 2" (identifier "extraout_v1_02") (< "<") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else {\n      bVar3 = iVar5 < 0x80;\n    }" (else "else") (compound_statement "{\n      bVar3 = iVar5 < 0x80;\n    }" ({ "{") (expression_statement "bVar3 = iVar5 < 0x80;" (assignment_expression "bVar3 = iVar5 < 0x80" (identifier "bVar3") (= "=") (binary_expression "iVar5 < 0x80" (identifier "iVar5") (< "<") (number_literal "0x80"))) (; ";")) (} "}")))) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" (identifier "iVar8") (= "=") (number_literal "1")) (; ";")) (if_statement "if ((bool)(bVar3 ^ 1)) {\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }" (if "if") (parenthesized_expression "((bool)(bVar3 ^ 1))" (( "(") (cast_expression "(bool)(bVar3 ^ 1)" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (parenthesized_expression "(bVar3 ^ 1)" (( "(") (binary_expression "bVar3 ^ 1" (identifier "bVar3") (^ "^") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = *(int *)(param_1 + 0x1c);\n      if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }\n      iVar8 = iVar8 >> 6;\n      if (extraout_v1_01 < iVar8) goto LAB_0013e428;\n    }" ({ "{") (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" (( "(") (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" (* "*") (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetMagickResourceLimit_003a913c"))) () ")")) (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (expression_statement "iVar8 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x1c)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar8 < 0) {\n        iVar8 = iVar8 + 0x3f;\n      }" (if "if") (parenthesized_expression "(iVar8 < 0)" (( "(") (binary_expression "iVar8 < 0" (identifier "iVar8") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        iVar8 = iVar8 + 0x3f;\n      }" ({ "{") (expression_statement "iVar8 = iVar8 + 0x3f;" (assignment_expression "iVar8 = iVar8 + 0x3f" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 0x3f" (identifier "iVar8") (+ "+") (number_literal "0x3f"))) (; ";")) (} "}"))) (expression_statement "iVar8 = iVar8 >> 6;" (assignment_expression "iVar8 = iVar8 >> 6" (identifier "iVar8") (= "=") (binary_expression "iVar8 >> 6" (identifier "iVar8") (>> ">>") (number_literal "6"))) (; ";")) (if_statement "if (extraout_v1_01 < iVar8) goto LAB_0013e428;" (if "if") (parenthesized_expression "(extraout_v1_01 < iVar8)" (( "(") (binary_expression "extraout_v1_01 < iVar8" (identifier "extraout_v1_01") (< "<") (identifier "iVar8")) () ")")) (goto_statement "goto LAB_0013e428;" (goto "goto") (statement_identifier "LAB_0013e428") (; ";"))) (} "}"))) (} "}")) (else_clause "else {\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" (else "else") (compound_statement "{\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }\n    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }\n  }" ({ "{") (expression_statement "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (identifier "uVar15") (= "=") (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" (( "(") (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" (* "*") (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetMagickResourceLimit_003a913c"))) () ")")) (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)" (parenthesized_expression "((int)((ulonglong)uVar15 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar15 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar15 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar15")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar15 < 2)" (( "(") (binary_expression "(uint)uVar15 < 2" (cast_expression "(uint)uVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar15")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }\n    }" ({ "{") (expression_statement "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (identifier "uVar15") (= "=") (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" (( "(") (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" (* "*") (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetMagickResourceLimit_003a913c"))) () ")")) (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)" (parenthesized_expression "((int)((ulonglong)uVar15 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar15 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar15 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar15")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar15 < 2)" (( "(") (binary_expression "(uint)uVar15 < 2" (cast_expression "(uint)uVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar15")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n        iVar8 = 1;\n        goto LAB_0013e2dc;\n      }" ({ "{") (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" (identifier "iVar8") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_0013e2dc;" (goto "goto") (statement_identifier "LAB_0013e2dc") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (assignment_expression "uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (identifier "uVar15") (= "=") (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" (( "(") (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" (* "*") (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetMagickResourceLimit_003a913c"))) () ")")) (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }\n    else {\n      iVar8 = 2;\n    }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)" (parenthesized_expression "((int)((ulonglong)uVar15 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar15 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar15 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar15")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar15 < 2)" (( "(") (binary_expression "(uint)uVar15 < 2" (cast_expression "(uint)uVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar15")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\nLAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);\n      iVar8 = extraout_v1_00;\n    }" ({ "{") (labeled_statement "LAB_0013e428:\n      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (statement_identifier "LAB_0013e428") (: ":") (expression_statement "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7);" (call_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)(7)" (parenthesized_expression "(*(code *)PTR_GetMagickResourceLimit_003a913c)" (( "(") (pointer_expression "*(code *)PTR_GetMagickResourceLimit_003a913c" (* "*") (cast_expression "(code *)PTR_GetMagickResourceLimit_003a913c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetMagickResourceLimit_003a913c"))) () ")")) (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";"))) (expression_statement "iVar8 = extraout_v1_00;" (assignment_expression "iVar8 = extraout_v1_00" (identifier "iVar8") (= "=") (identifier "extraout_v1_00")) (; ";")) (} "}")) (else_clause "else {\n      iVar8 = 2;\n    }" (else "else") (compound_statement "{\n      iVar8 = 2;\n    }" ({ "{") (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" (identifier "iVar8") (= "=") (number_literal "2")) (; ";")) (} "}")))) (} "}")))) (labeled_statement "LAB_0013e2dc:\n  piVar9 = local_38;" (statement_identifier "LAB_0013e2dc") (: ":") (expression_statement "piVar9 = local_38;" (assignment_expression "piVar9 = local_38" (identifier "piVar9") (= "=") (identifier "local_38")) (; ";"))) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" (identifier "local_24") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_38[1] = 0;" (assignment_expression "local_38[1] = 0" (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38[0] = 0;" (assignment_expression "local_38[0] = 0" (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38[2] = param_1;" (assignment_expression "local_38[2] = param_1" (subscript_expression "local_38[2]" (identifier "local_38") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "local_2c = param_2;" (assignment_expression "local_2c = param_2" (identifier "local_2c") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_28 = puVar4;" (assignment_expression "local_28 = puVar4" (identifier "local_28") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "(*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);" (call_expression "(*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0)" (parenthesized_expression "(*(code *)PTR_GOMP_parallel_003a9198)" (( "(") (pointer_expression "*(code *)PTR_GOMP_parallel_003a9198" (* "*") (cast_expression "(code *)PTR_GOMP_parallel_003a9198" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GOMP_parallel_003a9198"))) () ")")) (argument_list "(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0)" (( "(") (binary_expression "PTR_LAB_003a8968 + -0x20c0" (identifier "PTR_LAB_003a8968") (+ "+") (number_literal "-0x20c0")) (, ",") (identifier "piVar9") (, ",") (identifier "iVar8") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyCacheView_003a8ef4)();" (call_expression "(*(code *)PTR_DestroyCacheView_003a8ef4)()" (parenthesized_expression "(*(code *)PTR_DestroyCacheView_003a8ef4)" (( "(") (pointer_expression "*(code *)PTR_DestroyCacheView_003a8ef4" (* "*") (cast_expression "(code *)PTR_DestroyCacheView_003a8ef4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyCacheView_003a8ef4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_0013e23c:\n  if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }" (statement_identifier "LAB_0013e23c") (: ":") (if_statement "if (local_1c == *(int *)puVar13) {\n    return *(int *)puVar13;\n  }" (if "if") (parenthesized_expression "(local_1c == *(int *)puVar13)" (( "(") (binary_expression "local_1c == *(int *)puVar13" (identifier "local_1c") (== "==") (pointer_expression "*(int *)puVar13" (* "*") (cast_expression "(int *)puVar13" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar13")))) () ")")) (compound_statement "{\n    return *(int *)puVar13;\n  }" ({ "{") (return_statement "return *(int *)puVar13;" (return "return") (pointer_expression "*(int *)puVar13" (* "*") (cast_expression "(int *)puVar13" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar13"))) (; ";")) (} "}")))) (expression_statement "uVar14 = 0x13e4dc;" (assignment_expression "uVar14 = 0x13e4dc" (identifier "uVar14") (= "=") (number_literal "0x13e4dc")) (; ";")) (expression_statement "puVar13 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar13 = PTR___stack_chk_fail_003a9064" (identifier "puVar13") (= "=") (identifier "PTR___stack_chk_fail_003a9064")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_003a9064" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_003a9064"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);" (assignment_expression "puVar12 = *(undefined4 **)(puVar13 + 0x26ad50)" (identifier "puVar12") (= "=") (pointer_expression "*(undefined4 **)(puVar13 + 0x26ad50)" (* "*") (cast_expression "(undefined4 **)(puVar13 + 0x26ad50)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0x26ad50)" (( "(") (binary_expression "puVar13 + 0x26ad50" (identifier "puVar13") (+ "+") (number_literal "0x26ad50")) () ")"))))) (; ";")) (expression_statement "puVar6 = (undefined1 *)*puVar4;" (assignment_expression "puVar6 = (undefined1 *)*puVar4" (identifier "puVar6") (= "=") (cast_expression "(undefined1 *)*puVar4" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "iVar8 = *piVar9;" (assignment_expression "iVar8 = *piVar9" (identifier "iVar8") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (expression_statement "puStack_74 = (undefined4 *)*puVar12;" (assignment_expression "puStack_74 = (undefined4 *)*puVar12" (identifier "puStack_74") (= "=") (cast_expression "(undefined4 *)*puVar12" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar12" (* "*") (identifier "puVar12")))) (; ";")) (expression_statement "puVar11 = puVar6;" (assignment_expression "puVar11 = puVar6" (identifier "puVar11") (= "=") (identifier "puVar6")) (; ";")) (expression_statement "piVar10 = &iStack_78;" (assignment_expression "piVar10 = &iStack_78" (identifier "piVar10") (= "=") (pointer_expression "&iStack_78" (& "&") (identifier "iStack_78"))) (; ";")) (expression_statement "uStack_6c = uVar14;" (assignment_expression "uStack_6c = uVar14" (identifier "uStack_6c") (= "=") (identifier "uVar14")) (; ";")) (do_statement "do {\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  } while (puVar7 != puVar6 + 4);" (do "do") (compound_statement "{\n    iVar8 = iVar8 + -1;\n    puVar7 = puVar11 + 1;\n    *puVar4 = puVar7;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8;\n    *(undefined1 *)piVar10 = uVar1;\n    puVar11 = puVar7;\n    piVar10 = (int *)((int)piVar10 + 1);\n  }" ({ "{") (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar7 = puVar11 + 1;" (assignment_expression "puVar7 = puVar11 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar4 = puVar7;" (assignment_expression "*puVar4 = puVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "puVar7")) (; ";")) (expression_statement "uVar1 = *puVar11;" (assignment_expression "uVar1 = *puVar11" (identifier "uVar1") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "*piVar9 = iVar8;" (assignment_expression "*piVar9 = iVar8" (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "*(undefined1 *)piVar10 = uVar1;" (assignment_expression "*(undefined1 *)piVar10 = uVar1" (pointer_expression "*(undefined1 *)piVar10" (* "*") (cast_expression "(undefined1 *)piVar10" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "piVar10"))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "puVar11 = puVar7;" (assignment_expression "puVar11 = puVar7" (identifier "puVar11") (= "=") (identifier "puVar7")) (; ";")) (expression_statement "piVar10 = (int *)((int)piVar10 + 1);" (assignment_expression "piVar10 = (int *)((int)piVar10 + 1)" (identifier "piVar10") (= "=") (cast_expression "(int *)((int)piVar10 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar10 + 1)" (( "(") (binary_expression "(int)piVar10 + 1" (cast_expression "(int)piVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar10")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar7 != puVar6 + 4)" (( "(") (binary_expression "puVar7 != puVar6 + 4" (identifier "puVar7") (!= "!=") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4"))) () ")")) (; ";")) (if_statement "if (puStack_74 != (undefined4 *)*puVar12) {\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }" (if "if") (parenthesized_expression "(puStack_74 != (undefined4 *)*puVar12)" (( "(") (binary_expression "puStack_74 != (undefined4 *)*puVar12" (identifier "puStack_74") (!= "!=") (cast_expression "(undefined4 *)*puVar12" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar12" (* "*") (identifier "puVar12")))) () ")")) (compound_statement "{\n    (**(code **)(puVar13 + 0x26ab84))();\n    puVar11 = (undefined1 *)*puStack_74;\n    iVar8 = *piVar9;\n    *puStack_74 = puVar11 + 1;\n    uVar1 = *puVar11;\n    *piVar9 = iVar8 + -1;\n    *puStack_74 = puVar11 + 2;\n    uVar2 = puVar11[1];\n    *piVar9 = iVar8 + -2;\n    return (int)CONCAT11(uVar1,uVar2);\n  }" ({ "{") (expression_statement "(**(code **)(puVar13 + 0x26ab84))();" (call_expression "(**(code **)(puVar13 + 0x26ab84))()" (parenthesized_expression "(**(code **)(puVar13 + 0x26ab84))" (( "(") (pointer_expression "**(code **)(puVar13 + 0x26ab84)" (* "*") (pointer_expression "*(code **)(puVar13 + 0x26ab84)" (* "*") (cast_expression "(code **)(puVar13 + 0x26ab84)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0x26ab84)" (( "(") (binary_expression "puVar13 + 0x26ab84" (identifier "puVar13") (+ "+") (number_literal "0x26ab84")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar11 = (undefined1 *)*puStack_74;" (assignment_expression "puVar11 = (undefined1 *)*puStack_74" (identifier "puVar11") (= "=") (cast_expression "(undefined1 *)*puStack_74" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puStack_74" (* "*") (identifier "puStack_74")))) (; ";")) (expression_statement "iVar8 = *piVar9;" (assignment_expression "iVar8 = *piVar9" (identifier "iVar8") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (expression_statement "*puStack_74 = puVar11 + 1;" (assignment_expression "*puStack_74 = puVar11 + 1" (pointer_expression "*puStack_74" (* "*") (identifier "puStack_74")) (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar1 = *puVar11;" (assignment_expression "uVar1 = *puVar11" (identifier "uVar1") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "*piVar9 = iVar8 + -1;" (assignment_expression "*piVar9 = iVar8 + -1" (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*puStack_74 = puVar11 + 2;" (assignment_expression "*puStack_74 = puVar11 + 2" (pointer_expression "*puStack_74" (* "*") (identifier "puStack_74")) (= "=") (binary_expression "puVar11 + 2" (identifier "puVar11") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "uVar2 = puVar11[1];" (assignment_expression "uVar2 = puVar11[1]" (identifier "uVar2") (= "=") (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*piVar9 = iVar8 + -2;" (assignment_expression "*piVar9 = iVar8 + -2" (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (= "=") (binary_expression "iVar8 + -2" (identifier "iVar8") (+ "+") (number_literal "-2"))) (; ";")) (return_statement "return (int)CONCAT11(uVar1,uVar2);" (return "return") (cast_expression "(int)CONCAT11(uVar1,uVar2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "CONCAT11(uVar1,uVar2)" (identifier "CONCAT11") (argument_list "(uVar1,uVar2)" (( "(") (identifier "uVar1") (, ",") (identifier "uVar2") () ")")))) (; ";")) (} "}"))) (return_statement "return iStack_78;" (return "return") (identifier "iStack_78") (; ";")) (} "}")))

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

double function_1(type_1 *var_1,type_2 *exception)

{
  type_3 uVar1;
  bool var_11;
  type_2 *pEVar3;
  size_t var_8;
  type_3 *var_21;
  type_3 *var_20;
  int var_9;
  int extraout_v1_00;
  int var_13;
  int var_10;
  int var_7;
  size_t var_12;
  int *piVar10;
  type_3 *var_19;
  int var_23;
  type_4 *puVar13;
  type_5 *var_17;
  type_4 uVar15;
  double dVar16;
  type_6 uVar17;
  type_3 auStack_78 [4];
  int *var_22;
  type_4 uStack_6c;
  type_5 *local_58;
  type_5 *local_54;
  type_5 *local_50;
  char *local_4c;
  int local_38;
  type_4 uStack_34;
  type_1 *local_30;
  type_2 *local_2c;
  type_2 *local_28;
  int local_24;
  int var_16;
  type_3 *var_18;
  
  var_17 = PTR___stack_chk_guard_003a9230;
  var_16 = *(int *)PTR___stack_chk_guard_003a9230;
  if (var_1 == (type_1 *)0x0) {
    dVar16 = (double)(*(type_7 *)PTR___assert_fail_003a9608)
                               (var_2 + 0xdd0,var_3 + 0x3e10,0x65,
                                var_3 + 0x3e48);
    return dVar16;
  }
  if (var_1->debug != var_4) {
    local_58 = var_5 + -0x1fec;
    (*(type_7 *)PTR_LogMagickEvent_003a91e0)
              (0x8000,var_3 + 0x3e10,var_3 + 0x3e30,0x67);
  }
  if (var_1->signature != 0xabacadab) {
    dVar16 = (double)(*(type_7 *)PTR___assert_fail_003a9608)
                               (var_5 + -0x3784,
                                var_3 + 0x3e10,0x68,
                                var_3 + 0x3e48);
    return dVar16;
  }
  if (var_1->colorspace != var_6) {
    local_4c = var_1->filename;
    local_50 = var_2 + 0x3e28;
    piVar10 = (int *)(var_3 + 0x3e10);
    local_54 = var_5 + 0x6b00;
    local_58 = (type_5 *)0x1d1;
    (*(type_7 *)PTR_ThrowMagickException_003a8f20)
              (exception,piVar10,var_3 + 0x3e30,0x6b);
    dVar16 = 0.0;
    pEVar3 = exception;
    goto LAB_0013e23c;
  }
  pEVar3 = (type_2 *)(*(type_7 *)PTR_AcquireVirtualCacheView_003a9754)(var_1,exception);
  var_7 = (*(type_7 *)PTR_GetImagePixelCacheType_003a94b4)(var_1);
  if (((var_7 == 4) || (var_7 = (*(type_7 *)PTR_GetImagePixelCacheType_003a94b4)(var_1), var_7 == 3))
     && ((var_7 = (*(type_7 *)PTR_GetImagePixelCacheType_003a94b4)(var_1), var_7 == 4 ||
         (var_7 = (*(type_7 *)PTR_GetImagePixelCacheType_003a94b4)(var_1), var_7 == 3)))) {
    (*(type_7 *)PTR_GetMagickResourceLimit_003a913c)(7);
    var_8 = var_1->rows;
    var_12 = var_8;
    if ((int)var_8 < 0) {
      var_12 = var_8 + 0x3f;
    }
    if (var_9 < (int)var_12 >> 6) {
      (*(type_7 *)PTR_GetMagickResourceLimit_003a913c)(7);
      var_11 = var_10 < 2;
    }
    else {
      var_11 = (int)var_8 < 0x80;
    }
    var_7 = 1;
    if ((bool)(var_11 ^ 1)) {
      (*(type_7 *)PTR_GetMagickResourceLimit_003a913c)(7);
      var_12 = var_1->rows;
      if ((int)var_12 < 0) {
        var_12 = var_12 + 0x3f;
      }
      var_7 = (int)var_12 >> 6;
      if (var_13 < var_7) goto LAB_0013e428;
    }
  }
  else {
    uVar17 = (*(type_7 *)PTR_GetMagickResourceLimit_003a913c)(7);
    if (((int)((type_8)uVar17 >> 0x20) == 0) && ((type_9)uVar17 < 2)) {
      uVar17 = (*(type_7 *)PTR_GetMagickResourceLimit_003a913c)(7);
      if (((int)((type_8)uVar17 >> 0x20) == 0) && ((type_9)uVar17 < 2)) {
        var_7 = 1;
        goto LAB_0013e2dc;
      }
    }
    uVar17 = (*(type_7 *)PTR_GetMagickResourceLimit_003a913c)(7);
    if (((int)((type_8)uVar17 >> 0x20) == 0) && ((type_9)uVar17 < 2)) {
LAB_0013e428:
      (*(type_7 *)PTR_GetMagickResourceLimit_003a913c)(7);
      var_7 = extraout_v1_00;
    }
    else {
      var_7 = 2;
    }
  }
LAB_0013e2dc:
  piVar10 = &local_38;
  local_24 = 1;
  uStack_34 = 0;
  local_38 = 0;
  local_30 = var_1;
  local_2c = exception;
  local_28 = pEVar3;
  (*(type_7 *)PTR_GOMP_parallel_003a9198)(var_14 + -0x20c0,piVar10,var_7,0);
  var_7 = local_24;
  dVar16 = (double)var_15(local_38,uStack_34);
  (*(type_7 *)PTR_DestroyCacheView_003a8ef4)();
  if (var_7 == 0) {
    dVar16 = 0.0;
  }
LAB_0013e23c:
  if (var_16 == *(int *)var_17) {
    return dVar16;
  }
  uVar15 = 0x13e4dc;
  var_17 = PTR___stack_chk_fail_003a9064;
  dVar16 = (double)(*(type_7 *)PTR___stack_chk_fail_003a9064)();
  puVar13 = *(type_4 **)(var_17 + 0x26ad50);
  var_21 = (type_3 *)pEVar3->severity;
  var_7 = *piVar10;
  var_22 = (int *)*puVar13;
  var_18 = var_21;
  var_19 = auStack_78;
  uStack_6c = uVar15;
  do {
    var_7 = var_7 + -1;
    var_20 = var_18 + 1;
    pEVar3->severity = (type_10)var_20;
    uVar1 = *var_18;
    *piVar10 = var_7;
    *var_19 = uVar1;
    var_18 = var_20;
    var_19 = var_19 + 1;
  } while (var_20 != var_21 + 4);
  if (var_22 != (int *)*puVar13) {
    dVar16 = (double)(**(type_7 **)(var_17 + 0x26ab84))();
    var_23 = *var_22;
    var_7 = *piVar10;
    *var_22 = var_23 + 1;
    *piVar10 = var_7 + -1;
    *var_22 = var_23 + 2;
    *piVar10 = var_7 + -2;
    return dVar16;
  }
  return dVar16;
}


(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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator 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))) (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: (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))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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)))))) (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (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)))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (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)))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (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)))) right: (binary_expression left: (identifier) right: (number_literal)))))))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (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: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))))) 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 (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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 (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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 (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (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))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (expression_statement (assignment_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))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (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: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (pointer_expression argument: (identifier))))) 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))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (cast_expression type: (type_descriptor type: (primitive_type)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))))) (return_statement (identifier)))))

int MASKED(int param_1,undefined4 *param_2)

{
  undefined1 uVar1;
  undefined1 uVar2;
  bool bVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  int extraout_v1;
  int extraout_v1_00;
  int extraout_v1_01;
  int extraout_v1_02;
  int iVar8;
  int *piVar9;
  int *piVar10;
  undefined1 *puVar11;
  undefined4 *puVar12;
  undefined *puVar13;
  undefined4 uVar14;
  undefined8 uVar15;
  int iStack_78;
  undefined4 *puStack_74;
  undefined4 uStack_6c;
  undefined *local_58;
  undefined *local_54;
  undefined *local_50;
  int local_4c;
  int local_38 [3];
  undefined4 *local_2c;
  undefined4 *local_28;
  undefined4 local_24;
  int local_1c;
  
  puVar13 = PTR___stack_chk_guard_003a9230;
  local_1c = *(int *)PTR___stack_chk_guard_003a9230;
  if (param_1 == 0) {
    iVar8 = (*(code *)PTR___assert_fail_003a9608)
                      (PTR_LAB_003a88e0 + 0xdd0,PTR_s_t_to_left_003a88e4 + 0x3e10,0x65,
                       PTR_s_t_to_left_003a88e4 + 0x3e48);
    return iVar8;
  }
  if (*(int *)(param_1 + 0x3350) != 0) {
    local_58 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1fec;
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_t_to_left_003a88e4 + 0x3e10,PTR_s_t_to_left_003a88e4 + 0x3e30,0x67);
  }
  if (*(int *)(param_1 + 0x336c) != -0x54535255) {
    iVar8 = (*(code *)PTR___assert_fail_003a9608)
                      (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,
                       PTR_s_t_to_left_003a88e4 + 0x3e10,0x68,PTR_s_t_to_left_003a88e4 + 0x3e48);
    return iVar8;
  }
  if (*(int *)(param_1 + 4) != 2) {
    local_4c = param_1 + 0x340;
    local_50 = PTR_LAB_003a88e0 + 0x3e28;
    piVar9 = (int *)(PTR_s_t_to_left_003a88e4 + 0x3e10);
    local_54 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6b00;
    local_58 = (undefined *)0x1d1;
    (*(code *)PTR_ThrowMagickException_003a8f20)
              (param_2,piVar9,PTR_s_t_to_left_003a88e4 + 0x3e30,0x6b);
    puVar4 = param_2;
    goto LAB_0013e23c;
  }
  puVar4 = (undefined4 *)(*(code *)PTR_AcquireVirtualCacheView_003a9754)(param_1,param_2);
  iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1);
  if (((iVar8 == 4) || (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)
      ) && ((iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 4 ||
            (iVar8 = (*(code *)PTR_GetImagePixelCacheType_003a94b4)(param_1), iVar8 == 3)))) {
    (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
    iVar5 = *(int *)(param_1 + 0x1c);
    iVar8 = iVar5;
    if (iVar5 < 0) {
      iVar8 = iVar5 + 0x3f;
    }
    if (extraout_v1 < iVar8 >> 6) {
      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      bVar3 = extraout_v1_02 < 2;
    }
    else {
      bVar3 = iVar5 < 0x80;
    }
    iVar8 = 1;
    if ((bool)(bVar3 ^ 1)) {
      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      iVar8 = *(int *)(param_1 + 0x1c);
      if (iVar8 < 0) {
        iVar8 = iVar8 + 0x3f;
      }
      iVar8 = iVar8 >> 6;
      if (extraout_v1_01 < iVar8) goto LAB_0013e428;
    }
  }
  else {
    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {
      uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {
        iVar8 = 1;
        goto LAB_0013e2dc;
      }
    }
    uVar15 = (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
    if (((int)((ulonglong)uVar15 >> 0x20) == 0) && ((uint)uVar15 < 2)) {
LAB_0013e428:
      (*(code *)PTR_GetMagickResourceLimit_003a913c)(7);
      iVar8 = extraout_v1_00;
    }
    else {
      iVar8 = 2;
    }
  }
LAB_0013e2dc:
  piVar9 = local_38;
  local_24 = 1;
  local_38[1] = 0;
  local_38[0] = 0;
  local_38[2] = param_1;
  local_2c = param_2;
  local_28 = puVar4;
  (*(code *)PTR_GOMP_parallel_003a9198)(PTR_LAB_003a8968 + -0x20c0,piVar9,iVar8,0);
  (*(code *)PTR_DestroyCacheView_003a8ef4)();
LAB_0013e23c:
  if (local_1c == *(int *)puVar13) {
    return *(int *)puVar13;
  }
  uVar14 = 0x13e4dc;
  puVar13 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  puVar12 = *(undefined4 **)(puVar13 + 0x26ad50);
  puVar6 = (undefined1 *)*puVar4;
  iVar8 = *piVar9;
  puStack_74 = (undefined4 *)*puVar12;
  puVar11 = puVar6;
  piVar10 = &iStack_78;
  uStack_6c = uVar14;
  do {
    iVar8 = iVar8 + -1;
    puVar7 = puVar11 + 1;
    *puVar4 = puVar7;
    uVar1 = *puVar11;
    *piVar9 = iVar8;
    *(undefined1 *)piVar10 = uVar1;
    puVar11 = puVar7;
    piVar10 = (int *)((int)piVar10 + 1);
  } while (puVar7 != puVar6 + 4);
  if (puStack_74 != (undefined4 *)*puVar12) {
    (**(code **)(puVar13 + 0x26ab84))();
    puVar11 = (undefined1 *)*puStack_74;
    iVar8 = *piVar9;
    *puStack_74 = puVar11 + 1;
    uVar1 = *puVar11;
    *piVar9 = iVar8 + -1;
    *puStack_74 = puVar11 + 2;
    uVar2 = puVar11[1];
    *piVar9 = iVar8 + -2;
    return (int)CONCAT11(uVar1,uVar2);
  }
  return iStack_78;
}

