
_Bool invalidate_cache(int fd,off_t len)

{
  char cVar1;
  undefined *puVar2;
  int *piVar3;
  int iVar4;
  undefined4 *puVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint uVar10;
  int in_a2;
  uint in_a3;
  int iVar11;
  undefined8 uVar12;
  
  if (fd == 0) {
    cVar1 = PTR_DAT_00034118[0x44e1];
    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);
  }
  else {
    cVar1 = PTR_DAT_00034118[0x44e0];
    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);
  }
  if (in_a2 == 0 && in_a3 == 0) {
    iVar6 = *piVar3;
    uVar10 = piVar3[1];
    if ((iVar6 == 0 && uVar10 == 0) && (cVar1 == '\0')) {
      return true;
    }
    uVar8 = in_a3;
    iVar11 = in_a2;
    if (fd != 0) goto LAB_00013708;
LAB_000136bc:
    if (PTR_DAT_00034118[0x459c] == '\0') {
      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();
      *puVar5 = 0x1d;
      iVar6 = -1;
      goto LAB_000138a8;
    }
    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);
    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);
  }
  else {
    uVar8 = in_a3 + piVar3[1];
    iVar6 = (uint)(uVar8 < in_a3) + in_a2 + *piVar3;
    uVar10 = uVar8 & 0x1ffff;
    *piVar3 = 0;
    piVar3[1] = uVar10;
    if ((iVar6 == 0) && (uVar8 <= uVar10)) {
      return true;
    }
    uVar10 = uVar8 - uVar10;
    iVar6 = iVar6 - (uint)(uVar8 < uVar10);
    if (iVar6 == 0 && uVar10 == 0) {
      return true;
    }
    if (fd == 0) {
      uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc);
      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);
      goto LAB_000136bc;
    }
    uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43c4);
    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);
LAB_00013708:
    puVar2 = PTR_DAT_00034118;
    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);
    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {
      if (iVar4 < 0) {
        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);
        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;
      }
      else if (in_a2 != 0 || in_a3 != 0) {
        uVar9 = uVar8 + uVar10;
        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);
        *(uint *)(PTR_DAT_00034118 + 0x4048) =
             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;
        *(uint *)(puVar2 + 0x404c) = uVar7;
      }
    }
    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);
    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);
  }
  if (iVar4 < 0) {
    iVar6 = -1;
    goto LAB_000138a8;
  }
  uVar9 = uVar7 - uVar10;
  if (in_a2 == 0 && in_a3 == 0) {
    if ((iVar6 == 0 && uVar10 == 0) || (iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0')) {
      uVar8 = uVar7 - uVar8;
      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar8);
LAB_00013840:
      __moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));
    }
  }
  else {
    uVar8 = uVar9 - uVar8;
    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar8);
    if (iVar6 == 0 && uVar10 == 0) goto LAB_00013840;
  }
  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(fd);
LAB_000138a8:
  return iVar6 != -1;
}



bool FUN_000135a8(int param_1,uint param_2,int param_3,uint param_4)

{
  char cVar1;
  undefined *puVar2;
  int *piVar3;
  int iVar4;
  undefined4 *puVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint uVar10;
  int iVar11;
  undefined8 uVar12;
  
  if (param_1 == 0) {
    cVar1 = PTR_DAT_00034118[0x44e1];
    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);
  }
  else {
    cVar1 = PTR_DAT_00034118[0x44e0];
    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);
  }
  if (param_3 == 0 && param_4 == 0) {
    iVar6 = *piVar3;
    uVar8 = piVar3[1];
    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {
      return true;
    }
    uVar10 = param_4;
    iVar11 = param_3;
    if (param_1 != 0) goto LAB_00013708;
LAB_000136bc:
    if (PTR_DAT_00034118[0x459c] == '\0') {
      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();
      *puVar5 = 0x1d;
      iVar6 = -1;
      goto LAB_000138a8;
    }
    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);
    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);
  }
  else {
    uVar8 = param_4 + piVar3[1];
    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;
    param_2 = uVar8 & 0x1ffff;
    *piVar3 = 0;
    piVar3[1] = param_2;
    if ((iVar6 == 0) && (uVar8 <= param_2)) {
      return true;
    }
    param_2 = uVar8 - param_2;
    iVar6 = iVar6 - (uint)(uVar8 < param_2);
    if (iVar6 == 0 && param_2 == 0) {
      return true;
    }
    uVar8 = param_2;
    if (param_1 == 0) {
      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);
      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);
      goto LAB_000136bc;
    }
    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);
    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);
LAB_00013708:
    puVar2 = PTR_DAT_00034118;
    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);
    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {
      if (iVar4 < 0) {
        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);
        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;
      }
      else if (param_3 != 0 || param_4 != 0) {
        uVar9 = uVar10 + uVar8;
        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);
        *(uint *)(PTR_DAT_00034118 + 0x4048) =
             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;
        *(uint *)(puVar2 + 0x404c) = uVar7;
      }
    }
    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);
    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);
  }
  if (iVar4 < 0) {
    iVar6 = -1;
    goto LAB_000138a8;
  }
  uVar9 = uVar7 - uVar8;
  if (param_3 == 0 && param_4 == 0) {
    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {
      uVar10 = uVar7 - uVar10;
      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);
LAB_00013840:
      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));
    }
  }
  else {
    uVar10 = uVar9 - uVar10;
    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);
    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;
  }
  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);
LAB_000138a8:
  return iVar6 != -1;
}


