
/* DWARF original prototype: bool open_base_file(Output_file * this, char * base_name, bool
   writable) */

bool __thiscall gold::Output_file::open_base_file(Output_file *this,char *base_name,bool writable)

{
  undefined3 extraout_var;
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  bool bVar7;
  int iVar5;
  undefined4 *puVar6;
  undefined1 uVar8;
  undefined *puVar9;
  char *__file;
  undefined3 in_register_00000018;
  uint uVar10;
  uchar *puVar11;
  char *pcVar12;
  undefined4 uVar13;
  stat s;
  
  pcVar12 = this->name_;
  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar12,PTR_s__s_004c1a50 + 0x4b18);
  if (iVar1 != 0) {
    if ((base_name != (char *)0x0) &&
       (iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0))
    {
      puVar3 = (undefined4 *)
               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);
      puVar9 = PTR_gold_fatal_004c2020;
      (*(code *)PTR_gold_fatal_004c2020)(puVar3,base_name);
      uVar10 = (uint)*(byte *)(puVar3 + 5);
      if ((uVar10 == 0) &&
         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)) {
        uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);
        uVar13 = *puVar3;
        puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();
        uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);
        uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);
      }
      else {
        uVar8 = (undefined1)uVar10;
      }
      puVar3[4] = 0;
      return (bool)uVar8;
    }
    iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar12,&s);
    if (iVar1 == 0) {
      if (s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0) {
        uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);
        (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);
        return false;
      }
      if (base_name == (char *)0x0) {
        uVar2 = 2;
        if (CONCAT31(in_register_00000018,writable) == 0) {
          uVar2 = 0;
        }
        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);
        if (-1 < iVar1) {
          this->o_ = iVar1;
          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;
          *(int *)&this->file_size_ = s.st_size._0_4_;
          bVar7 = map_no_anonymous(this,writable);
          iVar5 = CONCAT31(extraout_var,bVar7);
          if (iVar5 == 0) {
            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);
            *(undefined4 *)((int)&this->file_size_ + 4) = 0;
            *(undefined4 *)&this->file_size_ = 0;
            this->o_ = -1;
          }
          goto LAB_002194e0;
        }
      }
      else {
        __file = (char *)0xffffffff;
        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);
        if (-1 < iVar1) {
          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);
          puVar11 = this->base_;
          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {
            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);
            if (iVar5 < 0) {
              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;
              goto LAB_0021949c;
            }
            if (iVar5 == 0) {
              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);
              (*(code *)PTR_gold_info_004c1d08)
                        (uVar2,pcVar12,
                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -
                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10
                         ,s.st_size._0_4_,s.st_size._4_4_);
              iVar5 = 0;
              goto LAB_002194e0;
            }
            puVar11 = puVar11 + iVar5;
          }
          (*(code *)PTR_close_004c5b54)(iVar1);
          iVar5 = 1;
          goto LAB_002194e0;
        }
      }
      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x4718;
    }
    else {
      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0;
    }
LAB_0021949c:
    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar9);
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();
    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);
    (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12,uVar4);
  }
  iVar5 = 0;
LAB_002194e0:
  return SUB41(iVar5,0);
}



/* gold::Output_file::open_base_file(char const*, bool) */

uint __thiscall gold::Output_file::open_base_file(Output_file *this,char *param_1,bool param_2)

{
  int iVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  undefined *puVar6;
  undefined3 in_register_00000018;
  uint uVar7;
  int iVar8;
  char *pcVar9;
  undefined4 uVar10;
  undefined4 uVar11;
  undefined4 in_stack_ffffff34;
  undefined1 auStack_c0 [56];
  int local_88;
  uint local_84;
  uint local_20;
  
  pcVar9 = *(char **)this;
  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);
  if (iVar1 == 0) {
    return 0;
  }
  if ((param_1 != (char *)0x0) &&
     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {
    puVar3 = (undefined4 *)
             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);
    puVar6 = PTR_gold_fatal_004c2020;
    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);
    uVar7 = (uint)*(byte *)(puVar3 + 5);
    if ((uVar7 == 0) &&
       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {
      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);
      uVar10 = *puVar3;
      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();
      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);
      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);
    }
    puVar3[4] = 0;
    return uVar7;
  }
  iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);
  if (iVar1 == 0) {
    if (local_88 == 0 && local_84 == 0) {
      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);
      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);
      return 0;
    }
    if (param_1 == (char *)0x0) {
      uVar11 = 2;
      if (CONCAT31(in_register_00000018,param_2) == 0) {
        uVar11 = 0;
      }
      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);
      if (-1 < iVar1) {
        *(int *)(this + 4) = iVar1;
        *(uint *)(this + 0xc) = local_84;
        *(int *)(this + 8) = local_88;
        local_20 = map_no_anonymous(this,param_2);
        if (local_20 == 0) {
          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);
          *(undefined4 *)(this + 0xc) = 0;
          *(undefined4 *)(this + 8) = 0;
          *(undefined4 *)(this + 4) = 0xffffffff;
          return local_20;
        }
        return local_20;
      }
    }
    else {
      uVar11 = 0;
      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);
      if (-1 < iVar1) {
        open(CONCAT44(uVar11,in_stack_ffffff34));
        iVar8 = *(int *)(this + 0x10);
        uVar7 = local_84;
        while( true ) {
          if ((int)uVar7 < 1) {
            (*(code *)PTR_close_004c5b54)(iVar1);
            return 1;
          }
          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);
          if (iVar2 < 0) break;
          if (iVar2 == 0) {
            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);
            (*(code *)PTR_gold_info_004c1d08)
                      (uVar11,pcVar9,
                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),
                       local_84 - uVar7,local_88,local_84);
            return 0;
          }
          uVar7 = uVar7 - iVar2;
          iVar8 = iVar8 + iVar2;
        }
        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;
        goto LAB_0021949c;
      }
    }
    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;
  }
  else {
    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;
  }
LAB_0021949c:
  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);
  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();
  uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);
  (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);
  return 0;
}


