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

void ConcatentateHexColorComponent(PixelInfo *pixel,PixelChannel channel,char *tuple)

{
  float fVar1;
  uint uVar2;
  undefined4 uVar3;
  int iVar4;
  undefined *puVar5;
  uint uVar6;
  undefined *puVar7;
  double dVar8;
  double dVar9;
  char component [4096];
  
  puVar7 = PTR___stack_chk_guard_003a9230;
  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;
  if (channel == BluePixelChannel) {
    dVar8 = pixel->blue;
  }
  else if (channel < BlackPixelChannel) {
    if (channel == CbPixelChannel) {
      dVar8 = pixel->green;
      uVar2 = pixel->depth;
      goto joined_r0x00060880;
    }
LAB_00060a64:
    dVar8 = pixel->red;
  }
  else if (channel == BlackPixelChannel) {
    dVar8 = pixel->black;
  }
  else {
    if (channel != AlphaPixelChannel) goto LAB_00060a64;
    dVar8 = pixel->alpha;
  }
  uVar2 = pixel->depth;
joined_r0x00060880:
  fVar1 = (float)dVar8;
  if (uVar2 < 0x21) {
    if (uVar2 < 0x11) {
      if (uVar2 < 9) {
        if (fVar1 <= 0.0) {
          uVar2 = 0;
        }
        else if ((double)fVar1 /
                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <
                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {
          dVar8 = (double)fVar1 /
                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +
                  *(double *)(PTR_LAB_003a88e0 + 0x1400);
          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
            uVar2 = (int)dVar8 & 0xff;
          }
          else {
            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;
          }
        }
        else {
          uVar2 = 0xff;
        }
        puVar5 = PTR_LAB_003a88e0 + 0x4b3c;
      }
      else {
        if (fVar1 <= 0.0) {
          uVar2 = 0;
        }
        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {
          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);
          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
            uVar2 = (int)dVar8 & 0xffff;
          }
          else {
            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;
          }
        }
        else {
          uVar2 = 0xffff;
        }
        puVar5 = PTR_LAB_003a88e0 + 0x4b34;
      }
    }
    else {
      if (fVar1 <= 0.0) {
        uVar2 = 0;
      }
      else if ((double)fVar1 *
               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <
               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {
        dVar8 = (double)fVar1 *
                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +
                *(double *)(PTR_LAB_003a88e0 + 0x1400);
        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
          uVar2 = (uint)dVar8;
        }
        else {
          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;
        }
      }
      else {
        uVar2 = 0xffffffff;
      }
      puVar5 = PTR_LAB_003a88e0 + 0x4b2c;
    }
    (*(code *)PTR_FormatLocaleString_003a8d7c)(component,0x1000,puVar5,uVar2);
  }
  else {
    if (fVar1 <= 0.0) {
      uVar6 = 0;
      uVar2 = 0;
    }
    else {
      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)
      ;
      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {
        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);
        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
          uVar6 = (uint)dVar9;
        }
        else {
          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;
        }
        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {
          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);
          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
            uVar2 = (uint)dVar8;
          }
          else {
            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;
          }
        }
        else {
          uVar2 = 0xffffffff;
        }
      }
      else {
        uVar6 = 0xffffffff;
        uVar2 = 0xffffffff;
      }
    }
    (*(code *)PTR_FormatLocaleString_003a8d7c)
              (component,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar6,uVar2);
  }
  (*(code *)PTR_ConcatenateMagickString_003a9898)(tuple,component,0x1000);
  if (iVar4 == *(int *)puVar7) {
    return;
  }
  puVar7 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  iVar4 = *(int *)(puVar7 + 0x347d8c);
  if (*(int *)(iVar4 + -0x5100) == 0) {
    uVar3 = (**(code **)(puVar7 + 0x348aec))();
    *(undefined4 *)(iVar4 + -0x5100) = uVar3;
    return;
  }
  return;
}



int FUN_00060770(int param_1,uint param_2,undefined4 param_3)

{
  float fVar1;
  uint uVar2;
  undefined4 uVar3;
  undefined *puVar4;
  uint uVar5;
  int iVar6;
  undefined *puVar7;
  double dVar8;
  double dVar9;
  undefined1 auStack_1014 [4096];
  int local_14;
  
  puVar7 = PTR___stack_chk_guard_003a9230;
  local_14 = *(int *)PTR___stack_chk_guard_003a9230;
  if (param_2 == 2) {
    dVar8 = *(double *)(param_1 + 0x38);
  }
  else if (param_2 < 3) {
    if (param_2 == 1) {
      dVar8 = *(double *)(param_1 + 0x30);
      uVar2 = *(uint *)(param_1 + 0x18);
      goto joined_r0x00060880;
    }
LAB_00060a64:
    dVar8 = *(double *)(param_1 + 0x28);
  }
  else if (param_2 == 3) {
    dVar8 = *(double *)(param_1 + 0x40);
  }
  else {
    if (param_2 != 4) goto LAB_00060a64;
    dVar8 = *(double *)(param_1 + 0x48);
  }
  uVar2 = *(uint *)(param_1 + 0x18);
joined_r0x00060880:
  fVar1 = (float)dVar8;
  if (uVar2 < 0x21) {
    if (uVar2 < 0x11) {
      if (uVar2 < 9) {
        if (fVar1 <= 0.0) {
          uVar2 = 0;
        }
        else if ((double)fVar1 /
                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <
                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {
          dVar8 = (double)fVar1 /
                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +
                  *(double *)(PTR_LAB_003a88e0 + 0x1400);
          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
            uVar2 = (int)dVar8 & 0xff;
          }
          else {
            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;
          }
        }
        else {
          uVar2 = 0xff;
        }
        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;
      }
      else {
        if (fVar1 <= 0.0) {
          uVar2 = 0;
        }
        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {
          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);
          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
            uVar2 = (int)dVar8 & 0xffff;
          }
          else {
            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;
          }
        }
        else {
          uVar2 = 0xffff;
        }
        puVar4 = PTR_LAB_003a88e0 + 0x4b34;
      }
    }
    else {
      if (fVar1 <= 0.0) {
        uVar2 = 0;
      }
      else if ((double)fVar1 *
               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <
               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {
        dVar8 = (double)fVar1 *
                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +
                *(double *)(PTR_LAB_003a88e0 + 0x1400);
        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
          uVar2 = (uint)dVar8;
        }
        else {
          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;
        }
      }
      else {
        uVar2 = 0xffffffff;
      }
      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;
    }
    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);
  }
  else {
    if (fVar1 <= 0.0) {
      uVar5 = 0;
      uVar2 = 0;
    }
    else {
      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)
      ;
      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {
        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);
        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
          uVar5 = (uint)dVar9;
        }
        else {
          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;
        }
        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {
          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);
          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
            uVar2 = (uint)dVar8;
          }
          else {
            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;
          }
        }
        else {
          uVar2 = 0xffffffff;
        }
      }
      else {
        uVar5 = 0xffffffff;
        uVar2 = 0xffffffff;
      }
    }
    (*(code *)PTR_FormatLocaleString_003a8d7c)
              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);
  }
  (*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);
  if (local_14 == *(int *)puVar7) {
    return *(int *)puVar7;
  }
  puVar7 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  iVar6 = *(int *)(puVar7 + 0x347d8c);
  if (*(int *)(iVar6 + -0x5100) == 0) {
    uVar3 = (**(code **)(puVar7 + 0x348aec))();
    *(undefined4 *)(iVar6 + -0x5100) = uVar3;
    return 1;
  }
  return 1;
}