lui gp,0x3
addiu gp,gp,-0x74b8
addu gp,gp,t9
addiu sp,sp,-0x50
sw ra,0x4c(sp)
sw s7,0x48(sp)
sw s6,0x44(sp)
sw s5,0x40(sp)
sw s4,0x3c(sp)
sw s3,0x38(sp)
sw s2,0x34(sp)
sw s1,0x30(sp)
sw s0,0x2c(sp)
sw gp,0x20(sp)
or s2,a0,zero
or s0,a2,zero
bne a0,zero,0x00013680
_or s1,a3,zero
lw v0,-0x7fd8(gp)
lbu s3,0x44e1(v0)
lw v0,-0x7fd8(gp)
addiu v0,v0,0x43c8
or v1,s0,s1
beq v1,zero,0x00013694
_nop
lw a1,0x0(v0)
lw a0,0x4(v0)
addu a0,s1,a0
sltu v1,a0,s1
addu a1,s0,a1
addu v1,v1,a1
ext a1,a0,0x0,0x11
sw zero,0x0(v0)
sw a1,0x4(v0)
bne v1,zero,0x0001364c
_or v0,zero,zero
bne v1,v0,0x000138b0
_li v0,0x1
sltu v0,a1,a0
beq v0,zero,0x000138b0
_li v0,0x1
subu a1,a0,a1
sltu a0,a0,a1
subu v1,v1,a0
or s4,v1,zero
or v1,v1,a1
beq v1,zero,0x0001381c
_or s5,a1,zero
bne s2,zero,0x000136dc
_lw v0,-0x7fd8(gp)
lw v0,-0x7fd8(gp)
lw s7,0x43c8(v0)
b 0x000136bc
_lw s6,0x43cc(v0)
lw v0,-0x7fd8(gp)
lbu s3,0x44e0(v0)
lw v0,-0x7fd8(gp)
b 0x00013600
_addiu v0,v0,0x43c0
lw s4,0x0(v0)
lw s5,0x4(v0)
or v0,s4,s5
bne v0,zero,0x000136b0
_nop
beq s3,zero,0x000138b0
_li v0,0x1
bne s2,zero,0x00013704
_or s7,s0,zero
or s6,s1,zero
lw v0,-0x7fd8(gp)
lbu v0,0x459c(v0)
beq v0,zero,0x000136e8
_lw t9,-0x7e2c(gp)
lw v1,-0x7fd8(gp)
lw v0,0x4590(v1)
b 0x00013760
_lw v1,0x4594(v1)
lw s7,0x43c0(v0)
b 0x00013708
_lw s6,0x43c4(v0)
jalr t9
_nop
lw gp,0x20(sp)
li v1,0x1d
sw v1,0x0(v0)
b 0x000138a8
_li v0,-0x1
or s6,s1,zero
lw v0,-0x7fd8(gp)
lw v1,0x4048(v0)
li a0,-0x1
beq v1,a0,0x000137a4
_lw v0,0x404c(v0)
bltz v1,0x000137b4
_or a0,s0,s1
beq a0,zero,0x00013754
_lw a2,-0x7fd8(gp)
addu a0,s6,s5
sltu a1,a0,s6
addu a3,s7,s4
addu a1,a1,a3
addu v0,a0,v0
sltu a0,v0,a0
addu v1,a1,v1
addu v1,a0,v1
sw v1,0x4048(a2)
sw v0,0x404c(a2)
lw v1,-0x7fd8(gp)
lw v0,0x4048(v1)
lw v1,0x404c(v1)
bltz v0,0x00013814
_or s0,s0,s1
bne s0,zero,0x000137e8
_subu a0,v1,s5
or a0,s4,s5
beq a0,zero,0x00013830
_subu s0,v1,s6
bne s3,zero,0x00013824
_subu a0,v1,s5
sltu v1,v1,a0
subu v0,v0,s4
subu v0,v0,v1
subu s0,a0,s6
sltu a0,a0,s0
subu s7,v0,s7
b 0x0001387c
_subu s7,s7,a0
bne v0,a0,0x0001371c
_nop
b 0x00013758
_lw v1,-0x7fd8(gp)
li v0,0x1
sw v0,0x10(sp)
or a3,zero,zero
or a2,zero,zero
or a0,s2,zero
lw t9,-0x7dd0(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw a0,-0x7fd8(gp)
sw v1,0x404c(a0)
b 0x00013754
_sw v0,0x4048(a0)
sltu v1,v1,a0
subu v0,v0,s4
subu v0,v0,v1
subu s0,a0,s6
sltu a0,a0,s0
subu s7,v0,s7
or v0,s4,s5
bne v0,zero,0x0001387c
_subu s7,s7,a0
b 0x00013840
_lw t9,-0x7f94(gp)
b 0x000138a8
_li v0,-0x1
b 0x000138b0
_li v0,0x1
or s7,s4,zero
or s6,s5,zero
subu s0,v1,s5
sltu v1,v1,s0
subu s7,v0,s7
subu s7,s7,v1
lw t9,-0x7f94(gp)
or a2,zero,zero
lw v0,-0x7fd8(gp)
lw a3,0x4624(v0)
or a0,s7,zero
or a1,s0,zero
bal 0x0001fad0
_nop
lw gp,0x20(sp)
subu v1,s0,v1
sltu s0,s0,v1
subu s7,s7,v0
subu s7,s7,s0
or s0,v1,zero
or s4,zero,zero
or s5,zero,zero
li v0,0x4
sw v0,0x18(sp)
sw s4,0x10(sp)
sw s5,0x14(sp)
or a2,s7,zero
or a3,s0,zero
or a0,s2,zero
lw t9,-0x7e80(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu v0,v0,0x1
sltu v0,zero,v0
lw ra,0x4c(sp)
lw s7,0x48(sp)
lw s6,0x44(sp)
lw s5,0x40(sp)
lw s4,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x50
(translation_unit "bool FUN_000135a8(int param_1,uint param_2,int param_3,uint param_4)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar8;\n  if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);\nLAB_000138a8:\n  return iVar6 != -1;\n}\n\n" (function_definition "bool FUN_000135a8(int param_1,uint param_2,int param_3,uint param_4)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar8;\n  if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);\nLAB_000138a8:\n  return iVar6 != -1;\n}" primitive_type (function_declarator "FUN_000135a8(int param_1,uint param_2,int param_3,uint param_4)" identifier (parameter_list "(int param_1,uint param_2,int param_3,uint param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar8;\n  if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);\nLAB_000138a8:\n  return iVar6 != -1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined8 uVar12;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }" { (expression_statement "cVar1 = PTR_DAT_00034118[0x44e1];" (assignment_expression "cVar1 = PTR_DAT_00034118[0x44e1]" identifier = (subscript_expression "PTR_DAT_00034118[0x44e1]" identifier [ number_literal ])) ;) (expression_statement "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);" (assignment_expression "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8)" identifier = (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c8)" ( (binary_expression "PTR_DAT_00034118 + 0x43c8" identifier + number_literal) )))) ;) }) (else_clause "else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" else (compound_statement "{\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" { (expression_statement "cVar1 = PTR_DAT_00034118[0x44e0];" (assignment_expression "cVar1 = PTR_DAT_00034118[0x44e0]" identifier = (subscript_expression "PTR_DAT_00034118[0x44e0]" identifier [ number_literal ])) ;) (expression_statement "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);" (assignment_expression "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0)" identifier = (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c0)" ( (binary_expression "PTR_DAT_00034118 + 0x43c0" identifier + number_literal) )))) ;) }))) (if_statement "if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" if (parenthesized_expression "(param_3 == 0 && param_4 == 0)" ( (binary_expression "param_3 == 0 && param_4 == 0" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "param_4 == 0" identifier == number_literal)) )) (compound_statement "{\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }" { (expression_statement "iVar6 = *piVar3;" (assignment_expression "iVar6 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "uVar8 = piVar3[1];" (assignment_expression "uVar8 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (if_statement "if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }" if (parenthesized_expression "((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0'))" ( (binary_expression "(iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')" (parenthesized_expression "(iVar6 == 0 && uVar8 == 0)" ( (binary_expression "iVar6 == 0 && uVar8 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "uVar8 == 0" identifier == number_literal)) )) && (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (expression_statement "uVar10 = param_4;" (assignment_expression "uVar10 = param_4" identifier = identifier) ;) (expression_statement "iVar11 = param_3;" (assignment_expression "iVar11 = param_3" identifier = identifier) ;) (if_statement "if (param_1 != 0) goto LAB_00013708;" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00013708;" goto statement_identifier ;)) (labeled_statement "LAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" statement_identifier : (if_statement "if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" if (parenthesized_expression "(PTR_DAT_00034118[0x459c] == '\0')" ( (binary_expression "PTR_DAT_00034118[0x459c] == '\0'" (subscript_expression "PTR_DAT_00034118[0x459c]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" { (expression_statement "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000342c4)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000342c4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000342c4)" ( (pointer_expression "*(code *)PTR___errno_location_000342c4" * (cast_expression "(code *)PTR___errno_location_000342c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*puVar5 = 0x1d;" (assignment_expression "*puVar5 = 0x1d" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_000138a8;" goto statement_identifier ;) }))) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4590)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x4590)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4590)" ( (binary_expression "PTR_DAT_00034118 + 0x4590" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);" (assignment_expression "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x4594)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x4594)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4594)" ( (binary_expression "PTR_DAT_00034118 + 0x4594" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" else (compound_statement "{\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" { (expression_statement "uVar8 = param_4 + piVar3[1];" (assignment_expression "uVar8 = param_4 + piVar3[1]" identifier = (binary_expression "param_4 + piVar3[1]" identifier + (subscript_expression "piVar3[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;" (assignment_expression "iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3" identifier = (binary_expression "(uint)(uVar8 < param_4) + param_3 + *piVar3" (binary_expression "(uint)(uVar8 < param_4) + param_3" (call_expression "(uint)(uVar8 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar8 < param_4)" ( (binary_expression "uVar8 < param_4" identifier < identifier) ))) + identifier) + (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "param_2 = uVar8 & 0x1ffff;" (assignment_expression "param_2 = uVar8 & 0x1ffff" identifier = (binary_expression "uVar8 & 0x1ffff" identifier & number_literal)) ;) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "piVar3[1] = param_2;" (assignment_expression "piVar3[1] = param_2" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }" if (parenthesized_expression "((iVar6 == 0) && (uVar8 <= param_2))" ( (binary_expression "(iVar6 == 0) && (uVar8 <= param_2)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar8 <= param_2)" ( (binary_expression "uVar8 <= param_2" identifier <= identifier) ))) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (expression_statement "param_2 = uVar8 - param_2;" (assignment_expression "param_2 = uVar8 - param_2" identifier = (binary_expression "uVar8 - param_2" identifier - identifier)) ;) (expression_statement "iVar6 = iVar6 - (uint)(uVar8 < param_2);" (assignment_expression "iVar6 = iVar6 - (uint)(uVar8 < param_2)" identifier = (binary_expression "iVar6 - (uint)(uVar8 < param_2)" identifier - (call_expression "(uint)(uVar8 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar8 < param_2)" ( (binary_expression "uVar8 < param_2" identifier < identifier) ))))) ;) (if_statement "if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }" if (parenthesized_expression "(iVar6 == 0 && param_2 == 0)" ( (binary_expression "iVar6 == 0 && param_2 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "param_2 == 0" identifier == number_literal)) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (expression_statement "uVar8 = param_2;" (assignment_expression "uVar8 = param_2" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }" { (expression_statement "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);" (assignment_expression "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x43cc)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x43cc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43cc)" ( (binary_expression "PTR_DAT_00034118 + 0x43cc" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);" (assignment_expression "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x43c8)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c8)" ( (binary_expression "PTR_DAT_00034118 + 0x43c8" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_000136bc;" goto statement_identifier ;) })) (expression_statement "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);" (assignment_expression "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x43c4)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x43c4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c4)" ( (binary_expression "PTR_DAT_00034118 + 0x43c4" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);" (assignment_expression "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x43c0)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c0)" ( (binary_expression "PTR_DAT_00034118 + 0x43c0" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00013708:\n    puVar2 = PTR_DAT_00034118;" statement_identifier : (expression_statement "puVar2 = PTR_DAT_00034118;" (assignment_expression "puVar2 = PTR_DAT_00034118" identifier = identifier) ;)) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) ))))) ;) (if_statement "if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }" if (parenthesized_expression "((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1))" ( (binary_expression "(iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)" (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) || (parenthesized_expression "(*(int *)(PTR_DAT_00034118 + 0x404c) != -1)" ( (binary_expression "*(int *)(PTR_DAT_00034118 + 0x404c) != -1" (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x404c)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x404c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" ( (binary_expression "PTR_DAT_00034118 + 0x404c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }" { (if_statement "if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }" { (expression_statement "uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);" (assignment_expression "uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1)" identifier = (call_expression "(*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1)" (parenthesized_expression "(*(code *)PTR_lseek64_00034320)" ( (pointer_expression "*(code *)PTR_lseek64_00034320" * (cast_expression "(code *)PTR_lseek64_00034320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,0,0,1)" ( identifier , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "*(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;" (assignment_expression "*(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12" (pointer_expression "*(undefined8 *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(undefined8 *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" else (if_statement "if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" if (parenthesized_expression "(param_3 != 0 || param_4 != 0)" ( (binary_expression "param_3 != 0 || param_4 != 0" (binary_expression "param_3 != 0" identifier != number_literal) || (binary_expression "param_4 != 0" identifier != number_literal)) )) (compound_statement "{\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" { (expression_statement "uVar9 = uVar10 + uVar8;" (assignment_expression "uVar9 = uVar10 + uVar8" identifier = (binary_expression "uVar10 + uVar8" identifier + identifier)) ;) (expression_statement "uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);" (assignment_expression "uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c)" identifier = (binary_expression "uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c)" identifier + (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x404c)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x404c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" ( (binary_expression "PTR_DAT_00034118 + 0x404c" identifier + number_literal) )))))) ;) (expression_statement "*(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;" (assignment_expression "*(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4" (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) )))) = (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10)" (call_expression "(uint)(uVar7 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) ))) + (call_expression "(uint)(uVar9 < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < uVar10)" ( (binary_expression "uVar9 < uVar10" identifier < identifier) )))) + identifier) + identifier) + identifier)) ;) (expression_statement "*(uint *)(puVar2 + 0x404c) = uVar7;" (assignment_expression "*(uint *)(puVar2 + 0x404c) = uVar7" (pointer_expression "*(uint *)(puVar2 + 0x404c)" * (cast_expression "(uint *)(puVar2 + 0x404c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x404c)" ( (binary_expression "puVar2 + 0x404c" identifier + number_literal) )))) = identifier) ;) })))) })) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);" (assignment_expression "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x404c)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x404c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" ( (binary_expression "PTR_DAT_00034118 + 0x404c" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }" { (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_000138a8;" goto statement_identifier ;) })) (expression_statement "uVar9 = uVar7 - uVar8;" (assignment_expression "uVar9 = uVar7 - uVar8" identifier = (binary_expression "uVar7 - uVar8" identifier - identifier)) ;) (if_statement "if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }" if (parenthesized_expression "(param_3 == 0 && param_4 == 0)" ( (binary_expression "param_3 == 0 && param_4 == 0" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "param_4 == 0" identifier == number_literal)) )) (compound_statement "{\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }" { (if_statement "if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }" if (parenthesized_expression "((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0'))" ( (binary_expression "(iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')" (parenthesized_expression "(iVar6 == 0 && uVar8 == 0)" ( (binary_expression "iVar6 == 0 && uVar8 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "uVar8 == 0" identifier == number_literal)) )) || (parenthesized_expression "(iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')" ( (comma_expression "iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0'" (assignment_expression "iVar11 = iVar6" identifier = identifier) , (comma_expression "uVar10 = uVar8, cVar1 != '\0'" (assignment_expression "uVar10 = uVar8" identifier = identifier) , (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')))) ))) )) (compound_statement "{\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }" { (expression_statement "uVar10 = uVar7 - uVar10;" (assignment_expression "uVar10 = uVar7 - uVar10" identifier = (binary_expression "uVar7 - uVar10" identifier - identifier)) ;) (expression_statement "iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);" (assignment_expression "iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10)" identifier = (binary_expression "(iVar4 - iVar11) - (uint)(uVar7 < uVar10)" (parenthesized_expression "(iVar4 - iVar11)" ( (binary_expression "iVar4 - iVar11" identifier - identifier) )) - (call_expression "(uint)(uVar7 < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar10)" ( (binary_expression "uVar7 < uVar10" identifier < identifier) ))))) ;) (labeled_statement "LAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));" statement_identifier : (expression_statement "FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));" (call_expression "FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624))" identifier (argument_list "(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(PTR_DAT_00034118 + 0x4624)" * (cast_expression "(undefined4 *)(PTR_DAT_00034118 + 0x4624)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4624)" ( (binary_expression "PTR_DAT_00034118 + 0x4624" identifier + number_literal) )))) ))) ;)) })) }) (else_clause "else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }" else (compound_statement "{\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }" { (expression_statement "uVar10 = uVar9 - uVar10;" (assignment_expression "uVar10 = uVar9 - uVar10" identifier = (binary_expression "uVar9 - uVar10" identifier - identifier)) ;) (expression_statement "iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);" (assignment_expression "iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10)" identifier = (binary_expression "(((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10)" (parenthesized_expression "(((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11)" ( (binary_expression "((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11" (parenthesized_expression "((iVar4 - iVar6) - (uint)(uVar7 < uVar9))" ( (binary_expression "(iVar4 - iVar6) - (uint)(uVar7 < uVar9)" (parenthesized_expression "(iVar4 - iVar6)" ( (binary_expression "iVar4 - iVar6" identifier - identifier) )) - (call_expression "(uint)(uVar7 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) )))) )) - identifier) )) - (call_expression "(uint)(uVar9 < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < uVar10)" ( (binary_expression "uVar9 < uVar10" identifier < identifier) ))))) ;) (if_statement "if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;" if (parenthesized_expression "(iVar6 == 0 && uVar8 == 0)" ( (binary_expression "iVar6 == 0 && uVar8 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "uVar8 == 0" identifier == number_literal)) )) (goto_statement "goto LAB_00013840;" goto statement_identifier ;)) }))) (expression_statement "iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);" (assignment_expression "iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1)" identifier = (call_expression "(*(code *)PTR_posix_fadvise64_00034270)(param_1)" (parenthesized_expression "(*(code *)PTR_posix_fadvise64_00034270)" ( (pointer_expression "*(code *)PTR_posix_fadvise64_00034270" * (cast_expression "(code *)PTR_posix_fadvise64_00034270" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (labeled_statement "LAB_000138a8:\n  return iVar6 != -1;" statement_identifier : (return_statement "return iVar6 != -1;" return (binary_expression "iVar6 != -1" identifier != number_literal) ;)) })))
(translation_unit "_Bool invalidate_cache(int fd,off_t len)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_a2;\n  uint in_a3;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (fd == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (in_a2 == 0 && in_a3 == 0) {\n    iVar6 = *piVar3;\n    uVar10 = piVar3[1];\n    if ((iVar6 == 0 && uVar10 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar8 = in_a3;\n    iVar11 = in_a2;\n    if (fd != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = in_a3 + piVar3[1];\n    iVar6 = (uint)(uVar8 < in_a3) + in_a2 + *piVar3;\n    uVar10 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = uVar10;\n    if ((iVar6 == 0) && (uVar8 <= uVar10)) {\n      return true;\n    }\n    uVar10 = uVar8 - uVar10;\n    iVar6 = iVar6 - (uint)(uVar8 < uVar10);\n    if (iVar6 == 0 && uVar10 == 0) {\n      return true;\n    }\n    if (fd == 0) {\n      uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar10;\n  if (in_a2 == 0 && in_a3 == 0) {\n    if ((iVar6 == 0 && uVar10 == 0) || (iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0')) {\n      uVar8 = uVar7 - uVar8;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar8);\nLAB_00013840:\n      __moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar8 = uVar9 - uVar8;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar8);\n    if (iVar6 == 0 && uVar10 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(fd);\nLAB_000138a8:\n  return iVar6 != -1;\n}\n\n" (function_definition "_Bool invalidate_cache(int fd,off_t len)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_a2;\n  uint in_a3;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (fd == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (in_a2 == 0 && in_a3 == 0) {\n    iVar6 = *piVar3;\n    uVar10 = piVar3[1];\n    if ((iVar6 == 0 && uVar10 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar8 = in_a3;\n    iVar11 = in_a2;\n    if (fd != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = in_a3 + piVar3[1];\n    iVar6 = (uint)(uVar8 < in_a3) + in_a2 + *piVar3;\n    uVar10 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = uVar10;\n    if ((iVar6 == 0) && (uVar8 <= uVar10)) {\n      return true;\n    }\n    uVar10 = uVar8 - uVar10;\n    iVar6 = iVar6 - (uint)(uVar8 < uVar10);\n    if (iVar6 == 0 && uVar10 == 0) {\n      return true;\n    }\n    if (fd == 0) {\n      uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar10;\n  if (in_a2 == 0 && in_a3 == 0) {\n    if ((iVar6 == 0 && uVar10 == 0) || (iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0')) {\n      uVar8 = uVar7 - uVar8;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar8);\nLAB_00013840:\n      __moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar8 = uVar9 - uVar8;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar8);\n    if (iVar6 == 0 && uVar10 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(fd);\nLAB_000138a8:\n  return iVar6 != -1;\n}" type_identifier (function_declarator "invalidate_cache(int fd,off_t len)" identifier (parameter_list "(int fd,off_t len)" ( (parameter_declaration "int fd" primitive_type identifier) , (parameter_declaration "off_t len" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_a2;\n  uint in_a3;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (fd == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (in_a2 == 0 && in_a3 == 0) {\n    iVar6 = *piVar3;\n    uVar10 = piVar3[1];\n    if ((iVar6 == 0 && uVar10 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar8 = in_a3;\n    iVar11 = in_a2;\n    if (fd != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = in_a3 + piVar3[1];\n    iVar6 = (uint)(uVar8 < in_a3) + in_a2 + *piVar3;\n    uVar10 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = uVar10;\n    if ((iVar6 == 0) && (uVar8 <= uVar10)) {\n      return true;\n    }\n    uVar10 = uVar8 - uVar10;\n    iVar6 = iVar6 - (uint)(uVar8 < uVar10);\n    if (iVar6 == 0 && uVar10 == 0) {\n      return true;\n    }\n    if (fd == 0) {\n      uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar10;\n  if (in_a2 == 0 && in_a3 == 0) {\n    if ((iVar6 == 0 && uVar10 == 0) || (iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0')) {\n      uVar8 = uVar7 - uVar8;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar8);\nLAB_00013840:\n      __moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar8 = uVar9 - uVar8;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar8);\n    if (iVar6 == 0 && uVar10 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(fd);\nLAB_000138a8:\n  return iVar6 != -1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int in_a2;" primitive_type identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined8 uVar12;" type_identifier identifier ;) (if_statement "if (fd == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" if (parenthesized_expression "(fd == 0)" ( (binary_expression "fd == 0" identifier == number_literal) )) (compound_statement "{\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }" { (expression_statement "cVar1 = PTR_DAT_00034118[0x44e1];" (assignment_expression "cVar1 = PTR_DAT_00034118[0x44e1]" identifier = (subscript_expression "PTR_DAT_00034118[0x44e1]" identifier [ number_literal ])) ;) (expression_statement "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);" (assignment_expression "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8)" identifier = (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c8)" ( (binary_expression "PTR_DAT_00034118 + 0x43c8" identifier + number_literal) )))) ;) }) (else_clause "else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" else (compound_statement "{\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" { (expression_statement "cVar1 = PTR_DAT_00034118[0x44e0];" (assignment_expression "cVar1 = PTR_DAT_00034118[0x44e0]" identifier = (subscript_expression "PTR_DAT_00034118[0x44e0]" identifier [ number_literal ])) ;) (expression_statement "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);" (assignment_expression "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0)" identifier = (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c0)" ( (binary_expression "PTR_DAT_00034118 + 0x43c0" identifier + number_literal) )))) ;) }))) (if_statement "if (in_a2 == 0 && in_a3 == 0) {\n    iVar6 = *piVar3;\n    uVar10 = piVar3[1];\n    if ((iVar6 == 0 && uVar10 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar8 = in_a3;\n    iVar11 = in_a2;\n    if (fd != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = in_a3 + piVar3[1];\n    iVar6 = (uint)(uVar8 < in_a3) + in_a2 + *piVar3;\n    uVar10 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = uVar10;\n    if ((iVar6 == 0) && (uVar8 <= uVar10)) {\n      return true;\n    }\n    uVar10 = uVar8 - uVar10;\n    iVar6 = iVar6 - (uint)(uVar8 < uVar10);\n    if (iVar6 == 0 && uVar10 == 0) {\n      return true;\n    }\n    if (fd == 0) {\n      uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" if (parenthesized_expression "(in_a2 == 0 && in_a3 == 0)" ( (binary_expression "in_a2 == 0 && in_a3 == 0" (binary_expression "in_a2 == 0" identifier == number_literal) && (binary_expression "in_a3 == 0" identifier == number_literal)) )) (compound_statement "{\n    iVar6 = *piVar3;\n    uVar10 = piVar3[1];\n    if ((iVar6 == 0 && uVar10 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar8 = in_a3;\n    iVar11 = in_a2;\n    if (fd != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }" { (expression_statement "iVar6 = *piVar3;" (assignment_expression "iVar6 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "uVar10 = piVar3[1];" (assignment_expression "uVar10 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (if_statement "if ((iVar6 == 0 && uVar10 == 0) && (cVar1 == '\0')) {\n      return true;\n    }" if (parenthesized_expression "((iVar6 == 0 && uVar10 == 0) && (cVar1 == '\0'))" ( (binary_expression "(iVar6 == 0 && uVar10 == 0) && (cVar1 == '\0')" (parenthesized_expression "(iVar6 == 0 && uVar10 == 0)" ( (binary_expression "iVar6 == 0 && uVar10 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "uVar10 == 0" identifier == number_literal)) )) && (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (expression_statement "uVar8 = in_a3;" (assignment_expression "uVar8 = in_a3" identifier = identifier) ;) (expression_statement "iVar11 = in_a2;" (assignment_expression "iVar11 = in_a2" identifier = identifier) ;) (if_statement "if (fd != 0) goto LAB_00013708;" if (parenthesized_expression "(fd != 0)" ( (binary_expression "fd != 0" identifier != number_literal) )) (goto_statement "goto LAB_00013708;" goto statement_identifier ;)) (labeled_statement "LAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" statement_identifier : (if_statement "if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" if (parenthesized_expression "(PTR_DAT_00034118[0x459c] == '\0')" ( (binary_expression "PTR_DAT_00034118[0x459c] == '\0'" (subscript_expression "PTR_DAT_00034118[0x459c]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" { (expression_statement "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000342c4)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000342c4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000342c4)" ( (pointer_expression "*(code *)PTR___errno_location_000342c4" * (cast_expression "(code *)PTR___errno_location_000342c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*puVar5 = 0x1d;" (assignment_expression "*puVar5 = 0x1d" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_000138a8;" goto statement_identifier ;) }))) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4590)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x4590)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4590)" ( (binary_expression "PTR_DAT_00034118 + 0x4590" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);" (assignment_expression "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x4594)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x4594)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4594)" ( (binary_expression "PTR_DAT_00034118 + 0x4594" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    uVar8 = in_a3 + piVar3[1];\n    iVar6 = (uint)(uVar8 < in_a3) + in_a2 + *piVar3;\n    uVar10 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = uVar10;\n    if ((iVar6 == 0) && (uVar8 <= uVar10)) {\n      return true;\n    }\n    uVar10 = uVar8 - uVar10;\n    iVar6 = iVar6 - (uint)(uVar8 < uVar10);\n    if (iVar6 == 0 && uVar10 == 0) {\n      return true;\n    }\n    if (fd == 0) {\n      uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" else (compound_statement "{\n    uVar8 = in_a3 + piVar3[1];\n    iVar6 = (uint)(uVar8 < in_a3) + in_a2 + *piVar3;\n    uVar10 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = uVar10;\n    if ((iVar6 == 0) && (uVar8 <= uVar10)) {\n      return true;\n    }\n    uVar10 = uVar8 - uVar10;\n    iVar6 = iVar6 - (uint)(uVar8 < uVar10);\n    if (iVar6 == 0 && uVar10 == 0) {\n      return true;\n    }\n    if (fd == 0) {\n      uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" { (expression_statement "uVar8 = in_a3 + piVar3[1];" (assignment_expression "uVar8 = in_a3 + piVar3[1]" identifier = (binary_expression "in_a3 + piVar3[1]" identifier + (subscript_expression "piVar3[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = (uint)(uVar8 < in_a3) + in_a2 + *piVar3;" (assignment_expression "iVar6 = (uint)(uVar8 < in_a3) + in_a2 + *piVar3" identifier = (binary_expression "(uint)(uVar8 < in_a3) + in_a2 + *piVar3" (binary_expression "(uint)(uVar8 < in_a3) + in_a2" (call_expression "(uint)(uVar8 < in_a3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar8 < in_a3)" ( (binary_expression "uVar8 < in_a3" identifier < identifier) ))) + identifier) + (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "uVar10 = uVar8 & 0x1ffff;" (assignment_expression "uVar10 = uVar8 & 0x1ffff" identifier = (binary_expression "uVar8 & 0x1ffff" identifier & number_literal)) ;) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "piVar3[1] = uVar10;" (assignment_expression "piVar3[1] = uVar10" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((iVar6 == 0) && (uVar8 <= uVar10)) {\n      return true;\n    }" if (parenthesized_expression "((iVar6 == 0) && (uVar8 <= uVar10))" ( (binary_expression "(iVar6 == 0) && (uVar8 <= uVar10)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar8 <= uVar10)" ( (binary_expression "uVar8 <= uVar10" identifier <= identifier) ))) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (expression_statement "uVar10 = uVar8 - uVar10;" (assignment_expression "uVar10 = uVar8 - uVar10" identifier = (binary_expression "uVar8 - uVar10" identifier - identifier)) ;) (expression_statement "iVar6 = iVar6 - (uint)(uVar8 < uVar10);" (assignment_expression "iVar6 = iVar6 - (uint)(uVar8 < uVar10)" identifier = (binary_expression "iVar6 - (uint)(uVar8 < uVar10)" identifier - (call_expression "(uint)(uVar8 < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar8 < uVar10)" ( (binary_expression "uVar8 < uVar10" identifier < identifier) ))))) ;) (if_statement "if (iVar6 == 0 && uVar10 == 0) {\n      return true;\n    }" if (parenthesized_expression "(iVar6 == 0 && uVar10 == 0)" ( (binary_expression "iVar6 == 0 && uVar10 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "uVar10 == 0" identifier == number_literal)) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (if_statement "if (fd == 0) {\n      uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }" if (parenthesized_expression "(fd == 0)" ( (binary_expression "fd == 0" identifier == number_literal) )) (compound_statement "{\n      uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }" { (expression_statement "uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc);" (assignment_expression "uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43cc)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x43cc)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x43cc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43cc)" ( (binary_expression "PTR_DAT_00034118 + 0x43cc" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);" (assignment_expression "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x43c8)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c8)" ( (binary_expression "PTR_DAT_00034118 + 0x43c8" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_000136bc;" goto statement_identifier ;) })) (expression_statement "uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43c4);" (assignment_expression "uVar8 = *(uint *)(PTR_DAT_00034118 + 0x43c4)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x43c4)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x43c4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c4)" ( (binary_expression "PTR_DAT_00034118 + 0x43c4" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);" (assignment_expression "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x43c0)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c0)" ( (binary_expression "PTR_DAT_00034118 + 0x43c0" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00013708:\n    puVar2 = PTR_DAT_00034118;" statement_identifier : (expression_statement "puVar2 = PTR_DAT_00034118;" (assignment_expression "puVar2 = PTR_DAT_00034118" identifier = identifier) ;)) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) ))))) ;) (if_statement "if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }" if (parenthesized_expression "((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1))" ( (binary_expression "(iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)" (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) || (parenthesized_expression "(*(int *)(PTR_DAT_00034118 + 0x404c) != -1)" ( (binary_expression "*(int *)(PTR_DAT_00034118 + 0x404c) != -1" (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x404c)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x404c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" ( (binary_expression "PTR_DAT_00034118 + 0x404c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }" { (if_statement "if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n        uVar12 = (*(code *)PTR_lseek64_00034320)(fd);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }" { (expression_statement "uVar12 = (*(code *)PTR_lseek64_00034320)(fd);" (assignment_expression "uVar12 = (*(code *)PTR_lseek64_00034320)(fd)" identifier = (call_expression "(*(code *)PTR_lseek64_00034320)(fd)" (parenthesized_expression "(*(code *)PTR_lseek64_00034320)" ( (pointer_expression "*(code *)PTR_lseek64_00034320" * (cast_expression "(code *)PTR_lseek64_00034320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fd)" ( identifier )))) ;) (expression_statement "*(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;" (assignment_expression "*(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12" (pointer_expression "*(undefined8 *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(undefined8 *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" else (if_statement "if (in_a2 != 0 || in_a3 != 0) {\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" if (parenthesized_expression "(in_a2 != 0 || in_a3 != 0)" ( (binary_expression "in_a2 != 0 || in_a3 != 0" (binary_expression "in_a2 != 0" identifier != number_literal) || (binary_expression "in_a3 != 0" identifier != number_literal)) )) (compound_statement "{\n        uVar9 = uVar8 + uVar10;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" { (expression_statement "uVar9 = uVar8 + uVar10;" (assignment_expression "uVar9 = uVar8 + uVar10" identifier = (binary_expression "uVar8 + uVar10" identifier + identifier)) ;) (expression_statement "uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);" (assignment_expression "uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c)" identifier = (binary_expression "uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c)" identifier + (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x404c)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x404c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" ( (binary_expression "PTR_DAT_00034118 + 0x404c" identifier + number_literal) )))))) ;) (expression_statement "*(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4;" (assignment_expression "*(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4" (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) )))) = (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6 + iVar4" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11 + iVar6" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8) + iVar11" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar8)" (call_expression "(uint)(uVar7 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) ))) + (call_expression "(uint)(uVar9 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < uVar8)" ( (binary_expression "uVar9 < uVar8" identifier < identifier) )))) + identifier) + identifier) + identifier)) ;) (expression_statement "*(uint *)(puVar2 + 0x404c) = uVar7;" (assignment_expression "*(uint *)(puVar2 + 0x404c) = uVar7" (pointer_expression "*(uint *)(puVar2 + 0x404c)" * (cast_expression "(uint *)(puVar2 + 0x404c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x404c)" ( (binary_expression "puVar2 + 0x404c" identifier + number_literal) )))) = identifier) ;) })))) })) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);" (assignment_expression "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x404c)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x404c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" ( (binary_expression "PTR_DAT_00034118 + 0x404c" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }" { (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_000138a8;" goto statement_identifier ;) })) (expression_statement "uVar9 = uVar7 - uVar10;" (assignment_expression "uVar9 = uVar7 - uVar10" identifier = (binary_expression "uVar7 - uVar10" identifier - identifier)) ;) (if_statement "if (in_a2 == 0 && in_a3 == 0) {\n    if ((iVar6 == 0 && uVar10 == 0) || (iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0')) {\n      uVar8 = uVar7 - uVar8;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar8);\nLAB_00013840:\n      __moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar8 = uVar9 - uVar8;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar8);\n    if (iVar6 == 0 && uVar10 == 0) goto LAB_00013840;\n  }" if (parenthesized_expression "(in_a2 == 0 && in_a3 == 0)" ( (binary_expression "in_a2 == 0 && in_a3 == 0" (binary_expression "in_a2 == 0" identifier == number_literal) && (binary_expression "in_a3 == 0" identifier == number_literal)) )) (compound_statement "{\n    if ((iVar6 == 0 && uVar10 == 0) || (iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0')) {\n      uVar8 = uVar7 - uVar8;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar8);\nLAB_00013840:\n      __moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }" { (if_statement "if ((iVar6 == 0 && uVar10 == 0) || (iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0')) {\n      uVar8 = uVar7 - uVar8;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar8);\nLAB_00013840:\n      __moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }" if (parenthesized_expression "((iVar6 == 0 && uVar10 == 0) || (iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0'))" ( (binary_expression "(iVar6 == 0 && uVar10 == 0) || (iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0')" (parenthesized_expression "(iVar6 == 0 && uVar10 == 0)" ( (binary_expression "iVar6 == 0 && uVar10 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "uVar10 == 0" identifier == number_literal)) )) || (parenthesized_expression "(iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0')" ( (comma_expression "iVar11 = iVar6, uVar8 = uVar10, cVar1 != '\0'" (assignment_expression "iVar11 = iVar6" identifier = identifier) , (comma_expression "uVar8 = uVar10, cVar1 != '\0'" (assignment_expression "uVar8 = uVar10" identifier = identifier) , (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')))) ))) )) (compound_statement "{\n      uVar8 = uVar7 - uVar8;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar8);\nLAB_00013840:\n      __moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }" { (expression_statement "uVar8 = uVar7 - uVar8;" (assignment_expression "uVar8 = uVar7 - uVar8" identifier = (binary_expression "uVar7 - uVar8" identifier - identifier)) ;) (expression_statement "iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar8);" (assignment_expression "iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar8)" identifier = (binary_expression "(iVar4 - iVar11) - (uint)(uVar7 < uVar8)" (parenthesized_expression "(iVar4 - iVar11)" ( (binary_expression "iVar4 - iVar11" identifier - identifier) )) - (call_expression "(uint)(uVar7 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) ))))) ;) (labeled_statement "LAB_00013840:\n      __moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));" statement_identifier : (expression_statement "__moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));" (call_expression "__moddi3(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624))" identifier (argument_list "(iVar11,uVar8,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(PTR_DAT_00034118 + 0x4624)" * (cast_expression "(undefined4 *)(PTR_DAT_00034118 + 0x4624)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4624)" ( (binary_expression "PTR_DAT_00034118 + 0x4624" identifier + number_literal) )))) ))) ;)) })) }) (else_clause "else {\n    uVar8 = uVar9 - uVar8;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar8);\n    if (iVar6 == 0 && uVar10 == 0) goto LAB_00013840;\n  }" else (compound_statement "{\n    uVar8 = uVar9 - uVar8;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar8);\n    if (iVar6 == 0 && uVar10 == 0) goto LAB_00013840;\n  }" { (expression_statement "uVar8 = uVar9 - uVar8;" (assignment_expression "uVar8 = uVar9 - uVar8" identifier = (binary_expression "uVar9 - uVar8" identifier - identifier)) ;) (expression_statement "iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar8);" (assignment_expression "iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar8)" identifier = (binary_expression "(((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar8)" (parenthesized_expression "(((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11)" ( (binary_expression "((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11" (parenthesized_expression "((iVar4 - iVar6) - (uint)(uVar7 < uVar9))" ( (binary_expression "(iVar4 - iVar6) - (uint)(uVar7 < uVar9)" (parenthesized_expression "(iVar4 - iVar6)" ( (binary_expression "iVar4 - iVar6" identifier - identifier) )) - (call_expression "(uint)(uVar7 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) )))) )) - identifier) )) - (call_expression "(uint)(uVar9 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < uVar8)" ( (binary_expression "uVar9 < uVar8" identifier < identifier) ))))) ;) (if_statement "if (iVar6 == 0 && uVar10 == 0) goto LAB_00013840;" if (parenthesized_expression "(iVar6 == 0 && uVar10 == 0)" ( (binary_expression "iVar6 == 0 && uVar10 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "uVar10 == 0" identifier == number_literal)) )) (goto_statement "goto LAB_00013840;" goto statement_identifier ;)) }))) (expression_statement "iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(fd);" (assignment_expression "iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(fd)" identifier = (call_expression "(*(code *)PTR_posix_fadvise64_00034270)(fd)" (parenthesized_expression "(*(code *)PTR_posix_fadvise64_00034270)" ( (pointer_expression "*(code *)PTR_posix_fadvise64_00034270" * (cast_expression "(code *)PTR_posix_fadvise64_00034270" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fd)" ( identifier )))) ;) (labeled_statement "LAB_000138a8:\n  return iVar6 != -1;" statement_identifier : (return_statement "return iVar6 != -1;" return (binary_expression "iVar6 != -1" identifier != number_literal) ;)) })))
(translation_unit "bool FUN_000135a8(int param_1,uint param_2,int param_3,uint param_4)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar8;\n  if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);\nLAB_000138a8:\n  return iVar6 != -1;\n}\n\n" (function_definition "bool FUN_000135a8(int param_1,uint param_2,int param_3,uint param_4)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar8;\n  if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);\nLAB_000138a8:\n  return iVar6 != -1;\n}" primitive_type (function_declarator "FUN_000135a8(int param_1,uint param_2,int param_3,uint param_4)" identifier (parameter_list "(int param_1,uint param_2,int param_3,uint param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar8;\n  if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);\nLAB_000138a8:\n  return iVar6 != -1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined8 uVar12;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }" { (expression_statement "cVar1 = PTR_DAT_00034118[0x44e1];" (assignment_expression "cVar1 = PTR_DAT_00034118[0x44e1]" identifier = (subscript_expression "PTR_DAT_00034118[0x44e1]" identifier [ number_literal ])) ;) (expression_statement "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);" (assignment_expression "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8)" identifier = (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c8)" ( (binary_expression "PTR_DAT_00034118 + 0x43c8" identifier + number_literal) )))) ;) }) (else_clause "else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" else (compound_statement "{\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" { (expression_statement "cVar1 = PTR_DAT_00034118[0x44e0];" (assignment_expression "cVar1 = PTR_DAT_00034118[0x44e0]" identifier = (subscript_expression "PTR_DAT_00034118[0x44e0]" identifier [ number_literal ])) ;) (expression_statement "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);" (assignment_expression "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0)" identifier = (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c0)" ( (binary_expression "PTR_DAT_00034118 + 0x43c0" identifier + number_literal) )))) ;) }))) (if_statement "if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" if (parenthesized_expression "(param_3 == 0 && param_4 == 0)" ( (binary_expression "param_3 == 0 && param_4 == 0" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "param_4 == 0" identifier == number_literal)) )) (compound_statement "{\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }" { (expression_statement "iVar6 = *piVar3;" (assignment_expression "iVar6 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "uVar8 = piVar3[1];" (assignment_expression "uVar8 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (if_statement "if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }" if (parenthesized_expression "((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0'))" ( (binary_expression "(iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')" (parenthesized_expression "(iVar6 == 0 && uVar8 == 0)" ( (binary_expression "iVar6 == 0 && uVar8 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "uVar8 == 0" identifier == number_literal)) )) && (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (expression_statement "uVar10 = param_4;" (assignment_expression "uVar10 = param_4" identifier = identifier) ;) (expression_statement "iVar11 = param_3;" (assignment_expression "iVar11 = param_3" identifier = identifier) ;) (if_statement "if (param_1 != 0) goto LAB_00013708;" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00013708;" goto statement_identifier ;)) (labeled_statement "LAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" statement_identifier : (if_statement "if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" if (parenthesized_expression "(PTR_DAT_00034118[0x459c] == '\0')" ( (binary_expression "PTR_DAT_00034118[0x459c] == '\0'" (subscript_expression "PTR_DAT_00034118[0x459c]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" { (expression_statement "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000342c4)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000342c4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000342c4)" ( (pointer_expression "*(code *)PTR___errno_location_000342c4" * (cast_expression "(code *)PTR___errno_location_000342c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*puVar5 = 0x1d;" (assignment_expression "*puVar5 = 0x1d" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_000138a8;" goto statement_identifier ;) }))) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4590)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x4590)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4590)" ( (binary_expression "PTR_DAT_00034118 + 0x4590" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);" (assignment_expression "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x4594)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x4594)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4594)" ( (binary_expression "PTR_DAT_00034118 + 0x4594" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" else (compound_statement "{\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" { (expression_statement "uVar8 = param_4 + piVar3[1];" (assignment_expression "uVar8 = param_4 + piVar3[1]" identifier = (binary_expression "param_4 + piVar3[1]" identifier + (subscript_expression "piVar3[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;" (assignment_expression "iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3" identifier = (binary_expression "(uint)(uVar8 < param_4) + param_3 + *piVar3" (binary_expression "(uint)(uVar8 < param_4) + param_3" (call_expression "(uint)(uVar8 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar8 < param_4)" ( (binary_expression "uVar8 < param_4" identifier < identifier) ))) + identifier) + (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "param_2 = uVar8 & 0x1ffff;" (assignment_expression "param_2 = uVar8 & 0x1ffff" identifier = (binary_expression "uVar8 & 0x1ffff" identifier & number_literal)) ;) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "piVar3[1] = param_2;" (assignment_expression "piVar3[1] = param_2" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }" if (parenthesized_expression "((iVar6 == 0) && (uVar8 <= param_2))" ( (binary_expression "(iVar6 == 0) && (uVar8 <= param_2)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar8 <= param_2)" ( (binary_expression "uVar8 <= param_2" identifier <= identifier) ))) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (expression_statement "param_2 = uVar8 - param_2;" (assignment_expression "param_2 = uVar8 - param_2" identifier = (binary_expression "uVar8 - param_2" identifier - identifier)) ;) (expression_statement "iVar6 = iVar6 - (uint)(uVar8 < param_2);" (assignment_expression "iVar6 = iVar6 - (uint)(uVar8 < param_2)" identifier = (binary_expression "iVar6 - (uint)(uVar8 < param_2)" identifier - (call_expression "(uint)(uVar8 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar8 < param_2)" ( (binary_expression "uVar8 < param_2" identifier < identifier) ))))) ;) (if_statement "if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }" if (parenthesized_expression "(iVar6 == 0 && param_2 == 0)" ( (binary_expression "iVar6 == 0 && param_2 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "param_2 == 0" identifier == number_literal)) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (expression_statement "uVar8 = param_2;" (assignment_expression "uVar8 = param_2" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }" { (expression_statement "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);" (assignment_expression "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x43cc)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x43cc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43cc)" ( (binary_expression "PTR_DAT_00034118 + 0x43cc" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);" (assignment_expression "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x43c8)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c8)" ( (binary_expression "PTR_DAT_00034118 + 0x43c8" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_000136bc;" goto statement_identifier ;) })) (expression_statement "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);" (assignment_expression "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x43c4)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x43c4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c4)" ( (binary_expression "PTR_DAT_00034118 + 0x43c4" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);" (assignment_expression "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x43c0)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x43c0)" ( (binary_expression "PTR_DAT_00034118 + 0x43c0" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00013708:\n    puVar2 = PTR_DAT_00034118;" statement_identifier : (expression_statement "puVar2 = PTR_DAT_00034118;" (assignment_expression "puVar2 = PTR_DAT_00034118" identifier = identifier) ;)) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) ))))) ;) (if_statement "if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }" if (parenthesized_expression "((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1))" ( (binary_expression "(iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)" (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) || (parenthesized_expression "(*(int *)(PTR_DAT_00034118 + 0x404c) != -1)" ( (binary_expression "*(int *)(PTR_DAT_00034118 + 0x404c) != -1" (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x404c)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x404c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" ( (binary_expression "PTR_DAT_00034118 + 0x404c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }" { (if_statement "if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }" { (expression_statement "uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);" (assignment_expression "uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1)" identifier = (call_expression "(*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1)" (parenthesized_expression "(*(code *)PTR_lseek64_00034320)" ( (pointer_expression "*(code *)PTR_lseek64_00034320" * (cast_expression "(code *)PTR_lseek64_00034320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,0,0,1)" ( identifier , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "*(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;" (assignment_expression "*(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12" (pointer_expression "*(undefined8 *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(undefined8 *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" else (if_statement "if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" if (parenthesized_expression "(param_3 != 0 || param_4 != 0)" ( (binary_expression "param_3 != 0 || param_4 != 0" (binary_expression "param_3 != 0" identifier != number_literal) || (binary_expression "param_4 != 0" identifier != number_literal)) )) (compound_statement "{\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" { (expression_statement "uVar9 = uVar10 + uVar8;" (assignment_expression "uVar9 = uVar10 + uVar8" identifier = (binary_expression "uVar10 + uVar8" identifier + identifier)) ;) (expression_statement "uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);" (assignment_expression "uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c)" identifier = (binary_expression "uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c)" identifier + (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x404c)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x404c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" ( (binary_expression "PTR_DAT_00034118 + 0x404c" identifier + number_literal) )))))) ;) (expression_statement "*(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;" (assignment_expression "*(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4" (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) )))) = (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10)" (call_expression "(uint)(uVar7 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) ))) + (call_expression "(uint)(uVar9 < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < uVar10)" ( (binary_expression "uVar9 < uVar10" identifier < identifier) )))) + identifier) + identifier) + identifier)) ;) (expression_statement "*(uint *)(puVar2 + 0x404c) = uVar7;" (assignment_expression "*(uint *)(puVar2 + 0x404c) = uVar7" (pointer_expression "*(uint *)(puVar2 + 0x404c)" * (cast_expression "(uint *)(puVar2 + 0x404c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x404c)" ( (binary_expression "puVar2 + 0x404c" identifier + number_literal) )))) = identifier) ;) })))) })) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048)" identifier = (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4048)" * (cast_expression "(int *)(PTR_DAT_00034118 + 0x4048)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" ( (binary_expression "PTR_DAT_00034118 + 0x4048" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);" (assignment_expression "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x404c)" * (cast_expression "(uint *)(PTR_DAT_00034118 + 0x404c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" ( (binary_expression "PTR_DAT_00034118 + 0x404c" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }" { (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_000138a8;" goto statement_identifier ;) })) (expression_statement "uVar9 = uVar7 - uVar8;" (assignment_expression "uVar9 = uVar7 - uVar8" identifier = (binary_expression "uVar7 - uVar8" identifier - identifier)) ;) (if_statement "if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }" if (parenthesized_expression "(param_3 == 0 && param_4 == 0)" ( (binary_expression "param_3 == 0 && param_4 == 0" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "param_4 == 0" identifier == number_literal)) )) (compound_statement "{\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }" { (if_statement "if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }" if (parenthesized_expression "((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0'))" ( (binary_expression "(iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')" (parenthesized_expression "(iVar6 == 0 && uVar8 == 0)" ( (binary_expression "iVar6 == 0 && uVar8 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "uVar8 == 0" identifier == number_literal)) )) || (parenthesized_expression "(iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')" ( (comma_expression "iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0'" (assignment_expression "iVar11 = iVar6" identifier = identifier) , (comma_expression "uVar10 = uVar8, cVar1 != '\0'" (assignment_expression "uVar10 = uVar8" identifier = identifier) , (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')))) ))) )) (compound_statement "{\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }" { (expression_statement "uVar10 = uVar7 - uVar10;" (assignment_expression "uVar10 = uVar7 - uVar10" identifier = (binary_expression "uVar7 - uVar10" identifier - identifier)) ;) (expression_statement "iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);" (assignment_expression "iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10)" identifier = (binary_expression "(iVar4 - iVar11) - (uint)(uVar7 < uVar10)" (parenthesized_expression "(iVar4 - iVar11)" ( (binary_expression "iVar4 - iVar11" identifier - identifier) )) - (call_expression "(uint)(uVar7 < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar10)" ( (binary_expression "uVar7 < uVar10" identifier < identifier) ))))) ;) (labeled_statement "LAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));" statement_identifier : (expression_statement "FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));" (call_expression "FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624))" identifier (argument_list "(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(PTR_DAT_00034118 + 0x4624)" * (cast_expression "(undefined4 *)(PTR_DAT_00034118 + 0x4624)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00034118 + 0x4624)" ( (binary_expression "PTR_DAT_00034118 + 0x4624" identifier + number_literal) )))) ))) ;)) })) }) (else_clause "else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }" else (compound_statement "{\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }" { (expression_statement "uVar10 = uVar9 - uVar10;" (assignment_expression "uVar10 = uVar9 - uVar10" identifier = (binary_expression "uVar9 - uVar10" identifier - identifier)) ;) (expression_statement "iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);" (assignment_expression "iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10)" identifier = (binary_expression "(((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10)" (parenthesized_expression "(((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11)" ( (binary_expression "((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11" (parenthesized_expression "((iVar4 - iVar6) - (uint)(uVar7 < uVar9))" ( (binary_expression "(iVar4 - iVar6) - (uint)(uVar7 < uVar9)" (parenthesized_expression "(iVar4 - iVar6)" ( (binary_expression "iVar4 - iVar6" identifier - identifier) )) - (call_expression "(uint)(uVar7 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) )))) )) - identifier) )) - (call_expression "(uint)(uVar9 < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < uVar10)" ( (binary_expression "uVar9 < uVar10" identifier < identifier) ))))) ;) (if_statement "if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;" if (parenthesized_expression "(iVar6 == 0 && uVar8 == 0)" ( (binary_expression "iVar6 == 0 && uVar8 == 0" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "uVar8 == 0" identifier == number_literal)) )) (goto_statement "goto LAB_00013840;" goto statement_identifier ;)) }))) (expression_statement "iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);" (assignment_expression "iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1)" identifier = (call_expression "(*(code *)PTR_posix_fadvise64_00034270)(param_1)" (parenthesized_expression "(*(code *)PTR_posix_fadvise64_00034270)" ( (pointer_expression "*(code *)PTR_posix_fadvise64_00034270" * (cast_expression "(code *)PTR_posix_fadvise64_00034270" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (labeled_statement "LAB_000138a8:\n  return iVar6 != -1;" statement_identifier : (return_statement "return iVar6 != -1;" return (binary_expression "iVar6 != -1" identifier != number_literal) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) && (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_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) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + IDENT) + (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT <= IDENT) ))) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = 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) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (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 = IDENT) ;)) (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 (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) + IDENT) + IDENT) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })))) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (char_literal ' escape_sequence ')))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;)) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) )) - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (labeled_statement statement_identifier : (return_statement return (binary_expression IDENT != LIT) ;)) })))
(function_definition "bool FUN_000135a8(int param_1,uint param_2,int param_3,uint param_4)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar8;\n  if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);\nLAB_000138a8:\n  return iVar6 != -1;\n}" (primitive_type "bool") (function_declarator "FUN_000135a8(int param_1,uint param_2,int param_3,uint param_4)" (identifier "FUN_000135a8") (parameter_list "(int param_1,uint param_2,int param_3,uint param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined8 uVar12;\n  \n  if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }\n  if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }\n  if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }\n  uVar9 = uVar7 - uVar8;\n  if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }\n  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);\nLAB_000138a8:\n  return iVar6 != -1;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "undefined8 uVar12;" (type_identifier "undefined8") (identifier "uVar12") (; ";")) (if_statement "if (param_1 == 0) {\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }\n  else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    cVar1 = PTR_DAT_00034118[0x44e1];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);\n  }" ({ "{") (expression_statement "cVar1 = PTR_DAT_00034118[0x44e1];" (assignment_expression "cVar1 = PTR_DAT_00034118[0x44e1]" (identifier "cVar1") (= "=") (subscript_expression "PTR_DAT_00034118[0x44e1]" (identifier "PTR_DAT_00034118") ([ "[") (number_literal "0x44e1") (] "]"))) (; ";")) (expression_statement "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);" (assignment_expression "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8)" (identifier "piVar3") (= "=") (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x43c8)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x43c8" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x43c8")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" (else "else") (compound_statement "{\n    cVar1 = PTR_DAT_00034118[0x44e0];\n    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);\n  }" ({ "{") (expression_statement "cVar1 = PTR_DAT_00034118[0x44e0];" (assignment_expression "cVar1 = PTR_DAT_00034118[0x44e0]" (identifier "cVar1") (= "=") (subscript_expression "PTR_DAT_00034118[0x44e0]" (identifier "PTR_DAT_00034118") ([ "[") (number_literal "0x44e0") (] "]"))) (; ";")) (expression_statement "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);" (assignment_expression "piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0)" (identifier "piVar3") (= "=") (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x43c0)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x43c0" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x43c0")) () ")")))) (; ";")) (} "}")))) (if_statement "if (param_3 == 0 && param_4 == 0) {\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }\n  else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" (if "if") (parenthesized_expression "(param_3 == 0 && param_4 == 0)" (( "(") (binary_expression "param_3 == 0 && param_4 == 0" (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) (&& "&&") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n    iVar6 = *piVar3;\n    uVar8 = piVar3[1];\n    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }\n    uVar10 = param_4;\n    iVar11 = param_3;\n    if (param_1 != 0) goto LAB_00013708;\nLAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);\n  }" ({ "{") (expression_statement "iVar6 = *piVar3;" (assignment_expression "iVar6 = *piVar3" (identifier "iVar6") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (expression_statement "uVar8 = piVar3[1];" (assignment_expression "uVar8 = piVar3[1]" (identifier "uVar8") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {\n      return true;\n    }" (if "if") (parenthesized_expression "((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0'))" (( "(") (binary_expression "(iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')" (parenthesized_expression "(iVar6 == 0 && uVar8 == 0)" (( "(") (binary_expression "iVar6 == 0 && uVar8 == 0" (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0"))) () ")")) (&& "&&") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      return true;\n    }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (expression_statement "uVar10 = param_4;" (assignment_expression "uVar10 = param_4" (identifier "uVar10") (= "=") (identifier "param_4")) (; ";")) (expression_statement "iVar11 = param_3;" (assignment_expression "iVar11 = param_3" (identifier "iVar11") (= "=") (identifier "param_3")) (; ";")) (if_statement "if (param_1 != 0) goto LAB_00013708;" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00013708;" (goto "goto") (statement_identifier "LAB_00013708") (; ";"))) (labeled_statement "LAB_000136bc:\n    if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" (statement_identifier "LAB_000136bc") (: ":") (if_statement "if (PTR_DAT_00034118[0x459c] == '\0') {\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" (if "if") (parenthesized_expression "(PTR_DAT_00034118[0x459c] == '\0')" (( "(") (binary_expression "PTR_DAT_00034118[0x459c] == '\0'" (subscript_expression "PTR_DAT_00034118[0x459c]" (identifier "PTR_DAT_00034118") ([ "[") (number_literal "0x459c") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();\n      *puVar5 = 0x1d;\n      iVar6 = -1;\n      goto LAB_000138a8;\n    }" ({ "{") (expression_statement "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)()" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000342c4)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_000342c4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000342c4)" (( "(") (pointer_expression "*(code *)PTR___errno_location_000342c4" (* "*") (cast_expression "(code *)PTR___errno_location_000342c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_000342c4"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*puVar5 = 0x1d;" (assignment_expression "*puVar5 = 0x1d" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (number_literal "0x1d")) (; ";")) (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" (identifier "iVar6") (= "=") (number_literal "-1")) (; ";")) (goto_statement "goto LAB_000138a8;" (goto "goto") (statement_identifier "LAB_000138a8") (; ";")) (} "}")))) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4590)" (* "*") (cast_expression "(int *)(PTR_DAT_00034118 + 0x4590)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x4590)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x4590" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x4590")) () ")"))))) (; ";")) (expression_statement "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);" (assignment_expression "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x4594)" (* "*") (cast_expression "(uint *)(PTR_DAT_00034118 + 0x4594)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x4594)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x4594" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x4594")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" (else "else") (compound_statement "{\n    uVar8 = param_4 + piVar3[1];\n    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;\n    param_2 = uVar8 & 0x1ffff;\n    *piVar3 = 0;\n    piVar3[1] = param_2;\n    if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }\n    param_2 = uVar8 - param_2;\n    iVar6 = iVar6 - (uint)(uVar8 < param_2);\n    if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }\n    uVar8 = param_2;\n    if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }\n    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);\n    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);\nLAB_00013708:\n    puVar2 = PTR_DAT_00034118;\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }\n    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);\n    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);\n  }" ({ "{") (expression_statement "uVar8 = param_4 + piVar3[1];" (assignment_expression "uVar8 = param_4 + piVar3[1]" (identifier "uVar8") (= "=") (binary_expression "param_4 + piVar3[1]" (identifier "param_4") (+ "+") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;" (assignment_expression "iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3" (identifier "iVar6") (= "=") (binary_expression "(uint)(uVar8 < param_4) + param_3 + *piVar3" (binary_expression "(uint)(uVar8 < param_4) + param_3" (call_expression "(uint)(uVar8 < param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar8 < param_4)" (( "(") (binary_expression "uVar8 < param_4" (identifier "uVar8") (< "<") (identifier "param_4")) () ")"))) (+ "+") (identifier "param_3")) (+ "+") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (expression_statement "param_2 = uVar8 & 0x1ffff;" (assignment_expression "param_2 = uVar8 & 0x1ffff" (identifier "param_2") (= "=") (binary_expression "uVar8 & 0x1ffff" (identifier "uVar8") (& "&") (number_literal "0x1ffff"))) (; ";")) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[1] = param_2;" (assignment_expression "piVar3[1] = param_2" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((iVar6 == 0) && (uVar8 <= param_2)) {\n      return true;\n    }" (if "if") (parenthesized_expression "((iVar6 == 0) && (uVar8 <= param_2))" (( "(") (binary_expression "(iVar6 == 0) && (uVar8 <= param_2)" (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar8 <= param_2)" (( "(") (binary_expression "uVar8 <= param_2" (identifier "uVar8") (<= "<=") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n      return true;\n    }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (expression_statement "param_2 = uVar8 - param_2;" (assignment_expression "param_2 = uVar8 - param_2" (identifier "param_2") (= "=") (binary_expression "uVar8 - param_2" (identifier "uVar8") (- "-") (identifier "param_2"))) (; ";")) (expression_statement "iVar6 = iVar6 - (uint)(uVar8 < param_2);" (assignment_expression "iVar6 = iVar6 - (uint)(uVar8 < param_2)" (identifier "iVar6") (= "=") (binary_expression "iVar6 - (uint)(uVar8 < param_2)" (identifier "iVar6") (- "-") (call_expression "(uint)(uVar8 < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar8 < param_2)" (( "(") (binary_expression "uVar8 < param_2" (identifier "uVar8") (< "<") (identifier "param_2")) () ")"))))) (; ";")) (if_statement "if (iVar6 == 0 && param_2 == 0) {\n      return true;\n    }" (if "if") (parenthesized_expression "(iVar6 == 0 && param_2 == 0)" (( "(") (binary_expression "iVar6 == 0 && param_2 == 0" (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) (&& "&&") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n      return true;\n    }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (expression_statement "uVar8 = param_2;" (assignment_expression "uVar8 = param_2" (identifier "uVar8") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_1 == 0) {\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);\n      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);\n      goto LAB_000136bc;\n    }" ({ "{") (expression_statement "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);" (assignment_expression "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc)" (identifier "uVar10") (= "=") (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x43cc)" (* "*") (cast_expression "(uint *)(PTR_DAT_00034118 + 0x43cc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x43cc)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x43cc" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x43cc")) () ")"))))) (; ";")) (expression_statement "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);" (assignment_expression "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x43c8)" (* "*") (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x43c8)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x43c8" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x43c8")) () ")"))))) (; ";")) (goto_statement "goto LAB_000136bc;" (goto "goto") (statement_identifier "LAB_000136bc") (; ";")) (} "}"))) (expression_statement "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);" (assignment_expression "uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4)" (identifier "uVar10") (= "=") (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x43c4)" (* "*") (cast_expression "(uint *)(PTR_DAT_00034118 + 0x43c4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x43c4)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x43c4" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x43c4")) () ")"))))) (; ";")) (expression_statement "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);" (assignment_expression "iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x43c0)" (* "*") (cast_expression "(int *)(PTR_DAT_00034118 + 0x43c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x43c0)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x43c0" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x43c0")) () ")"))))) (; ";")) (labeled_statement "LAB_00013708:\n    puVar2 = PTR_DAT_00034118;" (statement_identifier "LAB_00013708") (: ":") (expression_statement "puVar2 = PTR_DAT_00034118;" (assignment_expression "puVar2 = PTR_DAT_00034118" (identifier "puVar2") (= "=") (identifier "PTR_DAT_00034118")) (; ";"))) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4048)" (* "*") (cast_expression "(int *)(PTR_DAT_00034118 + 0x4048)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x4048" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x4048")) () ")"))))) (; ";")) (if_statement "if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }" (if "if") (parenthesized_expression "((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1))" (( "(") (binary_expression "(iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)" (parenthesized_expression "(iVar4 != -1)" (( "(") (binary_expression "iVar4 != -1" (identifier "iVar4") (!= "!=") (number_literal "-1")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(PTR_DAT_00034118 + 0x404c) != -1)" (( "(") (binary_expression "*(int *)(PTR_DAT_00034118 + 0x404c) != -1" (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x404c)" (* "*") (cast_expression "(int *)(PTR_DAT_00034118 + 0x404c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x404c" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x404c")) () ")")))) (!= "!=") (number_literal "-1")) () ")"))) () ")")) (compound_statement "{\n      if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }\n    }" ({ "{") (if_statement "if (iVar4 < 0) {\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }\n      else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);\n        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;\n      }" ({ "{") (expression_statement "uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);" (assignment_expression "uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1)" (parenthesized_expression "(*(code *)PTR_lseek64_00034320)" (( "(") (pointer_expression "*(code *)PTR_lseek64_00034320" (* "*") (cast_expression "(code *)PTR_lseek64_00034320" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_lseek64_00034320"))) () ")")) (argument_list "(param_1,param_2,0,0,1)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;" (assignment_expression "*(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12" (pointer_expression "*(undefined8 *)(PTR_DAT_00034118 + 0x4048)" (* "*") (cast_expression "(undefined8 *)(PTR_DAT_00034118 + 0x4048)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x4048" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x4048")) () ")")))) (= "=") (identifier "uVar12")) (; ";")) (} "}")) (else_clause "else if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" (else "else") (if_statement "if (param_3 != 0 || param_4 != 0) {\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" (if "if") (parenthesized_expression "(param_3 != 0 || param_4 != 0)" (( "(") (binary_expression "param_3 != 0 || param_4 != 0" (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        uVar9 = uVar10 + uVar8;\n        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);\n        *(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;\n        *(uint *)(puVar2 + 0x404c) = uVar7;\n      }" ({ "{") (expression_statement "uVar9 = uVar10 + uVar8;" (assignment_expression "uVar9 = uVar10 + uVar8" (identifier "uVar9") (= "=") (binary_expression "uVar10 + uVar8" (identifier "uVar10") (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);" (assignment_expression "uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c)" (identifier "uVar7") (= "=") (binary_expression "uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c)" (identifier "uVar9") (+ "+") (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x404c)" (* "*") (cast_expression "(int *)(PTR_DAT_00034118 + 0x404c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x404c" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x404c")) () ")")))))) (; ";")) (expression_statement "*(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;" (assignment_expression "*(uint *)(PTR_DAT_00034118 + 0x4048) =\n             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4" (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x4048)" (* "*") (cast_expression "(uint *)(PTR_DAT_00034118 + 0x4048)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x4048" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x4048")) () ")")))) (= "=") (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11" (binary_expression "(uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10)" (call_expression "(uint)(uVar7 < uVar9)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar7 < uVar9)" (( "(") (binary_expression "uVar7 < uVar9" (identifier "uVar7") (< "<") (identifier "uVar9")) () ")"))) (+ "+") (call_expression "(uint)(uVar9 < uVar10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar9 < uVar10)" (( "(") (binary_expression "uVar9 < uVar10" (identifier "uVar9") (< "<") (identifier "uVar10")) () ")")))) (+ "+") (identifier "iVar11")) (+ "+") (identifier "iVar6")) (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "*(uint *)(puVar2 + 0x404c) = uVar7;" (assignment_expression "*(uint *)(puVar2 + 0x404c) = uVar7" (pointer_expression "*(uint *)(puVar2 + 0x404c)" (* "*") (cast_expression "(uint *)(puVar2 + 0x404c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0x404c)" (( "(") (binary_expression "puVar2 + 0x404c" (identifier "puVar2") (+ "+") (number_literal "0x404c")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))))) (} "}"))) (expression_statement "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(PTR_DAT_00034118 + 0x4048)" (* "*") (cast_expression "(int *)(PTR_DAT_00034118 + 0x4048)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x4048)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x4048" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x4048")) () ")"))))) (; ";")) (expression_statement "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);" (assignment_expression "uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(PTR_DAT_00034118 + 0x404c)" (* "*") (cast_expression "(uint *)(PTR_DAT_00034118 + 0x404c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x404c)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x404c" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x404c")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar4 < 0) {\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = -1;\n    goto LAB_000138a8;\n  }" ({ "{") (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" (identifier "iVar6") (= "=") (number_literal "-1")) (; ";")) (goto_statement "goto LAB_000138a8;" (goto "goto") (statement_identifier "LAB_000138a8") (; ";")) (} "}"))) (expression_statement "uVar9 = uVar7 - uVar8;" (assignment_expression "uVar9 = uVar7 - uVar8" (identifier "uVar9") (= "=") (binary_expression "uVar7 - uVar8" (identifier "uVar7") (- "-") (identifier "uVar8"))) (; ";")) (if_statement "if (param_3 == 0 && param_4 == 0) {\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }\n  else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }" (if "if") (parenthesized_expression "(param_3 == 0 && param_4 == 0)" (( "(") (binary_expression "param_3 == 0 && param_4 == 0" (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) (&& "&&") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }\n  }" ({ "{") (if_statement "if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }" (if "if") (parenthesized_expression "((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0'))" (( "(") (binary_expression "(iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')" (parenthesized_expression "(iVar6 == 0 && uVar8 == 0)" (( "(") (binary_expression "iVar6 == 0 && uVar8 == 0" (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0"))) () ")")) (|| "||") (parenthesized_expression "(iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')" (( "(") (comma_expression "iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0'" (assignment_expression "iVar11 = iVar6" (identifier "iVar11") (= "=") (identifier "iVar6")) (, ",") (comma_expression "uVar10 = uVar8, cVar1 != '\0'" (assignment_expression "uVar10 = uVar8" (identifier "uVar10") (= "=") (identifier "uVar8")) (, ",") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))))) () ")"))) () ")")) (compound_statement "{\n      uVar10 = uVar7 - uVar10;\n      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);\nLAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));\n    }" ({ "{") (expression_statement "uVar10 = uVar7 - uVar10;" (assignment_expression "uVar10 = uVar7 - uVar10" (identifier "uVar10") (= "=") (binary_expression "uVar7 - uVar10" (identifier "uVar7") (- "-") (identifier "uVar10"))) (; ";")) (expression_statement "iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);" (assignment_expression "iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10)" (identifier "iVar11") (= "=") (binary_expression "(iVar4 - iVar11) - (uint)(uVar7 < uVar10)" (parenthesized_expression "(iVar4 - iVar11)" (( "(") (binary_expression "iVar4 - iVar11" (identifier "iVar4") (- "-") (identifier "iVar11")) () ")")) (- "-") (call_expression "(uint)(uVar7 < uVar10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar7 < uVar10)" (( "(") (binary_expression "uVar7 < uVar10" (identifier "uVar7") (< "<") (identifier "uVar10")) () ")"))))) (; ";")) (labeled_statement "LAB_00013840:\n      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));" (statement_identifier "LAB_00013840") (: ":") (expression_statement "FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));" (call_expression "FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624))" (identifier "FUN_0001fad0") (argument_list "(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624))" (( "(") (identifier "iVar11") (, ",") (identifier "uVar10") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(PTR_DAT_00034118 + 0x4624)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00034118 + 0x4624)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00034118 + 0x4624)" (( "(") (binary_expression "PTR_DAT_00034118 + 0x4624" (identifier "PTR_DAT_00034118") (+ "+") (number_literal "0x4624")) () ")")))) () ")"))) (; ";"))) (} "}"))) (} "}")) (else_clause "else {\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }" (else "else") (compound_statement "{\n    uVar10 = uVar9 - uVar10;\n    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);\n    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;\n  }" ({ "{") (expression_statement "uVar10 = uVar9 - uVar10;" (assignment_expression "uVar10 = uVar9 - uVar10" (identifier "uVar10") (= "=") (binary_expression "uVar9 - uVar10" (identifier "uVar9") (- "-") (identifier "uVar10"))) (; ";")) (expression_statement "iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);" (assignment_expression "iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10)" (identifier "iVar11") (= "=") (binary_expression "(((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10)" (parenthesized_expression "(((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11)" (( "(") (binary_expression "((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11" (parenthesized_expression "((iVar4 - iVar6) - (uint)(uVar7 < uVar9))" (( "(") (binary_expression "(iVar4 - iVar6) - (uint)(uVar7 < uVar9)" (parenthesized_expression "(iVar4 - iVar6)" (( "(") (binary_expression "iVar4 - iVar6" (identifier "iVar4") (- "-") (identifier "iVar6")) () ")")) (- "-") (call_expression "(uint)(uVar7 < uVar9)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar7 < uVar9)" (( "(") (binary_expression "uVar7 < uVar9" (identifier "uVar7") (< "<") (identifier "uVar9")) () ")")))) () ")")) (- "-") (identifier "iVar11")) () ")")) (- "-") (call_expression "(uint)(uVar9 < uVar10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar9 < uVar10)" (( "(") (binary_expression "uVar9 < uVar10" (identifier "uVar9") (< "<") (identifier "uVar10")) () ")"))))) (; ";")) (if_statement "if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;" (if "if") (parenthesized_expression "(iVar6 == 0 && uVar8 == 0)" (( "(") (binary_expression "iVar6 == 0 && uVar8 == 0" (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0"))) () ")")) (goto_statement "goto LAB_00013840;" (goto "goto") (statement_identifier "LAB_00013840") (; ";"))) (} "}")))) (expression_statement "iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);" (assignment_expression "iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_posix_fadvise64_00034270)(param_1)" (parenthesized_expression "(*(code *)PTR_posix_fadvise64_00034270)" (( "(") (pointer_expression "*(code *)PTR_posix_fadvise64_00034270" (* "*") (cast_expression "(code *)PTR_posix_fadvise64_00034270" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_posix_fadvise64_00034270"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (labeled_statement "LAB_000138a8:\n  return iVar6 != -1;" (statement_identifier "LAB_000138a8") (: ":") (return_statement "return iVar6 != -1;" (return "return") (binary_expression "iVar6 != -1" (identifier "iVar6") (!= "!=") (number_literal "-1")) (; ";"))) (} "}")))

type_1 function_1(int var_1,type_2 len)

{
  char var_7;
  type_3 *var_13;
  int *piVar3;
  int var_9;
  type_4 *puVar5;
  int var_5;
  type_5 var_11;
  type_5 var_8;
  type_5 var_10;
  type_5 var_6;
  int var_3;
  type_5 var_4;
  int var_12;
  type_6 uVar12;
  
  if (var_1 == 0) {
    var_7 = var_2[0x44e1];
    piVar3 = (int *)(var_2 + 0x43c8);
  }
  else {
    var_7 = var_2[0x44e0];
    piVar3 = (int *)(var_2 + 0x43c0);
  }
  if (var_3 == 0 && var_4 == 0) {
    var_5 = *piVar3;
    var_6 = piVar3[1];
    if ((var_5 == 0 && var_6 == 0) && (var_7 == '\0')) {
      return true;
    }
    var_8 = var_4;
    var_12 = var_3;
    if (var_1 != 0) goto LAB_00013708;
LAB_000136bc:
    if (var_2[0x459c] == '\0') {
      puVar5 = (type_4 *)(*(type_7 *)PTR___errno_location_000342c4)();
      *puVar5 = 0x1d;
      var_5 = -1;
      goto LAB_000138a8;
    }
    var_9 = *(int *)(var_2 + 0x4590);
    var_11 = *(type_5 *)(var_2 + 0x4594);
  }
  else {
    var_8 = var_4 + piVar3[1];
    var_5 = (type_5)(var_8 < var_4) + var_3 + *piVar3;
    var_6 = var_8 & 0x1ffff;
    *piVar3 = 0;
    piVar3[1] = var_6;
    if ((var_5 == 0) && (var_8 <= var_6)) {
      return true;
    }
    var_6 = var_8 - var_6;
    var_5 = var_5 - (type_5)(var_8 < var_6);
    if (var_5 == 0 && var_6 == 0) {
      return true;
    }
    if (var_1 == 0) {
      var_8 = *(type_5 *)(var_2 + 0x43cc);
      var_12 = *(int *)(var_2 + 0x43c8);
      goto LAB_000136bc;
    }
    var_8 = *(type_5 *)(var_2 + 0x43c4);
    var_12 = *(int *)(var_2 + 0x43c0);
LAB_00013708:
    var_13 = var_2;
    var_9 = *(int *)(var_2 + 0x4048);
    if ((var_9 != -1) || (*(int *)(var_2 + 0x404c) != -1)) {
      if (var_9 < 0) {
        uVar12 = (*(type_7 *)PTR_lseek64_00034320)(var_1);
        *(type_6 *)(var_2 + 0x4048) = uVar12;
      }
      else if (var_3 != 0 || var_4 != 0) {
        var_10 = var_8 + var_6;
        var_11 = var_10 + *(int *)(var_2 + 0x404c);
        *(type_5 *)(var_2 + 0x4048) =
             (type_5)(var_11 < var_10) + (type_5)(var_10 < var_8) + var_12 + var_5 + var_9;
        *(type_5 *)(var_13 + 0x404c) = var_11;
      }
    }
    var_9 = *(int *)(var_2 + 0x4048);
    var_11 = *(type_5 *)(var_2 + 0x404c);
  }
  if (var_9 < 0) {
    var_5 = -1;
    goto LAB_000138a8;
  }
  var_10 = var_11 - var_6;
  if (var_3 == 0 && var_4 == 0) {
    if ((var_5 == 0 && var_6 == 0) || (var_12 = var_5, var_8 = var_6, var_7 != '\0')) {
      var_8 = var_11 - var_8;
      var_12 = (var_9 - var_12) - (type_5)(var_11 < var_8);
LAB_00013840:
      var_14(var_12,var_8,0,*(type_4 *)(var_2 + 0x4624));
    }
  }
  else {
    var_8 = var_10 - var_8;
    var_12 = (((var_9 - var_5) - (type_5)(var_11 < var_10)) - var_12) - (type_5)(var_10 < var_8);
    if (var_5 == 0 && var_6 == 0) goto LAB_00013840;
  }
  var_5 = (*(type_7 *)PTR_posix_fadvise64_00034270)(var_1);
LAB_000138a8:
  return var_5 != -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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (return_statement (true)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (return_statement (true)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (return_statement (true)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier)))) (expression_statement (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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal) (number_literal) (number_literal))))) (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)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (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)))))))) (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: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))) right: (identifier)) right: (identifier)) right: (identifier)))) (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))))))))) (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)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (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)))))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))) right: (identifier))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (labeled_statement label: (statement_identifier) (return_statement (binary_expression left: (identifier) right: (number_literal)))))))

