
/* DWARF original prototype: void do_readv(File_read * this, off_t base, Read_multiple * rm, size_t
   start, size_t count) */

void __thiscall
gold::File_read::do_readv(File_read *this,off_t base,Read_multiple *rm,size_t start,size_t count)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  char *pcVar4;
  uint uVar5;
  uint uVar6;
  undefined *puVar7;
  int *piVar8;
  uint *puVar9;
  uint uVar10;
  int iVar11;
  int iVar12;
  uint uVar13;
  pointer pcVar14;
  uint uVar15;
  uint uVar16;
  int iVar17;
  int in_stack_00000018;
  uchar discard [8192];
  iovec iov [256];
  
  piVar8 = (int *)(*base._0_4_ + base._4_4_ * 0x10);
  iVar17 = *piVar8;
  uVar16 = piVar8[1];
  if (in_stack_00000018 == 0) {
    uVar13 = 0;
    uVar15 = 0;
    reopen_descriptor(this);
  }
  else {
    iov[0].iov_len = piVar8[2];
    iov[0].iov_base = (void *)piVar8[3];
    uVar6 = iov[0].iov_len + uVar16;
    iVar12 = 1;
    uVar13 = 1;
    iVar1 = (uint)(uVar6 < iov[0].iov_len) + iVar17;
    puVar9 = (uint *)(piVar8 + 2);
    uVar5 = 0;
    uVar10 = uVar13;
    uVar15 = iov[0].iov_len;
    if (in_stack_00000018 != 1) {
      do {
        iVar11 = piVar8[4];
        uVar13 = piVar8[5];
        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {
          uVar6 = uVar13 - uVar6;
          if (0x2000 < uVar6) {
            iVar17 = 0x290;
            goto LAB_000e7b34;
          }
          uVar15 = uVar15 + uVar6;
          iov[uVar10].iov_base = discard;
          iov[uVar10].iov_len = uVar6;
          uVar10 = uVar5 + 2;
        }
        piVar8 = piVar8 + 4;
        uVar5 = puVar9[4];
        iVar12 = iVar12 + 1;
        uVar6 = uVar5 + uVar13;
        uVar13 = uVar10 + 1;
        iov[uVar10].iov_base = (void *)puVar9[5];
        iov[uVar10].iov_len = uVar5;
        uVar15 = uVar15 + uVar5;
        iVar1 = (uint)(uVar6 < uVar5) + iVar11;
        puVar9 = puVar9 + 4;
        uVar5 = uVar10;
        uVar10 = uVar13;
      } while (in_stack_00000018 != iVar12);
    }
    reopen_descriptor(this);
    if (0xff < uVar13) {
      iVar17 = 0x2a4;
LAB_000e7b34:
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,
                          PTR_s_alize_xindex_004323b4 + -0x58b4);
    }
  }
  iVar1 = (*(code *)PTR_lseek64_00436854)(this->descriptor_);
  if (iVar1 < 0) {
    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;
  }
  else {
    uVar13 = (*(code *)PTR_readv_00436650)(this->descriptor_,iov,uVar13);
    if (-1 < (int)uVar13) {
      if (uVar13 != uVar15) {
        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);
                    /* WARNING: Subroutine does not return */
        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,
                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);
      }
      return;
    }
    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;
  }
  pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(puVar7);
  pcVar14 = (this->name_)._M_dataplus._M_p;
  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();
  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);
                    /* WARNING: Subroutine does not return */
  gold_fatal(pcVar4,pcVar14,uVar3);
}



/* gold::File_read::do_readv(long long, std::vector<gold::File_read::Read_multiple_entry,
   std::allocator<gold::File_read::Read_multiple_entry> > const&, unsigned int, unsigned int) */

void gold::File_read::do_readv(longlong param_1,vector *param_2,uint param_3,uint param_4)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  gold *pgVar4;
  uint uVar5;
  uint uVar6;
  undefined *puVar7;
  int in_a3;
  int *piVar8;
  uint *puVar9;
  uint uVar10;
  int iVar11;
  int iVar12;
  uint uVar13;
  char *pcVar14;
  uint uVar15;
  uint uVar16;
  int iVar17;
  int in_stack_00000018;
  undefined1 auStack_2820 [8192];
  uint local_820 [512];
  
  piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);
  iVar17 = *piVar8;
  uVar16 = piVar8[1];
  if (in_stack_00000018 == 0) {
    uVar13 = 0;
    uVar15 = 0;
    reopen_descriptor((File_read *)param_2);
  }
  else {
    local_820[1] = piVar8[2];
    local_820[0] = piVar8[3];
    uVar6 = local_820[1] + uVar16;
    iVar12 = 1;
    uVar13 = 1;
    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;
    puVar9 = (uint *)(piVar8 + 2);
    uVar5 = 0;
    uVar10 = uVar13;
    uVar15 = local_820[1];
    if (in_stack_00000018 != 1) {
      do {
        iVar11 = piVar8[4];
        uVar13 = piVar8[5];
        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {
          uVar6 = uVar13 - uVar6;
          if (0x2000 < uVar6) {
            iVar17 = 0x290;
            goto LAB_000e7b34;
          }
          uVar15 = uVar15 + uVar6;
          local_820[uVar10 * 2] = (uint)auStack_2820;
          local_820[uVar10 * 2 + 1] = uVar6;
          uVar10 = uVar5 + 2;
        }
        piVar8 = piVar8 + 4;
        uVar5 = puVar9[4];
        iVar12 = iVar12 + 1;
        uVar6 = uVar5 + uVar13;
        uVar13 = uVar10 + 1;
        local_820[uVar10 * 2] = puVar9[5];
        local_820[uVar10 * 2 + 1] = uVar5;
        uVar15 = uVar15 + uVar5;
        iVar1 = (uint)(uVar6 < uVar5) + iVar11;
        puVar9 = puVar9 + 4;
        uVar5 = uVar10;
        uVar10 = uVar13;
      } while (in_stack_00000018 != iVar12);
    }
    reopen_descriptor((File_read *)param_2);
    if (0xff < uVar13) {
      iVar17 = 0x2a4;
LAB_000e7b34:
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,
                          PTR_s_alize_xindex_004323b4 + -0x58b4);
    }
  }
  iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));
  if (iVar1 < 0) {
    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;
  }
  else {
    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);
    if (-1 < (int)uVar13) {
      if (uVar13 != uVar15) {
        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);
                    /* WARNING: Subroutine does not return */
        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,
                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);
      }
      return;
    }
    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;
  }
  pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);
  pcVar14 = *(char **)param_2;
  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();
  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);
                    /* WARNING: Subroutine does not return */
  gold_fatal(pgVar4,pcVar14,uVar3);
}