lui gp,0x35
addiu gp,gp,0x140
addu gp,gp,t9
addiu sp,sp,-0x1038
li v0,0x2
sw s1,0x102c(sp)
lw s1,-0x7680(gp)
sw gp,0x18(sp)
sw s0,0x1028(sp)
or s0,a2,zero
sw ra,0x1034(sp)
sw s2,0x1030(sp)
lw v1,0x0(s1)
sw v1,0x1024(sp)
beq a1,v0,0x00060a74
_sltiu v0,a1,0x3
bne v0,zero,0x00060868
_li v0,0x3
beq a1,v0,0x00060a6c
_li v0,0x4
bne a1,v0,0x00060a64
_nop
ldc1 f0,0x48(a0)
lw v0,0x18(a0)
sltiu v1,v0,0x21
bne v1,zero,0x00060888
_cvt.s.D f0,f0
c.un.S f0,f0
bc1t 0x00060974
_mtc1 zero,f2
c.le.S f0,f2
bc1t 0x1,0x00060974
_lw v1,-0x7fc8(gp)
cvt.d.S f0,f0
lw v0,-0x7fc8(gp)
ldc1 f4,-0x5b00(v1)
ldc1 f2,-0x5af8(v0)
mul.D f0,f0,f4
c.le.D f2,f0
bc1t 0x2,0x00060a50
_lw v1,-0x7fd0(gp)
lw a0,-0x7fd0(gp)
ldc1 f2,0x1400(a0)
ldc1 f4,0x1410(v1)
add.D f2,f0,f2
c.le.D f4,f2
bc1t 0x3,0x00060a3c
_lui a1,0x8000
trunc.w.D f2,f2
mfc1 a3,f2
ldc1 f2,-0x5af8(v0)
c.le.D f2,f0
bc1t 0x4,0x00060b2c
_ldc1 f4,0x1400(a0)
ldc1 f2,0x1410(v1)
add.D f0,f0,f4
c.le.D f2,f0
bc1t 0x5,0x00060a7c
_lui v1,0x8000
trunc.w.D f0,f0
b 0x0006097c
_mfc1 v0,f0
li v0,0x1
bne a1,v0,0x00060a64
_nop
ldc1 f0,0x30(a0)
lw v0,0x18(a0)
sltiu v1,v0,0x21
beq v1,zero,0x000607dc
_cvt.s.D f0,f0
sltiu v1,v0,0x11
bne v1,zero,0x00060914
_c.un.S f0,f0
bc1t 0x6,0x00060a5c
_mtc1 zero,f2
c.le.S f0,f2
bc1t 0x7,0x00060a5c
_lw v0,-0x7fc8(gp)
cvt.d.S f0,f0
ldc1 f2,-0x5b00(v0)
lw v0,-0x7fc8(gp)
mul.D f0,f0,f2
ldc1 f2,-0x5af8(v0)
c.le.D f2,f0
bc1t 0x00060aec
_lw v0,-0x7fd0(gp)
ldc1 f2,0x1410(v0)
lw v0,-0x7fd0(gp)
ldc1 f4,0x1400(v0)
add.D f0,f0,f4
c.le.D f2,f0
bc1t 0x1,0x00060a90
_lui v0,0x8000
trunc.w.D f0,f0
mfc1 a3,f0
lw a2,-0x7fd0(gp)
addiu s2,sp,0x24
lw t9,-0x7b34(gp)
li a1,0x1000
or a0,s2,zero
addiu a2,a2,0x4b2c
jalr t9
_nop
b 0x000609a0
_lw gp,0x18(sp)
sltiu v0,v0,0x9
bne v0,zero,0x000609dc
_c.un.S f0,f0
bc1t 0x2,0x00060af4
_mtc1 zero,f2
c.le.S f0,f2
bc1t 0x3,0x00060af4
_lw v0,-0x7fd0(gp)
lwc1 f2,0x1a50(v0)
c.le.S f2,f0
bc1t 0x4,0x00060ac4
_lw v0,-0x7fd0(gp)
cvt.d.S f0,f0
ldc1 f2,0x1410(v0)
lw v0,-0x7fd0(gp)
ldc1 f4,0x1400(v0)
add.D f0,f0,f4
c.le.D f2,f0
bc1t 0x5,0x00060b14
_lui v0,0x8000
trunc.w.D f0,f0
mfc1 a3,f0
b 0x00060ac8
_andi a3,a3,0xffff
or a3,zero,zero
or v0,zero,zero
lw a2,-0x7fd0(gp)
addiu s2,sp,0x24
lw t9,-0x7b34(gp)
li a1,0x1000
or a0,s2,zero
sw v0,0x10(sp)
jalr t9
_addiu a2,a2,0x4b20
lw gp,0x18(sp)
lw t9,-0x7018(gp)
li a2,0x1000
or a1,s2,zero
jalr t9
_or a0,s0,zero
lw v1,0x1024(sp)
lw v0,0x0(s1)
bne v1,v0,0x00060b34
_lw gp,0x18(sp)
lw ra,0x1034(sp)
lw s2,0x1030(sp)
lw s1,0x102c(sp)
lw s0,0x1028(sp)
jr ra
_addiu sp,sp,0x1038
bc1t 0x6,0x00060aa4
_mtc1 zero,f2
c.le.S f0,f2
bc1t 0x7,0x00060aa4
_lw v0,-0x7fc8(gp)
cvt.d.S f0,f0
ldc1 f2,-0x5af0(v0)
lw v0,-0x7fc8(gp)
div.D f0,f0,f2
ldc1 f2,-0x5ae8(v0)
c.le.D f2,f0
bc1t 0x00060ae4
_lw v0,-0x7fd0(gp)
ldc1 f2,0x1410(v0)
lw v0,-0x7fd0(gp)
ldc1 f4,0x1400(v0)
add.D f0,f0,f4
c.le.D f2,f0
bc1t 0x1,0x00060afc
_lui v0,0x8000
trunc.w.D f0,f0
mfc1 a3,f0
b 0x00060aa8
_andi a3,a3,0xff
sub.D D f2,f2,f4
trunc.w.D f2,f2
mfc1 a3,f2
b 0x00060838
_or a3,a3,a1
li a3,-0x1
b 0x0006097c
_li v0,-0x1
b 0x000608ec
_or a3,zero,zero
b 0x000607cc
_ldc1 f0,0x28(a0)
b 0x000607cc
_ldc1 f0,0x40(a0)
b 0x000607cc
_ldc1 f0,0x38(a0)
sub.D D f0,f0,f2
trunc.w.D f0,f0
mfc1 v0,f0
b 0x0006097c
_or v0,v0,v1
sub.D D f0,f0,f2
trunc.w.D f0,f0
mfc1 a3,f0
b 0x000608ec
_or a3,a3,v0
or a3,zero,zero
lw a2,-0x7fd0(gp)
addiu s2,sp,0x24
lw t9,-0x7b34(gp)
li a1,0x1000
or a0,s2,zero
b 0x00060904
_addiu a2,a2,0x4b3c
ori a3,zero,0xffff
lw a2,-0x7fd0(gp)
addiu s2,sp,0x24
lw t9,-0x7b34(gp)
li a1,0x1000
or a0,s2,zero
b 0x00060904
_addiu a2,a2,0x4b34
b 0x00060aa8
_li a3,0xff
b 0x000608ec
_li a3,-0x1
b 0x00060ac8
_or a3,zero,zero
sub.D D f0,f0,f2
trunc.w.D f0,f0
mfc1 a3,f0
or a3,a3,v0
b 0x00060aa8
_andi a3,a3,0xff
sub.D D f0,f0,f2
trunc.w.D f0,f0
mfc1 a3,f0
or a3,a3,v0
b 0x00060ac8
_andi a3,a3,0xffff
b 0x0006097c
_li v0,-0x1
lw t9,-0x784c(gp)
jalr t9
_nop
(translation_unit "int FUN_00060770(int param_1,uint param_2,undefined4 param_3)\n\n{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_1014 [4096];\n  int local_14;\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }\n  uVar2 = *(uint *)(param_1 + 0x18);\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);\n  if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar6 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }\n  return 1;\n}\n\n" (function_definition "int FUN_00060770(int param_1,uint param_2,undefined4 param_3)\n\n{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_1014 [4096];\n  int local_14;\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }\n  uVar2 = *(uint *)(param_1 + 0x18);\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);\n  if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar6 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }\n  return 1;\n}" primitive_type (function_declarator "FUN_00060770(int param_1,uint param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,uint param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_1014 [4096];\n  int local_14;\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }\n  uVar2 = *(uint *)(param_1 + 0x18);\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);\n  if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar6 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }\n  return 1;\n}" { (declaration "float fVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "undefined1 auStack_1014 [4096];" type_identifier (array_declarator "auStack_1014 [4096]" identifier [ number_literal ]) ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar7 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar7 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_14 = *(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_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n    dVar8 = *(double *)(param_1 + 0x38);\n  }" { (expression_statement "dVar8 = *(double *)(param_1 + 0x38);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x38)" identifier = (pointer_expression "*(double *)(param_1 + 0x38)" * (cast_expression "(double *)(param_1 + 0x38)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) }) (else_clause "else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" else (if_statement "if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" if (parenthesized_expression "(param_2 < 3)" ( (binary_expression "param_2 < 3" identifier < number_literal) )) (compound_statement "{\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }" { (if_statement "if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }" { (expression_statement "dVar8 = *(double *)(param_1 + 0x30);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x30)" identifier = (pointer_expression "*(double *)(param_1 + 0x30)" * (cast_expression "(double *)(param_1 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (goto_statement "goto joined_r0x00060880;" goto statement_identifier ;) })) (labeled_statement "LAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);" statement_identifier : (expression_statement "dVar8 = *(double *)(param_1 + 0x28);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x28)" identifier = (pointer_expression "*(double *)(param_1 + 0x28)" * (cast_expression "(double *)(param_1 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;)) }) (else_clause "else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" else (if_statement "if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" if (parenthesized_expression "(param_2 == 3)" ( (binary_expression "param_2 == 3" identifier == number_literal) )) (compound_statement "{\n    dVar8 = *(double *)(param_1 + 0x40);\n  }" { (expression_statement "dVar8 = *(double *)(param_1 + 0x40);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x40)" identifier = (pointer_expression "*(double *)(param_1 + 0x40)" * (cast_expression "(double *)(param_1 + 0x40)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" else (compound_statement "{\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" { (if_statement "if (param_2 != 4) goto LAB_00060a64;" if (parenthesized_expression "(param_2 != 4)" ( (binary_expression "param_2 != 4" identifier != number_literal) )) (goto_statement "goto LAB_00060a64;" goto statement_identifier ;)) (expression_statement "dVar8 = *(double *)(param_1 + 0x48);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x48)" identifier = (pointer_expression "*(double *)(param_1 + 0x48)" * (cast_expression "(double *)(param_1 + 0x48)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) }))))))) (expression_statement "uVar2 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (labeled_statement "joined_r0x00060880:\n  fVar1 = (float)dVar8;" statement_identifier : (expression_statement "fVar1 = (float)dVar8;" (assignment_expression "fVar1 = (float)dVar8" identifier = (cast_expression "(float)dVar8" ( (type_descriptor "float" primitive_type) ) identifier)) ;)) (if_statement "if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }" if (parenthesized_expression "(uVar2 < 0x21)" ( (binary_expression "uVar2 < 0x21" identifier < number_literal) )) (compound_statement "{\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }" { (if_statement "if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" if (parenthesized_expression "(uVar2 < 0x11)" ( (binary_expression "uVar2 < 0x11" identifier < number_literal) )) (compound_statement "{\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }" { (if_statement "if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }" if (parenthesized_expression "(uVar2 < 9)" ( (binary_expression "uVar2 < 9" identifier < number_literal) )) (compound_statement "{\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }" { (if_statement "if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n          uVar2 = 0;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" else (if_statement "if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" if (parenthesized_expression "((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8))" ( (binary_expression "(double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (binary_expression "(double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) / (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }" { (expression_statement "dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "(double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400)" (binary_expression "(double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) / (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n            uVar2 = (int)dVar8 & 0xff;\n          }" { (expression_statement "uVar2 = (int)dVar8 & 0xff;" (assignment_expression "uVar2 = (int)dVar8 & 0xff" identifier = (binary_expression "(int)dVar8 & 0xff" (cast_expression "(int)dVar8" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" else (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) & number_literal)) ;) }))) }) (else_clause "else {\n          uVar2 = 0xff;\n        }" else (compound_statement "{\n          uVar2 = 0xff;\n        }" { (expression_statement "uVar2 = 0xff;" (assignment_expression "uVar2 = 0xff" identifier = number_literal) ;) }))))) (expression_statement "puVar4 = PTR_LAB_003a88e0 + 0x4b3c;" (assignment_expression "puVar4 = PTR_LAB_003a88e0 + 0x4b3c" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4b3c" identifier + number_literal)) ;) }) (else_clause "else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }" else (compound_statement "{\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }" { (if_statement "if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n          uVar2 = 0;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" else (if_statement "if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" if (parenthesized_expression "(fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50))" ( (binary_expression "fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)" identifier < (pointer_expression "*(float *)(PTR_LAB_003a88e0 + 0x1a50)" * (cast_expression "(float *)(PTR_LAB_003a88e0 + 0x1a50)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1a50)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1a50" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }" { (expression_statement "dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "(double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n            uVar2 = (int)dVar8 & 0xffff;\n          }" { (expression_statement "uVar2 = (int)dVar8 & 0xffff;" (assignment_expression "uVar2 = (int)dVar8 & 0xffff" identifier = (binary_expression "(int)dVar8 & 0xffff" (cast_expression "(int)dVar8" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" else (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) & number_literal)) ;) }))) }) (else_clause "else {\n          uVar2 = 0xffff;\n        }" else (compound_statement "{\n          uVar2 = 0xffff;\n        }" { (expression_statement "uVar2 = 0xffff;" (assignment_expression "uVar2 = 0xffff" identifier = number_literal) ;) }))))) (expression_statement "puVar4 = PTR_LAB_003a88e0 + 0x4b34;" (assignment_expression "puVar4 = PTR_LAB_003a88e0 + 0x4b34" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4b34" identifier + number_literal)) ;) }))) }) (else_clause "else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" else (compound_statement "{\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" { (if_statement "if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n        uVar2 = 0;\n      }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" else (if_statement "if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" if (parenthesized_expression "((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" ( (binary_expression "(double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (binary_expression "(double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" identifier + number_literal) ))))) < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" identifier + number_literal) ))))) )) (compound_statement "{\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }" { (expression_statement "dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "(double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400)" (binary_expression "(double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" identifier + number_literal) ))))) + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n          uVar2 = (uint)dVar8;\n        }" { (expression_statement "uVar2 = (uint)dVar8;" (assignment_expression "uVar2 = (uint)dVar8" identifier = (cast_expression "(uint)dVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" else (compound_statement "{\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) }))) }) (else_clause "else {\n        uVar2 = 0xffffffff;\n      }" else (compound_statement "{\n        uVar2 = 0xffffffff;\n      }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }))))) (expression_statement "puVar4 = PTR_LAB_003a88e0 + 0x4b2c;" (assignment_expression "puVar4 = PTR_LAB_003a88e0 + 0x4b2c" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4b2c" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_1014,0x1000,puVar4,uVar2)" ( identifier , number_literal , identifier , identifier ))) ;) }) (else_clause "else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }" else (compound_statement "{\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }" { (if_statement "if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n      uVar5 = 0;\n      uVar2 = 0;\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" else (compound_statement "{\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" { (expression_statement "dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;" (assignment_expression "dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" identifier = (binary_expression "(double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" ( (binary_expression "dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" identifier < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" identifier + number_literal) ))))) )) (compound_statement "{\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }" { (expression_statement "dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" if (parenthesized_expression "(dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n          uVar5 = (uint)dVar9;\n        }" { (expression_statement "uVar5 = (uint)dVar9;" (assignment_expression "uVar5 = (uint)dVar9" identifier = (cast_expression "(uint)dVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" else (compound_statement "{\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" { (expression_statement "uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" identifier = (binary_expression "(int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) }))) (if_statement "if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" ( (binary_expression "dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" identifier < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }" { (expression_statement "dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n            uVar2 = (uint)dVar8;\n          }" { (expression_statement "uVar2 = (uint)dVar8;" (assignment_expression "uVar2 = (uint)dVar8" identifier = (cast_expression "(uint)dVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" else (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) }))) }) (else_clause "else {\n          uVar2 = 0xffffffff;\n        }" else (compound_statement "{\n          uVar2 = 0xffffffff;\n        }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }))) }) (else_clause "else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" else (compound_statement "{\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" { (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }))) }))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2)" ( identifier , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x4b20" identifier + number_literal) , identifier , identifier ))) ;) }))) (expression_statement "(*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);" (call_expression "(*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000)" (parenthesized_expression "(*(code *)PTR_ConcatenateMagickString_003a9898)" ( (pointer_expression "*(code *)PTR_ConcatenateMagickString_003a9898" * (cast_expression "(code *)PTR_ConcatenateMagickString_003a9898" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,auStack_1014,0x1000)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar7)" ( (binary_expression "local_14 == *(int *)puVar7" identifier == (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar7;\n  }" { (return_statement "return *(int *)puVar7;" return (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "puVar7 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar7 = 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 "iVar6 = *(int *)(puVar7 + 0x347d8c);" (assignment_expression "iVar6 = *(int *)(puVar7 + 0x347d8c)" identifier = (pointer_expression "*(int *)(puVar7 + 0x347d8c)" * (cast_expression "(int *)(puVar7 + 0x347d8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x347d8c)" ( (binary_expression "puVar7 + 0x347d8c" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }" if (parenthesized_expression "(*(int *)(iVar6 + -0x5100) == 0)" ( (binary_expression "*(int *)(iVar6 + -0x5100) == 0" (pointer_expression "*(int *)(iVar6 + -0x5100)" * (cast_expression "(int *)(iVar6 + -0x5100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0x5100)" ( (binary_expression "iVar6 + -0x5100" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }" { (expression_statement "uVar3 = (**(code **)(puVar7 + 0x348aec))();" (assignment_expression "uVar3 = (**(code **)(puVar7 + 0x348aec))()" identifier = (call_expression "(**(code **)(puVar7 + 0x348aec))()" (parenthesized_expression "(**(code **)(puVar7 + 0x348aec))" ( (pointer_expression "**(code **)(puVar7 + 0x348aec)" * (pointer_expression "*(code **)(puVar7 + 0x348aec)" * (cast_expression "(code **)(puVar7 + 0x348aec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x348aec)" ( (binary_expression "puVar7 + 0x348aec" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar6 + -0x5100) = uVar3;" (assignment_expression "*(undefined4 *)(iVar6 + -0x5100) = uVar3" (pointer_expression "*(undefined4 *)(iVar6 + -0x5100)" * (cast_expression "(undefined4 *)(iVar6 + -0x5100)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0x5100)" ( (binary_expression "iVar6 + -0x5100" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n\nvoid ConcatentateHexColorComponent(PixelInfo *pixel,PixelChannel channel,char *tuple)\n\n{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  char component [4096];\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (channel == BluePixelChannel) {\n    dVar8 = pixel->blue;\n  }\n  else if (channel < BlackPixelChannel) {\n    if (channel == CbPixelChannel) {\n      dVar8 = pixel->green;\n      uVar2 = pixel->depth;\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = pixel->red;\n  }\n  else if (channel == BlackPixelChannel) {\n    dVar8 = pixel->black;\n  }\n  else {\n    if (channel != AlphaPixelChannel) goto LAB_00060a64;\n    dVar8 = pixel->alpha;\n  }\n  uVar2 = pixel->depth;\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar5 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(component,0x1000,puVar5,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar6 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (component,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar6,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(tuple,component,0x1000);\n  if (iVar4 == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar4 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar4 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar4 + -0x5100) = uVar3;\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void ConcatentateHexColorComponent(PixelInfo *pixel,PixelChannel channel,char *tuple)\n\n{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  char component [4096];\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (channel == BluePixelChannel) {\n    dVar8 = pixel->blue;\n  }\n  else if (channel < BlackPixelChannel) {\n    if (channel == CbPixelChannel) {\n      dVar8 = pixel->green;\n      uVar2 = pixel->depth;\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = pixel->red;\n  }\n  else if (channel == BlackPixelChannel) {\n    dVar8 = pixel->black;\n  }\n  else {\n    if (channel != AlphaPixelChannel) goto LAB_00060a64;\n    dVar8 = pixel->alpha;\n  }\n  uVar2 = pixel->depth;\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar5 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(component,0x1000,puVar5,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar6 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (component,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar6,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(tuple,component,0x1000);\n  if (iVar4 == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar4 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar4 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar4 + -0x5100) = uVar3;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "ConcatentateHexColorComponent(PixelInfo *pixel,PixelChannel channel,char *tuple)" identifier (parameter_list "(PixelInfo *pixel,PixelChannel channel,char *tuple)" ( (parameter_declaration "PixelInfo *pixel" type_identifier (pointer_declarator "*pixel" * identifier)) , (parameter_declaration "PixelChannel channel" type_identifier identifier) , (parameter_declaration "char *tuple" primitive_type (pointer_declarator "*tuple" * identifier)) ))) (compound_statement "{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  char component [4096];\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (channel == BluePixelChannel) {\n    dVar8 = pixel->blue;\n  }\n  else if (channel < BlackPixelChannel) {\n    if (channel == CbPixelChannel) {\n      dVar8 = pixel->green;\n      uVar2 = pixel->depth;\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = pixel->red;\n  }\n  else if (channel == BlackPixelChannel) {\n    dVar8 = pixel->black;\n  }\n  else {\n    if (channel != AlphaPixelChannel) goto LAB_00060a64;\n    dVar8 = pixel->alpha;\n  }\n  uVar2 = pixel->depth;\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar5 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(component,0x1000,puVar5,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar6 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (component,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar6,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(tuple,component,0x1000);\n  if (iVar4 == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar4 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar4 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar4 + -0x5100) = uVar3;\n    return;\n  }\n  return;\n}" { (declaration "float fVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "char component [4096];" primitive_type (array_declarator "component [4096]" identifier [ number_literal ]) ;) (expression_statement "puVar7 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar7 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "iVar4 = *(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 (channel == BluePixelChannel) {\n    dVar8 = pixel->blue;\n  }\n  else if (channel < BlackPixelChannel) {\n    if (channel == CbPixelChannel) {\n      dVar8 = pixel->green;\n      uVar2 = pixel->depth;\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = pixel->red;\n  }\n  else if (channel == BlackPixelChannel) {\n    dVar8 = pixel->black;\n  }\n  else {\n    if (channel != AlphaPixelChannel) goto LAB_00060a64;\n    dVar8 = pixel->alpha;\n  }" if (parenthesized_expression "(channel == BluePixelChannel)" ( (binary_expression "channel == BluePixelChannel" identifier == identifier) )) (compound_statement "{\n    dVar8 = pixel->blue;\n  }" { (expression_statement "dVar8 = pixel->blue;" (assignment_expression "dVar8 = pixel->blue" identifier = (field_expression "pixel->blue" identifier -> field_identifier)) ;) }) (else_clause "else if (channel < BlackPixelChannel) {\n    if (channel == CbPixelChannel) {\n      dVar8 = pixel->green;\n      uVar2 = pixel->depth;\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = pixel->red;\n  }\n  else if (channel == BlackPixelChannel) {\n    dVar8 = pixel->black;\n  }\n  else {\n    if (channel != AlphaPixelChannel) goto LAB_00060a64;\n    dVar8 = pixel->alpha;\n  }" else (if_statement "if (channel < BlackPixelChannel) {\n    if (channel == CbPixelChannel) {\n      dVar8 = pixel->green;\n      uVar2 = pixel->depth;\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = pixel->red;\n  }\n  else if (channel == BlackPixelChannel) {\n    dVar8 = pixel->black;\n  }\n  else {\n    if (channel != AlphaPixelChannel) goto LAB_00060a64;\n    dVar8 = pixel->alpha;\n  }" if (parenthesized_expression "(channel < BlackPixelChannel)" ( (binary_expression "channel < BlackPixelChannel" identifier < identifier) )) (compound_statement "{\n    if (channel == CbPixelChannel) {\n      dVar8 = pixel->green;\n      uVar2 = pixel->depth;\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = pixel->red;\n  }" { (if_statement "if (channel == CbPixelChannel) {\n      dVar8 = pixel->green;\n      uVar2 = pixel->depth;\n      goto joined_r0x00060880;\n    }" if (parenthesized_expression "(channel == CbPixelChannel)" ( (binary_expression "channel == CbPixelChannel" identifier == identifier) )) (compound_statement "{\n      dVar8 = pixel->green;\n      uVar2 = pixel->depth;\n      goto joined_r0x00060880;\n    }" { (expression_statement "dVar8 = pixel->green;" (assignment_expression "dVar8 = pixel->green" identifier = (field_expression "pixel->green" identifier -> field_identifier)) ;) (expression_statement "uVar2 = pixel->depth;" (assignment_expression "uVar2 = pixel->depth" identifier = (field_expression "pixel->depth" identifier -> field_identifier)) ;) (goto_statement "goto joined_r0x00060880;" goto statement_identifier ;) })) (labeled_statement "LAB_00060a64:\n    dVar8 = pixel->red;" statement_identifier : (expression_statement "dVar8 = pixel->red;" (assignment_expression "dVar8 = pixel->red" identifier = (field_expression "pixel->red" identifier -> field_identifier)) ;)) }) (else_clause "else if (channel == BlackPixelChannel) {\n    dVar8 = pixel->black;\n  }\n  else {\n    if (channel != AlphaPixelChannel) goto LAB_00060a64;\n    dVar8 = pixel->alpha;\n  }" else (if_statement "if (channel == BlackPixelChannel) {\n    dVar8 = pixel->black;\n  }\n  else {\n    if (channel != AlphaPixelChannel) goto LAB_00060a64;\n    dVar8 = pixel->alpha;\n  }" if (parenthesized_expression "(channel == BlackPixelChannel)" ( (binary_expression "channel == BlackPixelChannel" identifier == identifier) )) (compound_statement "{\n    dVar8 = pixel->black;\n  }" { (expression_statement "dVar8 = pixel->black;" (assignment_expression "dVar8 = pixel->black" identifier = (field_expression "pixel->black" identifier -> field_identifier)) ;) }) (else_clause "else {\n    if (channel != AlphaPixelChannel) goto LAB_00060a64;\n    dVar8 = pixel->alpha;\n  }" else (compound_statement "{\n    if (channel != AlphaPixelChannel) goto LAB_00060a64;\n    dVar8 = pixel->alpha;\n  }" { (if_statement "if (channel != AlphaPixelChannel) goto LAB_00060a64;" if (parenthesized_expression "(channel != AlphaPixelChannel)" ( (binary_expression "channel != AlphaPixelChannel" identifier != identifier) )) (goto_statement "goto LAB_00060a64;" goto statement_identifier ;)) (expression_statement "dVar8 = pixel->alpha;" (assignment_expression "dVar8 = pixel->alpha" identifier = (field_expression "pixel->alpha" identifier -> field_identifier)) ;) }))))))) (expression_statement "uVar2 = pixel->depth;" (assignment_expression "uVar2 = pixel->depth" identifier = (field_expression "pixel->depth" identifier -> field_identifier)) ;) (labeled_statement "joined_r0x00060880:\n  fVar1 = (float)dVar8;" statement_identifier : (expression_statement "fVar1 = (float)dVar8;" (assignment_expression "fVar1 = (float)dVar8" identifier = (cast_expression "(float)dVar8" ( (type_descriptor "float" primitive_type) ) identifier)) ;)) (if_statement "if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar5 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(component,0x1000,puVar5,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar6 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (component,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar6,uVar2);\n  }" if (parenthesized_expression "(uVar2 < 0x21)" ( (binary_expression "uVar2 < 0x21" identifier < number_literal) )) (compound_statement "{\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar5 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(component,0x1000,puVar5,uVar2);\n  }" { (if_statement "if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar5 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" if (parenthesized_expression "(uVar2 < 0x11)" ( (binary_expression "uVar2 < 0x11" identifier < number_literal) )) (compound_statement "{\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }" { (if_statement "if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b34;\n      }" if (parenthesized_expression "(uVar2 < 9)" ( (binary_expression "uVar2 < 9" identifier < number_literal) )) (compound_statement "{\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b3c;\n      }" { (if_statement "if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n          uVar2 = 0;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" else (if_statement "if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" if (parenthesized_expression "((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8))" ( (binary_expression "(double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (binary_expression "(double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) / (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }" { (expression_statement "dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "(double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400)" (binary_expression "(double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) / (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n            uVar2 = (int)dVar8 & 0xff;\n          }" { (expression_statement "uVar2 = (int)dVar8 & 0xff;" (assignment_expression "uVar2 = (int)dVar8 & 0xff" identifier = (binary_expression "(int)dVar8 & 0xff" (cast_expression "(int)dVar8" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" else (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) & number_literal)) ;) }))) }) (else_clause "else {\n          uVar2 = 0xff;\n        }" else (compound_statement "{\n          uVar2 = 0xff;\n        }" { (expression_statement "uVar2 = 0xff;" (assignment_expression "uVar2 = 0xff" identifier = number_literal) ;) }))))) (expression_statement "puVar5 = PTR_LAB_003a88e0 + 0x4b3c;" (assignment_expression "puVar5 = PTR_LAB_003a88e0 + 0x4b3c" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4b3c" identifier + number_literal)) ;) }) (else_clause "else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b34;\n      }" else (compound_statement "{\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar5 = PTR_LAB_003a88e0 + 0x4b34;\n      }" { (if_statement "if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n          uVar2 = 0;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" else (if_statement "if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" if (parenthesized_expression "(fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50))" ( (binary_expression "fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)" identifier < (pointer_expression "*(float *)(PTR_LAB_003a88e0 + 0x1a50)" * (cast_expression "(float *)(PTR_LAB_003a88e0 + 0x1a50)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1a50)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1a50" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }" { (expression_statement "dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "(double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n            uVar2 = (int)dVar8 & 0xffff;\n          }" { (expression_statement "uVar2 = (int)dVar8 & 0xffff;" (assignment_expression "uVar2 = (int)dVar8 & 0xffff" identifier = (binary_expression "(int)dVar8 & 0xffff" (cast_expression "(int)dVar8" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" else (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) & number_literal)) ;) }))) }) (else_clause "else {\n          uVar2 = 0xffff;\n        }" else (compound_statement "{\n          uVar2 = 0xffff;\n        }" { (expression_statement "uVar2 = 0xffff;" (assignment_expression "uVar2 = 0xffff" identifier = number_literal) ;) }))))) (expression_statement "puVar5 = PTR_LAB_003a88e0 + 0x4b34;" (assignment_expression "puVar5 = PTR_LAB_003a88e0 + 0x4b34" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4b34" identifier + number_literal)) ;) }))) }) (else_clause "else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar5 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" else (compound_statement "{\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar5 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" { (if_statement "if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n        uVar2 = 0;\n      }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" else (if_statement "if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" if (parenthesized_expression "((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" ( (binary_expression "(double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (binary_expression "(double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" identifier + number_literal) ))))) < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" identifier + number_literal) ))))) )) (compound_statement "{\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }" { (expression_statement "dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "(double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400)" (binary_expression "(double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" identifier + number_literal) ))))) + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n          uVar2 = (uint)dVar8;\n        }" { (expression_statement "uVar2 = (uint)dVar8;" (assignment_expression "uVar2 = (uint)dVar8" identifier = (cast_expression "(uint)dVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" else (compound_statement "{\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) }))) }) (else_clause "else {\n        uVar2 = 0xffffffff;\n      }" else (compound_statement "{\n        uVar2 = 0xffffffff;\n      }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }))))) (expression_statement "puVar5 = PTR_LAB_003a88e0 + 0x4b2c;" (assignment_expression "puVar5 = PTR_LAB_003a88e0 + 0x4b2c" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4b2c" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)(component,0x1000,puVar5,uVar2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)(component,0x1000,puVar5,uVar2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(component,0x1000,puVar5,uVar2)" ( identifier , number_literal , identifier , identifier ))) ;) }) (else_clause "else {\n    if (fVar1 <= 0.0) {\n      uVar6 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (component,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar6,uVar2);\n  }" else (compound_statement "{\n    if (fVar1 <= 0.0) {\n      uVar6 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (component,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar6,uVar2);\n  }" { (if_statement "if (fVar1 <= 0.0) {\n      uVar6 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n      uVar6 = 0;\n      uVar2 = 0;\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" else (compound_statement "{\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" { (expression_statement "dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;" (assignment_expression "dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" identifier = (binary_expression "(double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" ( (binary_expression "dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" identifier < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" identifier + number_literal) ))))) )) (compound_statement "{\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }" { (expression_statement "dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar6 = (uint)dVar9;\n        }\n        else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" if (parenthesized_expression "(dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n          uVar6 = (uint)dVar9;\n        }" { (expression_statement "uVar6 = (uint)dVar9;" (assignment_expression "uVar6 = (uint)dVar9" identifier = (cast_expression "(uint)dVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" else (compound_statement "{\n          uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" { (expression_statement "uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar6 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" identifier = (binary_expression "(int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) }))) (if_statement "if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" ( (binary_expression "dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" identifier < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }" { (expression_statement "dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n            uVar2 = (uint)dVar8;\n          }" { (expression_statement "uVar2 = (uint)dVar8;" (assignment_expression "uVar2 = (uint)dVar8" identifier = (cast_expression "(uint)dVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" else (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) }))) }) (else_clause "else {\n          uVar2 = 0xffffffff;\n        }" else (compound_statement "{\n          uVar2 = 0xffffffff;\n        }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }))) }) (else_clause "else {\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" else (compound_statement "{\n        uVar6 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" { (expression_statement "uVar6 = 0xffffffff;" (assignment_expression "uVar6 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }))) }))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (component,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar6,uVar2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (component,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar6,uVar2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(component,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar6,uVar2)" ( identifier , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x4b20" identifier + number_literal) , identifier , identifier ))) ;) }))) (expression_statement "(*(code *)PTR_ConcatenateMagickString_003a9898)(tuple,component,0x1000);" (call_expression "(*(code *)PTR_ConcatenateMagickString_003a9898)(tuple,component,0x1000)" (parenthesized_expression "(*(code *)PTR_ConcatenateMagickString_003a9898)" ( (pointer_expression "*(code *)PTR_ConcatenateMagickString_003a9898" * (cast_expression "(code *)PTR_ConcatenateMagickString_003a9898" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(tuple,component,0x1000)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (iVar4 == *(int *)puVar7) {\n    return;\n  }" if (parenthesized_expression "(iVar4 == *(int *)puVar7)" ( (binary_expression "iVar4 == *(int *)puVar7" identifier == (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar7 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar7 = 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 "iVar4 = *(int *)(puVar7 + 0x347d8c);" (assignment_expression "iVar4 = *(int *)(puVar7 + 0x347d8c)" identifier = (pointer_expression "*(int *)(puVar7 + 0x347d8c)" * (cast_expression "(int *)(puVar7 + 0x347d8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x347d8c)" ( (binary_expression "puVar7 + 0x347d8c" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar4 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar4 + -0x5100) = uVar3;\n    return;\n  }" if (parenthesized_expression "(*(int *)(iVar4 + -0x5100) == 0)" ( (binary_expression "*(int *)(iVar4 + -0x5100) == 0" (pointer_expression "*(int *)(iVar4 + -0x5100)" * (cast_expression "(int *)(iVar4 + -0x5100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -0x5100)" ( (binary_expression "iVar4 + -0x5100" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar4 + -0x5100) = uVar3;\n    return;\n  }" { (expression_statement "uVar3 = (**(code **)(puVar7 + 0x348aec))();" (assignment_expression "uVar3 = (**(code **)(puVar7 + 0x348aec))()" identifier = (call_expression "(**(code **)(puVar7 + 0x348aec))()" (parenthesized_expression "(**(code **)(puVar7 + 0x348aec))" ( (pointer_expression "**(code **)(puVar7 + 0x348aec)" * (pointer_expression "*(code **)(puVar7 + 0x348aec)" * (cast_expression "(code **)(puVar7 + 0x348aec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x348aec)" ( (binary_expression "puVar7 + 0x348aec" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar4 + -0x5100) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + -0x5100) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + -0x5100)" * (cast_expression "(undefined4 *)(iVar4 + -0x5100)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -0x5100)" ( (binary_expression "iVar4 + -0x5100" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "int FUN_00060770(int param_1,uint param_2,undefined4 param_3)\n\n{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_1014 [4096];\n  int local_14;\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }\n  uVar2 = *(uint *)(param_1 + 0x18);\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);\n  if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar6 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }\n  return 1;\n}\n\n" (function_definition "int FUN_00060770(int param_1,uint param_2,undefined4 param_3)\n\n{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_1014 [4096];\n  int local_14;\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }\n  uVar2 = *(uint *)(param_1 + 0x18);\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);\n  if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar6 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }\n  return 1;\n}" primitive_type (function_declarator "FUN_00060770(int param_1,uint param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,uint param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_1014 [4096];\n  int local_14;\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }\n  uVar2 = *(uint *)(param_1 + 0x18);\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);\n  if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar6 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }\n  return 1;\n}" { (declaration "float fVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "undefined1 auStack_1014 [4096];" type_identifier (array_declarator "auStack_1014 [4096]" identifier [ number_literal ]) ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar7 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar7 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_14 = *(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_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n    dVar8 = *(double *)(param_1 + 0x38);\n  }" { (expression_statement "dVar8 = *(double *)(param_1 + 0x38);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x38)" identifier = (pointer_expression "*(double *)(param_1 + 0x38)" * (cast_expression "(double *)(param_1 + 0x38)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) }) (else_clause "else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" else (if_statement "if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" if (parenthesized_expression "(param_2 < 3)" ( (binary_expression "param_2 < 3" identifier < number_literal) )) (compound_statement "{\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }" { (if_statement "if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }" { (expression_statement "dVar8 = *(double *)(param_1 + 0x30);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x30)" identifier = (pointer_expression "*(double *)(param_1 + 0x30)" * (cast_expression "(double *)(param_1 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (goto_statement "goto joined_r0x00060880;" goto statement_identifier ;) })) (labeled_statement "LAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);" statement_identifier : (expression_statement "dVar8 = *(double *)(param_1 + 0x28);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x28)" identifier = (pointer_expression "*(double *)(param_1 + 0x28)" * (cast_expression "(double *)(param_1 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;)) }) (else_clause "else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" else (if_statement "if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" if (parenthesized_expression "(param_2 == 3)" ( (binary_expression "param_2 == 3" identifier == number_literal) )) (compound_statement "{\n    dVar8 = *(double *)(param_1 + 0x40);\n  }" { (expression_statement "dVar8 = *(double *)(param_1 + 0x40);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x40)" identifier = (pointer_expression "*(double *)(param_1 + 0x40)" * (cast_expression "(double *)(param_1 + 0x40)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" else (compound_statement "{\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" { (if_statement "if (param_2 != 4) goto LAB_00060a64;" if (parenthesized_expression "(param_2 != 4)" ( (binary_expression "param_2 != 4" identifier != number_literal) )) (goto_statement "goto LAB_00060a64;" goto statement_identifier ;)) (expression_statement "dVar8 = *(double *)(param_1 + 0x48);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x48)" identifier = (pointer_expression "*(double *)(param_1 + 0x48)" * (cast_expression "(double *)(param_1 + 0x48)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) }))))))) (expression_statement "uVar2 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (labeled_statement "joined_r0x00060880:\n  fVar1 = (float)dVar8;" statement_identifier : (expression_statement "fVar1 = (float)dVar8;" (assignment_expression "fVar1 = (float)dVar8" identifier = (cast_expression "(float)dVar8" ( (type_descriptor "float" primitive_type) ) identifier)) ;)) (if_statement "if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }" if (parenthesized_expression "(uVar2 < 0x21)" ( (binary_expression "uVar2 < 0x21" identifier < number_literal) )) (compound_statement "{\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }" { (if_statement "if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" if (parenthesized_expression "(uVar2 < 0x11)" ( (binary_expression "uVar2 < 0x11" identifier < number_literal) )) (compound_statement "{\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }" { (if_statement "if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }" if (parenthesized_expression "(uVar2 < 9)" ( (binary_expression "uVar2 < 9" identifier < number_literal) )) (compound_statement "{\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }" { (if_statement "if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n          uVar2 = 0;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" else (if_statement "if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" if (parenthesized_expression "((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8))" ( (binary_expression "(double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (binary_expression "(double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) / (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }" { (expression_statement "dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "(double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400)" (binary_expression "(double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) / (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n            uVar2 = (int)dVar8 & 0xff;\n          }" { (expression_statement "uVar2 = (int)dVar8 & 0xff;" (assignment_expression "uVar2 = (int)dVar8 & 0xff" identifier = (binary_expression "(int)dVar8 & 0xff" (cast_expression "(int)dVar8" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" else (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) & number_literal)) ;) }))) }) (else_clause "else {\n          uVar2 = 0xff;\n        }" else (compound_statement "{\n          uVar2 = 0xff;\n        }" { (expression_statement "uVar2 = 0xff;" (assignment_expression "uVar2 = 0xff" identifier = number_literal) ;) }))))) (expression_statement "puVar4 = PTR_LAB_003a88e0 + 0x4b3c;" (assignment_expression "puVar4 = PTR_LAB_003a88e0 + 0x4b3c" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4b3c" identifier + number_literal)) ;) }) (else_clause "else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }" else (compound_statement "{\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }" { (if_statement "if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n          uVar2 = 0;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" else (if_statement "if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" if (parenthesized_expression "(fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50))" ( (binary_expression "fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)" identifier < (pointer_expression "*(float *)(PTR_LAB_003a88e0 + 0x1a50)" * (cast_expression "(float *)(PTR_LAB_003a88e0 + 0x1a50)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1a50)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1a50" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }" { (expression_statement "dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "(double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n            uVar2 = (int)dVar8 & 0xffff;\n          }" { (expression_statement "uVar2 = (int)dVar8 & 0xffff;" (assignment_expression "uVar2 = (int)dVar8 & 0xffff" identifier = (binary_expression "(int)dVar8 & 0xffff" (cast_expression "(int)dVar8" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" else (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) & number_literal)) ;) }))) }) (else_clause "else {\n          uVar2 = 0xffff;\n        }" else (compound_statement "{\n          uVar2 = 0xffff;\n        }" { (expression_statement "uVar2 = 0xffff;" (assignment_expression "uVar2 = 0xffff" identifier = number_literal) ;) }))))) (expression_statement "puVar4 = PTR_LAB_003a88e0 + 0x4b34;" (assignment_expression "puVar4 = PTR_LAB_003a88e0 + 0x4b34" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4b34" identifier + number_literal)) ;) }))) }) (else_clause "else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" else (compound_statement "{\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" { (if_statement "if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n        uVar2 = 0;\n      }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" else (if_statement "if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" if (parenthesized_expression "((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" ( (binary_expression "(double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (binary_expression "(double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" identifier + number_literal) ))))) < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" identifier + number_literal) ))))) )) (compound_statement "{\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }" { (expression_statement "dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "(double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400)" (binary_expression "(double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" identifier + number_literal) ))))) + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n          uVar2 = (uint)dVar8;\n        }" { (expression_statement "uVar2 = (uint)dVar8;" (assignment_expression "uVar2 = (uint)dVar8" identifier = (cast_expression "(uint)dVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" else (compound_statement "{\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) }))) }) (else_clause "else {\n        uVar2 = 0xffffffff;\n      }" else (compound_statement "{\n        uVar2 = 0xffffffff;\n      }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }))))) (expression_statement "puVar4 = PTR_LAB_003a88e0 + 0x4b2c;" (assignment_expression "puVar4 = PTR_LAB_003a88e0 + 0x4b2c" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4b2c" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_1014,0x1000,puVar4,uVar2)" ( identifier , number_literal , identifier , identifier ))) ;) }) (else_clause "else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }" else (compound_statement "{\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }" { (if_statement "if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" if (parenthesized_expression "(fVar1 <= 0.0)" ( (binary_expression "fVar1 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n      uVar5 = 0;\n      uVar2 = 0;\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" else (compound_statement "{\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" { (expression_statement "dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;" (assignment_expression "dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" identifier = (binary_expression "(double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" ( (binary_expression "dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" identifier < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" identifier + number_literal) ))))) )) (compound_statement "{\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }" { (expression_statement "dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" if (parenthesized_expression "(dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n          uVar5 = (uint)dVar9;\n        }" { (expression_statement "uVar5 = (uint)dVar9;" (assignment_expression "uVar5 = (uint)dVar9" identifier = (cast_expression "(uint)dVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" else (compound_statement "{\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" { (expression_statement "uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" identifier = (binary_expression "(int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) }))) (if_statement "if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" ( (binary_expression "dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" identifier < (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }" { (expression_statement "dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (binary_expression "dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier + (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" if (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier < (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n            uVar2 = (uint)dVar8;\n          }" { (expression_statement "uVar2 = (uint)dVar8;" (assignment_expression "uVar2 = (uint)dVar8" identifier = (cast_expression "(uint)dVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" else (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" { (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" identifier = (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" ( (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier - (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) }))) }) (else_clause "else {\n          uVar2 = 0xffffffff;\n        }" else (compound_statement "{\n          uVar2 = 0xffffffff;\n        }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }))) }) (else_clause "else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" else (compound_statement "{\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" { (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }))) }))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2)" ( identifier , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x4b20" identifier + number_literal) , identifier , identifier ))) ;) }))) (expression_statement "(*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);" (call_expression "(*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000)" (parenthesized_expression "(*(code *)PTR_ConcatenateMagickString_003a9898)" ( (pointer_expression "*(code *)PTR_ConcatenateMagickString_003a9898" * (cast_expression "(code *)PTR_ConcatenateMagickString_003a9898" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,auStack_1014,0x1000)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar7)" ( (binary_expression "local_14 == *(int *)puVar7" identifier == (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar7;\n  }" { (return_statement "return *(int *)puVar7;" return (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "puVar7 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar7 = 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 "iVar6 = *(int *)(puVar7 + 0x347d8c);" (assignment_expression "iVar6 = *(int *)(puVar7 + 0x347d8c)" identifier = (pointer_expression "*(int *)(puVar7 + 0x347d8c)" * (cast_expression "(int *)(puVar7 + 0x347d8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x347d8c)" ( (binary_expression "puVar7 + 0x347d8c" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }" if (parenthesized_expression "(*(int *)(iVar6 + -0x5100) == 0)" ( (binary_expression "*(int *)(iVar6 + -0x5100) == 0" (pointer_expression "*(int *)(iVar6 + -0x5100)" * (cast_expression "(int *)(iVar6 + -0x5100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0x5100)" ( (binary_expression "iVar6 + -0x5100" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }" { (expression_statement "uVar3 = (**(code **)(puVar7 + 0x348aec))();" (assignment_expression "uVar3 = (**(code **)(puVar7 + 0x348aec))()" identifier = (call_expression "(**(code **)(puVar7 + 0x348aec))()" (parenthesized_expression "(**(code **)(puVar7 + 0x348aec))" ( (pointer_expression "**(code **)(puVar7 + 0x348aec)" * (pointer_expression "*(code **)(puVar7 + 0x348aec)" * (cast_expression "(code **)(puVar7 + 0x348aec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x348aec)" ( (binary_expression "puVar7 + 0x348aec" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar6 + -0x5100) = uVar3;" (assignment_expression "*(undefined4 *)(iVar6 + -0x5100) = uVar3" (pointer_expression "*(undefined4 *)(iVar6 + -0x5100)" * (cast_expression "(undefined4 *)(iVar6 + -0x5100)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0x5100)" ( (binary_expression "iVar6 + -0x5100" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))))))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) & LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) & LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) | LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))))) (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 ( IDENT , LIT , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_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 < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) | LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_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 < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) | LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT ))) ;) (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 = 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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_00060770(int param_1,uint param_2,undefined4 param_3)\n\n{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_1014 [4096];\n  int local_14;\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }\n  uVar2 = *(uint *)(param_1 + 0x18);\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);\n  if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar6 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }\n  return 1;\n}" (primitive_type "int") (function_declarator "FUN_00060770(int param_1,uint param_2,undefined4 param_3)" (identifier "FUN_00060770") (parameter_list "(int param_1,uint param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  float fVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined *puVar7;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_1014 [4096];\n  int local_14;\n  \n  puVar7 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }\n  uVar2 = *(uint *)(param_1 + 0x18);\njoined_r0x00060880:\n  fVar1 = (float)dVar8;\n  if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }\n  (*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);\n  if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }\n  puVar7 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  iVar6 = *(int *)(puVar7 + 0x347d8c);\n  if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }\n  return 1;\n}" ({ "{") (declaration "float fVar1;" (primitive_type "float") (identifier "fVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "double dVar8;" (primitive_type "double") (identifier "dVar8") (; ";")) (declaration "double dVar9;" (primitive_type "double") (identifier "dVar9") (; ";")) (declaration "undefined1 auStack_1014 [4096];" (type_identifier "undefined1") (array_declarator "auStack_1014 [4096]" (identifier "auStack_1014") ([ "[") (number_literal "4096") (] "]")) (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (expression_statement "puVar7 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar7 = PTR___stack_chk_guard_003a9230" (identifier "puVar7") (= "=") (identifier "PTR___stack_chk_guard_003a9230")) (; ";")) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_003a9230" (identifier "local_14") (= "=") (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_2 == 2) {\n    dVar8 = *(double *)(param_1 + 0x38);\n  }\n  else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" (if "if") (parenthesized_expression "(param_2 == 2)" (( "(") (binary_expression "param_2 == 2" (identifier "param_2") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    dVar8 = *(double *)(param_1 + 0x38);\n  }" ({ "{") (expression_statement "dVar8 = *(double *)(param_1 + 0x38);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x38)" (identifier "dVar8") (= "=") (pointer_expression "*(double *)(param_1 + 0x38)" (* "*") (cast_expression "(double *)(param_1 + 0x38)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (} "}")) (else_clause "else if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" (else "else") (if_statement "if (param_2 < 3) {\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }\n  else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" (if "if") (parenthesized_expression "(param_2 < 3)" (( "(") (binary_expression "param_2 < 3" (identifier "param_2") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }\nLAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);\n  }" ({ "{") (if_statement "if (param_2 == 1) {\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }" (if "if") (parenthesized_expression "(param_2 == 1)" (( "(") (binary_expression "param_2 == 1" (identifier "param_2") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      dVar8 = *(double *)(param_1 + 0x30);\n      uVar2 = *(uint *)(param_1 + 0x18);\n      goto joined_r0x00060880;\n    }" ({ "{") (expression_statement "dVar8 = *(double *)(param_1 + 0x30);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x30)" (identifier "dVar8") (= "=") (pointer_expression "*(double *)(param_1 + 0x30)" (* "*") (cast_expression "(double *)(param_1 + 0x30)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (goto_statement "goto joined_r0x00060880;" (goto "goto") (statement_identifier "joined_r0x00060880") (; ";")) (} "}"))) (labeled_statement "LAB_00060a64:\n    dVar8 = *(double *)(param_1 + 0x28);" (statement_identifier "LAB_00060a64") (: ":") (expression_statement "dVar8 = *(double *)(param_1 + 0x28);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x28)" (identifier "dVar8") (= "=") (pointer_expression "*(double *)(param_1 + 0x28)" (* "*") (cast_expression "(double *)(param_1 + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";"))) (} "}")) (else_clause "else if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" (else "else") (if_statement "if (param_2 == 3) {\n    dVar8 = *(double *)(param_1 + 0x40);\n  }\n  else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" (if "if") (parenthesized_expression "(param_2 == 3)" (( "(") (binary_expression "param_2 == 3" (identifier "param_2") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n    dVar8 = *(double *)(param_1 + 0x40);\n  }" ({ "{") (expression_statement "dVar8 = *(double *)(param_1 + 0x40);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x40)" (identifier "dVar8") (= "=") (pointer_expression "*(double *)(param_1 + 0x40)" (* "*") (cast_expression "(double *)(param_1 + 0x40)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" (else "else") (compound_statement "{\n    if (param_2 != 4) goto LAB_00060a64;\n    dVar8 = *(double *)(param_1 + 0x48);\n  }" ({ "{") (if_statement "if (param_2 != 4) goto LAB_00060a64;" (if "if") (parenthesized_expression "(param_2 != 4)" (( "(") (binary_expression "param_2 != 4" (identifier "param_2") (!= "!=") (number_literal "4")) () ")")) (goto_statement "goto LAB_00060a64;" (goto "goto") (statement_identifier "LAB_00060a64") (; ";"))) (expression_statement "dVar8 = *(double *)(param_1 + 0x48);" (assignment_expression "dVar8 = *(double *)(param_1 + 0x48)" (identifier "dVar8") (= "=") (pointer_expression "*(double *)(param_1 + 0x48)" (* "*") (cast_expression "(double *)(param_1 + 0x48)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (} "}")))))))) (expression_statement "uVar2 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (labeled_statement "joined_r0x00060880:\n  fVar1 = (float)dVar8;" (statement_identifier "joined_r0x00060880") (: ":") (expression_statement "fVar1 = (float)dVar8;" (assignment_expression "fVar1 = (float)dVar8" (identifier "fVar1") (= "=") (cast_expression "(float)dVar8" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "dVar8"))) (; ";"))) (if_statement "if (uVar2 < 0x21) {\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }\n  else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }" (if "if") (parenthesized_expression "(uVar2 < 0x21)" (( "(") (binary_expression "uVar2 < 0x21" (identifier "uVar2") (< "<") (number_literal "0x21")) () ")")) (compound_statement "{\n    if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);\n  }" ({ "{") (if_statement "if (uVar2 < 0x11) {\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }\n    else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" (if "if") (parenthesized_expression "(uVar2 < 0x11)" (( "(") (binary_expression "uVar2 < 0x11" (identifier "uVar2") (< "<") (number_literal "0x11")) () ")")) (compound_statement "{\n      if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }\n    }" ({ "{") (if_statement "if (uVar2 < 9) {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }\n      else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }" (if "if") (parenthesized_expression "(uVar2 < 9)" (( "(") (binary_expression "uVar2 < 9" (identifier "uVar2") (< "<") (number_literal "9")) () ")")) (compound_statement "{\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;\n      }" ({ "{") (if_statement "if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" (if "if") (parenthesized_expression "(fVar1 <= 0.0)" (( "(") (binary_expression "fVar1 <= 0.0" (identifier "fVar1") (<= "<=") (number_literal "0.0")) () ")")) (compound_statement "{\n          uVar2 = 0;\n        }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" (else "else") (if_statement "if ((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }\n        else {\n          uVar2 = 0xff;\n        }" (if "if") (parenthesized_expression "((double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8))" (( "(") (binary_expression "(double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (binary_expression "(double)fVar1 /\n                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (cast_expression "(double)fVar1" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar1")) (/ "/") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5af0")) () ")"))))) (< "<") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5ae8")) () ")"))))) () ")")) (compound_statement "{\n          dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }\n        }" ({ "{") (expression_statement "dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400)" (identifier "dVar8") (= "=") (binary_expression "(double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +\n                  *(double *)(PTR_LAB_003a88e0 + 0x1400)" (binary_expression "(double)fVar1 /\n                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (cast_expression "(double)fVar1" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar1")) (/ "/") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5af0")) () ")"))))) (+ "+") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1400" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1400")) () ")")))))) (; ";")) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" (if "if") (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar8") (< "<") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) () ")")) (compound_statement "{\n            uVar2 = (int)dVar8 & 0xff;\n          }" ({ "{") (expression_statement "uVar2 = (int)dVar8 & 0xff;" (assignment_expression "uVar2 = (int)dVar8 & 0xff" (identifier "uVar2") (= "=") (binary_expression "(int)dVar8 & 0xff" (cast_expression "(int)dVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "dVar8")) (& "&") (number_literal "0xff"))) (; ";")) (} "}")) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" (else "else") (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;\n          }" ({ "{") (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff" (identifier "uVar2") (= "=") (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar8") (- "-") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) () ")"))) (& "&") (number_literal "0xff"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          uVar2 = 0xff;\n        }" (else "else") (compound_statement "{\n          uVar2 = 0xff;\n        }" ({ "{") (expression_statement "uVar2 = 0xff;" (assignment_expression "uVar2 = 0xff" (identifier "uVar2") (= "=") (number_literal "0xff")) (; ";")) (} "}")))))) (expression_statement "puVar4 = PTR_LAB_003a88e0 + 0x4b3c;" (assignment_expression "puVar4 = PTR_LAB_003a88e0 + 0x4b3c" (identifier "puVar4") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x4b3c" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x4b3c"))) (; ";")) (} "}")) (else_clause "else {\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }" (else "else") (compound_statement "{\n        if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }\n        puVar4 = PTR_LAB_003a88e0 + 0x4b34;\n      }" ({ "{") (if_statement "if (fVar1 <= 0.0) {\n          uVar2 = 0;\n        }\n        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" (if "if") (parenthesized_expression "(fVar1 <= 0.0)" (( "(") (binary_expression "fVar1 <= 0.0" (identifier "fVar1") (<= "<=") (number_literal "0.0")) () ")")) (compound_statement "{\n          uVar2 = 0;\n        }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" (else "else") (if_statement "if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }\n        else {\n          uVar2 = 0xffff;\n        }" (if "if") (parenthesized_expression "(fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50))" (( "(") (binary_expression "fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)" (identifier "fVar1") (< "<") (pointer_expression "*(float *)(PTR_LAB_003a88e0 + 0x1a50)" (* "*") (cast_expression "(float *)(PTR_LAB_003a88e0 + 0x1a50)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1a50)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1a50" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1a50")) () ")"))))) () ")")) (compound_statement "{\n          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }\n        }" ({ "{") (expression_statement "dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" (identifier "dVar8") (= "=") (binary_expression "(double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" (cast_expression "(double)fVar1" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar1")) (+ "+") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1400" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1400")) () ")")))))) (; ";")) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (int)dVar8 & 0xffff;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" (if "if") (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar8") (< "<") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) () ")")) (compound_statement "{\n            uVar2 = (int)dVar8 & 0xffff;\n          }" ({ "{") (expression_statement "uVar2 = (int)dVar8 & 0xffff;" (assignment_expression "uVar2 = (int)dVar8 & 0xffff" (identifier "uVar2") (= "=") (binary_expression "(int)dVar8 & 0xffff" (cast_expression "(int)dVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "dVar8")) (& "&") (number_literal "0xffff"))) (; ";")) (} "}")) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" (else "else") (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;\n          }" ({ "{") (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff" (identifier "uVar2") (= "=") (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar8") (- "-") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) () ")"))) (& "&") (number_literal "0xffff"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          uVar2 = 0xffff;\n        }" (else "else") (compound_statement "{\n          uVar2 = 0xffff;\n        }" ({ "{") (expression_statement "uVar2 = 0xffff;" (assignment_expression "uVar2 = 0xffff" (identifier "uVar2") (= "=") (number_literal "0xffff")) (; ";")) (} "}")))))) (expression_statement "puVar4 = PTR_LAB_003a88e0 + 0x4b34;" (assignment_expression "puVar4 = PTR_LAB_003a88e0 + 0x4b34" (identifier "puVar4") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x4b34" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x4b34"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" (else "else") (compound_statement "{\n      if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }\n      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;\n    }" ({ "{") (if_statement "if (fVar1 <= 0.0) {\n        uVar2 = 0;\n      }\n      else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" (if "if") (parenthesized_expression "(fVar1 <= 0.0)" (( "(") (binary_expression "fVar1 <= 0.0" (identifier "fVar1") (<= "<=") (number_literal "0.0")) () ")")) (compound_statement "{\n        uVar2 = 0;\n      }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" (else "else") (if_statement "if ((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }\n      else {\n        uVar2 = 0xffffffff;\n      }" (if "if") (parenthesized_expression "((double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" (( "(") (binary_expression "(double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (binary_expression "(double)fVar1 *\n               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar1")) (* "*") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5b00")) () ")"))))) (< "<") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5af8")) () ")"))))) () ")")) (compound_statement "{\n        dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n      }" ({ "{") (expression_statement "dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = (double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400)" (identifier "dVar8") (= "=") (binary_expression "(double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +\n                *(double *)(PTR_LAB_003a88e0 + 0x1400)" (binary_expression "(double)fVar1 *\n                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar1")) (* "*") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5b00")) () ")"))))) (+ "+") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1400" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1400")) () ")")))))) (; ";")) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar2 = (uint)dVar8;\n        }\n        else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" (if "if") (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar8") (< "<") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) () ")")) (compound_statement "{\n          uVar2 = (uint)dVar8;\n        }" ({ "{") (expression_statement "uVar2 = (uint)dVar8;" (assignment_expression "uVar2 = (uint)dVar8" (identifier "uVar2") (= "=") (cast_expression "(uint)dVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "dVar8"))) (; ";")) (} "}")) (else_clause "else {\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" (else "else") (compound_statement "{\n          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" ({ "{") (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (identifier "uVar2") (= "=") (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar8") (- "-") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) () ")"))) (| "|") (number_literal "0x80000000"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        uVar2 = 0xffffffff;\n      }" (else "else") (compound_statement "{\n        uVar2 = 0xffffffff;\n      }" ({ "{") (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))))) (expression_statement "puVar4 = PTR_LAB_003a88e0 + 0x4b2c;" (assignment_expression "puVar4 = PTR_LAB_003a88e0 + 0x4b2c" (identifier "puVar4") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x4b2c" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x4b2c"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" (( "(") (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" (* "*") (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FormatLocaleString_003a8d7c"))) () ")")) (argument_list "(auStack_1014,0x1000,puVar4,uVar2)" (( "(") (identifier "auStack_1014") (, ",") (number_literal "0x1000") (, ",") (identifier "puVar4") (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }" (else "else") (compound_statement "{\n    if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);\n  }" ({ "{") (if_statement "if (fVar1 <= 0.0) {\n      uVar5 = 0;\n      uVar2 = 0;\n    }\n    else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" (if "if") (parenthesized_expression "(fVar1 <= 0.0)" (( "(") (binary_expression "fVar1 <= 0.0" (identifier "fVar1") (<= "<=") (number_literal "0.0")) () ")")) (compound_statement "{\n      uVar5 = 0;\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" (else "else") (compound_statement "{\n      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;\n      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }\n    }" ({ "{") (expression_statement "dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)\n      ;" (assignment_expression "dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (identifier "dVar8") (= "=") (binary_expression "(double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (cast_expression "(double)fVar1" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar1")) (* "*") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5b00")) () ")")))))) (; ";")) (if_statement "if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }\n      else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" (if "if") (parenthesized_expression "(dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" (( "(") (binary_expression "dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (identifier "dVar8") (< "<") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5af8")) () ")"))))) () ")")) (compound_statement "{\n        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }\n        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }\n      }" ({ "{") (expression_statement "dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" (identifier "dVar9") (= "=") (binary_expression "dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" (identifier "dVar8") (+ "+") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1400" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1400")) () ")")))))) (; ";")) (if_statement "if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n          uVar5 = (uint)dVar9;\n        }\n        else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" (if "if") (parenthesized_expression "(dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (binary_expression "dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar9") (< "<") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) () ")")) (compound_statement "{\n          uVar5 = (uint)dVar9;\n        }" ({ "{") (expression_statement "uVar5 = (uint)dVar9;" (assignment_expression "uVar5 = (uint)dVar9" (identifier "uVar5") (= "=") (cast_expression "(uint)dVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "dVar9"))) (; ";")) (} "}")) (else_clause "else {\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" (else "else") (compound_statement "{\n          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n        }" ({ "{") (expression_statement "uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (identifier "uVar5") (= "=") (binary_expression "(int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (binary_expression "dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar9") (- "-") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) () ")"))) (| "|") (number_literal "0x80000000"))) (; ";")) (} "}")))) (if_statement "if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }\n        else {\n          uVar2 = 0xffffffff;\n        }" (if "if") (parenthesized_expression "(dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8))" (( "(") (binary_expression "dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (identifier "dVar8") (< "<") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5af8")) () ")"))))) () ")")) (compound_statement "{\n          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);\n          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }\n        }" ({ "{") (expression_statement "dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" (identifier "dVar8") (= "=") (binary_expression "dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400)" (identifier "dVar8") (+ "+") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1400" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1400")) () ")")))))) (; ";")) (if_statement "if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {\n            uVar2 = (uint)dVar8;\n          }\n          else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" (if "if") (parenthesized_expression "(dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (binary_expression "dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar8") (< "<") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) () ")")) (compound_statement "{\n            uVar2 = (uint)dVar8;\n          }" ({ "{") (expression_statement "uVar2 = (uint)dVar8;" (assignment_expression "uVar2 = (uint)dVar8" (identifier "uVar2") (= "=") (cast_expression "(uint)dVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "dVar8"))) (; ";")) (} "}")) (else_clause "else {\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" (else "else") (compound_statement "{\n            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;\n          }" ({ "{") (expression_statement "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;" (assignment_expression "uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (identifier "uVar2") (= "=") (binary_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000" (cast_expression "(int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410))" (( "(") (binary_expression "dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar8") (- "-") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) () ")"))) (| "|") (number_literal "0x80000000"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          uVar2 = 0xffffffff;\n        }" (else "else") (compound_statement "{\n          uVar2 = 0xffffffff;\n        }" ({ "{") (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" (else "else") (compound_statement "{\n        uVar5 = 0xffffffff;\n        uVar2 = 0xffffffff;\n      }" ({ "{") (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" (identifier "uVar5") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (} "}")))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" (( "(") (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" (* "*") (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FormatLocaleString_003a8d7c"))) () ")")) (argument_list "(auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2)" (( "(") (identifier "auStack_1014") (, ",") (number_literal "0x1000") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x4b20" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x4b20")) (, ",") (identifier "uVar5") (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);" (call_expression "(*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000)" (parenthesized_expression "(*(code *)PTR_ConcatenateMagickString_003a9898)" (( "(") (pointer_expression "*(code *)PTR_ConcatenateMagickString_003a9898" (* "*") (cast_expression "(code *)PTR_ConcatenateMagickString_003a9898" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ConcatenateMagickString_003a9898"))) () ")")) (argument_list "(param_3,auStack_1014,0x1000)" (( "(") (identifier "param_3") (, ",") (identifier "auStack_1014") (, ",") (number_literal "0x1000") () ")"))) (; ";")) (if_statement "if (local_14 == *(int *)puVar7) {\n    return *(int *)puVar7;\n  }" (if "if") (parenthesized_expression "(local_14 == *(int *)puVar7)" (( "(") (binary_expression "local_14 == *(int *)puVar7" (identifier "local_14") (== "==") (pointer_expression "*(int *)puVar7" (* "*") (cast_expression "(int *)puVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7")))) () ")")) (compound_statement "{\n    return *(int *)puVar7;\n  }" ({ "{") (return_statement "return *(int *)puVar7;" (return "return") (pointer_expression "*(int *)puVar7" (* "*") (cast_expression "(int *)puVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7"))) (; ";")) (} "}"))) (expression_statement "puVar7 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar7 = PTR___stack_chk_fail_003a9064" (identifier "puVar7") (= "=") (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 "iVar6 = *(int *)(puVar7 + 0x347d8c);" (assignment_expression "iVar6 = *(int *)(puVar7 + 0x347d8c)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(puVar7 + 0x347d8c)" (* "*") (cast_expression "(int *)(puVar7 + 0x347d8c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x347d8c)" (( "(") (binary_expression "puVar7 + 0x347d8c" (identifier "puVar7") (+ "+") (number_literal "0x347d8c")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar6 + -0x5100) == 0) {\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + -0x5100) == 0)" (( "(") (binary_expression "*(int *)(iVar6 + -0x5100) == 0" (pointer_expression "*(int *)(iVar6 + -0x5100)" (* "*") (cast_expression "(int *)(iVar6 + -0x5100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -0x5100)" (( "(") (binary_expression "iVar6 + -0x5100" (identifier "iVar6") (+ "+") (number_literal "-0x5100")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = (**(code **)(puVar7 + 0x348aec))();\n    *(undefined4 *)(iVar6 + -0x5100) = uVar3;\n    return 1;\n  }" ({ "{") (expression_statement "uVar3 = (**(code **)(puVar7 + 0x348aec))();" (assignment_expression "uVar3 = (**(code **)(puVar7 + 0x348aec))()" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar7 + 0x348aec))()" (parenthesized_expression "(**(code **)(puVar7 + 0x348aec))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x348aec)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x348aec)" (* "*") (cast_expression "(code **)(puVar7 + 0x348aec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x348aec)" (( "(") (binary_expression "puVar7 + 0x348aec" (identifier "puVar7") (+ "+") (number_literal "0x348aec")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + -0x5100) = uVar3;" (assignment_expression "*(undefined4 *)(iVar6 + -0x5100) = uVar3" (pointer_expression "*(undefined4 *)(iVar6 + -0x5100)" (* "*") (cast_expression "(undefined4 *)(iVar6 + -0x5100)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -0x5100)" (( "(") (binary_expression "iVar6 + -0x5100" (identifier "iVar6") (+ "+") (number_literal "-0x5100")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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: (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)))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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)))))) 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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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)))))) 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: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_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)))))))) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_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)))))))) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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)))))) 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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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)))))) 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: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_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)))))))) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (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 (identifier) (number_literal) (identifier) (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_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: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_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)))))))) right: (number_literal))))))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_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: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_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)))))))) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal)))) (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: (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement (number_literal)))) (return_statement (number_literal)))))

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

{
  float fVar1;
  uint uVar2;
  undefined4 uVar3;
  undefined *puVar4;
  uint uVar5;
  int iVar6;
  undefined *puVar7;
  double dVar8;
  double dVar9;
  undefined1 auStack_1014 [4096];
  int local_14;
  
  puVar7 = PTR___stack_chk_guard_003a9230;
  local_14 = *(int *)PTR___stack_chk_guard_003a9230;
  if (param_2 == 2) {
    dVar8 = *(double *)(param_1 + 0x38);
  }
  else if (param_2 < 3) {
    if (param_2 == 1) {
      dVar8 = *(double *)(param_1 + 0x30);
      uVar2 = *(uint *)(param_1 + 0x18);
      goto joined_r0x00060880;
    }
LAB_00060a64:
    dVar8 = *(double *)(param_1 + 0x28);
  }
  else if (param_2 == 3) {
    dVar8 = *(double *)(param_1 + 0x40);
  }
  else {
    if (param_2 != 4) goto LAB_00060a64;
    dVar8 = *(double *)(param_1 + 0x48);
  }
  uVar2 = *(uint *)(param_1 + 0x18);
joined_r0x00060880:
  fVar1 = (float)dVar8;
  if (uVar2 < 0x21) {
    if (uVar2 < 0x11) {
      if (uVar2 < 9) {
        if (fVar1 <= 0.0) {
          uVar2 = 0;
        }
        else if ((double)fVar1 /
                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) <
                 *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)) {
          dVar8 = (double)fVar1 /
                  *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0) +
                  *(double *)(PTR_LAB_003a88e0 + 0x1400);
          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
            uVar2 = (int)dVar8 & 0xff;
          }
          else {
            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xff;
          }
        }
        else {
          uVar2 = 0xff;
        }
        puVar4 = PTR_LAB_003a88e0 + 0x4b3c;
      }
      else {
        if (fVar1 <= 0.0) {
          uVar2 = 0;
        }
        else if (fVar1 < *(float *)(PTR_LAB_003a88e0 + 0x1a50)) {
          dVar8 = (double)fVar1 + *(double *)(PTR_LAB_003a88e0 + 0x1400);
          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
            uVar2 = (int)dVar8 & 0xffff;
          }
          else {
            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) & 0xffff;
          }
        }
        else {
          uVar2 = 0xffff;
        }
        puVar4 = PTR_LAB_003a88e0 + 0x4b34;
      }
    }
    else {
      if (fVar1 <= 0.0) {
        uVar2 = 0;
      }
      else if ((double)fVar1 *
               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) <
               *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {
        dVar8 = (double)fVar1 *
                *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00) +
                *(double *)(PTR_LAB_003a88e0 + 0x1400);
        if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
          uVar2 = (uint)dVar8;
        }
        else {
          uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;
        }
      }
      else {
        uVar2 = 0xffffffff;
      }
      puVar4 = PTR_LAB_003a88e0 + 0x4b2c;
    }
    (*(code *)PTR_FormatLocaleString_003a8d7c)(auStack_1014,0x1000,puVar4,uVar2);
  }
  else {
    if (fVar1 <= 0.0) {
      uVar5 = 0;
      uVar2 = 0;
    }
    else {
      dVar8 = (double)fVar1 * *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5b00)
      ;
      if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {
        dVar9 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);
        if (dVar9 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
          uVar5 = (uint)dVar9;
        }
        else {
          uVar5 = (int)(dVar9 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;
        }
        if (dVar8 < *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af8)) {
          dVar8 = dVar8 + *(double *)(PTR_LAB_003a88e0 + 0x1400);
          if (dVar8 < *(double *)(PTR_LAB_003a88e0 + 0x1410)) {
            uVar2 = (uint)dVar8;
          }
          else {
            uVar2 = (int)(dVar8 - *(double *)(PTR_LAB_003a88e0 + 0x1410)) | 0x80000000;
          }
        }
        else {
          uVar2 = 0xffffffff;
        }
      }
      else {
        uVar5 = 0xffffffff;
        uVar2 = 0xffffffff;
      }
    }
    (*(code *)PTR_FormatLocaleString_003a8d7c)
              (auStack_1014,0x1000,PTR_LAB_003a88e0 + 0x4b20,uVar5,uVar2);
  }
  (*(code *)PTR_ConcatenateMagickString_003a9898)(param_3,auStack_1014,0x1000);
  if (local_14 == *(int *)puVar7) {
    return *(int *)puVar7;
  }
  puVar7 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  iVar6 = *(int *)(puVar7 + 0x347d8c);
  if (*(int *)(iVar6 + -0x5100) == 0) {
    uVar3 = (**(code **)(puVar7 + 0x348aec))();
    *(undefined4 *)(iVar6 + -0x5100) = uVar3;
    return 1;
  }
  return 1;
}