bool MASKED(int param_1,uint param_2,int param_3,uint param_4)

{
  char cVar1;
  undefined *puVar2;
  int *piVar3;
  int iVar4;
  undefined4 *puVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint uVar10;
  int iVar11;
  undefined8 uVar12;
  
  if (param_1 == 0) {
    cVar1 = PTR_DAT_00034118[0x44e1];
    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c8);
  }
  else {
    cVar1 = PTR_DAT_00034118[0x44e0];
    piVar3 = (int *)(PTR_DAT_00034118 + 0x43c0);
  }
  if (param_3 == 0 && param_4 == 0) {
    iVar6 = *piVar3;
    uVar8 = piVar3[1];
    if ((iVar6 == 0 && uVar8 == 0) && (cVar1 == '\0')) {
      return true;
    }
    uVar10 = param_4;
    iVar11 = param_3;
    if (param_1 != 0) goto LAB_00013708;
LAB_000136bc:
    if (PTR_DAT_00034118[0x459c] == '\0') {
      puVar5 = (undefined4 *)(*(code *)PTR___errno_location_000342c4)();
      *puVar5 = 0x1d;
      iVar6 = -1;
      goto LAB_000138a8;
    }
    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4590);
    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x4594);
  }
  else {
    uVar8 = param_4 + piVar3[1];
    iVar6 = (uint)(uVar8 < param_4) + param_3 + *piVar3;
    param_2 = uVar8 & 0x1ffff;
    *piVar3 = 0;
    piVar3[1] = param_2;
    if ((iVar6 == 0) && (uVar8 <= param_2)) {
      return true;
    }
    param_2 = uVar8 - param_2;
    iVar6 = iVar6 - (uint)(uVar8 < param_2);
    if (iVar6 == 0 && param_2 == 0) {
      return true;
    }
    uVar8 = param_2;
    if (param_1 == 0) {
      uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43cc);
      iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c8);
      goto LAB_000136bc;
    }
    uVar10 = *(uint *)(PTR_DAT_00034118 + 0x43c4);
    iVar11 = *(int *)(PTR_DAT_00034118 + 0x43c0);