lui gp,0x2b
addiu gp,gp,-0x124
addu gp,gp,t9
addiu sp,sp,-0xe0
lw t9,-0x37d8(gp)
sw s0,0xcc(sp)
or s0,a1,zero
sw s2,0xd4(sp)
sw gp,0x18(sp)
sw s3,0xd8(sp)
or s3,a2,zero
sw s1,0xd0(sp)
or s1,a0,zero
sw ra,0xdc(sp)
lw a1,-0x77f0(gp)
lw s2,0x0(a0)
addiu a1,a1,0x4b18
jalr t9
_or a0,s2,zero
beq v0,zero,0x002194dc
_lw gp,0x18(sp)
beq s0,zero,0x002193d8
_lw t9,-0x37d8(gp)
or a1,s2,zero
or a0,s0,zero
jalr t9
_or s2,s0,zero
beq v0,zero,0x00219648
_lw gp,0x18(sp)
lw t9,-0x3578(gp)
addiu a2,sp,0x20
li a0,0x3
jalr t9
_or a1,s2,zero
bne v0,zero,0x0021953c
_lw gp,0x18(sp)
lw v0,0x58(sp)
lw v1,0x5c(sp)
or v0,v0,v1
beq v0,zero,0x002194fc
_lw a0,-0x7924(gp)
beq s0,zero,0x0021954c
_lw t9,-0x7230(gp)
lw a0,-0x722c(gp)
or a3,zero,zero
li a1,-0x1
sw zero,0x10(sp)
jalr t9
_or a2,s2,zero
lw gp,0x18(sp)
bltz v0,0x00219638
_or s3,v0,zero
lw t9,-0x7078(gp)
or a0,s1,zero
lw a3,0x5c(sp)
bal 0x00219158
_lw a2,0x58(sp)
lw s0,0x5c(sp)
lw gp,0x18(sp)
bgtz s0,0x00219474
_lw s1,0x10(s1)
b 0x002195dc
_lw t9,-0x36ec(gp)
beq v0,zero,0x002195ec
_lw a0,-0x7924(gp)
subu s0,s0,v0
blez s0,0x002195d8
_addu s1,s1,v0
lw t9,-0x3608(gp)
or a2,s0,zero
or a1,s1,zero
jalr t9
_or a0,s3,zero
bgez v0,0x00219460
_lw gp,0x18(sp)
lw a0,-0x7924(gp)
lw t9,-0x3610(gp)
addiu a0,a0,-0x469c
jalr t9
_nop
lw gp,0x18(sp)
lw t9,-0x3520(gp)
jalr t9
_or s0,v0,zero
lw gp,0x18(sp)
lw t9,-0x3540(gp)
jalr t9
_lw a0,0x0(v0)
or a1,s2,zero
lw gp,0x18(sp)
or a2,v0,zero
lw t9,-0x7538(gp)
jalr t9
_or a0,s0,zero
or v0,zero,zero
lw ra,0xdc(sp)
lw s3,0xd8(sp)
lw s2,0xd4(sp)
lw s1,0xd0(sp)
lw s0,0xcc(sp)
jr ra
_addiu sp,sp,0xe0
lw t9,-0x3610(gp)
jalr t9
_addiu a0,a0,-0x46c0
or a1,s2,zero
lw gp,0x18(sp)
lw t9,-0x7538(gp)
jalr t9
_or a0,v0,zero
or v0,zero,zero
lw ra,0xdc(sp)
lw s3,0xd8(sp)
lw s2,0xd4(sp)
lw s1,0xd0(sp)
lw s0,0xcc(sp)
jr ra
_addiu sp,sp,0xe0
lw a0,-0x7924(gp)
lw t9,-0x3610(gp)
b 0x0021949c
_addiu a0,a0,-0x46d0
li a3,0x2
lw a0,-0x722c(gp)
li a1,-0x1
sw zero,0x10(sp)
movz a3,zero,s3
jalr t9
_or a2,s2,zero
lw gp,0x18(sp)
bltz v0,0x00219638
_or s0,v0,zero
lw v1,0x5c(sp)
or a1,s3,zero
lw t9,-0x52f0(gp)
or a0,s1,zero
sw v0,0x4(s1)
sw v1,0xc(s1)
lw v0,0x58(sp)
bal 0x00218de0
_sw v0,0x8(s1)
bne v0,zero,0x002194e0
_lw gp,0x18(sp)
lw t9,-0x71f4(gp)
li a2,0x1
lw a0,-0x722c(gp)
or a1,s0,zero
jalr t9
_sw v0,0xc0(sp)
or v1,zero,zero
or v0,zero,zero
sw v1,0xc(s1)
li v1,-0x1
sw v0,0x8(s1)
sw v1,0x4(s1)
b 0x002194e0
_lw v0,0xc0(sp)
lw t9,-0x36ec(gp)
jalr t9
_or a0,s3,zero
b 0x002194e0
_li v0,0x1
lw t9,-0x3610(gp)
jalr t9
_addiu a0,a0,-0x4688
sra a2,s0,0x1f
lw v1,0x5c(sp)
or a0,v0,zero
lw t0,0x58(sp)
or a1,s2,zero
lw gp,0x18(sp)
subu a3,v1,s0
sw v1,0x14(sp)
subu a2,t0,a2
sw t0,0x10(sp)
sltu v1,v1,a3
lw t9,-0x7538(gp)
jalr t9
_subu a2,a2,v1
b 0x002194e0
_or v0,zero,zero
lw a0,-0x7924(gp)
lw t9,-0x3610(gp)
b 0x0021949c
_addiu a0,a0,-0x4718
lw a0,-0x7924(gp)
lw t9,-0x3610(gp)
jalr t9
_addiu a0,a0,-0x4708
or a1,s0,zero
lw gp,0x18(sp)
lw t9,-0x7220(gp)
jalr t9
_or a0,v0,zero
(translation_unit "/* gold::Output_file::open_base_file(char const*, bool) */\n\nuint __thiscall gold::Output_file::open_base_file(Output_file *this,char *param_1,bool param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  undefined3 in_register_00000018;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 in_stack_ffffff34;\n  undefined1 auStack_c0 [56];\n  int local_88;\n  uint local_84;\n  uint local_20;\n  \n  pcVar9 = *(char **)this;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }\n  iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);\n  if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }\nLAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n  uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n  (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);\n  return 0;\n}\n\n" comment (function_definition "uint __thiscall gold::Output_file::open_base_file(Output_file *this,char *param_1,bool param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  undefined3 in_register_00000018;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 in_stack_ffffff34;\n  undefined1 auStack_c0 [56];\n  int local_88;\n  uint local_84;\n  uint local_20;\n  \n  pcVar9 = *(char **)this;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }\n  iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);\n  if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }\nLAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n  uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n  (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);\n  return 0;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_file::" identifier : : identifier : :) (function_declarator "open_base_file(Output_file *this,char *param_1,bool param_2)" identifier (parameter_list "(Output_file *this,char *param_1,bool param_2)" ( (parameter_declaration "Output_file *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "bool param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  undefined3 in_register_00000018;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 in_stack_ffffff34;\n  undefined1 auStack_c0 [56];\n  int local_88;\n  uint local_84;\n  uint local_20;\n  \n  pcVar9 = *(char **)this;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }\n  iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);\n  if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }\nLAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n  uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n  (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined3 in_register_00000018;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffff34;" type_identifier identifier ;) (declaration "undefined1 auStack_c0 [56];" type_identifier (array_declarator "auStack_c0 [56]" identifier [ number_literal ]) ;) (declaration "int local_88;" primitive_type identifier ;) (declaration "uint local_84;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (expression_statement "pcVar9 = *(char **)this;" (assignment_expression "pcVar9 = *(char **)this" identifier = (pointer_expression "*(char **)this" * (cast_expression "(char **)this" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18)" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18)" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9,PTR_s__s_004c1a50 + 0x4b18)" ( identifier , (binary_expression "PTR_s__s_004c1a50 + 0x4b18" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }" if (parenthesized_expression "((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0))" ( (binary_expression "(param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)" (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9)" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,pcVar9)" ( identifier , identifier )))) , (comma_expression "pcVar9 = param_1, iVar1 == 0" (assignment_expression "pcVar9 = param_1" identifier = identifier) , (binary_expression "iVar1 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }" { (expression_statement "puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);" (assignment_expression "puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x4708)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4708" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = PTR_gold_fatal_004c2020;" (assignment_expression "puVar6 = PTR_gold_fatal_004c2020" identifier = identifier) ;) (expression_statement "(*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);" (call_expression "(*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1)" (parenthesized_expression "(*(code *)PTR_gold_fatal_004c2020)" ( (pointer_expression "*(code *)PTR_gold_fatal_004c2020" * (cast_expression "(code *)PTR_gold_fatal_004c2020" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,param_1)" ( identifier , identifier ))) ;) (expression_statement "uVar7 = (uint)*(byte *)(puVar3 + 5);" (assignment_expression "uVar7 = (uint)*(byte *)(puVar3 + 5)" identifier = (binary_expression "(uint)*(byte *)(puVar3 + 5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(puVar3 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 5)" ( (binary_expression "puVar3 + 5" identifier + number_literal) ))))) ;) (if_statement "if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }" if (parenthesized_expression "((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0))" ( (binary_expression "(uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)" (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)" ( (comma_expression "uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0" (assignment_expression "uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3])" identifier = (call_expression "(**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3])" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac440))" ( (pointer_expression "**(code **)(puVar6 + 0x2ac440)" * (pointer_expression "*(code **)(puVar6 + 0x2ac440)" * (cast_expression "(code **)(puVar6 + 0x2ac440)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x2ac440)" ( (binary_expression "puVar6 + 0x2ac440" identifier + number_literal) ))))) )) (argument_list "(puVar3[4],puVar3[3])" ( (subscript_expression "puVar3[4]" identifier [ number_literal ]) , (subscript_expression "puVar3[3]" identifier [ number_literal ]) )))) , (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) (compound_statement "{\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }" { (expression_statement "uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);" (assignment_expression "uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654)" identifier = (call_expression "(**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654)" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac5c4))" ( (pointer_expression "**(code **)(puVar6 + 0x2ac5c4)" * (pointer_expression "*(code **)(puVar6 + 0x2ac5c4)" * (cast_expression "(code **)(puVar6 + 0x2ac5c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x2ac5c4)" ( (binary_expression "puVar6 + 0x2ac5c4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar6 + 0x2a82b0) + -0x4654)" ( (binary_expression "*(int *)(puVar6 + 0x2a82b0) + -0x4654" (pointer_expression "*(int *)(puVar6 + 0x2a82b0)" * (cast_expression "(int *)(puVar6 + 0x2a82b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x2a82b0)" ( (binary_expression "puVar6 + 0x2a82b0" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "uVar10 = *puVar3;" (assignment_expression "uVar10 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();" (assignment_expression "puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar6 + 0x2ac6b4))()" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac6b4))" ( (pointer_expression "**(code **)(puVar6 + 0x2ac6b4)" * (pointer_expression "*(code **)(puVar6 + 0x2ac6b4)" * (cast_expression "(code **)(puVar6 + 0x2ac6b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x2ac6b4)" ( (binary_expression "puVar6 + 0x2ac6b4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);" (assignment_expression "uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5)" identifier = (call_expression "(**(code **)(puVar6 + 0x2ac694))(*puVar5)" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac694))" ( (pointer_expression "**(code **)(puVar6 + 0x2ac694)" * (pointer_expression "*(code **)(puVar6 + 0x2ac694)" * (cast_expression "(code **)(puVar6 + 0x2ac694)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x2ac694)" ( (binary_expression "puVar6 + 0x2ac694" identifier + number_literal) ))))) )) (argument_list "(*puVar5)" ( (pointer_expression "*puVar5" * identifier) )))) ;) (expression_statement "uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);" (assignment_expression "uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4)" identifier = (call_expression "(**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4)" (parenthesized_expression "(**(code **)(puVar6 + 0x2a83c0))" ( (pointer_expression "**(code **)(puVar6 + 0x2a83c0)" * (pointer_expression "*(code **)(puVar6 + 0x2a83c0)" * (cast_expression "(code **)(puVar6 + 0x2a83c0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x2a83c0)" ( (binary_expression "puVar6 + 0x2a83c0" identifier + number_literal) ))))) )) (argument_list "(uVar11,uVar10,uVar4)" ( identifier , identifier , identifier )))) ;) })) (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return uVar7;" return identifier ;) })) (expression_statement "iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);" (assignment_expression "iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0)" identifier = (call_expression "(*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0)" (parenthesized_expression "(*(code *)PTR___xstat64_004c5cc8)" ( (pointer_expression "*(code *)PTR___xstat64_004c5cc8" * (cast_expression "(code *)PTR___xstat64_004c5cc8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,pcVar9,auStack_c0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }" { (if_statement "if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }" if (parenthesized_expression "(local_88 == 0 && local_84 == 0)" ( (binary_expression "local_88 == 0 && local_84 == 0" (binary_expression "local_88 == 0" identifier == number_literal) && (binary_expression "local_84 == 0" identifier == number_literal)) )) (compound_statement "{\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }" { (expression_statement "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);" (assignment_expression "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x46c0)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x46c0" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);" (call_expression "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" ( (pointer_expression "*(code *)PTR_gold_info_004c1d08" * (cast_expression "(code *)PTR_gold_info_004c1d08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,pcVar9)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }" { (expression_statement "uVar11 = 2;" (assignment_expression "uVar11 = 2" identifier = number_literal) ;) (if_statement "if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }" if (parenthesized_expression "(CONCAT31(in_register_00000018,param_2) == 0)" ( (binary_expression "CONCAT31(in_register_00000018,param_2) == 0" (call_expression "CONCAT31(in_register_00000018,param_2)" identifier (argument_list "(in_register_00000018,param_2)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n        uVar11 = 0;\n      }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) })) (expression_statement "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);" (assignment_expression "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0)" identifier = (call_expression "(*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0)" (parenthesized_expression "(*(code *)PTR_open_004c2010)" ( (pointer_expression "*(code *)PTR_open_004c2010" * (cast_expression "(code *)PTR_open_004c2010" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0)" ( identifier , number_literal , identifier , identifier , number_literal )))) ;) (if_statement "if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }" { (expression_statement "*(int *)(this + 4) = iVar1;" (assignment_expression "*(int *)(this + 4) = iVar1" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(this + 0xc) = local_84;" (assignment_expression "*(uint *)(this + 0xc) = local_84" (pointer_expression "*(uint *)(this + 0xc)" * (cast_expression "(uint *)(this + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(this + 8) = local_88;" (assignment_expression "*(int *)(this + 8) = local_88" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_20 = map_no_anonymous(this,param_2);" (assignment_expression "local_20 = map_no_anonymous(this,param_2)" identifier = (call_expression "map_no_anonymous(this,param_2)" identifier (argument_list "(this,param_2)" ( identifier , identifier )))) ;) (if_statement "if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }" if (parenthesized_expression "(local_20 == 0)" ( (binary_expression "local_20 == 0" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }" { (expression_statement "(*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);" (call_expression "(*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1)" (parenthesized_expression "(*(code *)PTR_release_004c204c)" ( (pointer_expression "*(code *)PTR_release_004c204c" * (cast_expression "(code *)PTR_release_004c204c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_descriptors_004c2014,iVar1,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 8) = 0;" (assignment_expression "*(undefined4 *)(this + 8) = 0" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(this + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return local_20;" return identifier ;) })) (return_statement "return local_20;" return identifier ;) })) }) (else_clause "else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }" else (compound_statement "{\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);" (assignment_expression "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0)" identifier = (call_expression "(*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0)" (parenthesized_expression "(*(code *)PTR_open_004c2010)" ( (pointer_expression "*(code *)PTR_open_004c2010" * (cast_expression "(code *)PTR_open_004c2010" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_descriptors_004c2014,0xffffffff,pcVar9,0)" ( identifier , number_literal , identifier , number_literal )))) ;) (if_statement "if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }" { (expression_statement "open(CONCAT44(uVar11,in_stack_ffffff34));" (call_expression "open(CONCAT44(uVar11,in_stack_ffffff34))" identifier (argument_list "(CONCAT44(uVar11,in_stack_ffffff34))" ( (call_expression "CONCAT44(uVar11,in_stack_ffffff34)" identifier (argument_list "(uVar11,in_stack_ffffff34)" ( identifier , identifier ))) ))) ;) (expression_statement "iVar8 = *(int *)(this + 0x10);" (assignment_expression "iVar8 = *(int *)(this + 0x10)" identifier = (pointer_expression "*(int *)(this + 0x10)" * (cast_expression "(int *)(this + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = local_84;" (assignment_expression "uVar7 = local_84" identifier = identifier) ;) (while_statement "while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }" { (if_statement "if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }" if (parenthesized_expression "((int)uVar7 < 1)" ( (binary_expression "(int)uVar7 < 1" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }" { (expression_statement "(*(code *)PTR_close_004c5b54)(iVar1);" (call_expression "(*(code *)PTR_close_004c5b54)(iVar1)" (parenthesized_expression "(*(code *)PTR_close_004c5b54)" ( (pointer_expression "*(code *)PTR_close_004c5b54" * (cast_expression "(code *)PTR_close_004c5b54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);" (assignment_expression "iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7)" identifier = (call_expression "(*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7)" (parenthesized_expression "(*(code *)PTR_read_004c5c38)" ( (pointer_expression "*(code *)PTR_read_004c5c38" * (cast_expression "(code *)PTR_read_004c5c38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,iVar8,uVar7)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 < 0) break;" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }" { (expression_statement "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);" (assignment_expression "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x4688)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4688" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);" (call_expression "(*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" ( (pointer_expression "*(code *)PTR_gold_info_004c1d08" * (cast_expression "(code *)PTR_gold_info_004c1d08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84)" ( identifier , identifier , (binary_expression "(local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7)" (parenthesized_expression "(local_88 - ((int)uVar7 >> 0x1f))" ( (binary_expression "local_88 - ((int)uVar7 >> 0x1f)" identifier - (parenthesized_expression "((int)uVar7 >> 0x1f)" ( (binary_expression "(int)uVar7 >> 0x1f" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) )) - (call_expression "(uint)(local_84 < local_84 - uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < local_84 - uVar7)" ( (binary_expression "local_84 < local_84 - uVar7" identifier < (binary_expression "local_84 - uVar7" identifier - identifier)) )))) , (binary_expression "local_84 - uVar7" identifier - identifier) , identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar7 = uVar7 - iVar2;" (assignment_expression "uVar7 = uVar7 - iVar2" identifier = (binary_expression "uVar7 - iVar2" identifier - identifier)) ;) (expression_statement "iVar8 = iVar8 + iVar2;" (assignment_expression "iVar8 = iVar8 + iVar2" identifier = (binary_expression "iVar8 + iVar2" identifier + identifier)) ;) })) (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x469c" identifier + number_literal)) ;) (goto_statement "goto LAB_0021949c;" goto statement_identifier ;) })) }))) (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4718" identifier + number_literal)) ;) }) (else_clause "else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }" else (compound_statement "{\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }" { (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x46d0" identifier + number_literal)) ;) }))) (labeled_statement "LAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);" statement_identifier : (expression_statement "uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);" (assignment_expression "uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(puVar6)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6)" ( identifier )))) ;)) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_004c5d20)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_004c5d20)()" (parenthesized_expression "(*(code *)PTR___errno_location_004c5d20)" ( (pointer_expression "*(code *)PTR___errno_location_004c5d20" * (cast_expression "(code *)PTR___errno_location_004c5d20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_004c5d00)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_004c5d00)" ( (pointer_expression "*(code *)PTR_strerror_004c5d00" * (cast_expression "(code *)PTR_strerror_004c5d00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);" (call_expression "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" ( (pointer_expression "*(code *)PTR_gold_info_004c1d08" * (cast_expression "(code *)PTR_gold_info_004c1d08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,pcVar9,uVar4)" ( identifier , identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* DWARF original prototype: bool open_base_file(Output_file * this, char * base_name, bool\n   writable) */\n\nbool __thiscall gold::Output_file::open_base_file(Output_file *this,char *base_name,bool writable)\n\n{\n  undefined3 extraout_var;\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar7;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined1 uVar8;\n  undefined *puVar9;\n  char *__file;\n  undefined3 in_register_00000018;\n  uint uVar10;\n  uchar *puVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  stat s;\n  \n  pcVar12 = this->name_;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar12,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 != 0) {\n    if ((base_name != (char *)0x0) &&\n       (iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0))\n    {\n      puVar3 = (undefined4 *)\n               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n      puVar9 = PTR_gold_fatal_004c2020;\n      (*(code *)PTR_gold_fatal_004c2020)(puVar3,base_name);\n      uVar10 = (uint)*(byte *)(puVar3 + 5);\n      if ((uVar10 == 0) &&\n         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)) {\n        uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);\n        uVar13 = *puVar3;\n        puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();\n        uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);\n        uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);\n      }\n      else {\n        uVar8 = (undefined1)uVar10;\n      }\n      puVar3[4] = 0;\n      return (bool)uVar8;\n    }\n    iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar12,&s);\n    if (iVar1 == 0) {\n      if (s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0) {\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n        (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);\n        return false;\n      }\n      if (base_name == (char *)0x0) {\n        uVar2 = 2;\n        if (CONCAT31(in_register_00000018,writable) == 0) {\n          uVar2 = 0;\n        }\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);\n        if (-1 < iVar1) {\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }\n      }\n      else {\n        __file = (char *)0xffffffff;\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);\n        if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }\n      }\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n    }\n    else {\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n    }\nLAB_0021949c:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar9);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12,uVar4);\n  }\n  iVar5 = 0;\nLAB_002194e0:\n  return SUB41(iVar5,0);\n}\n\n" comment (function_definition "bool __thiscall gold::Output_file::open_base_file(Output_file *this,char *base_name,bool writable)\n\n{\n  undefined3 extraout_var;\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar7;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined1 uVar8;\n  undefined *puVar9;\n  char *__file;\n  undefined3 in_register_00000018;\n  uint uVar10;\n  uchar *puVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  stat s;\n  \n  pcVar12 = this->name_;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar12,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 != 0) {\n    if ((base_name != (char *)0x0) &&\n       (iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0))\n    {\n      puVar3 = (undefined4 *)\n               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n      puVar9 = PTR_gold_fatal_004c2020;\n      (*(code *)PTR_gold_fatal_004c2020)(puVar3,base_name);\n      uVar10 = (uint)*(byte *)(puVar3 + 5);\n      if ((uVar10 == 0) &&\n         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)) {\n        uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);\n        uVar13 = *puVar3;\n        puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();\n        uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);\n        uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);\n      }\n      else {\n        uVar8 = (undefined1)uVar10;\n      }\n      puVar3[4] = 0;\n      return (bool)uVar8;\n    }\n    iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar12,&s);\n    if (iVar1 == 0) {\n      if (s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0) {\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n        (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);\n        return false;\n      }\n      if (base_name == (char *)0x0) {\n        uVar2 = 2;\n        if (CONCAT31(in_register_00000018,writable) == 0) {\n          uVar2 = 0;\n        }\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);\n        if (-1 < iVar1) {\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }\n      }\n      else {\n        __file = (char *)0xffffffff;\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);\n        if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }\n      }\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n    }\n    else {\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n    }\nLAB_0021949c:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar9);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12,uVar4);\n  }\n  iVar5 = 0;\nLAB_002194e0:\n  return SUB41(iVar5,0);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_file::" identifier : : identifier : :) (function_declarator "open_base_file(Output_file *this,char *base_name,bool writable)" identifier (parameter_list "(Output_file *this,char *base_name,bool writable)" ( (parameter_declaration "Output_file *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *base_name" primitive_type (pointer_declarator "*base_name" * identifier)) , (parameter_declaration "bool writable" primitive_type identifier) ))) (compound_statement "{\n  undefined3 extraout_var;\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar7;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined1 uVar8;\n  undefined *puVar9;\n  char *__file;\n  undefined3 in_register_00000018;\n  uint uVar10;\n  uchar *puVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  stat s;\n  \n  pcVar12 = this->name_;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar12,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 != 0) {\n    if ((base_name != (char *)0x0) &&\n       (iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0))\n    {\n      puVar3 = (undefined4 *)\n               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n      puVar9 = PTR_gold_fatal_004c2020;\n      (*(code *)PTR_gold_fatal_004c2020)(puVar3,base_name);\n      uVar10 = (uint)*(byte *)(puVar3 + 5);\n      if ((uVar10 == 0) &&\n         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)) {\n        uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);\n        uVar13 = *puVar3;\n        puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();\n        uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);\n        uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);\n      }\n      else {\n        uVar8 = (undefined1)uVar10;\n      }\n      puVar3[4] = 0;\n      return (bool)uVar8;\n    }\n    iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar12,&s);\n    if (iVar1 == 0) {\n      if (s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0) {\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n        (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);\n        return false;\n      }\n      if (base_name == (char *)0x0) {\n        uVar2 = 2;\n        if (CONCAT31(in_register_00000018,writable) == 0) {\n          uVar2 = 0;\n        }\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);\n        if (-1 < iVar1) {\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }\n      }\n      else {\n        __file = (char *)0xffffffff;\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);\n        if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }\n      }\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n    }\n    else {\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n    }\nLAB_0021949c:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar9);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12,uVar4);\n  }\n  iVar5 = 0;\nLAB_002194e0:\n  return SUB41(iVar5,0);\n}" { (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 uVar8;" type_identifier identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "char *__file;" primitive_type (pointer_declarator "*__file" * identifier) ;) (declaration "undefined3 in_register_00000018;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uchar *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "stat s;" type_identifier identifier ;) (expression_statement "pcVar12 = this->name_;" (assignment_expression "pcVar12 = this->name_" identifier = (field_expression "this->name_" identifier -> field_identifier)) ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar12,PTR_s__s_004c1a50 + 0x4b18);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar12,PTR_s__s_004c1a50 + 0x4b18)" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)(pcVar12,PTR_s__s_004c1a50 + 0x4b18)" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar12,PTR_s__s_004c1a50 + 0x4b18)" ( identifier , (binary_expression "PTR_s__s_004c1a50 + 0x4b18" identifier + number_literal) )))) ;) (if_statement "if (iVar1 != 0) {\n    if ((base_name != (char *)0x0) &&\n       (iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0))\n    {\n      puVar3 = (undefined4 *)\n               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n      puVar9 = PTR_gold_fatal_004c2020;\n      (*(code *)PTR_gold_fatal_004c2020)(puVar3,base_name);\n      uVar10 = (uint)*(byte *)(puVar3 + 5);\n      if ((uVar10 == 0) &&\n         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)) {\n        uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);\n        uVar13 = *puVar3;\n        puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();\n        uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);\n        uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);\n      }\n      else {\n        uVar8 = (undefined1)uVar10;\n      }\n      puVar3[4] = 0;\n      return (bool)uVar8;\n    }\n    iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar12,&s);\n    if (iVar1 == 0) {\n      if (s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0) {\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n        (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);\n        return false;\n      }\n      if (base_name == (char *)0x0) {\n        uVar2 = 2;\n        if (CONCAT31(in_register_00000018,writable) == 0) {\n          uVar2 = 0;\n        }\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);\n        if (-1 < iVar1) {\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }\n      }\n      else {\n        __file = (char *)0xffffffff;\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);\n        if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }\n      }\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n    }\n    else {\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n    }\nLAB_0021949c:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar9);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12,uVar4);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((base_name != (char *)0x0) &&\n       (iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0))\n    {\n      puVar3 = (undefined4 *)\n               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n      puVar9 = PTR_gold_fatal_004c2020;\n      (*(code *)PTR_gold_fatal_004c2020)(puVar3,base_name);\n      uVar10 = (uint)*(byte *)(puVar3 + 5);\n      if ((uVar10 == 0) &&\n         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)) {\n        uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);\n        uVar13 = *puVar3;\n        puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();\n        uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);\n        uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);\n      }\n      else {\n        uVar8 = (undefined1)uVar10;\n      }\n      puVar3[4] = 0;\n      return (bool)uVar8;\n    }\n    iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar12,&s);\n    if (iVar1 == 0) {\n      if (s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0) {\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n        (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);\n        return false;\n      }\n      if (base_name == (char *)0x0) {\n        uVar2 = 2;\n        if (CONCAT31(in_register_00000018,writable) == 0) {\n          uVar2 = 0;\n        }\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);\n        if (-1 < iVar1) {\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }\n      }\n      else {\n        __file = (char *)0xffffffff;\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);\n        if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }\n      }\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n    }\n    else {\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n    }\nLAB_0021949c:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar9);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12,uVar4);\n  }" { (if_statement "if ((base_name != (char *)0x0) &&\n       (iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0))\n    {\n      puVar3 = (undefined4 *)\n               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n      puVar9 = PTR_gold_fatal_004c2020;\n      (*(code *)PTR_gold_fatal_004c2020)(puVar3,base_name);\n      uVar10 = (uint)*(byte *)(puVar3 + 5);\n      if ((uVar10 == 0) &&\n         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)) {\n        uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);\n        uVar13 = *puVar3;\n        puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();\n        uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);\n        uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);\n      }\n      else {\n        uVar8 = (undefined1)uVar10;\n      }\n      puVar3[4] = 0;\n      return (bool)uVar8;\n    }" if (parenthesized_expression "((base_name != (char *)0x0) &&\n       (iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0))" ( (binary_expression "(base_name != (char *)0x0) &&\n       (iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0)" (parenthesized_expression "(base_name != (char *)0x0)" ( (binary_expression "base_name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12), pcVar12 = base_name, iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12)" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)(base_name,pcVar12)" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(base_name,pcVar12)" ( identifier , identifier )))) , (comma_expression "pcVar12 = base_name, iVar1 == 0" (assignment_expression "pcVar12 = base_name" identifier = identifier) , (binary_expression "iVar1 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n      puVar3 = (undefined4 *)\n               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n      puVar9 = PTR_gold_fatal_004c2020;\n      (*(code *)PTR_gold_fatal_004c2020)(puVar3,base_name);\n      uVar10 = (uint)*(byte *)(puVar3 + 5);\n      if ((uVar10 == 0) &&\n         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)) {\n        uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);\n        uVar13 = *puVar3;\n        puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();\n        uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);\n        uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);\n      }\n      else {\n        uVar8 = (undefined1)uVar10;\n      }\n      puVar3[4] = 0;\n      return (bool)uVar8;\n    }" { (expression_statement "puVar3 = (undefined4 *)\n               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);" (assignment_expression "puVar3 = (undefined4 *)\n               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" identifier = (cast_expression "(undefined4 *)\n               (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x4708)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4708" identifier + number_literal) ))))) ;) (expression_statement "puVar9 = PTR_gold_fatal_004c2020;" (assignment_expression "puVar9 = PTR_gold_fatal_004c2020" identifier = identifier) ;) (expression_statement "(*(code *)PTR_gold_fatal_004c2020)(puVar3,base_name);" (call_expression "(*(code *)PTR_gold_fatal_004c2020)(puVar3,base_name)" (parenthesized_expression "(*(code *)PTR_gold_fatal_004c2020)" ( (pointer_expression "*(code *)PTR_gold_fatal_004c2020" * (cast_expression "(code *)PTR_gold_fatal_004c2020" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,base_name)" ( identifier , identifier ))) ;) (expression_statement "uVar10 = (uint)*(byte *)(puVar3 + 5);" (assignment_expression "uVar10 = (uint)*(byte *)(puVar3 + 5)" identifier = (binary_expression "(uint)*(byte *)(puVar3 + 5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(puVar3 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 5)" ( (binary_expression "puVar3 + 5" identifier + number_literal) ))))) ;) (if_statement "if ((uVar10 == 0) &&\n         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)) {\n        uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);\n        uVar13 = *puVar3;\n        puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();\n        uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);\n        uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);\n      }\n      else {\n        uVar8 = (undefined1)uVar10;\n      }" if (parenthesized_expression "((uVar10 == 0) &&\n         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0))" ( (binary_expression "(uVar10 == 0) &&\n         (uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)" (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0)" ( (comma_expression "uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar10 < 0" (assignment_expression "uVar10 = (**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3])" identifier = (call_expression "(**(code **)(puVar9 + 0x2ac440))(puVar3[4],puVar3[3])" (parenthesized_expression "(**(code **)(puVar9 + 0x2ac440))" ( (pointer_expression "**(code **)(puVar9 + 0x2ac440)" * (pointer_expression "*(code **)(puVar9 + 0x2ac440)" * (cast_expression "(code **)(puVar9 + 0x2ac440)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x2ac440)" ( (binary_expression "puVar9 + 0x2ac440" identifier + number_literal) ))))) )) (argument_list "(puVar3[4],puVar3[3])" ( (subscript_expression "puVar3[4]" identifier [ number_literal ]) , (subscript_expression "puVar3[3]" identifier [ number_literal ]) )))) , (binary_expression "(int)uVar10 < 0" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) (compound_statement "{\n        uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);\n        uVar13 = *puVar3;\n        puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();\n        uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);\n        uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);\n      }" { (expression_statement "uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654);" (assignment_expression "uVar2 = (**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654)" identifier = (call_expression "(**(code **)(puVar9 + 0x2ac5c4))(*(int *)(puVar9 + 0x2a82b0) + -0x4654)" (parenthesized_expression "(**(code **)(puVar9 + 0x2ac5c4))" ( (pointer_expression "**(code **)(puVar9 + 0x2ac5c4)" * (pointer_expression "*(code **)(puVar9 + 0x2ac5c4)" * (cast_expression "(code **)(puVar9 + 0x2ac5c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x2ac5c4)" ( (binary_expression "puVar9 + 0x2ac5c4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar9 + 0x2a82b0) + -0x4654)" ( (binary_expression "*(int *)(puVar9 + 0x2a82b0) + -0x4654" (pointer_expression "*(int *)(puVar9 + 0x2a82b0)" * (cast_expression "(int *)(puVar9 + 0x2a82b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x2a82b0)" ( (binary_expression "puVar9 + 0x2a82b0" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "uVar13 = *puVar3;" (assignment_expression "uVar13 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))();" (assignment_expression "puVar6 = (undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar9 + 0x2ac6b4))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar9 + 0x2ac6b4))()" (parenthesized_expression "(**(code **)(puVar9 + 0x2ac6b4))" ( (pointer_expression "**(code **)(puVar9 + 0x2ac6b4)" * (pointer_expression "*(code **)(puVar9 + 0x2ac6b4)" * (cast_expression "(code **)(puVar9 + 0x2ac6b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x2ac6b4)" ( (binary_expression "puVar9 + 0x2ac6b4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6);" (assignment_expression "uVar4 = (**(code **)(puVar9 + 0x2ac694))(*puVar6)" identifier = (call_expression "(**(code **)(puVar9 + 0x2ac694))(*puVar6)" (parenthesized_expression "(**(code **)(puVar9 + 0x2ac694))" ( (pointer_expression "**(code **)(puVar9 + 0x2ac694)" * (pointer_expression "*(code **)(puVar9 + 0x2ac694)" * (cast_expression "(code **)(puVar9 + 0x2ac694)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x2ac694)" ( (binary_expression "puVar9 + 0x2ac694" identifier + number_literal) ))))) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4);" (assignment_expression "uVar8 = (**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4)" identifier = (call_expression "(**(code **)(puVar9 + 0x2a83c0))(uVar2,uVar13,uVar4)" (parenthesized_expression "(**(code **)(puVar9 + 0x2a83c0))" ( (pointer_expression "**(code **)(puVar9 + 0x2a83c0)" * (pointer_expression "*(code **)(puVar9 + 0x2a83c0)" * (cast_expression "(code **)(puVar9 + 0x2a83c0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x2a83c0)" ( (binary_expression "puVar9 + 0x2a83c0" identifier + number_literal) ))))) )) (argument_list "(uVar2,uVar13,uVar4)" ( identifier , identifier , identifier )))) ;) }) (else_clause "else {\n        uVar8 = (undefined1)uVar10;\n      }" else (compound_statement "{\n        uVar8 = (undefined1)uVar10;\n      }" { (expression_statement "uVar8 = (undefined1)uVar10;" (assignment_expression "uVar8 = (undefined1)uVar10" identifier = (cast_expression "(undefined1)uVar10" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) }))) (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return (bool)uVar8;" return (cast_expression "(bool)uVar8" ( (type_descriptor "bool" primitive_type) ) identifier) ;) })) (expression_statement "iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar12,&s);" (assignment_expression "iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar12,&s)" identifier = (call_expression "(*(code *)PTR___xstat64_004c5cc8)(3,pcVar12,&s)" (parenthesized_expression "(*(code *)PTR___xstat64_004c5cc8)" ( (pointer_expression "*(code *)PTR___xstat64_004c5cc8" * (cast_expression "(code *)PTR___xstat64_004c5cc8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,pcVar12,&s)" ( number_literal , identifier , (pointer_expression "&s" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n      if (s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0) {\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n        (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);\n        return false;\n      }\n      if (base_name == (char *)0x0) {\n        uVar2 = 2;\n        if (CONCAT31(in_register_00000018,writable) == 0) {\n          uVar2 = 0;\n        }\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);\n        if (-1 < iVar1) {\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }\n      }\n      else {\n        __file = (char *)0xffffffff;\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);\n        if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }\n      }\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n    }\n    else {\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      if (s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0) {\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n        (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);\n        return false;\n      }\n      if (base_name == (char *)0x0) {\n        uVar2 = 2;\n        if (CONCAT31(in_register_00000018,writable) == 0) {\n          uVar2 = 0;\n        }\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);\n        if (-1 < iVar1) {\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }\n      }\n      else {\n        __file = (char *)0xffffffff;\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);\n        if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }\n      }\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n    }" { (if_statement "if (s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0) {\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n        (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);\n        return false;\n      }" if (parenthesized_expression "(s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0)" ( (binary_expression "s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0" (binary_expression "s.st_size._0_4_ == 0" (field_expression "s.st_size._0_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier) == number_literal) && (binary_expression "s.st_size._4_4_ == 0" (field_expression "s.st_size._4_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier) == number_literal)) )) (compound_statement "{\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n        (*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);\n        return false;\n      }" { (expression_statement "uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x46c0)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x46c0" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12);" (call_expression "(*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" ( (pointer_expression "*(code *)PTR_gold_info_004c1d08" * (cast_expression "(code *)PTR_gold_info_004c1d08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,pcVar12)" ( identifier , identifier ))) ;) (return_statement "return false;" return false ;) })) (if_statement "if (base_name == (char *)0x0) {\n        uVar2 = 2;\n        if (CONCAT31(in_register_00000018,writable) == 0) {\n          uVar2 = 0;\n        }\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);\n        if (-1 < iVar1) {\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }\n      }\n      else {\n        __file = (char *)0xffffffff;\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);\n        if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }\n      }" if (parenthesized_expression "(base_name == (char *)0x0)" ( (binary_expression "base_name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar2 = 2;\n        if (CONCAT31(in_register_00000018,writable) == 0) {\n          uVar2 = 0;\n        }\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);\n        if (-1 < iVar1) {\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }\n      }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) (if_statement "if (CONCAT31(in_register_00000018,writable) == 0) {\n          uVar2 = 0;\n        }" if (parenthesized_expression "(CONCAT31(in_register_00000018,writable) == 0)" ( (binary_expression "CONCAT31(in_register_00000018,writable) == 0" (call_expression "CONCAT31(in_register_00000018,writable)" identifier (argument_list "(in_register_00000018,writable)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n          uVar2 = 0;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })) (expression_statement "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);" (assignment_expression "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0)" identifier = (call_expression "(*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0)" (parenthesized_expression "(*(code *)PTR_open_004c2010)" ( (pointer_expression "*(code *)PTR_open_004c2010" * (cast_expression "(code *)PTR_open_004c2010" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0)" ( identifier , number_literal , identifier , identifier , number_literal )))) ;) (if_statement "if (-1 < iVar1) {\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n          this->o_ = iVar1;\n          *(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;\n          *(int *)&this->file_size_ = s.st_size._0_4_;\n          bVar7 = map_no_anonymous(this,writable);\n          iVar5 = CONCAT31(extraout_var,bVar7);\n          if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }\n          goto LAB_002194e0;\n        }" { (expression_statement "this->o_ = iVar1;" (assignment_expression "this->o_ = iVar1" (field_expression "this->o_" identifier -> field_identifier) = identifier) ;) (expression_statement "*(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_;" (assignment_expression "*(uint *)((int)&this->file_size_ + 4) = s.st_size._4_4_" (pointer_expression "*(uint *)((int)&this->file_size_ + 4)" * (cast_expression "(uint *)((int)&this->file_size_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->file_size_ + 4)" ( (binary_expression "(int)&this->file_size_ + 4" (cast_expression "(int)&this->file_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->file_size_" & (field_expression "this->file_size_" identifier -> field_identifier))) + number_literal) )))) = (field_expression "s.st_size._4_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(int *)&this->file_size_ = s.st_size._0_4_;" (assignment_expression "*(int *)&this->file_size_ = s.st_size._0_4_" (pointer_expression "*(int *)&this->file_size_" * (cast_expression "(int *)&this->file_size_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->file_size_" & (field_expression "this->file_size_" identifier -> field_identifier)))) = (field_expression "s.st_size._0_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier)) ;) (expression_statement "bVar7 = map_no_anonymous(this,writable);" (assignment_expression "bVar7 = map_no_anonymous(this,writable)" identifier = (call_expression "map_no_anonymous(this,writable)" identifier (argument_list "(this,writable)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = CONCAT31(extraout_var,bVar7);" (assignment_expression "iVar5 = CONCAT31(extraout_var,bVar7)" identifier = (call_expression "CONCAT31(extraout_var,bVar7)" identifier (argument_list "(extraout_var,bVar7)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n            (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n            *(undefined4 *)((int)&this->file_size_ + 4) = 0;\n            *(undefined4 *)&this->file_size_ = 0;\n            this->o_ = -1;\n          }" { (expression_statement "(*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);" (call_expression "(*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1)" (parenthesized_expression "(*(code *)PTR_release_004c204c)" ( (pointer_expression "*(code *)PTR_release_004c204c" * (cast_expression "(code *)PTR_release_004c204c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_descriptors_004c2014,iVar1,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined4 *)((int)&this->file_size_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&this->file_size_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&this->file_size_ + 4)" * (cast_expression "(undefined4 *)((int)&this->file_size_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->file_size_ + 4)" ( (binary_expression "(int)&this->file_size_ + 4" (cast_expression "(int)&this->file_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->file_size_" & (field_expression "this->file_size_" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&this->file_size_ = 0;" (assignment_expression "*(undefined4 *)&this->file_size_ = 0" (pointer_expression "*(undefined4 *)&this->file_size_" * (cast_expression "(undefined4 *)&this->file_size_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->file_size_" & (field_expression "this->file_size_" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "this->o_ = -1;" (assignment_expression "this->o_ = -1" (field_expression "this->o_" identifier -> field_identifier) = number_literal) ;) })) (goto_statement "goto LAB_002194e0;" goto statement_identifier ;) })) }) (else_clause "else {\n        __file = (char *)0xffffffff;\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);\n        if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }\n      }" else (compound_statement "{\n        __file = (char *)0xffffffff;\n        iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);\n        if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }\n      }" { (expression_statement "__file = (char *)0xffffffff;" (assignment_expression "__file = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);" (assignment_expression "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0)" identifier = (call_expression "(*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0)" (parenthesized_expression "(*(code *)PTR_open_004c2010)" ( (pointer_expression "*(code *)PTR_open_004c2010" * (cast_expression "(code *)PTR_open_004c2010" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0)" ( identifier , number_literal , identifier , number_literal , number_literal )))) ;) (if_statement "if (-1 < iVar1) {\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n          open(this,__file,s.st_size._0_4_,s.st_size._4_4_);\n          puVar11 = this->base_;\n          for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }\n          (*(code *)PTR_close_004c5b54)(iVar1);\n          iVar5 = 1;\n          goto LAB_002194e0;\n        }" { (expression_statement "open(this,__file,s.st_size._0_4_,s.st_size._4_4_);" (call_expression "open(this,__file,s.st_size._0_4_,s.st_size._4_4_)" identifier (argument_list "(this,__file,s.st_size._0_4_,s.st_size._4_4_)" ( identifier , identifier , (field_expression "s.st_size._0_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier) , (field_expression "s.st_size._4_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier) ))) ;) (expression_statement "puVar11 = this->base_;" (assignment_expression "puVar11 = this->base_" identifier = (field_expression "this->base_" identifier -> field_identifier)) ;) (for_statement "for (uVar10 = s.st_size._4_4_; 0 < (int)uVar10; uVar10 = uVar10 - iVar5) {\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }" for ( (assignment_expression "uVar10 = s.st_size._4_4_" identifier = (field_expression "s.st_size._4_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier)) ; (binary_expression "0 < (int)uVar10" number_literal < (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ; (assignment_expression "uVar10 = uVar10 - iVar5" identifier = (binary_expression "uVar10 - iVar5" identifier - identifier)) ) (compound_statement "{\n            iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);\n            if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }\n            if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }\n            puVar11 = puVar11 + iVar5;\n          }" { (expression_statement "iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10);" (assignment_expression "iVar5 = (*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10)" identifier = (call_expression "(*(code *)PTR_read_004c5c38)(iVar1,puVar11,uVar10)" (parenthesized_expression "(*(code *)PTR_read_004c5c38)" ( (pointer_expression "*(code *)PTR_read_004c5c38" * (cast_expression "(code *)PTR_read_004c5c38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,puVar11,uVar10)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar5 < 0) {\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n              puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n              goto LAB_0021949c;\n            }" { (expression_statement "puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c;" (assignment_expression "puVar9 = PTR_s_in_a_linker_script_004c191c + -0x469c" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x469c" identifier + number_literal)) ;) (goto_statement "goto LAB_0021949c;" goto statement_identifier ;) })) (if_statement "if (iVar5 == 0) {\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n              uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n              (*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);\n              iVar5 = 0;\n              goto LAB_002194e0;\n            }" { (expression_statement "uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x4688)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4688" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_);" (call_expression "(*(code *)PTR_gold_info_004c1d08)\n                        (uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" ( (pointer_expression "*(code *)PTR_gold_info_004c1d08" * (cast_expression "(code *)PTR_gold_info_004c1d08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,pcVar12,\n                         (s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10),s.st_size._4_4_ - uVar10\n                         ,s.st_size._0_4_,s.st_size._4_4_)" ( identifier , identifier , (binary_expression "(s.st_size._0_4_ - ((int)uVar10 >> 0x1f)) -\n                         (uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10)" (parenthesized_expression "(s.st_size._0_4_ - ((int)uVar10 >> 0x1f))" ( (binary_expression "s.st_size._0_4_ - ((int)uVar10 >> 0x1f)" (field_expression "s.st_size._0_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier) - (parenthesized_expression "((int)uVar10 >> 0x1f)" ( (binary_expression "(int)uVar10 >> 0x1f" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) )) - (call_expression "(uint)(s.st_size._4_4_ < s.st_size._4_4_ - uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(s.st_size._4_4_ < s.st_size._4_4_ - uVar10)" ( (binary_expression "s.st_size._4_4_ < s.st_size._4_4_ - uVar10" (field_expression "s.st_size._4_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier) < (binary_expression "s.st_size._4_4_ - uVar10" (field_expression "s.st_size._4_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier) - identifier)) )))) , (binary_expression "s.st_size._4_4_ - uVar10" (field_expression "s.st_size._4_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier) - identifier) , (field_expression "s.st_size._0_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier) , (field_expression "s.st_size._4_4_" (field_expression "s.st_size" identifier . field_identifier) . field_identifier) ))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_002194e0;" goto statement_identifier ;) })) (expression_statement "puVar11 = puVar11 + iVar5;" (assignment_expression "puVar11 = puVar11 + iVar5" identifier = (binary_expression "puVar11 + iVar5" identifier + identifier)) ;) })) (expression_statement "(*(code *)PTR_close_004c5b54)(iVar1);" (call_expression "(*(code *)PTR_close_004c5b54)(iVar1)" (parenthesized_expression "(*(code *)PTR_close_004c5b54)" ( (pointer_expression "*(code *)PTR_close_004c5b54" * (cast_expression "(code *)PTR_close_004c5b54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_002194e0;" goto statement_identifier ;) })) }))) (expression_statement "puVar9 = PTR_s_in_a_linker_script_004c191c + -0x4718;" (assignment_expression "puVar9 = PTR_s_in_a_linker_script_004c191c + -0x4718" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4718" identifier + number_literal)) ;) }) (else_clause "else {\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n    }" else (compound_statement "{\n      puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n    }" { (expression_statement "puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0;" (assignment_expression "puVar9 = PTR_s_in_a_linker_script_004c191c + -0x46d0" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x46d0" identifier + number_literal)) ;) }))) (labeled_statement "LAB_0021949c:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar9);" statement_identifier : (expression_statement "uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar9);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar9)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(puVar9)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar9)" ( identifier )))) ;)) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_004c5d20)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_004c5d20)()" (parenthesized_expression "(*(code *)PTR___errno_location_004c5d20)" ( (pointer_expression "*(code *)PTR___errno_location_004c5d20" * (cast_expression "(code *)PTR___errno_location_004c5d20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_004c5d00)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_004c5d00)" ( (pointer_expression "*(code *)PTR_strerror_004c5d00" * (cast_expression "(code *)PTR_strerror_004c5d00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "(*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12,uVar4);" (call_expression "(*(code *)PTR_gold_info_004c1d08)(uVar2,pcVar12,uVar4)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" ( (pointer_expression "*(code *)PTR_gold_info_004c1d08" * (cast_expression "(code *)PTR_gold_info_004c1d08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,pcVar12,uVar4)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_002194e0:\n  return SUB41(iVar5,0);" statement_identifier : (return_statement "return SUB41(iVar5,0);" return (call_expression "SUB41(iVar5,0)" identifier (argument_list "(iVar5,0)" ( identifier , number_literal ))) ;)) })))
(translation_unit "uint __thiscall gold::Output_file::open_base_file(Output_file *this,char *param_1,bool param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  undefined3 in_register_00000018;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 in_stack_ffffff34;\n  undefined1 auStack_c0 [56];\n  int local_88;\n  uint local_84;\n  uint local_20;\n  \n  pcVar9 = *(char **)this;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }\n  iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);\n  if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }\nLAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n  uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n  (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);\n  return 0;\n}\n\n" (function_definition "uint __thiscall gold::Output_file::open_base_file(Output_file *this,char *param_1,bool param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  undefined3 in_register_00000018;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 in_stack_ffffff34;\n  undefined1 auStack_c0 [56];\n  int local_88;\n  uint local_84;\n  uint local_20;\n  \n  pcVar9 = *(char **)this;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }\n  iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);\n  if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }\nLAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n  uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n  (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);\n  return 0;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_file::" identifier : : identifier : :) (function_declarator "open_base_file(Output_file *this,char *param_1,bool param_2)" identifier (parameter_list "(Output_file *this,char *param_1,bool param_2)" ( (parameter_declaration "Output_file *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "bool param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  undefined3 in_register_00000018;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 in_stack_ffffff34;\n  undefined1 auStack_c0 [56];\n  int local_88;\n  uint local_84;\n  uint local_20;\n  \n  pcVar9 = *(char **)this;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }\n  iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);\n  if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }\nLAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n  uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n  (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined3 in_register_00000018;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffff34;" type_identifier identifier ;) (declaration "undefined1 auStack_c0 [56];" type_identifier (array_declarator "auStack_c0 [56]" identifier [ number_literal ]) ;) (declaration "int local_88;" primitive_type identifier ;) (declaration "uint local_84;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (expression_statement "pcVar9 = *(char **)this;" (assignment_expression "pcVar9 = *(char **)this" identifier = (pointer_expression "*(char **)this" * (cast_expression "(char **)this" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18)" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18)" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9,PTR_s__s_004c1a50 + 0x4b18)" ( identifier , (binary_expression "PTR_s__s_004c1a50 + 0x4b18" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }" if (parenthesized_expression "((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0))" ( (binary_expression "(param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)" (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9)" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,pcVar9)" ( identifier , identifier )))) , (comma_expression "pcVar9 = param_1, iVar1 == 0" (assignment_expression "pcVar9 = param_1" identifier = identifier) , (binary_expression "iVar1 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }" { (expression_statement "puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);" (assignment_expression "puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x4708)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4708" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = PTR_gold_fatal_004c2020;" (assignment_expression "puVar6 = PTR_gold_fatal_004c2020" identifier = identifier) ;) (expression_statement "(*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);" (call_expression "(*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1)" (parenthesized_expression "(*(code *)PTR_gold_fatal_004c2020)" ( (pointer_expression "*(code *)PTR_gold_fatal_004c2020" * (cast_expression "(code *)PTR_gold_fatal_004c2020" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,param_1)" ( identifier , identifier ))) ;) (expression_statement "uVar7 = (uint)*(byte *)(puVar3 + 5);" (assignment_expression "uVar7 = (uint)*(byte *)(puVar3 + 5)" identifier = (binary_expression "(uint)*(byte *)(puVar3 + 5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(puVar3 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 5)" ( (binary_expression "puVar3 + 5" identifier + number_literal) ))))) ;) (if_statement "if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }" if (parenthesized_expression "((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0))" ( (binary_expression "(uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)" (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)" ( (comma_expression "uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0" (assignment_expression "uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3])" identifier = (call_expression "(**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3])" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac440))" ( (pointer_expression "**(code **)(puVar6 + 0x2ac440)" * (pointer_expression "*(code **)(puVar6 + 0x2ac440)" * (cast_expression "(code **)(puVar6 + 0x2ac440)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x2ac440)" ( (binary_expression "puVar6 + 0x2ac440" identifier + number_literal) ))))) )) (argument_list "(puVar3[4],puVar3[3])" ( (subscript_expression "puVar3[4]" identifier [ number_literal ]) , (subscript_expression "puVar3[3]" identifier [ number_literal ]) )))) , (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) (compound_statement "{\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }" { (expression_statement "uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);" (assignment_expression "uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654)" identifier = (call_expression "(**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654)" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac5c4))" ( (pointer_expression "**(code **)(puVar6 + 0x2ac5c4)" * (pointer_expression "*(code **)(puVar6 + 0x2ac5c4)" * (cast_expression "(code **)(puVar6 + 0x2ac5c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x2ac5c4)" ( (binary_expression "puVar6 + 0x2ac5c4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar6 + 0x2a82b0) + -0x4654)" ( (binary_expression "*(int *)(puVar6 + 0x2a82b0) + -0x4654" (pointer_expression "*(int *)(puVar6 + 0x2a82b0)" * (cast_expression "(int *)(puVar6 + 0x2a82b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x2a82b0)" ( (binary_expression "puVar6 + 0x2a82b0" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "uVar10 = *puVar3;" (assignment_expression "uVar10 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();" (assignment_expression "puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar6 + 0x2ac6b4))()" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac6b4))" ( (pointer_expression "**(code **)(puVar6 + 0x2ac6b4)" * (pointer_expression "*(code **)(puVar6 + 0x2ac6b4)" * (cast_expression "(code **)(puVar6 + 0x2ac6b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x2ac6b4)" ( (binary_expression "puVar6 + 0x2ac6b4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);" (assignment_expression "uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5)" identifier = (call_expression "(**(code **)(puVar6 + 0x2ac694))(*puVar5)" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac694))" ( (pointer_expression "**(code **)(puVar6 + 0x2ac694)" * (pointer_expression "*(code **)(puVar6 + 0x2ac694)" * (cast_expression "(code **)(puVar6 + 0x2ac694)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x2ac694)" ( (binary_expression "puVar6 + 0x2ac694" identifier + number_literal) ))))) )) (argument_list "(*puVar5)" ( (pointer_expression "*puVar5" * identifier) )))) ;) (expression_statement "uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);" (assignment_expression "uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4)" identifier = (call_expression "(**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4)" (parenthesized_expression "(**(code **)(puVar6 + 0x2a83c0))" ( (pointer_expression "**(code **)(puVar6 + 0x2a83c0)" * (pointer_expression "*(code **)(puVar6 + 0x2a83c0)" * (cast_expression "(code **)(puVar6 + 0x2a83c0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x2a83c0)" ( (binary_expression "puVar6 + 0x2a83c0" identifier + number_literal) ))))) )) (argument_list "(uVar11,uVar10,uVar4)" ( identifier , identifier , identifier )))) ;) })) (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return uVar7;" return identifier ;) })) (expression_statement "iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);" (assignment_expression "iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0)" identifier = (call_expression "(*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0)" (parenthesized_expression "(*(code *)PTR___xstat64_004c5cc8)" ( (pointer_expression "*(code *)PTR___xstat64_004c5cc8" * (cast_expression "(code *)PTR___xstat64_004c5cc8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,pcVar9,auStack_c0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }" { (if_statement "if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }" if (parenthesized_expression "(local_88 == 0 && local_84 == 0)" ( (binary_expression "local_88 == 0 && local_84 == 0" (binary_expression "local_88 == 0" identifier == number_literal) && (binary_expression "local_84 == 0" identifier == number_literal)) )) (compound_statement "{\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }" { (expression_statement "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);" (assignment_expression "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x46c0)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x46c0" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);" (call_expression "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" ( (pointer_expression "*(code *)PTR_gold_info_004c1d08" * (cast_expression "(code *)PTR_gold_info_004c1d08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,pcVar9)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }" { (expression_statement "uVar11 = 2;" (assignment_expression "uVar11 = 2" identifier = number_literal) ;) (if_statement "if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }" if (parenthesized_expression "(CONCAT31(in_register_00000018,param_2) == 0)" ( (binary_expression "CONCAT31(in_register_00000018,param_2) == 0" (call_expression "CONCAT31(in_register_00000018,param_2)" identifier (argument_list "(in_register_00000018,param_2)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n        uVar11 = 0;\n      }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) })) (expression_statement "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);" (assignment_expression "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0)" identifier = (call_expression "(*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0)" (parenthesized_expression "(*(code *)PTR_open_004c2010)" ( (pointer_expression "*(code *)PTR_open_004c2010" * (cast_expression "(code *)PTR_open_004c2010" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0)" ( identifier , number_literal , identifier , identifier , number_literal )))) ;) (if_statement "if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }" { (expression_statement "*(int *)(this + 4) = iVar1;" (assignment_expression "*(int *)(this + 4) = iVar1" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(this + 0xc) = local_84;" (assignment_expression "*(uint *)(this + 0xc) = local_84" (pointer_expression "*(uint *)(this + 0xc)" * (cast_expression "(uint *)(this + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(this + 8) = local_88;" (assignment_expression "*(int *)(this + 8) = local_88" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_20 = map_no_anonymous(this,param_2);" (assignment_expression "local_20 = map_no_anonymous(this,param_2)" identifier = (call_expression "map_no_anonymous(this,param_2)" identifier (argument_list "(this,param_2)" ( identifier , identifier )))) ;) (if_statement "if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }" if (parenthesized_expression "(local_20 == 0)" ( (binary_expression "local_20 == 0" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }" { (expression_statement "(*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);" (call_expression "(*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1)" (parenthesized_expression "(*(code *)PTR_release_004c204c)" ( (pointer_expression "*(code *)PTR_release_004c204c" * (cast_expression "(code *)PTR_release_004c204c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_descriptors_004c2014,iVar1,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 8) = 0;" (assignment_expression "*(undefined4 *)(this + 8) = 0" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(this + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return local_20;" return identifier ;) })) (return_statement "return local_20;" return identifier ;) })) }) (else_clause "else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }" else (compound_statement "{\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);" (assignment_expression "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0)" identifier = (call_expression "(*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0)" (parenthesized_expression "(*(code *)PTR_open_004c2010)" ( (pointer_expression "*(code *)PTR_open_004c2010" * (cast_expression "(code *)PTR_open_004c2010" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_descriptors_004c2014,0xffffffff,pcVar9,0)" ( identifier , number_literal , identifier , number_literal )))) ;) (if_statement "if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }" { (expression_statement "open(CONCAT44(uVar11,in_stack_ffffff34));" (call_expression "open(CONCAT44(uVar11,in_stack_ffffff34))" identifier (argument_list "(CONCAT44(uVar11,in_stack_ffffff34))" ( (call_expression "CONCAT44(uVar11,in_stack_ffffff34)" identifier (argument_list "(uVar11,in_stack_ffffff34)" ( identifier , identifier ))) ))) ;) (expression_statement "iVar8 = *(int *)(this + 0x10);" (assignment_expression "iVar8 = *(int *)(this + 0x10)" identifier = (pointer_expression "*(int *)(this + 0x10)" * (cast_expression "(int *)(this + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = local_84;" (assignment_expression "uVar7 = local_84" identifier = identifier) ;) (while_statement "while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }" { (if_statement "if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }" if (parenthesized_expression "((int)uVar7 < 1)" ( (binary_expression "(int)uVar7 < 1" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }" { (expression_statement "(*(code *)PTR_close_004c5b54)(iVar1);" (call_expression "(*(code *)PTR_close_004c5b54)(iVar1)" (parenthesized_expression "(*(code *)PTR_close_004c5b54)" ( (pointer_expression "*(code *)PTR_close_004c5b54" * (cast_expression "(code *)PTR_close_004c5b54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);" (assignment_expression "iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7)" identifier = (call_expression "(*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7)" (parenthesized_expression "(*(code *)PTR_read_004c5c38)" ( (pointer_expression "*(code *)PTR_read_004c5c38" * (cast_expression "(code *)PTR_read_004c5c38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,iVar8,uVar7)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 < 0) break;" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }" { (expression_statement "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);" (assignment_expression "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x4688)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4688" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);" (call_expression "(*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" ( (pointer_expression "*(code *)PTR_gold_info_004c1d08" * (cast_expression "(code *)PTR_gold_info_004c1d08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84)" ( identifier , identifier , (binary_expression "(local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7)" (parenthesized_expression "(local_88 - ((int)uVar7 >> 0x1f))" ( (binary_expression "local_88 - ((int)uVar7 >> 0x1f)" identifier - (parenthesized_expression "((int)uVar7 >> 0x1f)" ( (binary_expression "(int)uVar7 >> 0x1f" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) )) - (call_expression "(uint)(local_84 < local_84 - uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < local_84 - uVar7)" ( (binary_expression "local_84 < local_84 - uVar7" identifier < (binary_expression "local_84 - uVar7" identifier - identifier)) )))) , (binary_expression "local_84 - uVar7" identifier - identifier) , identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar7 = uVar7 - iVar2;" (assignment_expression "uVar7 = uVar7 - iVar2" identifier = (binary_expression "uVar7 - iVar2" identifier - identifier)) ;) (expression_statement "iVar8 = iVar8 + iVar2;" (assignment_expression "iVar8 = iVar8 + iVar2" identifier = (binary_expression "iVar8 + iVar2" identifier + identifier)) ;) })) (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x469c" identifier + number_literal)) ;) (goto_statement "goto LAB_0021949c;" goto statement_identifier ;) })) }))) (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4718" identifier + number_literal)) ;) }) (else_clause "else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }" else (compound_statement "{\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }" { (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x46d0" identifier + number_literal)) ;) }))) (labeled_statement "LAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);" statement_identifier : (expression_statement "uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);" (assignment_expression "uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(puVar6)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6)" ( identifier )))) ;)) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_004c5d20)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_004c5d20)()" (parenthesized_expression "(*(code *)PTR___errno_location_004c5d20)" ( (pointer_expression "*(code *)PTR___errno_location_004c5d20" * (cast_expression "(code *)PTR___errno_location_004c5d20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_004c5d00)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_004c5d00)" ( (pointer_expression "*(code *)PTR_strerror_004c5d00" * (cast_expression "(code *)PTR_strerror_004c5d00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);" (call_expression "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" ( (pointer_expression "*(code *)PTR_gold_info_004c1d08" * (cast_expression "(code *)PTR_gold_info_004c1d08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,pcVar9,uVar4)" ( identifier , identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT))) ))) )) (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 (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) )))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (call_expression IDENT (argument_list ( IDENT , IDENT ))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (binary_expression (parenthesized_expression ( (binary_expression IDENT - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (binary_expression IDENT - IDENT)) )))) , (binary_expression IDENT - IDENT) , IDENT , IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "uint __thiscall gold::Output_file::open_base_file(Output_file *this,char *param_1,bool param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  undefined3 in_register_00000018;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 in_stack_ffffff34;\n  undefined1 auStack_c0 [56];\n  int local_88;\n  uint local_84;\n  uint local_20;\n  \n  pcVar9 = *(char **)this;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }\n  iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);\n  if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }\nLAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n  uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n  (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);\n  return 0;\n}" (type_identifier "uint") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Output_file::" (identifier "gold") (: ":") (: ":") (identifier "Output_file") (: ":") (: ":")) (function_declarator "open_base_file(Output_file *this,char *param_1,bool param_2)" (identifier "open_base_file") (parameter_list "(Output_file *this,char *param_1,bool param_2)" (( "(") (parameter_declaration "Output_file *this" (type_identifier "Output_file") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "bool param_2" (primitive_type "bool") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  undefined3 in_register_00000018;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 in_stack_ffffff34;\n  undefined1 auStack_c0 [56];\n  int local_88;\n  uint local_84;\n  uint local_20;\n  \n  pcVar9 = *(char **)this;\n  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }\n  iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);\n  if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }\nLAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n  uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n  (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined3 in_register_00000018;" (type_identifier "undefined3") (identifier "in_register_00000018") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "undefined4 uVar11;" (type_identifier "undefined4") (identifier "uVar11") (; ";")) (declaration "undefined4 in_stack_ffffff34;" (type_identifier "undefined4") (identifier "in_stack_ffffff34") (; ";")) (declaration "undefined1 auStack_c0 [56];" (type_identifier "undefined1") (array_declarator "auStack_c0 [56]" (identifier "auStack_c0") ([ "[") (number_literal "56") (] "]")) (; ";")) (declaration "int local_88;" (primitive_type "int") (identifier "local_88") (; ";")) (declaration "uint local_84;" (type_identifier "uint") (identifier "local_84") (; ";")) (declaration "uint local_20;" (type_identifier "uint") (identifier "local_20") (; ";")) (expression_statement "pcVar9 = *(char **)this;" (assignment_expression "pcVar9 = *(char **)this" (identifier "pcVar9") (= "=") (pointer_expression "*(char **)this" (* "*") (cast_expression "(char **)this" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "this")))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18)" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" (( "(") (pointer_expression "*(code *)PTR_strcmp_004c5a68" (* "*") (cast_expression "(code *)PTR_strcmp_004c5a68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_004c5a68"))) () ")")) (argument_list "(pcVar9,PTR_s__s_004c1a50 + 0x4b18)" (( "(") (identifier "pcVar9") (, ",") (binary_expression "PTR_s__s_004c1a50 + 0x4b18" (identifier "PTR_s__s_004c1a50") (+ "+") (number_literal "0x4b18")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }" (if "if") (parenthesized_expression "((param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0))" (( "(") (binary_expression "(param_1 != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)" (parenthesized_expression "(param_1 != (char *)0x0)" (( "(") (binary_expression "param_1 != (char *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)" (( "(") (comma_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" (( "(") (pointer_expression "*(code *)PTR_strcmp_004c5a68" (* "*") (cast_expression "(code *)PTR_strcmp_004c5a68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_004c5a68"))) () ")")) (argument_list "(param_1,pcVar9)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar9") () ")")))) (, ",") (comma_expression "pcVar9 = param_1, iVar1 == 0" (assignment_expression "pcVar9 = param_1" (identifier "pcVar9") (= "=") (identifier "param_1")) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n    puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);\n    puVar6 = PTR_gold_fatal_004c2020;\n    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);\n    uVar7 = (uint)*(byte *)(puVar3 + 5);\n    if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }\n    puVar3[4] = 0;\n    return uVar7;\n  }" ({ "{") (expression_statement "puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);" (assignment_expression "puVar3 = (undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)\n             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" (( "(") (pointer_expression "*(code *)PTR_gettext_004c5c30" (* "*") (cast_expression "(code *)PTR_gettext_004c5c30" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_004c5c30"))) () ")")) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x4708)" (( "(") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4708" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x4708")) () ")"))))) (; ";")) (expression_statement "puVar6 = PTR_gold_fatal_004c2020;" (assignment_expression "puVar6 = PTR_gold_fatal_004c2020" (identifier "puVar6") (= "=") (identifier "PTR_gold_fatal_004c2020")) (; ";")) (expression_statement "(*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);" (call_expression "(*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1)" (parenthesized_expression "(*(code *)PTR_gold_fatal_004c2020)" (( "(") (pointer_expression "*(code *)PTR_gold_fatal_004c2020" (* "*") (cast_expression "(code *)PTR_gold_fatal_004c2020" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gold_fatal_004c2020"))) () ")")) (argument_list "(puVar3,param_1)" (( "(") (identifier "puVar3") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "uVar7 = (uint)*(byte *)(puVar3 + 5);" (assignment_expression "uVar7 = (uint)*(byte *)(puVar3 + 5)" (identifier "uVar7") (= "=") (binary_expression "(uint)*(byte *)(puVar3 + 5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(puVar3 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 5)" (( "(") (binary_expression "puVar3 + 5" (identifier "puVar3") (+ "+") (number_literal "5")) () ")"))))) (; ";")) (if_statement "if ((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }" (if "if") (parenthesized_expression "((uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0))" (( "(") (binary_expression "(uVar7 == 0) &&\n       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)" (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)" (( "(") (comma_expression "uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0" (assignment_expression "uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3])" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3])" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac440))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x2ac440)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x2ac440)" (* "*") (cast_expression "(code **)(puVar6 + 0x2ac440)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x2ac440)" (( "(") (binary_expression "puVar6 + 0x2ac440" (identifier "puVar6") (+ "+") (number_literal "0x2ac440")) () ")"))))) () ")")) (argument_list "(puVar3[4],puVar3[3])" (( "(") (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) () ")")))) (, ",") (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);\n      uVar10 = *puVar3;\n      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();\n      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);\n      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);\n    }" ({ "{") (expression_statement "uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);" (assignment_expression "uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654)" (identifier "uVar11") (= "=") (call_expression "(**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654)" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac5c4))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x2ac5c4)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x2ac5c4)" (* "*") (cast_expression "(code **)(puVar6 + 0x2ac5c4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x2ac5c4)" (( "(") (binary_expression "puVar6 + 0x2ac5c4" (identifier "puVar6") (+ "+") (number_literal "0x2ac5c4")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar6 + 0x2a82b0) + -0x4654)" (( "(") (binary_expression "*(int *)(puVar6 + 0x2a82b0) + -0x4654" (pointer_expression "*(int *)(puVar6 + 0x2a82b0)" (* "*") (cast_expression "(int *)(puVar6 + 0x2a82b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x2a82b0)" (( "(") (binary_expression "puVar6 + 0x2a82b0" (identifier "puVar6") (+ "+") (number_literal "0x2a82b0")) () ")")))) (+ "+") (number_literal "-0x4654")) () ")")))) (; ";")) (expression_statement "uVar10 = *puVar3;" (assignment_expression "uVar10 = *puVar3" (identifier "uVar10") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();" (assignment_expression "puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))()" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar6 + 0x2ac6b4))()" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac6b4))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x2ac6b4)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x2ac6b4)" (* "*") (cast_expression "(code **)(puVar6 + 0x2ac6b4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x2ac6b4)" (( "(") (binary_expression "puVar6 + 0x2ac6b4" (identifier "puVar6") (+ "+") (number_literal "0x2ac6b4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);" (assignment_expression "uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(puVar6 + 0x2ac694))(*puVar5)" (parenthesized_expression "(**(code **)(puVar6 + 0x2ac694))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x2ac694)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x2ac694)" (* "*") (cast_expression "(code **)(puVar6 + 0x2ac694)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x2ac694)" (( "(") (binary_expression "puVar6 + 0x2ac694" (identifier "puVar6") (+ "+") (number_literal "0x2ac694")) () ")"))))) () ")")) (argument_list "(*puVar5)" (( "(") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) () ")")))) (; ";")) (expression_statement "uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);" (assignment_expression "uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4)" (parenthesized_expression "(**(code **)(puVar6 + 0x2a83c0))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x2a83c0)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x2a83c0)" (* "*") (cast_expression "(code **)(puVar6 + 0x2a83c0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x2a83c0)" (( "(") (binary_expression "puVar6 + 0x2a83c0" (identifier "puVar6") (+ "+") (number_literal "0x2a83c0")) () ")"))))) () ")")) (argument_list "(uVar11,uVar10,uVar4)" (( "(") (identifier "uVar11") (, ",") (identifier "uVar10") (, ",") (identifier "uVar4") () ")")))) (; ";")) (} "}"))) (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return uVar7;" (return "return") (identifier "uVar7") (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);" (assignment_expression "iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0)" (parenthesized_expression "(*(code *)PTR___xstat64_004c5cc8)" (( "(") (pointer_expression "*(code *)PTR___xstat64_004c5cc8" (* "*") (cast_expression "(code *)PTR___xstat64_004c5cc8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___xstat64_004c5cc8"))) () ")")) (argument_list "(3,pcVar9,auStack_c0)" (( "(") (number_literal "3") (, ",") (identifier "pcVar9") (, ",") (identifier "auStack_c0") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }\n  else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }\n    if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;\n  }" ({ "{") (if_statement "if (local_88 == 0 && local_84 == 0) {\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }" (if "if") (parenthesized_expression "(local_88 == 0 && local_84 == 0)" (( "(") (binary_expression "local_88 == 0 && local_84 == 0" (binary_expression "local_88 == 0" (identifier "local_88") (== "==") (number_literal "0")) (&& "&&") (binary_expression "local_84 == 0" (identifier "local_84") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);\n      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);\n      return 0;\n    }" ({ "{") (expression_statement "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);" (assignment_expression "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0)" (identifier "uVar11") (= "=") (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" (( "(") (pointer_expression "*(code *)PTR_gettext_004c5c30" (* "*") (cast_expression "(code *)PTR_gettext_004c5c30" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_004c5c30"))) () ")")) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x46c0)" (( "(") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x46c0" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x46c0")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);" (call_expression "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" (( "(") (pointer_expression "*(code *)PTR_gold_info_004c1d08" (* "*") (cast_expression "(code *)PTR_gold_info_004c1d08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gold_info_004c1d08"))) () ")")) (argument_list "(uVar11,pcVar9)" (( "(") (identifier "uVar11") (, ",") (identifier "pcVar9") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (param_1 == (char *)0x0) {\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }\n    else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar11 = 2;\n      if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);\n      if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }\n    }" ({ "{") (expression_statement "uVar11 = 2;" (assignment_expression "uVar11 = 2" (identifier "uVar11") (= "=") (number_literal "2")) (; ";")) (if_statement "if (CONCAT31(in_register_00000018,param_2) == 0) {\n        uVar11 = 0;\n      }" (if "if") (parenthesized_expression "(CONCAT31(in_register_00000018,param_2) == 0)" (( "(") (binary_expression "CONCAT31(in_register_00000018,param_2) == 0" (call_expression "CONCAT31(in_register_00000018,param_2)" (identifier "CONCAT31") (argument_list "(in_register_00000018,param_2)" (( "(") (identifier "in_register_00000018") (, ",") (identifier "param_2") () ")"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar11 = 0;\n      }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);" (assignment_expression "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0)" (parenthesized_expression "(*(code *)PTR_open_004c2010)" (( "(") (pointer_expression "*(code *)PTR_open_004c2010" (* "*") (cast_expression "(code *)PTR_open_004c2010" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_open_004c2010"))) () ")")) (argument_list "(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0)" (( "(") (identifier "PTR_descriptors_004c2014") (, ",") (number_literal "0xffffffff") (, ",") (identifier "pcVar9") (, ",") (identifier "uVar11") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (-1 < iVar1) {\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        *(int *)(this + 4) = iVar1;\n        *(uint *)(this + 0xc) = local_84;\n        *(int *)(this + 8) = local_88;\n        local_20 = map_no_anonymous(this,param_2);\n        if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }\n        return local_20;\n      }" ({ "{") (expression_statement "*(int *)(this + 4) = iVar1;" (assignment_expression "*(int *)(this + 4) = iVar1" (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(uint *)(this + 0xc) = local_84;" (assignment_expression "*(uint *)(this + 0xc) = local_84" (pointer_expression "*(uint *)(this + 0xc)" (* "*") (cast_expression "(uint *)(this + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0xc)" (( "(") (binary_expression "this + 0xc" (identifier "this") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "local_84")) (; ";")) (expression_statement "*(int *)(this + 8) = local_88;" (assignment_expression "*(int *)(this + 8) = local_88" (pointer_expression "*(int *)(this + 8)" (* "*") (cast_expression "(int *)(this + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "local_88")) (; ";")) (expression_statement "local_20 = map_no_anonymous(this,param_2);" (assignment_expression "local_20 = map_no_anonymous(this,param_2)" (identifier "local_20") (= "=") (call_expression "map_no_anonymous(this,param_2)" (identifier "map_no_anonymous") (argument_list "(this,param_2)" (( "(") (identifier "this") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (local_20 == 0) {\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }" (if "if") (parenthesized_expression "(local_20 == 0)" (( "(") (binary_expression "local_20 == 0" (identifier "local_20") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);\n          *(undefined4 *)(this + 0xc) = 0;\n          *(undefined4 *)(this + 8) = 0;\n          *(undefined4 *)(this + 4) = 0xffffffff;\n          return local_20;\n        }" ({ "{") (expression_statement "(*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);" (call_expression "(*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1)" (parenthesized_expression "(*(code *)PTR_release_004c204c)" (( "(") (pointer_expression "*(code *)PTR_release_004c204c" (* "*") (cast_expression "(code *)PTR_release_004c204c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_release_004c204c"))) () ")")) (argument_list "(PTR_descriptors_004c2014,iVar1,1)" (( "(") (identifier "PTR_descriptors_004c2014") (, ",") (identifier "iVar1") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" (* "*") (cast_expression "(undefined4 *)(this + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0xc)" (( "(") (binary_expression "this + 0xc" (identifier "this") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(this + 8) = 0;" (assignment_expression "*(undefined4 *)(this + 8) = 0" (pointer_expression "*(undefined4 *)(this + 8)" (* "*") (cast_expression "(undefined4 *)(this + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(this + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(this + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(this + 4)" (* "*") (cast_expression "(undefined4 *)(this + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (return_statement "return local_20;" (return "return") (identifier "local_20") (; ";")) (} "}"))) (return_statement "return local_20;" (return "return") (identifier "local_20") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }" (else "else") (compound_statement "{\n      uVar11 = 0;\n      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);\n      if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }\n    }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);" (assignment_expression "iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0)" (parenthesized_expression "(*(code *)PTR_open_004c2010)" (( "(") (pointer_expression "*(code *)PTR_open_004c2010" (* "*") (cast_expression "(code *)PTR_open_004c2010" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_open_004c2010"))) () ")")) (argument_list "(PTR_descriptors_004c2014,0xffffffff,pcVar9,0)" (( "(") (identifier "PTR_descriptors_004c2014") (, ",") (number_literal "0xffffffff") (, ",") (identifier "pcVar9") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (-1 < iVar1) {\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        open(CONCAT44(uVar11,in_stack_ffffff34));\n        iVar8 = *(int *)(this + 0x10);\n        uVar7 = local_84;\n        while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }\n        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;\n        goto LAB_0021949c;\n      }" ({ "{") (expression_statement "open(CONCAT44(uVar11,in_stack_ffffff34));" (call_expression "open(CONCAT44(uVar11,in_stack_ffffff34))" (identifier "open") (argument_list "(CONCAT44(uVar11,in_stack_ffffff34))" (( "(") (call_expression "CONCAT44(uVar11,in_stack_ffffff34)" (identifier "CONCAT44") (argument_list "(uVar11,in_stack_ffffff34)" (( "(") (identifier "uVar11") (, ",") (identifier "in_stack_ffffff34") () ")"))) () ")"))) (; ";")) (expression_statement "iVar8 = *(int *)(this + 0x10);" (assignment_expression "iVar8 = *(int *)(this + 0x10)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(this + 0x10)" (* "*") (cast_expression "(int *)(this + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x10)" (( "(") (binary_expression "this + 0x10" (identifier "this") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar7 = local_84;" (assignment_expression "uVar7 = local_84" (identifier "uVar7") (= "=") (identifier "local_84")) (; ";")) (while_statement "while( true ) {\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }\n          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);\n          if (iVar2 < 0) break;\n          if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }\n          uVar7 = uVar7 - iVar2;\n          iVar8 = iVar8 + iVar2;\n        }" ({ "{") (if_statement "if ((int)uVar7 < 1) {\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }" (if "if") (parenthesized_expression "((int)uVar7 < 1)" (( "(") (binary_expression "(int)uVar7 < 1" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n            (*(code *)PTR_close_004c5b54)(iVar1);\n            return 1;\n          }" ({ "{") (expression_statement "(*(code *)PTR_close_004c5b54)(iVar1);" (call_expression "(*(code *)PTR_close_004c5b54)(iVar1)" (parenthesized_expression "(*(code *)PTR_close_004c5b54)" (( "(") (pointer_expression "*(code *)PTR_close_004c5b54" (* "*") (cast_expression "(code *)PTR_close_004c5b54" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_004c5b54"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);" (assignment_expression "iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7)" (parenthesized_expression "(*(code *)PTR_read_004c5c38)" (( "(") (pointer_expression "*(code *)PTR_read_004c5c38" (* "*") (cast_expression "(code *)PTR_read_004c5c38" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_read_004c5c38"))) () ")")) (argument_list "(iVar1,iVar8,uVar7)" (( "(") (identifier "iVar1") (, ",") (identifier "iVar8") (, ",") (identifier "uVar7") () ")")))) (; ";")) (if_statement "if (iVar2 < 0) break;" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (iVar2 == 0) {\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);\n            (*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);\n            return 0;\n          }" ({ "{") (expression_statement "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);" (assignment_expression "uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688)" (identifier "uVar11") (= "=") (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" (( "(") (pointer_expression "*(code *)PTR_gettext_004c5c30" (* "*") (cast_expression "(code *)PTR_gettext_004c5c30" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_004c5c30"))) () ")")) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x4688)" (( "(") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4688" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x4688")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84);" (call_expression "(*(code *)PTR_gold_info_004c1d08)\n                      (uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" (( "(") (pointer_expression "*(code *)PTR_gold_info_004c1d08" (* "*") (cast_expression "(code *)PTR_gold_info_004c1d08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gold_info_004c1d08"))) () ")")) (argument_list "(uVar11,pcVar9,\n                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),\n                       local_84 - uVar7,local_88,local_84)" (( "(") (identifier "uVar11") (, ",") (identifier "pcVar9") (, ",") (binary_expression "(local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7)" (parenthesized_expression "(local_88 - ((int)uVar7 >> 0x1f))" (( "(") (binary_expression "local_88 - ((int)uVar7 >> 0x1f)" (identifier "local_88") (- "-") (parenthesized_expression "((int)uVar7 >> 0x1f)" (( "(") (binary_expression "(int)uVar7 >> 0x1f" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (>> ">>") (number_literal "0x1f")) () ")"))) () ")")) (- "-") (call_expression "(uint)(local_84 < local_84 - uVar7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_84 < local_84 - uVar7)" (( "(") (binary_expression "local_84 < local_84 - uVar7" (identifier "local_84") (< "<") (binary_expression "local_84 - uVar7" (identifier "local_84") (- "-") (identifier "uVar7"))) () ")")))) (, ",") (binary_expression "local_84 - uVar7" (identifier "local_84") (- "-") (identifier "uVar7")) (, ",") (identifier "local_88") (, ",") (identifier "local_84") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar7 = uVar7 - iVar2;" (assignment_expression "uVar7 = uVar7 - iVar2" (identifier "uVar7") (= "=") (binary_expression "uVar7 - iVar2" (identifier "uVar7") (- "-") (identifier "iVar2"))) (; ";")) (expression_statement "iVar8 = iVar8 + iVar2;" (assignment_expression "iVar8 = iVar8 + iVar2" (identifier "iVar8") (= "=") (binary_expression "iVar8 + iVar2" (identifier "iVar8") (+ "+") (identifier "iVar2"))) (; ";")) (} "}"))) (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c" (identifier "puVar6") (= "=") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x469c" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x469c"))) (; ";")) (goto_statement "goto LAB_0021949c;" (goto "goto") (statement_identifier "LAB_0021949c") (; ";")) (} "}"))) (} "}")))) (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718" (identifier "puVar6") (= "=") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4718" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x4718"))) (; ";")) (} "}")) (else_clause "else {\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }" (else "else") (compound_statement "{\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;\n  }" ({ "{") (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0" (identifier "puVar6") (= "=") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x46d0" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x46d0"))) (; ";")) (} "}")))) (labeled_statement "LAB_0021949c:\n  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);" (statement_identifier "LAB_0021949c") (: ":") (expression_statement "uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);" (assignment_expression "uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6)" (identifier "uVar11") (= "=") (call_expression "(*(code *)PTR_gettext_004c5c30)(puVar6)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" (( "(") (pointer_expression "*(code *)PTR_gettext_004c5c30" (* "*") (cast_expression "(code *)PTR_gettext_004c5c30" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_004c5c30"))) () ")")) (argument_list "(puVar6)" (( "(") (identifier "puVar6") () ")")))) (; ";"))) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_004c5d20)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_004c5d20)()" (parenthesized_expression "(*(code *)PTR___errno_location_004c5d20)" (( "(") (pointer_expression "*(code *)PTR___errno_location_004c5d20" (* "*") (cast_expression "(code *)PTR___errno_location_004c5d20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_004c5d20"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_strerror_004c5d00)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_004c5d00)" (( "(") (pointer_expression "*(code *)PTR_strerror_004c5d00" (* "*") (cast_expression "(code *)PTR_strerror_004c5d00" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strerror_004c5d00"))) () ")")) (argument_list "(*puVar3)" (( "(") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);" (call_expression "(*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4)" (parenthesized_expression "(*(code *)PTR_gold_info_004c1d08)" (( "(") (pointer_expression "*(code *)PTR_gold_info_004c1d08" (* "*") (cast_expression "(code *)PTR_gold_info_004c1d08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gold_info_004c1d08"))) () ")")) (argument_list "(uVar11,pcVar9,uVar4)" (( "(") (identifier "uVar11") (, ",") (identifier "pcVar9") (, ",") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* DWARF original prototype: bool open_base_file(Output_file * this, char * base_name, bool
   writable) */

bool __thiscall gold::type_1::function_1(type_1 *this,char *var_3,bool writable)

{
  type_2 extraout_var;
  int var_2;
  type_3 uVar2;
  type_3 *var_5;
  type_3 uVar4;
  bool bVar7;
  int var_10;
  type_3 *puVar6;
  type_4 uVar8;
  type_5 *var_7;
  char *__file;
  type_2 in_register_00000018;
  type_6 var_6;
  type_7 *var_12;
  char *pcVar12;
  type_3 uVar13;
  type_8 s;
  
  pcVar12 = this->name_;
  var_2 = (*(type_9 *)PTR_strcmp_004c5a68)(pcVar12,var_1 + 0x4b18);
  if (var_2 != 0) {
    if ((var_3 != (char *)0x0) &&
       (var_2 = (*(type_9 *)PTR_strcmp_004c5a68)(var_3,pcVar12), pcVar12 = var_3, var_2 == 0))
    {
      var_5 = (type_3 *)
               (*(type_9 *)PTR_gettext_004c5c30)(var_4 + -0x4708);
      var_7 = PTR_gold_fatal_004c2020;
      (*(type_9 *)PTR_gold_fatal_004c2020)(var_5,var_3);
      var_6 = (type_6)*(type_10 *)(var_5 + 5);
      if ((var_6 == 0) &&
         (var_6 = (**(type_9 **)(var_7 + 0x2ac440))(var_5[4],var_5[3]), (int)var_6 < 0)) {
        uVar2 = (**(type_9 **)(var_7 + 0x2ac5c4))(*(int *)(var_7 + 0x2a82b0) + -0x4654);
        uVar13 = *var_5;
        puVar6 = (type_3 *)(**(type_9 **)(var_7 + 0x2ac6b4))();
        uVar4 = (**(type_9 **)(var_7 + 0x2ac694))(*puVar6);
        uVar8 = (**(type_9 **)(var_7 + 0x2a83c0))(uVar2,uVar13,uVar4);
      }
      else {
        uVar8 = (type_4)var_6;
      }
      var_5[4] = 0;
      return (bool)uVar8;
    }
    var_2 = (*(type_9 *)PTR___xstat64_004c5cc8)(3,pcVar12,&s);
    if (var_2 == 0) {
      if (s.st_size._0_4_ == 0 && s.st_size._4_4_ == 0) {
        uVar2 = (*(type_9 *)PTR_gettext_004c5c30)(var_4 + -0x46c0);
        (*(type_9 *)PTR_gold_info_004c1d08)(uVar2,pcVar12);
        return false;
      }
      if (var_3 == (char *)0x0) {
        uVar2 = 2;
        if (var_8(in_register_00000018,writable) == 0) {
          uVar2 = 0;
        }
        var_2 = (*(type_9 *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,uVar2,0);
        if (-1 < var_2) {
          this->o_ = var_2;
          *(type_6 *)((int)&this->file_size_ + 4) = s.st_size._4_4_;
          *(int *)&this->file_size_ = s.st_size._0_4_;
          bVar7 = var_9(this,writable);
          var_10 = var_8(extraout_var,bVar7);
          if (var_10 == 0) {
            (*(type_9 *)PTR_release_004c204c)(PTR_descriptors_004c2014,var_2,1);
            *(type_3 *)((int)&this->file_size_ + 4) = 0;
            *(type_3 *)&this->file_size_ = 0;
            this->o_ = -1;
          }
          goto LAB_002194e0;
        }
      }
      else {
        __file = (char *)0xffffffff;
        var_2 = (*(type_9 *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar12,0,0);
        if (-1 < var_2) {
          var_11(this,__file,s.st_size._0_4_,s.st_size._4_4_);
          var_12 = this->base_;
          for (var_6 = s.st_size._4_4_; 0 < (int)var_6; var_6 = var_6 - var_10) {
            var_10 = (*(type_9 *)PTR_read_004c5c38)(var_2,var_12,var_6);
            if (var_10 < 0) {
              var_7 = var_4 + -0x469c;
              goto LAB_0021949c;
            }
            if (var_10 == 0) {
              uVar2 = (*(type_9 *)PTR_gettext_004c5c30)(var_4 + -0x4688);
              (*(type_9 *)PTR_gold_info_004c1d08)
                        (uVar2,pcVar12,
                         (s.st_size._0_4_ - ((int)var_6 >> 0x1f)) -
                         (type_6)(s.st_size._4_4_ < s.st_size._4_4_ - var_6),s.st_size._4_4_ - var_6
                         ,s.st_size._0_4_,s.st_size._4_4_);
              var_10 = 0;
              goto LAB_002194e0;
            }
            var_12 = var_12 + var_10;
          }
          (*(type_9 *)PTR_close_004c5b54)(var_2);
          var_10 = 1;
          goto LAB_002194e0;
        }
      }
      var_7 = var_4 + -0x4718;
    }
    else {
      var_7 = var_4 + -0x46d0;
    }
LAB_0021949c:
    uVar2 = (*(type_9 *)PTR_gettext_004c5c30)(var_7);
    var_5 = (type_3 *)(*(type_9 *)PTR___errno_location_004c5d20)();
    uVar4 = (*(type_9 *)PTR_strerror_004c5d00)(*var_5);
    (*(type_9 *)PTR_gold_info_004c1d08)(uVar2,pcVar12,uVar4);
  }
  var_10 = 0;
LAB_002194e0:
  return var_13(var_10,0);
}


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

/* gold::Output_file::MASKED(char const*, bool) */

uint __thiscall gold::Output_file::MASKED(Output_file *this,char *param_1,bool param_2)

{
  int iVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  undefined *puVar6;
  undefined3 in_register_00000018;
  uint uVar7;
  int iVar8;
  char *pcVar9;
  undefined4 uVar10;
  undefined4 uVar11;
  undefined4 in_stack_ffffff34;
  undefined1 auStack_c0 [56];
  int local_88;
  uint local_84;
  uint local_20;
  
  pcVar9 = *(char **)this;
  iVar1 = (*(code *)PTR_strcmp_004c5a68)(pcVar9,PTR_s__s_004c1a50 + 0x4b18);
  if (iVar1 == 0) {
    return 0;
  }
  if ((param_1 != (char *)0x0) &&
     (iVar1 = (*(code *)PTR_strcmp_004c5a68)(param_1,pcVar9), pcVar9 = param_1, iVar1 == 0)) {
    puVar3 = (undefined4 *)
             (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4708);
    puVar6 = PTR_gold_fatal_004c2020;
    (*(code *)PTR_gold_fatal_004c2020)(puVar3,param_1);
    uVar7 = (uint)*(byte *)(puVar3 + 5);
    if ((uVar7 == 0) &&
       (uVar7 = (**(code **)(puVar6 + 0x2ac440))(puVar3[4],puVar3[3]), (int)uVar7 < 0)) {
      uVar11 = (**(code **)(puVar6 + 0x2ac5c4))(*(int *)(puVar6 + 0x2a82b0) + -0x4654);
      uVar10 = *puVar3;
      puVar5 = (undefined4 *)(**(code **)(puVar6 + 0x2ac6b4))();
      uVar4 = (**(code **)(puVar6 + 0x2ac694))(*puVar5);
      uVar7 = (**(code **)(puVar6 + 0x2a83c0))(uVar11,uVar10,uVar4);
    }
    puVar3[4] = 0;
    return uVar7;
  }
  iVar1 = (*(code *)PTR___xstat64_004c5cc8)(3,pcVar9,auStack_c0);
  if (iVar1 == 0) {
    if (local_88 == 0 && local_84 == 0) {
      uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x46c0);
      (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9);
      return 0;
    }
    if (param_1 == (char *)0x0) {
      uVar11 = 2;
      if (CONCAT31(in_register_00000018,param_2) == 0) {
        uVar11 = 0;
      }
      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,uVar11,0);
      if (-1 < iVar1) {
        *(int *)(this + 4) = iVar1;
        *(uint *)(this + 0xc) = local_84;
        *(int *)(this + 8) = local_88;
        local_20 = map_no_anonymous(this,param_2);
        if (local_20 == 0) {
          (*(code *)PTR_release_004c204c)(PTR_descriptors_004c2014,iVar1,1);
          *(undefined4 *)(this + 0xc) = 0;
          *(undefined4 *)(this + 8) = 0;
          *(undefined4 *)(this + 4) = 0xffffffff;
          return local_20;
        }
        return local_20;
      }
    }
    else {
      uVar11 = 0;
      iVar1 = (*(code *)PTR_open_004c2010)(PTR_descriptors_004c2014,0xffffffff,pcVar9,0);
      if (-1 < iVar1) {
        open(CONCAT44(uVar11,in_stack_ffffff34));
        iVar8 = *(int *)(this + 0x10);
        uVar7 = local_84;
        while( true ) {
          if ((int)uVar7 < 1) {
            (*(code *)PTR_close_004c5b54)(iVar1);
            return 1;
          }
          iVar2 = (*(code *)PTR_read_004c5c38)(iVar1,iVar8,uVar7);
          if (iVar2 < 0) break;
          if (iVar2 == 0) {
            uVar11 = (*(code *)PTR_gettext_004c5c30)(PTR_s_in_a_linker_script_004c191c + -0x4688);
            (*(code *)PTR_gold_info_004c1d08)
                      (uVar11,pcVar9,
                       (local_88 - ((int)uVar7 >> 0x1f)) - (uint)(local_84 < local_84 - uVar7),
                       local_84 - uVar7,local_88,local_84);
            return 0;
          }
          uVar7 = uVar7 - iVar2;
          iVar8 = iVar8 + iVar2;
        }
        puVar6 = PTR_s_in_a_linker_script_004c191c + -0x469c;
        goto LAB_0021949c;
      }
    }
    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4718;
  }
  else {
    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x46d0;
  }
LAB_0021949c:
  uVar11 = (*(code *)PTR_gettext_004c5c30)(puVar6);
  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();
  uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);
  (*(code *)PTR_gold_info_004c1d08)(uVar11,pcVar9,uVar4);
  return 0;
}