lui gp,0x35
addiu gp,gp,0x2894
addu gp,gp,t9
addiu sp,sp,-0x2840
lw v0,0x2850(sp)
sw s5,0x2834(sp)
or s5,a2,zero
sw gp,0x18(sp)
sw s6,0x2838(sp)
lw t0,0x0(v0)
lw v0,0x2854(sp)
lw a2,0x2858(sp)
sw s4,0x2830(sp)
or s4,a3,zero
sll v0,v0,0x4
sw s3,0x282c(sp)
sw s1,0x2824(sp)
or s1,a0,zero
addu t0,t0,v0
sw ra,0x283c(sp)
sw s2,0x2828(sp)
sw s0,0x2820(sp)
lw s6,0x0(t0)
beq a2,zero,0x000e7b18
_lw s3,0x4(t0)
addiu t1,t0,0x8
lw v1,0x0(t1)
or t2,zero,zero
lw t5,0x4(t1)
addiu a3,sp,0x20
sll v0,t2,0x3
or a1,s3,zero
or t4,zero,zero
addu v0,a3,v0
addu a0,v1,a1
or s2,zero,zero
addiu t4,t4,0x1
sw t5,0x2000(v0)
or t3,s6,zero
sw v1,0x2004(v0)
sltu a1,a0,v1
addiu s0,t2,0x1
addu s2,s2,v1
beq a2,t4,0x000e7a60
_addu v0,a1,t3
lw t3,0x10(t0)
slt v1,v0,t3
beq v1,zero,0x000e7af4
_lw a1,0x14(t0)
subu a0,a1,a0
sltiu v0,a0,0x2001
beq v0,zero,0x000e7b30
_sll s0,s0,0x3
addiu t2,t2,0x2
addu s0,a3,s0
addu s2,s2,a0
addiu t1,t1,0x10
addiu t0,t0,0x10
sw a3,0x2000(s0)
sw a0,0x2004(s0)
lw v1,0x0(t1)
sll v0,t2,0x3
lw t5,0x4(t1)
addiu t4,t4,0x1
addu v0,a3,v0
addu a0,v1,a1
addiu s0,t2,0x1
sltu a1,a0,v1
sw t5,0x2000(v0)
sw v1,0x2004(v0)
addu s2,s2,v1
bne a2,t4,0x000e79f0
_addu v0,a1,t3
lw t9,-0x7444(gp)
bal 0x000e72f4
_or a0,s1,zero
sltiu v0,s0,0x100
beq v0,zero,0x000e7b4c
_lw gp,0x18(sp)
addu s4,s3,s4
lw t9,-0x397c(gp)
addu s5,s6,s5
lw a0,0x18(s1)
sltu s3,s4,s3
sw zero,0x10(sp)
addu s3,s3,s5
or a3,s4,zero
jalr t9
_or a2,s3,zero
bltz v0,0x000e7bd8
_lw gp,0x18(sp)
lw t9,-0x3b80(gp)
addiu a1,sp,0x2020
lw a0,0x18(s1)
jalr t9
_or a2,s0,zero
lw gp,0x18(sp)
bltz v0,0x000e7b54
_or s0,v0,zero
bne v0,s2,0x000e7ba4
_lw ra,0x283c(sp)
lw s6,0x2838(sp)
lw s5,0x2834(sp)
lw s4,0x2830(sp)
lw s3,0x282c(sp)
lw s2,0x2828(sp)
lw s1,0x2824(sp)
lw s0,0x2820(sp)
jr ra
_addiu sp,sp,0x2840
bne t3,v0,0x000e7b08
_nop
sltu v0,a0,a1
bne v0,zero,0x000e7a04
_subu a0,a1,a0
or t2,s0,zero
addiu t1,t1,0x10
b 0x000e7a2c
_addiu t0,t0,0x10
lw t9,-0x7444(gp)
or s0,zero,zero
bal 0x000e72f4
_or s2,zero,zero
b 0x000e7a78
_lw gp,0x18(sp)
li a1,0x290
lw a2,-0x7e1c(gp)
lw a0,-0x7e1c(gp)
lw t9,-0x7e0c(gp)
addiu a2,a2,-0x58b4
bal 0x000eb2f0
_addiu a0,a0,-0x5b90
b 0x000e7b34
_li a1,0x2a4
lw a0,-0x7e1c(gp)
lw t9,-0x39b8(gp)
addiu a0,a0,-0x5a90
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
lw t9,-0x38cc(gp)
jalr t9
_lw s1,0x0(s1)
lw gp,0x18(sp)
lw t9,-0x38ec(gp)
jalr t9
_lw a0,0x0(v0)
or a1,s1,zero
lw gp,0x18(sp)
or a2,v0,zero
lw t9,-0x7e18(gp)
bal 0x000e54c4
_or a0,s0,zero
lw a0,-0x7e1c(gp)
lw t9,-0x39b8(gp)
jalr t9
_addiu a0,a0,-0x5a78
or a3,s2,zero
lw gp,0x18(sp)
or a2,s0,zero
lw a1,0x0(s1)
or a0,v0,zero
sw s3,0x10(sp)
lw t9,-0x7e18(gp)
bal 0x000e54c4
_sw s4,0x14(sp)
lw a0,-0x7e1c(gp)
lw t9,-0x39b8(gp)
b 0x000e7b60
_addiu a0,a0,-0x5aa8
(translation_unit "/* gold::File_read::do_readv(long long, std::vector<gold::File_read::Read_multiple_entry,\n   std::allocator<gold::File_read::Read_multiple_entry> > const&, unsigned int, unsigned int) */\n\nvoid gold::File_read::do_readv(longlong param_1,vector *param_2,uint param_3,uint param_4)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  gold *pgVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int in_a3;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  char *pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  undefined1 auStack_2820 [8192];\n  uint local_820 [512];\n  \n  piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = *(char **)param_2;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    /* WARNING: Subroutine does not return */\n  gold_fatal(pgVar4,pcVar14,uVar3);\n}\n\n" comment (function_definition "void gold::File_read::do_readv(longlong param_1,vector *param_2,uint param_3,uint param_4)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  gold *pgVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int in_a3;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  char *pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  undefined1 auStack_2820 [8192];\n  uint local_820 [512];\n  \n  piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = *(char **)param_2;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    /* WARNING: Subroutine does not return */\n  gold_fatal(pgVar4,pcVar14,uVar3);\n}" primitive_type (ERROR "gold::File_read::" identifier : : identifier : :) (function_declarator "do_readv(longlong param_1,vector *param_2,uint param_3,uint param_4)" identifier (parameter_list "(longlong param_1,vector *param_2,uint param_3,uint param_4)" ( (parameter_declaration "longlong param_1" type_identifier identifier) , (parameter_declaration "vector *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  gold *pgVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int in_a3;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  char *pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  undefined1 auStack_2820 [8192];\n  uint local_820 [512];\n  \n  piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = *(char **)param_2;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    /* WARNING: Subroutine does not return */\n  gold_fatal(pgVar4,pcVar14,uVar3);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "gold *pgVar4;" type_identifier (pointer_declarator "*pgVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int in_a3;" primitive_type identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int in_stack_00000018;" primitive_type identifier ;) (declaration "undefined1 auStack_2820 [8192];" type_identifier (array_declarator "auStack_2820 [8192]" identifier [ number_literal ]) ;) (declaration "uint local_820 [512];" type_identifier (array_declarator "local_820 [512]" identifier [ number_literal ]) ;) (expression_statement "piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);" (assignment_expression "piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10)" identifier = (cast_expression "(int *)(*param_1._0_4_ + param_1._4_4_ * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1._0_4_ + param_1._4_4_ * 0x10)" ( (binary_expression "*param_1._0_4_ + param_1._4_4_ * 0x10" (pointer_expression "*param_1._0_4_" * (field_expression "param_1._0_4_" identifier . field_identifier)) + (binary_expression "param_1._4_4_ * 0x10" (field_expression "param_1._4_4_" identifier . field_identifier) * number_literal)) )))) ;) (expression_statement "iVar17 = *piVar8;" (assignment_expression "iVar17 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "uVar16 = piVar8[1];" (assignment_expression "uVar16 = piVar8[1]" identifier = (subscript_expression "piVar8[1]" identifier [ number_literal ])) ;) (if_statement "if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" if (parenthesized_expression "(in_stack_00000018 == 0)" ( (binary_expression "in_stack_00000018 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }" { (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) (expression_statement "reopen_descriptor((File_read *)param_2);" (call_expression "reopen_descriptor((File_read *)param_2)" identifier (argument_list "((File_read *)param_2)" ( (cast_expression "(File_read *)param_2" ( (type_descriptor "File_read *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) }) (else_clause "else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" else (compound_statement "{\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" { (expression_statement "local_820[1] = piVar8[2];" (assignment_expression "local_820[1] = piVar8[2]" (subscript_expression "local_820[1]" identifier [ number_literal ]) = (subscript_expression "piVar8[2]" identifier [ number_literal ])) ;) (expression_statement "local_820[0] = piVar8[3];" (assignment_expression "local_820[0] = piVar8[3]" (subscript_expression "local_820[0]" identifier [ number_literal ]) = (subscript_expression "piVar8[3]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = local_820[1] + uVar16;" (assignment_expression "uVar6 = local_820[1] + uVar16" identifier = (binary_expression "local_820[1] + uVar16" (subscript_expression "local_820[1]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" identifier = number_literal) ;) (expression_statement "uVar13 = 1;" (assignment_expression "uVar13 = 1" identifier = number_literal) ;) (expression_statement "iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;" (assignment_expression "iVar1 = (uint)(uVar6 < local_820[1]) + iVar17" identifier = (binary_expression "(uint)(uVar6 < local_820[1]) + iVar17" (call_expression "(uint)(uVar6 < local_820[1])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < local_820[1])" ( (binary_expression "uVar6 < local_820[1]" identifier < (subscript_expression "local_820[1]" identifier [ number_literal ])) ))) + identifier)) ;) (expression_statement "puVar9 = (uint *)(piVar8 + 2);" (assignment_expression "puVar9 = (uint *)(piVar8 + 2)" identifier = (cast_expression "(uint *)(piVar8 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 2)" ( (binary_expression "piVar8 + 2" identifier + number_literal) )))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = uVar13;" (assignment_expression "uVar10 = uVar13" identifier = identifier) ;) (expression_statement "uVar15 = local_820[1];" (assignment_expression "uVar15 = local_820[1]" identifier = (subscript_expression "local_820[1]" identifier [ number_literal ])) ;) (if_statement "if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }" if (parenthesized_expression "(in_stack_00000018 != 1)" ( (binary_expression "in_stack_00000018 != 1" identifier != number_literal) )) (compound_statement "{\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }" { (do_statement "do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);" do (compound_statement "{\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      }" { (expression_statement "iVar11 = piVar8[4];" (assignment_expression "iVar11 = piVar8[4]" identifier = (subscript_expression "piVar8[4]" identifier [ number_literal ])) ;) (expression_statement "uVar13 = piVar8[5];" (assignment_expression "uVar13 = piVar8[5]" identifier = (subscript_expression "piVar8[5]" identifier [ number_literal ])) ;) (if_statement "if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }" if (parenthesized_expression "((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13))))" ( (binary_expression "(iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))" (parenthesized_expression "(iVar1 < iVar11)" ( (binary_expression "iVar1 < iVar11" identifier < identifier) )) || (parenthesized_expression "((iVar11 == iVar1 && (uVar6 < uVar13)))" ( (parenthesized_expression "(iVar11 == iVar1 && (uVar6 < uVar13))" ( (binary_expression "iVar11 == iVar1 && (uVar6 < uVar13)" (binary_expression "iVar11 == iVar1" identifier == identifier) && (parenthesized_expression "(uVar6 < uVar13)" ( (binary_expression "uVar6 < uVar13" identifier < identifier) ))) )) ))) )) (compound_statement "{\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }" { (expression_statement "uVar6 = uVar13 - uVar6;" (assignment_expression "uVar6 = uVar13 - uVar6" identifier = (binary_expression "uVar13 - uVar6" identifier - identifier)) ;) (if_statement "if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }" if (parenthesized_expression "(0x2000 < uVar6)" ( (binary_expression "0x2000 < uVar6" number_literal < identifier) )) (compound_statement "{\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }" { (expression_statement "iVar17 = 0x290;" (assignment_expression "iVar17 = 0x290" identifier = number_literal) ;) (goto_statement "goto LAB_000e7b34;" goto statement_identifier ;) })) (expression_statement "uVar15 = uVar15 + uVar6;" (assignment_expression "uVar15 = uVar15 + uVar6" identifier = (binary_expression "uVar15 + uVar6" identifier + identifier)) ;) (expression_statement "local_820[uVar10 * 2] = (uint)auStack_2820;" (assignment_expression "local_820[uVar10 * 2] = (uint)auStack_2820" (subscript_expression "local_820[uVar10 * 2]" identifier [ (binary_expression "uVar10 * 2" identifier * number_literal) ]) = (cast_expression "(uint)auStack_2820" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_820[uVar10 * 2 + 1] = uVar6;" (assignment_expression "local_820[uVar10 * 2 + 1] = uVar6" (subscript_expression "local_820[uVar10 * 2 + 1]" identifier [ (binary_expression "uVar10 * 2 + 1" (binary_expression "uVar10 * 2" identifier * number_literal) + number_literal) ]) = identifier) ;) (expression_statement "uVar10 = uVar5 + 2;" (assignment_expression "uVar10 = uVar5 + 2" identifier = (binary_expression "uVar5 + 2" identifier + number_literal)) ;) })) (expression_statement "piVar8 = piVar8 + 4;" (assignment_expression "piVar8 = piVar8 + 4" identifier = (binary_expression "piVar8 + 4" identifier + number_literal)) ;) (expression_statement "uVar5 = puVar9[4];" (assignment_expression "uVar5 = puVar9[4]" identifier = (subscript_expression "puVar9[4]" identifier [ number_literal ])) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar5 + uVar13;" (assignment_expression "uVar6 = uVar5 + uVar13" identifier = (binary_expression "uVar5 + uVar13" identifier + identifier)) ;) (expression_statement "uVar13 = uVar10 + 1;" (assignment_expression "uVar13 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_820[uVar10 * 2] = puVar9[5];" (assignment_expression "local_820[uVar10 * 2] = puVar9[5]" (subscript_expression "local_820[uVar10 * 2]" identifier [ (binary_expression "uVar10 * 2" identifier * number_literal) ]) = (subscript_expression "puVar9[5]" identifier [ number_literal ])) ;) (expression_statement "local_820[uVar10 * 2 + 1] = uVar5;" (assignment_expression "local_820[uVar10 * 2 + 1] = uVar5" (subscript_expression "local_820[uVar10 * 2 + 1]" identifier [ (binary_expression "uVar10 * 2 + 1" (binary_expression "uVar10 * 2" identifier * number_literal) + number_literal) ]) = identifier) ;) (expression_statement "uVar15 = uVar15 + uVar5;" (assignment_expression "uVar15 = uVar15 + uVar5" identifier = (binary_expression "uVar15 + uVar5" identifier + identifier)) ;) (expression_statement "iVar1 = (uint)(uVar6 < uVar5) + iVar11;" (assignment_expression "iVar1 = (uint)(uVar6 < uVar5) + iVar11" identifier = (binary_expression "(uint)(uVar6 < uVar5) + iVar11" (call_expression "(uint)(uVar6 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar5)" ( (binary_expression "uVar6 < uVar5" identifier < identifier) ))) + identifier)) ;) (expression_statement "puVar9 = puVar9 + 4;" (assignment_expression "puVar9 = puVar9 + 4" identifier = (binary_expression "puVar9 + 4" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar10;" (assignment_expression "uVar5 = uVar10" identifier = identifier) ;) (expression_statement "uVar10 = uVar13;" (assignment_expression "uVar10 = uVar13" identifier = identifier) ;) }) while (parenthesized_expression "(in_stack_00000018 != iVar12)" ( (binary_expression "in_stack_00000018 != iVar12" identifier != identifier) )) ;) })) (expression_statement "reopen_descriptor((File_read *)param_2);" (call_expression "reopen_descriptor((File_read *)param_2)" identifier (argument_list "((File_read *)param_2)" ( (cast_expression "(File_read *)param_2" ( (type_descriptor "File_read *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (if_statement "if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }" if (parenthesized_expression "(0xff < uVar13)" ( (binary_expression "0xff < uVar13" number_literal < identifier) )) (compound_statement "{\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }" { (expression_statement "iVar17 = 0x2a4;" (assignment_expression "iVar17 = 0x2a4" identifier = number_literal) ;) (labeled_statement "LAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);" statement_identifier : comment (expression_statement "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);" (call_expression "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4)" identifier (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5b90" identifier + number_literal) , identifier , (binary_expression "PTR_s_alize_xindex_004323b4 + -0x58b4" identifier + number_literal) ))) ;)) })) }))) (expression_statement "iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));" (assignment_expression "iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18))" identifier = (call_expression "(*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18))" (parenthesized_expression "(*(code *)PTR_lseek64_00436854)" ( (pointer_expression "*(code *)PTR_lseek64_00436854" * (cast_expression "(code *)PTR_lseek64_00436854" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_2 + 0x18))" ( (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }" { (expression_statement "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;" (assignment_expression "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8" identifier = (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5aa8" identifier + number_literal)) ;) }) (else_clause "else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" else (compound_statement "{\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" { (expression_statement "uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);" (assignment_expression "uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13)" identifier = (call_expression "(*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13)" (parenthesized_expression "(*(code *)PTR_readv_00436650)" ( (pointer_expression "*(code *)PTR_readv_00436650" * (cast_expression "(code *)PTR_readv_00436650" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_2 + 0x18),local_820,uVar13)" ( (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }" if (parenthesized_expression "(-1 < (int)uVar13)" ( (binary_expression "-1 < (int)uVar13" number_literal < (cast_expression "(int)uVar13" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }" { (if_statement "if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }" if (parenthesized_expression "(uVar13 != uVar15)" ( (binary_expression "uVar13 != uVar15" identifier != identifier) )) (compound_statement "{\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }" { (expression_statement "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);" (assignment_expression "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" identifier = (cast_expression "(gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" ( (type_descriptor "gold *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5a78)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5a78" identifier + number_literal) ))))) ;) comment (expression_statement "gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);" (call_expression "gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3)" identifier (argument_list "(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3)" ( identifier , (pointer_expression "*(char **)param_2" * (cast_expression "(char **)param_2" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , (binary_expression "(uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4" (binary_expression "(uint)(uVar16 + in_a3 < uVar16) + iVar17" (call_expression "(uint)(uVar16 + in_a3 < uVar16)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar16 + in_a3 < uVar16)" ( (binary_expression "uVar16 + in_a3 < uVar16" (binary_expression "uVar16 + in_a3" identifier + identifier) < identifier) ))) + identifier) + identifier) , (binary_expression "uVar16 + in_a3" identifier + identifier) ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;" (assignment_expression "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90" identifier = (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5a90" identifier + number_literal)) ;) }))) (expression_statement "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);" (assignment_expression "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7)" identifier = (cast_expression "(gold *)(*(code *)PTR_gettext_00436818)(puVar7)" ( (type_descriptor "gold *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_00436818)(puVar7)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier ))))) ;) (expression_statement "pcVar14 = *(char **)param_2;" (assignment_expression "pcVar14 = *(char **)param_2" identifier = (pointer_expression "*(char **)param_2" * (cast_expression "(char **)param_2" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00436904)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00436904)()" (parenthesized_expression "(*(code *)PTR___errno_location_00436904)" ( (pointer_expression "*(code *)PTR___errno_location_00436904" * (cast_expression "(code *)PTR___errno_location_00436904" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);" (assignment_expression "uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2)" identifier = (call_expression "(*(code *)PTR_strerror_004368e4)(*puVar2)" (parenthesized_expression "(*(code *)PTR_strerror_004368e4)" ( (pointer_expression "*(code *)PTR_strerror_004368e4" * (cast_expression "(code *)PTR_strerror_004368e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar2)" ( (pointer_expression "*puVar2" * identifier) )))) ;) comment (expression_statement "gold_fatal(pgVar4,pcVar14,uVar3);" (call_expression "gold_fatal(pgVar4,pcVar14,uVar3)" identifier (argument_list "(pgVar4,pcVar14,uVar3)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit "/* DWARF original prototype: void do_readv(File_read * this, off_t base, Read_multiple * rm, size_t\n   start, size_t count) */\n\nvoid __thiscall\ngold::File_read::do_readv(File_read *this,off_t base,Read_multiple *rm,size_t start,size_t count)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  pointer pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  uchar discard [8192];\n  iovec iov [256];\n  \n  piVar8 = (int *)(*base._0_4_ + base._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor(this);\n  }\n  else {\n    iov[0].iov_len = piVar8[2];\n    iov[0].iov_base = (void *)piVar8[3];\n    uVar6 = iov[0].iov_len + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < iov[0].iov_len) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = iov[0].iov_len;\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        iov[uVar10].iov_base = (void *)puVar9[5];\n        iov[uVar10].iov_len = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor(this);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(this->descriptor_);\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(this->descriptor_,iov,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = (this->name_)._M_dataplus._M_p;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    /* WARNING: Subroutine does not return */\n  gold_fatal(pcVar4,pcVar14,uVar3);\n}\n\n" comment (function_definition "void __thiscall\ngold::File_read::do_readv(File_read *this,off_t base,Read_multiple *rm,size_t start,size_t count)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  pointer pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  uchar discard [8192];\n  iovec iov [256];\n  \n  piVar8 = (int *)(*base._0_4_ + base._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor(this);\n  }\n  else {\n    iov[0].iov_len = piVar8[2];\n    iov[0].iov_base = (void *)piVar8[3];\n    uVar6 = iov[0].iov_len + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < iov[0].iov_len) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = iov[0].iov_len;\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        iov[uVar10].iov_base = (void *)puVar9[5];\n        iov[uVar10].iov_len = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor(this);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(this->descriptor_);\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(this->descriptor_,iov,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = (this->name_)._M_dataplus._M_p;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    /* WARNING: Subroutine does not return */\n  gold_fatal(pcVar4,pcVar14,uVar3);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::File_read::" identifier : : identifier : :) (function_declarator "do_readv(File_read *this,off_t base,Read_multiple *rm,size_t start,size_t count)" identifier (parameter_list "(File_read *this,off_t base,Read_multiple *rm,size_t start,size_t count)" ( (parameter_declaration "File_read *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "off_t base" type_identifier identifier) , (parameter_declaration "Read_multiple *rm" type_identifier (pointer_declarator "*rm" * identifier)) , (parameter_declaration "size_t start" primitive_type identifier) , (parameter_declaration "size_t count" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  pointer pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  uchar discard [8192];\n  iovec iov [256];\n  \n  piVar8 = (int *)(*base._0_4_ + base._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor(this);\n  }\n  else {\n    iov[0].iov_len = piVar8[2];\n    iov[0].iov_base = (void *)piVar8[3];\n    uVar6 = iov[0].iov_len + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < iov[0].iov_len) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = iov[0].iov_len;\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        iov[uVar10].iov_base = (void *)puVar9[5];\n        iov[uVar10].iov_len = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor(this);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(this->descriptor_);\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(this->descriptor_,iov,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = (this->name_)._M_dataplus._M_p;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    /* WARNING: Subroutine does not return */\n  gold_fatal(pcVar4,pcVar14,uVar3);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "pointer pcVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int in_stack_00000018;" primitive_type identifier ;) (declaration "uchar discard [8192];" type_identifier (array_declarator "discard [8192]" identifier [ number_literal ]) ;) (declaration "iovec iov [256];" type_identifier (array_declarator "iov [256]" identifier [ number_literal ]) ;) (expression_statement "piVar8 = (int *)(*base._0_4_ + base._4_4_ * 0x10);" (assignment_expression "piVar8 = (int *)(*base._0_4_ + base._4_4_ * 0x10)" identifier = (cast_expression "(int *)(*base._0_4_ + base._4_4_ * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*base._0_4_ + base._4_4_ * 0x10)" ( (binary_expression "*base._0_4_ + base._4_4_ * 0x10" (pointer_expression "*base._0_4_" * (field_expression "base._0_4_" identifier . field_identifier)) + (binary_expression "base._4_4_ * 0x10" (field_expression "base._4_4_" identifier . field_identifier) * number_literal)) )))) ;) (expression_statement "iVar17 = *piVar8;" (assignment_expression "iVar17 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "uVar16 = piVar8[1];" (assignment_expression "uVar16 = piVar8[1]" identifier = (subscript_expression "piVar8[1]" identifier [ number_literal ])) ;) (if_statement "if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor(this);\n  }\n  else {\n    iov[0].iov_len = piVar8[2];\n    iov[0].iov_base = (void *)piVar8[3];\n    uVar6 = iov[0].iov_len + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < iov[0].iov_len) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = iov[0].iov_len;\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        iov[uVar10].iov_base = (void *)puVar9[5];\n        iov[uVar10].iov_len = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor(this);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" if (parenthesized_expression "(in_stack_00000018 == 0)" ( (binary_expression "in_stack_00000018 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor(this);\n  }" { (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) (expression_statement "reopen_descriptor(this);" (call_expression "reopen_descriptor(this)" identifier (argument_list "(this)" ( identifier ))) ;) }) (else_clause "else {\n    iov[0].iov_len = piVar8[2];\n    iov[0].iov_base = (void *)piVar8[3];\n    uVar6 = iov[0].iov_len + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < iov[0].iov_len) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = iov[0].iov_len;\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        iov[uVar10].iov_base = (void *)puVar9[5];\n        iov[uVar10].iov_len = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor(this);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" else (compound_statement "{\n    iov[0].iov_len = piVar8[2];\n    iov[0].iov_base = (void *)piVar8[3];\n    uVar6 = iov[0].iov_len + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < iov[0].iov_len) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = iov[0].iov_len;\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        iov[uVar10].iov_base = (void *)puVar9[5];\n        iov[uVar10].iov_len = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor(this);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" { (expression_statement "iov[0].iov_len = piVar8[2];" (assignment_expression "iov[0].iov_len = piVar8[2]" (field_expression "iov[0].iov_len" (subscript_expression "iov[0]" identifier [ number_literal ]) . field_identifier) = (subscript_expression "piVar8[2]" identifier [ number_literal ])) ;) (expression_statement "iov[0].iov_base = (void *)piVar8[3];" (assignment_expression "iov[0].iov_base = (void *)piVar8[3]" (field_expression "iov[0].iov_base" (subscript_expression "iov[0]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(void *)piVar8[3]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar8[3]" identifier [ number_literal ]))) ;) (expression_statement "uVar6 = iov[0].iov_len + uVar16;" (assignment_expression "uVar6 = iov[0].iov_len + uVar16" identifier = (binary_expression "iov[0].iov_len + uVar16" (field_expression "iov[0].iov_len" (subscript_expression "iov[0]" identifier [ number_literal ]) . field_identifier) + identifier)) ;) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" identifier = number_literal) ;) (expression_statement "uVar13 = 1;" (assignment_expression "uVar13 = 1" identifier = number_literal) ;) (expression_statement "iVar1 = (uint)(uVar6 < iov[0].iov_len) + iVar17;" (assignment_expression "iVar1 = (uint)(uVar6 < iov[0].iov_len) + iVar17" identifier = (binary_expression "(uint)(uVar6 < iov[0].iov_len) + iVar17" (call_expression "(uint)(uVar6 < iov[0].iov_len)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < iov[0].iov_len)" ( (binary_expression "uVar6 < iov[0].iov_len" identifier < (field_expression "iov[0].iov_len" (subscript_expression "iov[0]" identifier [ number_literal ]) . field_identifier)) ))) + identifier)) ;) (expression_statement "puVar9 = (uint *)(piVar8 + 2);" (assignment_expression "puVar9 = (uint *)(piVar8 + 2)" identifier = (cast_expression "(uint *)(piVar8 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 2)" ( (binary_expression "piVar8 + 2" identifier + number_literal) )))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = uVar13;" (assignment_expression "uVar10 = uVar13" identifier = identifier) ;) (expression_statement "uVar15 = iov[0].iov_len;" (assignment_expression "uVar15 = iov[0].iov_len" identifier = (field_expression "iov[0].iov_len" (subscript_expression "iov[0]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        iov[uVar10].iov_base = (void *)puVar9[5];\n        iov[uVar10].iov_len = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }" if (parenthesized_expression "(in_stack_00000018 != 1)" ( (binary_expression "in_stack_00000018 != 1" identifier != number_literal) )) (compound_statement "{\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        iov[uVar10].iov_base = (void *)puVar9[5];\n        iov[uVar10].iov_len = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }" { (do_statement "do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        iov[uVar10].iov_base = (void *)puVar9[5];\n        iov[uVar10].iov_len = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);" do (compound_statement "{\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        iov[uVar10].iov_base = (void *)puVar9[5];\n        iov[uVar10].iov_len = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      }" { (expression_statement "iVar11 = piVar8[4];" (assignment_expression "iVar11 = piVar8[4]" identifier = (subscript_expression "piVar8[4]" identifier [ number_literal ])) ;) (expression_statement "uVar13 = piVar8[5];" (assignment_expression "uVar13 = piVar8[5]" identifier = (subscript_expression "piVar8[5]" identifier [ number_literal ])) ;) (if_statement "if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }" if (parenthesized_expression "((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13))))" ( (binary_expression "(iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))" (parenthesized_expression "(iVar1 < iVar11)" ( (binary_expression "iVar1 < iVar11" identifier < identifier) )) || (parenthesized_expression "((iVar11 == iVar1 && (uVar6 < uVar13)))" ( (parenthesized_expression "(iVar11 == iVar1 && (uVar6 < uVar13))" ( (binary_expression "iVar11 == iVar1 && (uVar6 < uVar13)" (binary_expression "iVar11 == iVar1" identifier == identifier) && (parenthesized_expression "(uVar6 < uVar13)" ( (binary_expression "uVar6 < uVar13" identifier < identifier) ))) )) ))) )) (compound_statement "{\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          iov[uVar10].iov_base = discard;\n          iov[uVar10].iov_len = uVar6;\n          uVar10 = uVar5 + 2;\n        }" { (expression_statement "uVar6 = uVar13 - uVar6;" (assignment_expression "uVar6 = uVar13 - uVar6" identifier = (binary_expression "uVar13 - uVar6" identifier - identifier)) ;) (if_statement "if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }" if (parenthesized_expression "(0x2000 < uVar6)" ( (binary_expression "0x2000 < uVar6" number_literal < identifier) )) (compound_statement "{\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }" { (expression_statement "iVar17 = 0x290;" (assignment_expression "iVar17 = 0x290" identifier = number_literal) ;) (goto_statement "goto LAB_000e7b34;" goto statement_identifier ;) })) (expression_statement "uVar15 = uVar15 + uVar6;" (assignment_expression "uVar15 = uVar15 + uVar6" identifier = (binary_expression "uVar15 + uVar6" identifier + identifier)) ;) (expression_statement "iov[uVar10].iov_base = discard;" (assignment_expression "iov[uVar10].iov_base = discard" (field_expression "iov[uVar10].iov_base" (subscript_expression "iov[uVar10]" identifier [ identifier ]) . field_identifier) = identifier) ;) (expression_statement "iov[uVar10].iov_len = uVar6;" (assignment_expression "iov[uVar10].iov_len = uVar6" (field_expression "iov[uVar10].iov_len" (subscript_expression "iov[uVar10]" identifier [ identifier ]) . field_identifier) = identifier) ;) (expression_statement "uVar10 = uVar5 + 2;" (assignment_expression "uVar10 = uVar5 + 2" identifier = (binary_expression "uVar5 + 2" identifier + number_literal)) ;) })) (expression_statement "piVar8 = piVar8 + 4;" (assignment_expression "piVar8 = piVar8 + 4" identifier = (binary_expression "piVar8 + 4" identifier + number_literal)) ;) (expression_statement "uVar5 = puVar9[4];" (assignment_expression "uVar5 = puVar9[4]" identifier = (subscript_expression "puVar9[4]" identifier [ number_literal ])) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar5 + uVar13;" (assignment_expression "uVar6 = uVar5 + uVar13" identifier = (binary_expression "uVar5 + uVar13" identifier + identifier)) ;) (expression_statement "uVar13 = uVar10 + 1;" (assignment_expression "uVar13 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "iov[uVar10].iov_base = (void *)puVar9[5];" (assignment_expression "iov[uVar10].iov_base = (void *)puVar9[5]" (field_expression "iov[uVar10].iov_base" (subscript_expression "iov[uVar10]" identifier [ identifier ]) . field_identifier) = (cast_expression "(void *)puVar9[5]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[5]" identifier [ number_literal ]))) ;) (expression_statement "iov[uVar10].iov_len = uVar5;" (assignment_expression "iov[uVar10].iov_len = uVar5" (field_expression "iov[uVar10].iov_len" (subscript_expression "iov[uVar10]" identifier [ identifier ]) . field_identifier) = identifier) ;) (expression_statement "uVar15 = uVar15 + uVar5;" (assignment_expression "uVar15 = uVar15 + uVar5" identifier = (binary_expression "uVar15 + uVar5" identifier + identifier)) ;) (expression_statement "iVar1 = (uint)(uVar6 < uVar5) + iVar11;" (assignment_expression "iVar1 = (uint)(uVar6 < uVar5) + iVar11" identifier = (binary_expression "(uint)(uVar6 < uVar5) + iVar11" (call_expression "(uint)(uVar6 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar5)" ( (binary_expression "uVar6 < uVar5" identifier < identifier) ))) + identifier)) ;) (expression_statement "puVar9 = puVar9 + 4;" (assignment_expression "puVar9 = puVar9 + 4" identifier = (binary_expression "puVar9 + 4" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar10;" (assignment_expression "uVar5 = uVar10" identifier = identifier) ;) (expression_statement "uVar10 = uVar13;" (assignment_expression "uVar10 = uVar13" identifier = identifier) ;) }) while (parenthesized_expression "(in_stack_00000018 != iVar12)" ( (binary_expression "in_stack_00000018 != iVar12" identifier != identifier) )) ;) })) (expression_statement "reopen_descriptor(this);" (call_expression "reopen_descriptor(this)" identifier (argument_list "(this)" ( identifier ))) ;) (if_statement "if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }" if (parenthesized_expression "(0xff < uVar13)" ( (binary_expression "0xff < uVar13" number_literal < identifier) )) (compound_statement "{\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }" { (expression_statement "iVar17 = 0x2a4;" (assignment_expression "iVar17 = 0x2a4" identifier = number_literal) ;) (labeled_statement "LAB_000e7b34:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);" statement_identifier : comment (expression_statement "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);" (call_expression "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4)" identifier (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5b90" identifier + number_literal) , identifier , (binary_expression "PTR_s_alize_xindex_004323b4 + -0x58b4" identifier + number_literal) ))) ;)) })) }))) (expression_statement "iVar1 = (*(code *)PTR_lseek64_00436854)(this->descriptor_);" (assignment_expression "iVar1 = (*(code *)PTR_lseek64_00436854)(this->descriptor_)" identifier = (call_expression "(*(code *)PTR_lseek64_00436854)(this->descriptor_)" (parenthesized_expression "(*(code *)PTR_lseek64_00436854)" ( (pointer_expression "*(code *)PTR_lseek64_00436854" * (cast_expression "(code *)PTR_lseek64_00436854" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this->descriptor_)" ( (field_expression "this->descriptor_" identifier -> field_identifier) )))) ;) (if_statement "if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(this->descriptor_,iov,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }" { (expression_statement "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;" (assignment_expression "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8" identifier = (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5aa8" identifier + number_literal)) ;) }) (else_clause "else {\n    uVar13 = (*(code *)PTR_readv_00436650)(this->descriptor_,iov,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" else (compound_statement "{\n    uVar13 = (*(code *)PTR_readv_00436650)(this->descriptor_,iov,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" { (expression_statement "uVar13 = (*(code *)PTR_readv_00436650)(this->descriptor_,iov,uVar13);" (assignment_expression "uVar13 = (*(code *)PTR_readv_00436650)(this->descriptor_,iov,uVar13)" identifier = (call_expression "(*(code *)PTR_readv_00436650)(this->descriptor_,iov,uVar13)" (parenthesized_expression "(*(code *)PTR_readv_00436650)" ( (pointer_expression "*(code *)PTR_readv_00436650" * (cast_expression "(code *)PTR_readv_00436650" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this->descriptor_,iov,uVar13)" ( (field_expression "this->descriptor_" identifier -> field_identifier) , identifier , identifier )))) ;) (if_statement "if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);\n      }\n      return;\n    }" if (parenthesized_expression "(-1 < (int)uVar13)" ( (binary_expression "-1 < (int)uVar13" number_literal < (cast_expression "(int)uVar13" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      if (uVar13 != uVar15) {\n        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);\n      }\n      return;\n    }" { (if_statement "if (uVar13 != uVar15) {\n        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);\n      }" if (parenthesized_expression "(uVar13 != uVar15)" ( (binary_expression "uVar13 != uVar15" identifier != identifier) )) (compound_statement "{\n        pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    /* WARNING: Subroutine does not return */\n        gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);\n      }" { (expression_statement "pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" identifier = (cast_expression "(char *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5a78)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5a78" identifier + number_literal) ))))) ;) comment (expression_statement "gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count);" (call_expression "gold_fatal(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count)" identifier (argument_list "(pcVar4,(this->name_)._M_dataplus._M_p,uVar13,uVar15,\n                   (uint)(uVar16 + count < uVar16) + iVar17 + start,uVar16 + count)" ( identifier , (field_expression "(this->name_)._M_dataplus._M_p" (field_expression "(this->name_)._M_dataplus" (parenthesized_expression "(this->name_)" ( (field_expression "this->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier) , identifier , identifier , (binary_expression "(uint)(uVar16 + count < uVar16) + iVar17 + start" (binary_expression "(uint)(uVar16 + count < uVar16) + iVar17" (call_expression "(uint)(uVar16 + count < uVar16)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar16 + count < uVar16)" ( (binary_expression "uVar16 + count < uVar16" (binary_expression "uVar16 + count" identifier + identifier) < identifier) ))) + identifier) + identifier) , (binary_expression "uVar16 + count" identifier + identifier) ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;" (assignment_expression "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90" identifier = (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5a90" identifier + number_literal)) ;) }))) (expression_statement "pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(puVar7);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_gettext_00436818)(puVar7)" identifier = (cast_expression "(char *)(*(code *)PTR_gettext_00436818)(puVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_00436818)(puVar7)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier ))))) ;) (expression_statement "pcVar14 = (this->name_)._M_dataplus._M_p;" (assignment_expression "pcVar14 = (this->name_)._M_dataplus._M_p" identifier = (field_expression "(this->name_)._M_dataplus._M_p" (field_expression "(this->name_)._M_dataplus" (parenthesized_expression "(this->name_)" ( (field_expression "this->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00436904)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00436904)()" (parenthesized_expression "(*(code *)PTR___errno_location_00436904)" ( (pointer_expression "*(code *)PTR___errno_location_00436904" * (cast_expression "(code *)PTR___errno_location_00436904" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);" (assignment_expression "uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2)" identifier = (call_expression "(*(code *)PTR_strerror_004368e4)(*puVar2)" (parenthesized_expression "(*(code *)PTR_strerror_004368e4)" ( (pointer_expression "*(code *)PTR_strerror_004368e4" * (cast_expression "(code *)PTR_strerror_004368e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar2)" ( (pointer_expression "*puVar2" * identifier) )))) ;) comment (expression_statement "gold_fatal(pcVar4,pcVar14,uVar3);" (call_expression "gold_fatal(pcVar4,pcVar14,uVar3)" identifier (argument_list "(pcVar4,pcVar14,uVar3)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit "void gold::File_read::do_readv(longlong param_1,vector *param_2,uint param_3,uint param_4)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  gold *pgVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int in_a3;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  char *pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  undefined1 auStack_2820 [8192];\n  uint local_820 [512];\n  \n  piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = *(char **)param_2;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    \n  gold_fatal(pgVar4,pcVar14,uVar3);\n}\n\n" (function_definition "void gold::File_read::do_readv(longlong param_1,vector *param_2,uint param_3,uint param_4)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  gold *pgVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int in_a3;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  char *pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  undefined1 auStack_2820 [8192];\n  uint local_820 [512];\n  \n  piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = *(char **)param_2;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    \n  gold_fatal(pgVar4,pcVar14,uVar3);\n}" primitive_type (ERROR "gold::File_read::" identifier : : identifier : :) (function_declarator "do_readv(longlong param_1,vector *param_2,uint param_3,uint param_4)" identifier (parameter_list "(longlong param_1,vector *param_2,uint param_3,uint param_4)" ( (parameter_declaration "longlong param_1" type_identifier identifier) , (parameter_declaration "vector *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  gold *pgVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int in_a3;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  char *pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  undefined1 auStack_2820 [8192];\n  uint local_820 [512];\n  \n  piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = *(char **)param_2;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    \n  gold_fatal(pgVar4,pcVar14,uVar3);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "gold *pgVar4;" type_identifier (pointer_declarator "*pgVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int in_a3;" primitive_type identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int in_stack_00000018;" primitive_type identifier ;) (declaration "undefined1 auStack_2820 [8192];" type_identifier (array_declarator "auStack_2820 [8192]" identifier [ number_literal ]) ;) (declaration "uint local_820 [512];" type_identifier (array_declarator "local_820 [512]" identifier [ number_literal ]) ;) (expression_statement "piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);" (assignment_expression "piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10)" identifier = (cast_expression "(int *)(*param_1._0_4_ + param_1._4_4_ * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1._0_4_ + param_1._4_4_ * 0x10)" ( (binary_expression "*param_1._0_4_ + param_1._4_4_ * 0x10" (pointer_expression "*param_1._0_4_" * (field_expression "param_1._0_4_" identifier . field_identifier)) + (binary_expression "param_1._4_4_ * 0x10" (field_expression "param_1._4_4_" identifier . field_identifier) * number_literal)) )))) ;) (expression_statement "iVar17 = *piVar8;" (assignment_expression "iVar17 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "uVar16 = piVar8[1];" (assignment_expression "uVar16 = piVar8[1]" identifier = (subscript_expression "piVar8[1]" identifier [ number_literal ])) ;) (if_statement "if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" if (parenthesized_expression "(in_stack_00000018 == 0)" ( (binary_expression "in_stack_00000018 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }" { (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) (expression_statement "reopen_descriptor((File_read *)param_2);" (call_expression "reopen_descriptor((File_read *)param_2)" identifier (argument_list "((File_read *)param_2)" ( (cast_expression "(File_read *)param_2" ( (type_descriptor "File_read *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) }) (else_clause "else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" else (compound_statement "{\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" { (expression_statement "local_820[1] = piVar8[2];" (assignment_expression "local_820[1] = piVar8[2]" (subscript_expression "local_820[1]" identifier [ number_literal ]) = (subscript_expression "piVar8[2]" identifier [ number_literal ])) ;) (expression_statement "local_820[0] = piVar8[3];" (assignment_expression "local_820[0] = piVar8[3]" (subscript_expression "local_820[0]" identifier [ number_literal ]) = (subscript_expression "piVar8[3]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = local_820[1] + uVar16;" (assignment_expression "uVar6 = local_820[1] + uVar16" identifier = (binary_expression "local_820[1] + uVar16" (subscript_expression "local_820[1]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" identifier = number_literal) ;) (expression_statement "uVar13 = 1;" (assignment_expression "uVar13 = 1" identifier = number_literal) ;) (expression_statement "iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;" (assignment_expression "iVar1 = (uint)(uVar6 < local_820[1]) + iVar17" identifier = (binary_expression "(uint)(uVar6 < local_820[1]) + iVar17" (call_expression "(uint)(uVar6 < local_820[1])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < local_820[1])" ( (binary_expression "uVar6 < local_820[1]" identifier < (subscript_expression "local_820[1]" identifier [ number_literal ])) ))) + identifier)) ;) (expression_statement "puVar9 = (uint *)(piVar8 + 2);" (assignment_expression "puVar9 = (uint *)(piVar8 + 2)" identifier = (cast_expression "(uint *)(piVar8 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 2)" ( (binary_expression "piVar8 + 2" identifier + number_literal) )))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = uVar13;" (assignment_expression "uVar10 = uVar13" identifier = identifier) ;) (expression_statement "uVar15 = local_820[1];" (assignment_expression "uVar15 = local_820[1]" identifier = (subscript_expression "local_820[1]" identifier [ number_literal ])) ;) (if_statement "if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }" if (parenthesized_expression "(in_stack_00000018 != 1)" ( (binary_expression "in_stack_00000018 != 1" identifier != number_literal) )) (compound_statement "{\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }" { (do_statement "do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);" do (compound_statement "{\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      }" { (expression_statement "iVar11 = piVar8[4];" (assignment_expression "iVar11 = piVar8[4]" identifier = (subscript_expression "piVar8[4]" identifier [ number_literal ])) ;) (expression_statement "uVar13 = piVar8[5];" (assignment_expression "uVar13 = piVar8[5]" identifier = (subscript_expression "piVar8[5]" identifier [ number_literal ])) ;) (if_statement "if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }" if (parenthesized_expression "((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13))))" ( (binary_expression "(iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))" (parenthesized_expression "(iVar1 < iVar11)" ( (binary_expression "iVar1 < iVar11" identifier < identifier) )) || (parenthesized_expression "((iVar11 == iVar1 && (uVar6 < uVar13)))" ( (parenthesized_expression "(iVar11 == iVar1 && (uVar6 < uVar13))" ( (binary_expression "iVar11 == iVar1 && (uVar6 < uVar13)" (binary_expression "iVar11 == iVar1" identifier == identifier) && (parenthesized_expression "(uVar6 < uVar13)" ( (binary_expression "uVar6 < uVar13" identifier < identifier) ))) )) ))) )) (compound_statement "{\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }" { (expression_statement "uVar6 = uVar13 - uVar6;" (assignment_expression "uVar6 = uVar13 - uVar6" identifier = (binary_expression "uVar13 - uVar6" identifier - identifier)) ;) (if_statement "if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }" if (parenthesized_expression "(0x2000 < uVar6)" ( (binary_expression "0x2000 < uVar6" number_literal < identifier) )) (compound_statement "{\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }" { (expression_statement "iVar17 = 0x290;" (assignment_expression "iVar17 = 0x290" identifier = number_literal) ;) (goto_statement "goto LAB_000e7b34;" goto statement_identifier ;) })) (expression_statement "uVar15 = uVar15 + uVar6;" (assignment_expression "uVar15 = uVar15 + uVar6" identifier = (binary_expression "uVar15 + uVar6" identifier + identifier)) ;) (expression_statement "local_820[uVar10 * 2] = (uint)auStack_2820;" (assignment_expression "local_820[uVar10 * 2] = (uint)auStack_2820" (subscript_expression "local_820[uVar10 * 2]" identifier [ (binary_expression "uVar10 * 2" identifier * number_literal) ]) = (cast_expression "(uint)auStack_2820" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_820[uVar10 * 2 + 1] = uVar6;" (assignment_expression "local_820[uVar10 * 2 + 1] = uVar6" (subscript_expression "local_820[uVar10 * 2 + 1]" identifier [ (binary_expression "uVar10 * 2 + 1" (binary_expression "uVar10 * 2" identifier * number_literal) + number_literal) ]) = identifier) ;) (expression_statement "uVar10 = uVar5 + 2;" (assignment_expression "uVar10 = uVar5 + 2" identifier = (binary_expression "uVar5 + 2" identifier + number_literal)) ;) })) (expression_statement "piVar8 = piVar8 + 4;" (assignment_expression "piVar8 = piVar8 + 4" identifier = (binary_expression "piVar8 + 4" identifier + number_literal)) ;) (expression_statement "uVar5 = puVar9[4];" (assignment_expression "uVar5 = puVar9[4]" identifier = (subscript_expression "puVar9[4]" identifier [ number_literal ])) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar5 + uVar13;" (assignment_expression "uVar6 = uVar5 + uVar13" identifier = (binary_expression "uVar5 + uVar13" identifier + identifier)) ;) (expression_statement "uVar13 = uVar10 + 1;" (assignment_expression "uVar13 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_820[uVar10 * 2] = puVar9[5];" (assignment_expression "local_820[uVar10 * 2] = puVar9[5]" (subscript_expression "local_820[uVar10 * 2]" identifier [ (binary_expression "uVar10 * 2" identifier * number_literal) ]) = (subscript_expression "puVar9[5]" identifier [ number_literal ])) ;) (expression_statement "local_820[uVar10 * 2 + 1] = uVar5;" (assignment_expression "local_820[uVar10 * 2 + 1] = uVar5" (subscript_expression "local_820[uVar10 * 2 + 1]" identifier [ (binary_expression "uVar10 * 2 + 1" (binary_expression "uVar10 * 2" identifier * number_literal) + number_literal) ]) = identifier) ;) (expression_statement "uVar15 = uVar15 + uVar5;" (assignment_expression "uVar15 = uVar15 + uVar5" identifier = (binary_expression "uVar15 + uVar5" identifier + identifier)) ;) (expression_statement "iVar1 = (uint)(uVar6 < uVar5) + iVar11;" (assignment_expression "iVar1 = (uint)(uVar6 < uVar5) + iVar11" identifier = (binary_expression "(uint)(uVar6 < uVar5) + iVar11" (call_expression "(uint)(uVar6 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar5)" ( (binary_expression "uVar6 < uVar5" identifier < identifier) ))) + identifier)) ;) (expression_statement "puVar9 = puVar9 + 4;" (assignment_expression "puVar9 = puVar9 + 4" identifier = (binary_expression "puVar9 + 4" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar10;" (assignment_expression "uVar5 = uVar10" identifier = identifier) ;) (expression_statement "uVar10 = uVar13;" (assignment_expression "uVar10 = uVar13" identifier = identifier) ;) }) while (parenthesized_expression "(in_stack_00000018 != iVar12)" ( (binary_expression "in_stack_00000018 != iVar12" identifier != identifier) )) ;) })) (expression_statement "reopen_descriptor((File_read *)param_2);" (call_expression "reopen_descriptor((File_read *)param_2)" identifier (argument_list "((File_read *)param_2)" ( (cast_expression "(File_read *)param_2" ( (type_descriptor "File_read *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (if_statement "if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }" if (parenthesized_expression "(0xff < uVar13)" ( (binary_expression "0xff < uVar13" number_literal < identifier) )) (compound_statement "{\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }" { (expression_statement "iVar17 = 0x2a4;" (assignment_expression "iVar17 = 0x2a4" identifier = number_literal) ;) (labeled_statement "LAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);" statement_identifier : (expression_statement "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);" (call_expression "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4)" identifier (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5b90" identifier + number_literal) , identifier , (binary_expression "PTR_s_alize_xindex_004323b4 + -0x58b4" identifier + number_literal) ))) ;)) })) }))) (expression_statement "iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));" (assignment_expression "iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18))" identifier = (call_expression "(*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18))" (parenthesized_expression "(*(code *)PTR_lseek64_00436854)" ( (pointer_expression "*(code *)PTR_lseek64_00436854" * (cast_expression "(code *)PTR_lseek64_00436854" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_2 + 0x18))" ( (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }" { (expression_statement "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;" (assignment_expression "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8" identifier = (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5aa8" identifier + number_literal)) ;) }) (else_clause "else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" else (compound_statement "{\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" { (expression_statement "uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);" (assignment_expression "uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13)" identifier = (call_expression "(*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13)" (parenthesized_expression "(*(code *)PTR_readv_00436650)" ( (pointer_expression "*(code *)PTR_readv_00436650" * (cast_expression "(code *)PTR_readv_00436650" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_2 + 0x18),local_820,uVar13)" ( (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }" if (parenthesized_expression "(-1 < (int)uVar13)" ( (binary_expression "-1 < (int)uVar13" number_literal < (cast_expression "(int)uVar13" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }" { (if_statement "if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }" if (parenthesized_expression "(uVar13 != uVar15)" ( (binary_expression "uVar13 != uVar15" identifier != identifier) )) (compound_statement "{\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }" { (expression_statement "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);" (assignment_expression "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" identifier = (cast_expression "(gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" ( (type_descriptor "gold *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5a78)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5a78" identifier + number_literal) ))))) ;) (expression_statement "gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);" (call_expression "gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3)" identifier (argument_list "(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3)" ( identifier , (pointer_expression "*(char **)param_2" * (cast_expression "(char **)param_2" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , (binary_expression "(uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4" (binary_expression "(uint)(uVar16 + in_a3 < uVar16) + iVar17" (call_expression "(uint)(uVar16 + in_a3 < uVar16)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar16 + in_a3 < uVar16)" ( (binary_expression "uVar16 + in_a3 < uVar16" (binary_expression "uVar16 + in_a3" identifier + identifier) < identifier) ))) + identifier) + identifier) , (binary_expression "uVar16 + in_a3" identifier + identifier) ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;" (assignment_expression "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90" identifier = (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5a90" identifier + number_literal)) ;) }))) (expression_statement "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);" (assignment_expression "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7)" identifier = (cast_expression "(gold *)(*(code *)PTR_gettext_00436818)(puVar7)" ( (type_descriptor "gold *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_00436818)(puVar7)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier ))))) ;) (expression_statement "pcVar14 = *(char **)param_2;" (assignment_expression "pcVar14 = *(char **)param_2" identifier = (pointer_expression "*(char **)param_2" * (cast_expression "(char **)param_2" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00436904)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00436904)()" (parenthesized_expression "(*(code *)PTR___errno_location_00436904)" ( (pointer_expression "*(code *)PTR___errno_location_00436904" * (cast_expression "(code *)PTR___errno_location_00436904" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);" (assignment_expression "uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2)" identifier = (call_expression "(*(code *)PTR_strerror_004368e4)(*puVar2)" (parenthesized_expression "(*(code *)PTR_strerror_004368e4)" ( (pointer_expression "*(code *)PTR_strerror_004368e4" * (cast_expression "(code *)PTR_strerror_004368e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar2)" ( (pointer_expression "*puVar2" * identifier) )))) ;) (expression_statement "gold_fatal(pgVar4,pcVar14,uVar3);" (call_expression "gold_fatal(pgVar4,pcVar14,uVar3)" identifier (argument_list "(pgVar4,pcVar14,uVar3)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (field_expression IDENT . field_identifier)) + (binary_expression (field_expression IDENT . field_identifier) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) ))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;)) })) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (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 ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , IDENT , IDENT , (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + IDENT) < IDENT) ))) + IDENT) + IDENT) , (binary_expression IDENT + IDENT) ))) ;) })) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (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 IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })))
(function_definition "void gold::File_read::do_readv(longlong param_1,vector *param_2,uint param_3,uint param_4)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  gold *pgVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int in_a3;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  char *pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  undefined1 auStack_2820 [8192];\n  uint local_820 [512];\n  \n  piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = *(char **)param_2;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    \n  gold_fatal(pgVar4,pcVar14,uVar3);\n}" (primitive_type "void") (ERROR "gold::File_read::" (identifier "gold") (: ":") (: ":") (identifier "File_read") (: ":") (: ":")) (function_declarator "do_readv(longlong param_1,vector *param_2,uint param_3,uint param_4)" (identifier "do_readv") (parameter_list "(longlong param_1,vector *param_2,uint param_3,uint param_4)" (( "(") (parameter_declaration "longlong param_1" (type_identifier "longlong") (identifier "param_1")) (, ",") (parameter_declaration "vector *param_2" (type_identifier "vector") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  gold *pgVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  int in_a3;\n  int *piVar8;\n  uint *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  char *pcVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int in_stack_00000018;\n  undefined1 auStack_2820 [8192];\n  uint local_820 [512];\n  \n  piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);\n  iVar17 = *piVar8;\n  uVar16 = piVar8[1];\n  if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }\n  iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));\n  if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }\n  pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);\n  pcVar14 = *(char **)param_2;\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();\n  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);\n                    \n  gold_fatal(pgVar4,pcVar14,uVar3);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "gold *pgVar4;" (type_identifier "gold") (pointer_declarator "*pgVar4" (* "*") (identifier "pgVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int in_a3;" (primitive_type "int") (identifier "in_a3") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "uint *puVar9;" (type_identifier "uint") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "uint uVar13;" (type_identifier "uint") (identifier "uVar13") (; ";")) (declaration "char *pcVar14;" (primitive_type "char") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (declaration "uint uVar15;" (type_identifier "uint") (identifier "uVar15") (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int in_stack_00000018;" (primitive_type "int") (identifier "in_stack_00000018") (; ";")) (declaration "undefined1 auStack_2820 [8192];" (type_identifier "undefined1") (array_declarator "auStack_2820 [8192]" (identifier "auStack_2820") ([ "[") (number_literal "8192") (] "]")) (; ";")) (declaration "uint local_820 [512];" (type_identifier "uint") (array_declarator "local_820 [512]" (identifier "local_820") ([ "[") (number_literal "512") (] "]")) (; ";")) (expression_statement "piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);" (assignment_expression "piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10)" (identifier "piVar8") (= "=") (cast_expression "(int *)(*param_1._0_4_ + param_1._4_4_ * 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1._0_4_ + param_1._4_4_ * 0x10)" (( "(") (binary_expression "*param_1._0_4_ + param_1._4_4_ * 0x10" (pointer_expression "*param_1._0_4_" (* "*") (field_expression "param_1._0_4_" (identifier "param_1") (. ".") (field_identifier "_0_4_"))) (+ "+") (binary_expression "param_1._4_4_ * 0x10" (field_expression "param_1._4_4_" (identifier "param_1") (. ".") (field_identifier "_4_4_")) (* "*") (number_literal "0x10"))) () ")")))) (; ";")) (expression_statement "iVar17 = *piVar8;" (assignment_expression "iVar17 = *piVar8" (identifier "iVar17") (= "=") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (; ";")) (expression_statement "uVar16 = piVar8[1];" (assignment_expression "uVar16 = piVar8[1]" (identifier "uVar16") (= "=") (subscript_expression "piVar8[1]" (identifier "piVar8") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (in_stack_00000018 == 0) {\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }\n  else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" (if "if") (parenthesized_expression "(in_stack_00000018 == 0)" (( "(") (binary_expression "in_stack_00000018 == 0" (identifier "in_stack_00000018") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar13 = 0;\n    uVar15 = 0;\n    reopen_descriptor((File_read *)param_2);\n  }" ({ "{") (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" (identifier "uVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" (identifier "uVar15") (= "=") (number_literal "0")) (; ";")) (expression_statement "reopen_descriptor((File_read *)param_2);" (call_expression "reopen_descriptor((File_read *)param_2)" (identifier "reopen_descriptor") (argument_list "((File_read *)param_2)" (( "(") (cast_expression "(File_read *)param_2" (( "(") (type_descriptor "File_read *" (type_identifier "File_read") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" (else "else") (compound_statement "{\n    local_820[1] = piVar8[2];\n    local_820[0] = piVar8[3];\n    uVar6 = local_820[1] + uVar16;\n    iVar12 = 1;\n    uVar13 = 1;\n    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;\n    puVar9 = (uint *)(piVar8 + 2);\n    uVar5 = 0;\n    uVar10 = uVar13;\n    uVar15 = local_820[1];\n    if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }\n    reopen_descriptor((File_read *)param_2);\n    if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }\n  }" ({ "{") (expression_statement "local_820[1] = piVar8[2];" (assignment_expression "local_820[1] = piVar8[2]" (subscript_expression "local_820[1]" (identifier "local_820") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar8[2]" (identifier "piVar8") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_820[0] = piVar8[3];" (assignment_expression "local_820[0] = piVar8[3]" (subscript_expression "local_820[0]" (identifier "local_820") ([ "[") (number_literal "0") (] "]")) (= "=") (subscript_expression "piVar8[3]" (identifier "piVar8") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "uVar6 = local_820[1] + uVar16;" (assignment_expression "uVar6 = local_820[1] + uVar16" (identifier "uVar6") (= "=") (binary_expression "local_820[1] + uVar16" (subscript_expression "local_820[1]" (identifier "local_820") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "uVar16"))) (; ";")) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" (identifier "iVar12") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar13 = 1;" (assignment_expression "uVar13 = 1" (identifier "uVar13") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;" (assignment_expression "iVar1 = (uint)(uVar6 < local_820[1]) + iVar17" (identifier "iVar1") (= "=") (binary_expression "(uint)(uVar6 < local_820[1]) + iVar17" (call_expression "(uint)(uVar6 < local_820[1])" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar6 < local_820[1])" (( "(") (binary_expression "uVar6 < local_820[1]" (identifier "uVar6") (< "<") (subscript_expression "local_820[1]" (identifier "local_820") ([ "[") (number_literal "1") (] "]"))) () ")"))) (+ "+") (identifier "iVar17"))) (; ";")) (expression_statement "puVar9 = (uint *)(piVar8 + 2);" (assignment_expression "puVar9 = (uint *)(piVar8 + 2)" (identifier "puVar9") (= "=") (cast_expression "(uint *)(piVar8 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar8 + 2)" (( "(") (binary_expression "piVar8 + 2" (identifier "piVar8") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar10 = uVar13;" (assignment_expression "uVar10 = uVar13" (identifier "uVar10") (= "=") (identifier "uVar13")) (; ";")) (expression_statement "uVar15 = local_820[1];" (assignment_expression "uVar15 = local_820[1]" (identifier "uVar15") (= "=") (subscript_expression "local_820[1]" (identifier "local_820") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (in_stack_00000018 != 1) {\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }" (if "if") (parenthesized_expression "(in_stack_00000018 != 1)" (( "(") (binary_expression "in_stack_00000018 != 1" (identifier "in_stack_00000018") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);\n    }" ({ "{") (do_statement "do {\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      } while (in_stack_00000018 != iVar12);" (do "do") (compound_statement "{\n        iVar11 = piVar8[4];\n        uVar13 = piVar8[5];\n        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }\n        piVar8 = piVar8 + 4;\n        uVar5 = puVar9[4];\n        iVar12 = iVar12 + 1;\n        uVar6 = uVar5 + uVar13;\n        uVar13 = uVar10 + 1;\n        local_820[uVar10 * 2] = puVar9[5];\n        local_820[uVar10 * 2 + 1] = uVar5;\n        uVar15 = uVar15 + uVar5;\n        iVar1 = (uint)(uVar6 < uVar5) + iVar11;\n        puVar9 = puVar9 + 4;\n        uVar5 = uVar10;\n        uVar10 = uVar13;\n      }" ({ "{") (expression_statement "iVar11 = piVar8[4];" (assignment_expression "iVar11 = piVar8[4]" (identifier "iVar11") (= "=") (subscript_expression "piVar8[4]" (identifier "piVar8") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "uVar13 = piVar8[5];" (assignment_expression "uVar13 = piVar8[5]" (identifier "uVar13") (= "=") (subscript_expression "piVar8[5]" (identifier "piVar8") ([ "[") (number_literal "5") (] "]"))) (; ";")) (if_statement "if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }" (if "if") (parenthesized_expression "((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13))))" (( "(") (binary_expression "(iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))" (parenthesized_expression "(iVar1 < iVar11)" (( "(") (binary_expression "iVar1 < iVar11" (identifier "iVar1") (< "<") (identifier "iVar11")) () ")")) (|| "||") (parenthesized_expression "((iVar11 == iVar1 && (uVar6 < uVar13)))" (( "(") (parenthesized_expression "(iVar11 == iVar1 && (uVar6 < uVar13))" (( "(") (binary_expression "iVar11 == iVar1 && (uVar6 < uVar13)" (binary_expression "iVar11 == iVar1" (identifier "iVar11") (== "==") (identifier "iVar1")) (&& "&&") (parenthesized_expression "(uVar6 < uVar13)" (( "(") (binary_expression "uVar6 < uVar13" (identifier "uVar6") (< "<") (identifier "uVar13")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n          uVar6 = uVar13 - uVar6;\n          if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }\n          uVar15 = uVar15 + uVar6;\n          local_820[uVar10 * 2] = (uint)auStack_2820;\n          local_820[uVar10 * 2 + 1] = uVar6;\n          uVar10 = uVar5 + 2;\n        }" ({ "{") (expression_statement "uVar6 = uVar13 - uVar6;" (assignment_expression "uVar6 = uVar13 - uVar6" (identifier "uVar6") (= "=") (binary_expression "uVar13 - uVar6" (identifier "uVar13") (- "-") (identifier "uVar6"))) (; ";")) (if_statement "if (0x2000 < uVar6) {\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }" (if "if") (parenthesized_expression "(0x2000 < uVar6)" (( "(") (binary_expression "0x2000 < uVar6" (number_literal "0x2000") (< "<") (identifier "uVar6")) () ")")) (compound_statement "{\n            iVar17 = 0x290;\n            goto LAB_000e7b34;\n          }" ({ "{") (expression_statement "iVar17 = 0x290;" (assignment_expression "iVar17 = 0x290" (identifier "iVar17") (= "=") (number_literal "0x290")) (; ";")) (goto_statement "goto LAB_000e7b34;" (goto "goto") (statement_identifier "LAB_000e7b34") (; ";")) (} "}"))) (expression_statement "uVar15 = uVar15 + uVar6;" (assignment_expression "uVar15 = uVar15 + uVar6" (identifier "uVar15") (= "=") (binary_expression "uVar15 + uVar6" (identifier "uVar15") (+ "+") (identifier "uVar6"))) (; ";")) (expression_statement "local_820[uVar10 * 2] = (uint)auStack_2820;" (assignment_expression "local_820[uVar10 * 2] = (uint)auStack_2820" (subscript_expression "local_820[uVar10 * 2]" (identifier "local_820") ([ "[") (binary_expression "uVar10 * 2" (identifier "uVar10") (* "*") (number_literal "2")) (] "]")) (= "=") (cast_expression "(uint)auStack_2820" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "auStack_2820"))) (; ";")) (expression_statement "local_820[uVar10 * 2 + 1] = uVar6;" (assignment_expression "local_820[uVar10 * 2 + 1] = uVar6" (subscript_expression "local_820[uVar10 * 2 + 1]" (identifier "local_820") ([ "[") (binary_expression "uVar10 * 2 + 1" (binary_expression "uVar10 * 2" (identifier "uVar10") (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "uVar10 = uVar5 + 2;" (assignment_expression "uVar10 = uVar5 + 2" (identifier "uVar10") (= "=") (binary_expression "uVar5 + 2" (identifier "uVar5") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "piVar8 = piVar8 + 4;" (assignment_expression "piVar8 = piVar8 + 4" (identifier "piVar8") (= "=") (binary_expression "piVar8 + 4" (identifier "piVar8") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar5 = puVar9[4];" (assignment_expression "uVar5 = puVar9[4]" (identifier "uVar5") (= "=") (subscript_expression "puVar9[4]" (identifier "puVar9") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = uVar5 + uVar13;" (assignment_expression "uVar6 = uVar5 + uVar13" (identifier "uVar6") (= "=") (binary_expression "uVar5 + uVar13" (identifier "uVar5") (+ "+") (identifier "uVar13"))) (; ";")) (expression_statement "uVar13 = uVar10 + 1;" (assignment_expression "uVar13 = uVar10 + 1" (identifier "uVar13") (= "=") (binary_expression "uVar10 + 1" (identifier "uVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_820[uVar10 * 2] = puVar9[5];" (assignment_expression "local_820[uVar10 * 2] = puVar9[5]" (subscript_expression "local_820[uVar10 * 2]" (identifier "local_820") ([ "[") (binary_expression "uVar10 * 2" (identifier "uVar10") (* "*") (number_literal "2")) (] "]")) (= "=") (subscript_expression "puVar9[5]" (identifier "puVar9") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "local_820[uVar10 * 2 + 1] = uVar5;" (assignment_expression "local_820[uVar10 * 2 + 1] = uVar5" (subscript_expression "local_820[uVar10 * 2 + 1]" (identifier "local_820") ([ "[") (binary_expression "uVar10 * 2 + 1" (binary_expression "uVar10 * 2" (identifier "uVar10") (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "uVar15 = uVar15 + uVar5;" (assignment_expression "uVar15 = uVar15 + uVar5" (identifier "uVar15") (= "=") (binary_expression "uVar15 + uVar5" (identifier "uVar15") (+ "+") (identifier "uVar5"))) (; ";")) (expression_statement "iVar1 = (uint)(uVar6 < uVar5) + iVar11;" (assignment_expression "iVar1 = (uint)(uVar6 < uVar5) + iVar11" (identifier "iVar1") (= "=") (binary_expression "(uint)(uVar6 < uVar5) + iVar11" (call_expression "(uint)(uVar6 < uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar6 < uVar5)" (( "(") (binary_expression "uVar6 < uVar5" (identifier "uVar6") (< "<") (identifier "uVar5")) () ")"))) (+ "+") (identifier "iVar11"))) (; ";")) (expression_statement "puVar9 = puVar9 + 4;" (assignment_expression "puVar9 = puVar9 + 4" (identifier "puVar9") (= "=") (binary_expression "puVar9 + 4" (identifier "puVar9") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar5 = uVar10;" (assignment_expression "uVar5 = uVar10" (identifier "uVar5") (= "=") (identifier "uVar10")) (; ";")) (expression_statement "uVar10 = uVar13;" (assignment_expression "uVar10 = uVar13" (identifier "uVar10") (= "=") (identifier "uVar13")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(in_stack_00000018 != iVar12)" (( "(") (binary_expression "in_stack_00000018 != iVar12" (identifier "in_stack_00000018") (!= "!=") (identifier "iVar12")) () ")")) (; ";")) (} "}"))) (expression_statement "reopen_descriptor((File_read *)param_2);" (call_expression "reopen_descriptor((File_read *)param_2)" (identifier "reopen_descriptor") (argument_list "((File_read *)param_2)" (( "(") (cast_expression "(File_read *)param_2" (( "(") (type_descriptor "File_read *" (type_identifier "File_read") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2")) () ")"))) (; ";")) (if_statement "if (0xff < uVar13) {\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }" (if "if") (parenthesized_expression "(0xff < uVar13)" (( "(") (binary_expression "0xff < uVar13" (number_literal "0xff") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n      iVar17 = 0x2a4;\nLAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);\n    }" ({ "{") (expression_statement "iVar17 = 0x2a4;" (assignment_expression "iVar17 = 0x2a4" (identifier "iVar17") (= "=") (number_literal "0x2a4")) (; ";")) (labeled_statement "LAB_000e7b34:\n                    \n      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);" (statement_identifier "LAB_000e7b34") (: ":") (expression_statement "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4);" (call_expression "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4)" (identifier "do_gold_unreachable") (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,\n                          PTR_s_alize_xindex_004323b4 + -0x58b4)" (( "(") (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5b90" (identifier "PTR_s_alize_xindex_004323b4") (+ "+") (number_literal "-0x5b90")) (, ",") (identifier "iVar17") (, ",") (binary_expression "PTR_s_alize_xindex_004323b4 + -0x58b4" (identifier "PTR_s_alize_xindex_004323b4") (+ "+") (number_literal "-0x58b4")) () ")"))) (; ";"))) (} "}"))) (} "}")))) (expression_statement "iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));" (assignment_expression "iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18))" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18))" (parenthesized_expression "(*(code *)PTR_lseek64_00436854)" (( "(") (pointer_expression "*(code *)PTR_lseek64_00436854" (* "*") (cast_expression "(code *)PTR_lseek64_00436854" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_lseek64_00436854"))) () ")")) (argument_list "(*(undefined4 *)(param_2 + 0x18))" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 < 0) {\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }\n  else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;\n  }" ({ "{") (expression_statement "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;" (assignment_expression "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8" (identifier "puVar7") (= "=") (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5aa8" (identifier "PTR_s_alize_xindex_004323b4") (+ "+") (number_literal "-0x5aa8"))) (; ";")) (} "}")) (else_clause "else {\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" (else "else") (compound_statement "{\n    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);\n    if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }\n    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;\n  }" ({ "{") (expression_statement "uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);" (assignment_expression "uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13)" (identifier "uVar13") (= "=") (call_expression "(*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13)" (parenthesized_expression "(*(code *)PTR_readv_00436650)" (( "(") (pointer_expression "*(code *)PTR_readv_00436650" (* "*") (cast_expression "(code *)PTR_readv_00436650" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_readv_00436650"))) () ")")) (argument_list "(*(undefined4 *)(param_2 + 0x18),local_820,uVar13)" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "local_820") (, ",") (identifier "uVar13") () ")")))) (; ";")) (if_statement "if (-1 < (int)uVar13) {\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }" (if "if") (parenthesized_expression "(-1 < (int)uVar13)" (( "(") (binary_expression "-1 < (int)uVar13" (number_literal "-1") (< "<") (cast_expression "(int)uVar13" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar13"))) () ")")) (compound_statement "{\n      if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }\n      return;\n    }" ({ "{") (if_statement "if (uVar13 != uVar15) {\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }" (if "if") (parenthesized_expression "(uVar13 != uVar15)" (( "(") (binary_expression "uVar13 != uVar15" (identifier "uVar13") (!= "!=") (identifier "uVar15")) () ")")) (compound_statement "{\n        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);\n                    \n        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);\n      }" ({ "{") (expression_statement "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);" (assignment_expression "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" (identifier "pgVar4") (= "=") (cast_expression "(gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" (( "(") (type_descriptor "gold *" (type_identifier "gold") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" (( "(") (pointer_expression "*(code *)PTR_gettext_00436818" (* "*") (cast_expression "(code *)PTR_gettext_00436818" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_00436818"))) () ")")) (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5a78)" (( "(") (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5a78" (identifier "PTR_s_alize_xindex_004323b4") (+ "+") (number_literal "-0x5a78")) () ")"))))) (; ";")) (expression_statement "gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);" (call_expression "gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3)" (identifier "gold_fatal") (argument_list "(pgVar4,*(char **)param_2,uVar13,uVar15,\n                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3)" (( "(") (identifier "pgVar4") (, ",") (pointer_expression "*(char **)param_2" (* "*") (cast_expression "(char **)param_2" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_2"))) (, ",") (identifier "uVar13") (, ",") (identifier "uVar15") (, ",") (binary_expression "(uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4" (binary_expression "(uint)(uVar16 + in_a3 < uVar16) + iVar17" (call_expression "(uint)(uVar16 + in_a3 < uVar16)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar16 + in_a3 < uVar16)" (( "(") (binary_expression "uVar16 + in_a3 < uVar16" (binary_expression "uVar16 + in_a3" (identifier "uVar16") (+ "+") (identifier "in_a3")) (< "<") (identifier "uVar16")) () ")"))) (+ "+") (identifier "iVar17")) (+ "+") (identifier "param_4")) (, ",") (binary_expression "uVar16 + in_a3" (identifier "uVar16") (+ "+") (identifier "in_a3")) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;" (assignment_expression "puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90" (identifier "puVar7") (= "=") (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5a90" (identifier "PTR_s_alize_xindex_004323b4") (+ "+") (number_literal "-0x5a90"))) (; ";")) (} "}")))) (expression_statement "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);" (assignment_expression "pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7)" (identifier "pgVar4") (= "=") (cast_expression "(gold *)(*(code *)PTR_gettext_00436818)(puVar7)" (( "(") (type_descriptor "gold *" (type_identifier "gold") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_gettext_00436818)(puVar7)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" (( "(") (pointer_expression "*(code *)PTR_gettext_00436818" (* "*") (cast_expression "(code *)PTR_gettext_00436818" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_00436818"))) () ")")) (argument_list "(puVar7)" (( "(") (identifier "puVar7") () ")"))))) (; ";")) (expression_statement "pcVar14 = *(char **)param_2;" (assignment_expression "pcVar14 = *(char **)param_2" (identifier "pcVar14") (= "=") (pointer_expression "*(char **)param_2" (* "*") (cast_expression "(char **)param_2" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_2")))) (; ";")) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)()" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00436904)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_00436904)()" (parenthesized_expression "(*(code *)PTR___errno_location_00436904)" (( "(") (pointer_expression "*(code *)PTR___errno_location_00436904" (* "*") (cast_expression "(code *)PTR___errno_location_00436904" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_00436904"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);" (assignment_expression "uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_strerror_004368e4)(*puVar2)" (parenthesized_expression "(*(code *)PTR_strerror_004368e4)" (( "(") (pointer_expression "*(code *)PTR_strerror_004368e4" (* "*") (cast_expression "(code *)PTR_strerror_004368e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strerror_004368e4"))) () ")")) (argument_list "(*puVar2)" (( "(") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) () ")")))) (; ";")) (expression_statement "gold_fatal(pgVar4,pcVar14,uVar3);" (call_expression "gold_fatal(pgVar4,pcVar14,uVar3)" (identifier "gold_fatal") (argument_list "(pgVar4,pcVar14,uVar3)" (( "(") (identifier "pgVar4") (, ",") (identifier "pcVar14") (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: void do_readv(File_read * this, off_t base, Read_multiple * rm, size_t
   start, size_t count) */

void __thiscall
gold::type_1::function_1(type_1 *this,type_2 base,type_3 *rm,size_t var_19,size_t var_18)

{
  int var_7;
  type_4 *puVar2;
  type_4 uVar3;
  char *pcVar4;
  type_5 var_11;
  type_5 var_4;
  type_6 *puVar7;
  int *var_6;
  type_5 *var_14;
  type_5 var_13;
  int var_8;
  int var_12;
  type_5 var_9;
  type_7 pcVar14;
  type_5 var_10;
  type_5 var_3;
  int var_5;
  int var_1;
  type_8 discard [8192];
  type_9 iov [256];
  
  var_6 = (int *)(*base._0_4_ + base._4_4_ * 0x10);
  var_5 = *var_6;
  var_3 = var_6[1];
  if (var_1 == 0) {
    var_9 = 0;
    var_10 = 0;
    var_2(this);
  }
  else {
    iov[0].iov_len = var_6[2];
    iov[0].iov_base = (void *)var_6[3];
    var_4 = iov[0].iov_len + var_3;
    var_12 = 1;
    var_9 = 1;
    var_7 = (type_5)(var_4 < iov[0].iov_len) + var_5;
    var_14 = (type_5 *)(var_6 + 2);
    var_11 = 0;
    var_13 = var_9;
    var_10 = iov[0].iov_len;
    if (var_1 != 1) {
      do {
        var_8 = var_6[4];
        var_9 = var_6[5];
        if ((var_7 < var_8) || ((var_8 == var_7 && (var_4 < var_9)))) {
          var_4 = var_9 - var_4;
          if (0x2000 < var_4) {
            var_5 = 0x290;
            goto LAB_000e7b34;
          }
          var_10 = var_10 + var_4;
          iov[var_13].iov_base = discard;
          iov[var_13].iov_len = var_4;
          var_13 = var_11 + 2;
        }
        var_6 = var_6 + 4;
        var_11 = var_14[4];
        var_12 = var_12 + 1;
        var_4 = var_11 + var_9;
        var_9 = var_13 + 1;
        iov[var_13].iov_base = (void *)var_14[5];
        iov[var_13].iov_len = var_11;
        var_10 = var_10 + var_11;
        var_7 = (type_5)(var_4 < var_11) + var_8;
        var_14 = var_14 + 4;
        var_11 = var_13;
        var_13 = var_9;
      } while (var_1 != var_12);
    }
    var_2(this);
    if (0xff < var_9) {
      var_5 = 0x2a4;
LAB_000e7b34:
                    /* WARNING: Subroutine does not return */
      var_15(var_16 + -0x5b90,var_5,
                          var_16 + -0x58b4);
    }
  }
  var_7 = (*(type_10 *)PTR_lseek64_00436854)(this->descriptor_);
  if (var_7 < 0) {
    puVar7 = var_16 + -0x5aa8;
  }
  else {
    var_9 = (*(type_10 *)PTR_readv_00436650)(this->descriptor_,iov,var_9);
    if (-1 < (int)var_9) {
      if (var_9 != var_10) {
        pcVar4 = (char *)(*(type_10 *)PTR_gettext_00436818)(var_16 + -0x5a78);
                    /* WARNING: Subroutine does not return */
        var_17(pcVar4,(this->name_)._M_dataplus._M_p,var_9,var_10,
                   (type_5)(var_3 + var_18 < var_3) + var_5 + var_19,var_3 + var_18);
      }
      return;
    }
    puVar7 = var_16 + -0x5a90;
  }
  pcVar4 = (char *)(*(type_10 *)PTR_gettext_00436818)(puVar7);
  pcVar14 = (this->name_)._M_dataplus._M_p;
  puVar2 = (type_4 *)(*(type_10 *)PTR___errno_location_00436904)();
  uVar3 = (*(type_10 *)PTR_strerror_004368e4)(*puVar2);
                    /* WARNING: Subroutine does not return */
  var_17(pcVar4,pcVar14,uVar3);
}


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

/* gold::File_read::MASKED(long long, std::vector<gold::File_read::Read_multiple_entry,
   std::allocator<gold::File_read::Read_multiple_entry> > const&, unsigned int, unsigned int) */

void gold::File_read::MASKED(longlong param_1,vector *param_2,uint param_3,uint param_4)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  gold *pgVar4;
  uint uVar5;
  uint uVar6;
  undefined *puVar7;
  int in_a3;
  int *piVar8;
  uint *puVar9;
  uint uVar10;
  int iVar11;
  int iVar12;
  uint uVar13;
  char *pcVar14;
  uint uVar15;
  uint uVar16;
  int iVar17;
  int in_stack_00000018;
  undefined1 auStack_2820 [8192];
  uint local_820 [512];
  
  piVar8 = (int *)(*param_1._0_4_ + param_1._4_4_ * 0x10);
  iVar17 = *piVar8;
  uVar16 = piVar8[1];
  if (in_stack_00000018 == 0) {
    uVar13 = 0;
    uVar15 = 0;
    reopen_descriptor((File_read *)param_2);
  }
  else {
    local_820[1] = piVar8[2];
    local_820[0] = piVar8[3];
    uVar6 = local_820[1] + uVar16;
    iVar12 = 1;
    uVar13 = 1;
    iVar1 = (uint)(uVar6 < local_820[1]) + iVar17;
    puVar9 = (uint *)(piVar8 + 2);
    uVar5 = 0;
    uVar10 = uVar13;
    uVar15 = local_820[1];
    if (in_stack_00000018 != 1) {
      do {
        iVar11 = piVar8[4];
        uVar13 = piVar8[5];
        if ((iVar1 < iVar11) || ((iVar11 == iVar1 && (uVar6 < uVar13)))) {
          uVar6 = uVar13 - uVar6;
          if (0x2000 < uVar6) {
            iVar17 = 0x290;
            goto LAB_000e7b34;
          }
          uVar15 = uVar15 + uVar6;
          local_820[uVar10 * 2] = (uint)auStack_2820;
          local_820[uVar10 * 2 + 1] = uVar6;
          uVar10 = uVar5 + 2;
        }
        piVar8 = piVar8 + 4;
        uVar5 = puVar9[4];
        iVar12 = iVar12 + 1;
        uVar6 = uVar5 + uVar13;
        uVar13 = uVar10 + 1;
        local_820[uVar10 * 2] = puVar9[5];
        local_820[uVar10 * 2 + 1] = uVar5;
        uVar15 = uVar15 + uVar5;
        iVar1 = (uint)(uVar6 < uVar5) + iVar11;
        puVar9 = puVar9 + 4;
        uVar5 = uVar10;
        uVar10 = uVar13;
      } while (in_stack_00000018 != iVar12);
    }
    reopen_descriptor((File_read *)param_2);
    if (0xff < uVar13) {
      iVar17 = 0x2a4;
LAB_000e7b34:
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,iVar17,
                          PTR_s_alize_xindex_004323b4 + -0x58b4);
    }
  }
  iVar1 = (*(code *)PTR_lseek64_00436854)(*(undefined4 *)(param_2 + 0x18));
  if (iVar1 < 0) {
    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5aa8;
  }
  else {
    uVar13 = (*(code *)PTR_readv_00436650)(*(undefined4 *)(param_2 + 0x18),local_820,uVar13);
    if (-1 < (int)uVar13) {
      if (uVar13 != uVar15) {
        pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(PTR_s_alize_xindex_004323b4 + -0x5a78);
                    /* WARNING: Subroutine does not return */
        gold_fatal(pgVar4,*(char **)param_2,uVar13,uVar15,
                   (uint)(uVar16 + in_a3 < uVar16) + iVar17 + param_4,uVar16 + in_a3);
      }
      return;
    }
    puVar7 = PTR_s_alize_xindex_004323b4 + -0x5a90;
  }
  pgVar4 = (gold *)(*(code *)PTR_gettext_00436818)(puVar7);
  pcVar14 = *(char **)param_2;
  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_00436904)();
  uVar3 = (*(code *)PTR_strerror_004368e4)(*puVar2);
                    /* WARNING: Subroutine does not return */
  gold_fatal(pgVar4,pcVar14,uVar3);
}