LAB_00013708:
    puVar2 = PTR_DAT_00034118;
    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);
    if ((iVar4 != -1) || (*(int *)(PTR_DAT_00034118 + 0x404c) != -1)) {
      if (iVar4 < 0) {
        uVar12 = (*(code *)PTR_lseek64_00034320)(param_1,param_2,0,0,1);
        *(undefined8 *)(PTR_DAT_00034118 + 0x4048) = uVar12;
      }
      else if (param_3 != 0 || param_4 != 0) {
        uVar9 = uVar10 + uVar8;
        uVar7 = uVar9 + *(int *)(PTR_DAT_00034118 + 0x404c);
        *(uint *)(PTR_DAT_00034118 + 0x4048) =
             (uint)(uVar7 < uVar9) + (uint)(uVar9 < uVar10) + iVar11 + iVar6 + iVar4;
        *(uint *)(puVar2 + 0x404c) = uVar7;
      }
    }
    iVar4 = *(int *)(PTR_DAT_00034118 + 0x4048);
    uVar7 = *(uint *)(PTR_DAT_00034118 + 0x404c);
  }
  if (iVar4 < 0) {
    iVar6 = -1;
    goto LAB_000138a8;
  }
  uVar9 = uVar7 - uVar8;
  if (param_3 == 0 && param_4 == 0) {
    if ((iVar6 == 0 && uVar8 == 0) || (iVar11 = iVar6, uVar10 = uVar8, cVar1 != '\0')) {
      uVar10 = uVar7 - uVar10;
      iVar11 = (iVar4 - iVar11) - (uint)(uVar7 < uVar10);
LAB_00013840:
      FUN_0001fad0(iVar11,uVar10,0,*(undefined4 *)(PTR_DAT_00034118 + 0x4624));
    }
  }
  else {
    uVar10 = uVar9 - uVar10;
    iVar11 = (((iVar4 - iVar6) - (uint)(uVar7 < uVar9)) - iVar11) - (uint)(uVar9 < uVar10);
    if (iVar6 == 0 && uVar8 == 0) goto LAB_00013840;
  }
  iVar6 = (*(code *)PTR_posix_fadvise64_00034270)(param_1);
LAB_000138a8:
  return iVar6 != -1;
}

