
/* DWARF original prototype: void resize(Output_file * this, off_t file_size) */

void __thiscall gold::Output_file::resize(Output_file *this,off_t file_size)

{
  undefined3 extraout_var;
  uchar *puVar1;
  bool bVar6;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  int iVar5;
  Output_file *this_00;
  uint uVar7;
  undefined *puVar8;
  int in_a2;
  uint in_a3;
  int iVar9;
  int iVar10;
  char *pcVar11;
  int iVar12;
  int iVar13;
  
  if (this->map_is_anonymous_ == false) {
    unmap(this);
    *(int *)&this->file_size_ = in_a2;
    *(uint *)((int)&this->file_size_ + 4) = in_a3;
    bVar6 = map_no_anonymous(this,true);
    if (CONCAT31(extraout_var,bVar6) != 0) {
      return;
    }
    puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4634;
    goto LAB_00219848;
  }
  this_00 = (Output_file *)this->base_;
  if (this->map_is_allocated_ == false) {
    puVar1 = (uchar *)(*(code *)PTR_mremap_004c5c84)(this_00,(int)this->file_size_,in_a3,1);
    if (puVar1 == (uchar *)0xffffffff) {
      do {
        puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;
LAB_00219848:
        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);
        this = (Output_file *)this->name_;
        puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();
        uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);
        (*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4);
      } while( true );
    }
  }
  else {
    puVar1 = (uchar *)(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3);
    if (puVar1 == (uchar *)0x0) {
      puVar8 = PTR_gold_nomem_004c2078;
      (*(code *)PTR_gold_nomem_004c2078)();
      if (((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&
         (iVar9 = (int)this_00->file_size_, iVar9 != 0)) {
        iVar13 = *(int *)(puVar8 + 0x2a8074);
        iVar10 = 0;
        iVar12 = *(int *)(puVar8 + 0x2a8074);
        do {
          while( true ) {
            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))
                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {
              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);
              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);
            }
            if (-1 < iVar5) break;
            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);
            pcVar11 = this_00->name_;
            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();
            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);
            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);
          }
          iVar9 = iVar9 - iVar5;
          iVar10 = iVar10 + iVar5;
        } while (iVar9 != 0);
      }
      unmap(this_00);
      if (((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&
         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)) {
        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);
        pcVar11 = this_00->name_;
        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();
        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);
        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);
      }
      this_00->o_ = -1;
      return;
    }
    uVar7 = (uint)this->file_size_;
    if ((*(int *)&this->file_size_ < in_a2) ||
       ((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)))) {
      (*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7);
      this->base_ = puVar1;
      goto LAB_00219794;
    }
  }
  this->base_ = puVar1;
LAB_00219794:
  *(int *)&this->file_size_ = in_a2;
  *(uint *)((int)&this->file_size_ + 4) = in_a3;
  return;
}



/* gold::Output_file::resize(long long) */

void gold::Output_file::resize(longlong param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  Output_file *in_a0;
  uint uVar5;
  undefined *puVar6;
  int in_a2;
  uint in_a3;
  undefined4 uVar7;
  
  if (in_a0[0x14] == (Output_file)0x0) {
    unmap(in_a0);
    *(int *)(in_a0 + 8) = in_a2;
    *(uint *)(in_a0 + 0xc) = in_a3;
    iVar1 = map_no_anonymous(in_a0,true);
    if (iVar1 != 0) {
      return;
    }
    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;
LAB_00219848:
    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);
    uVar7 = *(undefined4 *)in_a0;
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();
    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);
    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);
    return;
  }
  if (in_a0[0x15] == (Output_file)0x0) {
    iVar1 = (*(code *)PTR_mremap_004c5c84)
                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);
    if (iVar1 == -1) {
      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;
      goto LAB_00219848;
    }
  }
  else {
    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);
    if (iVar1 == 0) {
      (*(code *)PTR_gold_nomem_004c2078)();
      return;
    }
    uVar5 = *(uint *)(in_a0 + 0xc);
    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {
      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);
      *(int *)(in_a0 + 0x10) = iVar1;
      goto LAB_00219794;
    }
  }
  *(int *)(in_a0 + 0x10) = iVar1;
LAB_00219794:
  *(int *)(in_a0 + 8) = in_a2;
  *(uint *)(in_a0 + 0xc) = in_a3;
  return;
}


lui gp,0x2b
addiu gp,gp,-0x4e4
addu gp,gp,t9
addiu sp,sp,-0x30
lbu v0,0x14(a0)
sw gp,0x10(sp)
sw s2,0x24(sp)
or s2,a2,zero
sw s1,0x20(sp)
or s1,a3,zero
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x2c(sp)
beq v0,zero,0x0021980c
_sw s3,0x28(sp)
lbu v0,0x15(a0)
bne v0,zero,0x002197b8
_lw a0,0x10(a0)
lw t9,-0x35bc(gp)
li a3,0x1
lw a1,0xc(s0)
jalr t9
_or a2,s1,zero
li v1,-0x1
lw gp,0x10(sp)
beq v0,v1,0x0021988c
_or s3,v0,zero
sw s3,0x10(s0)
sw s2,0x8(s0)
sw s1,0xc(s0)
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x3574(gp)
jalr t9
_or a1,a3,zero
lw gp,0x10(sp)
beq v0,zero,0x0021989c
_or s3,v0,zero
lw v0,0x8(s0)
slt v1,v0,s2
bne v1,zero,0x002197f0
_lw a0,0xc(s0)
bne s2,v0,0x00219790
_sltu v0,a0,s1
beq v0,zero,0x00219790
_nop
lw t9,-0x35d8(gp)
subu a2,s1,a0
or a1,zero,zero
jalr t9
_addu a0,s3,a0
b 0x00219794
_sw s3,0x10(s0)
lw t9,-0x52e8(gp)
bal 0x0021966c
_nop
li a1,0x1
lw gp,0x10(sp)
or a0,s0,zero
sw s2,0x8(s0)
lw t9,-0x52f0(gp)
bal 0x00218de0
_sw s1,0xc(s0)
bne v0,zero,0x0021979c
_lw gp,0x10(sp)
lw a0,-0x7924(gp)
lw t9,-0x3610(gp)
addiu a0,a0,-0x4634
jalr t9
_nop
lw gp,0x10(sp)
or s1,v0,zero
lw t9,-0x3520(gp)
jalr t9
_lw s0,0x0(s0)
lw gp,0x10(sp)
lw t9,-0x3540(gp)
jalr t9
_lw a0,0x0(v0)
or a1,s0,zero
lw gp,0x10(sp)
or a2,v0,zero
lw t9,-0x7220(gp)
jalr t9
_or a0,s1,zero
lw a0,-0x7924(gp)
lw t9,-0x3610(gp)
b 0x00219848
_addiu a0,a0,-0x4644
lw t9,-0x71c8(gp)
jalr t9
_nop
(translation_unit "/* gold::Output_file::resize(long long) */\n\nvoid gold::Output_file::resize(longlong param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  Output_file *in_a0;\n  uint uVar5;\n  undefined *puVar6;\n  int in_a2;\n  uint in_a3;\n  undefined4 uVar7;\n  \n  if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }\n  if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }\n  *(int *)(in_a0 + 0x10) = iVar1;\nLAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;\n  *(uint *)(in_a0 + 0xc) = in_a3;\n  return;\n}\n\n" comment (function_definition "void gold::Output_file::resize(longlong param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  Output_file *in_a0;\n  uint uVar5;\n  undefined *puVar6;\n  int in_a2;\n  uint in_a3;\n  undefined4 uVar7;\n  \n  if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }\n  if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }\n  *(int *)(in_a0 + 0x10) = iVar1;\nLAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;\n  *(uint *)(in_a0 + 0xc) = in_a3;\n  return;\n}" primitive_type (ERROR "gold::Output_file::" identifier : : identifier : :) (function_declarator "resize(longlong param_1)" identifier (parameter_list "(longlong param_1)" ( (parameter_declaration "longlong param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  Output_file *in_a0;\n  uint uVar5;\n  undefined *puVar6;\n  int in_a2;\n  uint in_a3;\n  undefined4 uVar7;\n  \n  if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }\n  if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }\n  *(int *)(in_a0 + 0x10) = iVar1;\nLAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;\n  *(uint *)(in_a0 + 0xc) = in_a3;\n  return;\n}" { (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 "Output_file *in_a0;" type_identifier (pointer_declarator "*in_a0" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int in_a2;" primitive_type identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (if_statement "if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }" if (parenthesized_expression "(in_a0[0x14] == (Output_file)0x0)" ( (binary_expression "in_a0[0x14] == (Output_file)0x0" (subscript_expression "in_a0[0x14]" identifier [ number_literal ]) == (cast_expression "(Output_file)0x0" ( (type_descriptor "Output_file" type_identifier) ) number_literal)) )) (compound_statement "{\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }" { (expression_statement "unmap(in_a0);" (call_expression "unmap(in_a0)" identifier (argument_list "(in_a0)" ( identifier ))) ;) (expression_statement "*(int *)(in_a0 + 8) = in_a2;" (assignment_expression "*(int *)(in_a0 + 8) = in_a2" (pointer_expression "*(int *)(in_a0 + 8)" * (cast_expression "(int *)(in_a0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 8)" ( (binary_expression "in_a0 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(in_a0 + 0xc) = in_a3;" (assignment_expression "*(uint *)(in_a0 + 0xc) = in_a3" (pointer_expression "*(uint *)(in_a0 + 0xc)" * (cast_expression "(uint *)(in_a0 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0xc)" ( (binary_expression "in_a0 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = map_no_anonymous(in_a0,true);" (assignment_expression "iVar1 = map_no_anonymous(in_a0,true)" identifier = (call_expression "map_no_anonymous(in_a0,true)" identifier (argument_list "(in_a0,true)" ( identifier , true )))) ;) (if_statement "if (iVar1 != 0) {\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4634" identifier + number_literal)) ;) (labeled_statement "LAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);" statement_identifier : (expression_statement "uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);" (assignment_expression "uVar2 = (*(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 "uVar7 = *(undefined4 *)in_a0;" (assignment_expression "uVar7 = *(undefined4 *)in_a0" identifier = (pointer_expression "*(undefined4 *)in_a0" * (cast_expression "(undefined4 *)in_a0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) 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_fatal_004c2020)(uVar2,uVar7,uVar4);" (call_expression "(*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4)" (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 "(uVar2,uVar7,uVar4)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }" if (parenthesized_expression "(in_a0[0x15] == (Output_file)0x0)" ( (binary_expression "in_a0[0x15] == (Output_file)0x0" (subscript_expression "in_a0[0x15]" identifier [ number_literal ]) == (cast_expression "(Output_file)0x0" ( (type_descriptor "Output_file" type_identifier) ) number_literal)) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);" (assignment_expression "iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1)" identifier = (call_expression "(*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1)" (parenthesized_expression "(*(code *)PTR_mremap_004c5c84)" ( (pointer_expression "*(code *)PTR_mremap_004c5c84" * (cast_expression "(code *)PTR_mremap_004c5c84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1)" ( (pointer_expression "*(undefined4 *)(in_a0 + 0x10)" * (cast_expression "(undefined4 *)(in_a0 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(in_a0 + 0xc)" * (cast_expression "(undefined4 *)(in_a0 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0xc)" ( (binary_expression "in_a0 + 0xc" identifier + number_literal) )))) , identifier , number_literal )))) ;) (if_statement "if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }" { (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4644" identifier + number_literal)) ;) (goto_statement "goto LAB_00219848;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);" (assignment_expression "iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3)" identifier = (call_expression "(*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3)" (parenthesized_expression "(*(code *)PTR_realloc_004c5ccc)" ( (pointer_expression "*(code *)PTR_realloc_004c5ccc" * (cast_expression "(code *)PTR_realloc_004c5ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(in_a0 + 0x10),in_a3)" ( (pointer_expression "*(undefined4 *)(in_a0 + 0x10)" * (cast_expression "(undefined4 *)(in_a0 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }" { (expression_statement "(*(code *)PTR_gold_nomem_004c2078)();" (call_expression "(*(code *)PTR_gold_nomem_004c2078)()" (parenthesized_expression "(*(code *)PTR_gold_nomem_004c2078)" ( (pointer_expression "*(code *)PTR_gold_nomem_004c2078" * (cast_expression "(code *)PTR_gold_nomem_004c2078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar5 = *(uint *)(in_a0 + 0xc);" (assignment_expression "uVar5 = *(uint *)(in_a0 + 0xc)" identifier = (pointer_expression "*(uint *)(in_a0 + 0xc)" * (cast_expression "(uint *)(in_a0 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0xc)" ( (binary_expression "in_a0 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }" if (parenthesized_expression "((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3))))" ( (binary_expression "(*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))" (parenthesized_expression "(*(int *)(in_a0 + 8) < in_a2)" ( (binary_expression "*(int *)(in_a0 + 8) < in_a2" (pointer_expression "*(int *)(in_a0 + 8)" * (cast_expression "(int *)(in_a0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 8)" ( (binary_expression "in_a0 + 8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))" ( (parenthesized_expression "(in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3))" ( (binary_expression "in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)" (binary_expression "in_a2 == *(int *)(in_a0 + 8)" identifier == (pointer_expression "*(int *)(in_a0 + 8)" * (cast_expression "(int *)(in_a0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 8)" ( (binary_expression "in_a0 + 8" identifier + number_literal) ))))) && (parenthesized_expression "(uVar5 < in_a3)" ( (binary_expression "uVar5 < in_a3" identifier < identifier) ))) )) ))) )) (compound_statement "{\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }" { (expression_statement "(*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);" (call_expression "(*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5)" (parenthesized_expression "(*(code *)PTR_memset_004c5c68)" ( (pointer_expression "*(code *)PTR_memset_004c5c68" * (cast_expression "(code *)PTR_memset_004c5c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + uVar5,0,in_a3 - uVar5)" ( (binary_expression "iVar1 + uVar5" identifier + identifier) , number_literal , (binary_expression "in_a3 - uVar5" identifier - identifier) ))) ;) (expression_statement "*(int *)(in_a0 + 0x10) = iVar1;" (assignment_expression "*(int *)(in_a0 + 0x10) = iVar1" (pointer_expression "*(int *)(in_a0 + 0x10)" * (cast_expression "(int *)(in_a0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_00219794;" goto statement_identifier ;) })) }))) (expression_statement "*(int *)(in_a0 + 0x10) = iVar1;" (assignment_expression "*(int *)(in_a0 + 0x10) = iVar1" (pointer_expression "*(int *)(in_a0 + 0x10)" * (cast_expression "(int *)(in_a0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;" statement_identifier : (expression_statement "*(int *)(in_a0 + 8) = in_a2;" (assignment_expression "*(int *)(in_a0 + 8) = in_a2" (pointer_expression "*(int *)(in_a0 + 8)" * (cast_expression "(int *)(in_a0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 8)" ( (binary_expression "in_a0 + 8" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(uint *)(in_a0 + 0xc) = in_a3;" (assignment_expression "*(uint *)(in_a0 + 0xc) = in_a3" (pointer_expression "*(uint *)(in_a0 + 0xc)" * (cast_expression "(uint *)(in_a0 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0xc)" ( (binary_expression "in_a0 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void resize(Output_file * this, off_t file_size) */\n\nvoid __thiscall gold::Output_file::resize(Output_file *this,off_t file_size)\n\n{\n  undefined3 extraout_var;\n  uchar *puVar1;\n  bool bVar6;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  Output_file *this_00;\n  uint uVar7;\n  undefined *puVar8;\n  int in_a2;\n  uint in_a3;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  int iVar12;\n  int iVar13;\n  \n  if (this->map_is_anonymous_ == false) {\n    unmap(this);\n    *(int *)&this->file_size_ = in_a2;\n    *(uint *)((int)&this->file_size_ + 4) = in_a3;\n    bVar6 = map_no_anonymous(this,true);\n    if (CONCAT31(extraout_var,bVar6) != 0) {\n      return;\n    }\n    puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4634;\n    goto LAB_00219848;\n  }\n  this_00 = (Output_file *)this->base_;\n  if (this->map_is_allocated_ == false) {\n    puVar1 = (uchar *)(*(code *)PTR_mremap_004c5c84)(this_00,(int)this->file_size_,in_a3,1);\n    if (puVar1 == (uchar *)0xffffffff) {\n      do {\n        puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;\nLAB_00219848:\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);\n        this = (Output_file *)this->name_;\n        puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n        uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n        (*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4);\n      } while( true );\n    }\n  }\n  else {\n    puVar1 = (uchar *)(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3);\n    if (puVar1 == (uchar *)0x0) {\n      puVar8 = PTR_gold_nomem_004c2078;\n      (*(code *)PTR_gold_nomem_004c2078)();\n      if (((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0)) {\n        iVar13 = *(int *)(puVar8 + 0x2a8074);\n        iVar10 = 0;\n        iVar12 = *(int *)(puVar8 + 0x2a8074);\n        do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);\n      }\n      unmap(this_00);\n      if (((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)) {\n        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);\n        pcVar11 = this_00->name_;\n        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n      }\n      this_00->o_ = -1;\n      return;\n    }\n    uVar7 = (uint)this->file_size_;\n    if ((*(int *)&this->file_size_ < in_a2) ||\n       ((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7);\n      this->base_ = puVar1;\n      goto LAB_00219794;\n    }\n  }\n  this->base_ = puVar1;\nLAB_00219794:\n  *(int *)&this->file_size_ = in_a2;\n  *(uint *)((int)&this->file_size_ + 4) = in_a3;\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Output_file::resize(Output_file *this,off_t file_size)\n\n{\n  undefined3 extraout_var;\n  uchar *puVar1;\n  bool bVar6;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  Output_file *this_00;\n  uint uVar7;\n  undefined *puVar8;\n  int in_a2;\n  uint in_a3;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  int iVar12;\n  int iVar13;\n  \n  if (this->map_is_anonymous_ == false) {\n    unmap(this);\n    *(int *)&this->file_size_ = in_a2;\n    *(uint *)((int)&this->file_size_ + 4) = in_a3;\n    bVar6 = map_no_anonymous(this,true);\n    if (CONCAT31(extraout_var,bVar6) != 0) {\n      return;\n    }\n    puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4634;\n    goto LAB_00219848;\n  }\n  this_00 = (Output_file *)this->base_;\n  if (this->map_is_allocated_ == false) {\n    puVar1 = (uchar *)(*(code *)PTR_mremap_004c5c84)(this_00,(int)this->file_size_,in_a3,1);\n    if (puVar1 == (uchar *)0xffffffff) {\n      do {\n        puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;\nLAB_00219848:\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);\n        this = (Output_file *)this->name_;\n        puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n        uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n        (*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4);\n      } while( true );\n    }\n  }\n  else {\n    puVar1 = (uchar *)(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3);\n    if (puVar1 == (uchar *)0x0) {\n      puVar8 = PTR_gold_nomem_004c2078;\n      (*(code *)PTR_gold_nomem_004c2078)();\n      if (((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0)) {\n        iVar13 = *(int *)(puVar8 + 0x2a8074);\n        iVar10 = 0;\n        iVar12 = *(int *)(puVar8 + 0x2a8074);\n        do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);\n      }\n      unmap(this_00);\n      if (((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)) {\n        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);\n        pcVar11 = this_00->name_;\n        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n      }\n      this_00->o_ = -1;\n      return;\n    }\n    uVar7 = (uint)this->file_size_;\n    if ((*(int *)&this->file_size_ < in_a2) ||\n       ((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7);\n      this->base_ = puVar1;\n      goto LAB_00219794;\n    }\n  }\n  this->base_ = puVar1;\nLAB_00219794:\n  *(int *)&this->file_size_ = in_a2;\n  *(uint *)((int)&this->file_size_ + 4) = in_a3;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_file::" identifier : : identifier : :) (function_declarator "resize(Output_file *this,off_t file_size)" identifier (parameter_list "(Output_file *this,off_t file_size)" ( (parameter_declaration "Output_file *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "off_t file_size" type_identifier identifier) ))) (compound_statement "{\n  undefined3 extraout_var;\n  uchar *puVar1;\n  bool bVar6;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  Output_file *this_00;\n  uint uVar7;\n  undefined *puVar8;\n  int in_a2;\n  uint in_a3;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  int iVar12;\n  int iVar13;\n  \n  if (this->map_is_anonymous_ == false) {\n    unmap(this);\n    *(int *)&this->file_size_ = in_a2;\n    *(uint *)((int)&this->file_size_ + 4) = in_a3;\n    bVar6 = map_no_anonymous(this,true);\n    if (CONCAT31(extraout_var,bVar6) != 0) {\n      return;\n    }\n    puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4634;\n    goto LAB_00219848;\n  }\n  this_00 = (Output_file *)this->base_;\n  if (this->map_is_allocated_ == false) {\n    puVar1 = (uchar *)(*(code *)PTR_mremap_004c5c84)(this_00,(int)this->file_size_,in_a3,1);\n    if (puVar1 == (uchar *)0xffffffff) {\n      do {\n        puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;\nLAB_00219848:\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);\n        this = (Output_file *)this->name_;\n        puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n        uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n        (*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4);\n      } while( true );\n    }\n  }\n  else {\n    puVar1 = (uchar *)(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3);\n    if (puVar1 == (uchar *)0x0) {\n      puVar8 = PTR_gold_nomem_004c2078;\n      (*(code *)PTR_gold_nomem_004c2078)();\n      if (((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0)) {\n        iVar13 = *(int *)(puVar8 + 0x2a8074);\n        iVar10 = 0;\n        iVar12 = *(int *)(puVar8 + 0x2a8074);\n        do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);\n      }\n      unmap(this_00);\n      if (((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)) {\n        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);\n        pcVar11 = this_00->name_;\n        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n      }\n      this_00->o_ = -1;\n      return;\n    }\n    uVar7 = (uint)this->file_size_;\n    if ((*(int *)&this->file_size_ < in_a2) ||\n       ((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7);\n      this->base_ = puVar1;\n      goto LAB_00219794;\n    }\n  }\n  this->base_ = puVar1;\nLAB_00219794:\n  *(int *)&this->file_size_ = in_a2;\n  *(uint *)((int)&this->file_size_ + 4) = in_a3;\n  return;\n}" { (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "uchar *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "bool bVar6;" 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 "int iVar5;" primitive_type identifier ;) (declaration "Output_file *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int in_a2;" primitive_type identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (if_statement "if (this->map_is_anonymous_ == false) {\n    unmap(this);\n    *(int *)&this->file_size_ = in_a2;\n    *(uint *)((int)&this->file_size_ + 4) = in_a3;\n    bVar6 = map_no_anonymous(this,true);\n    if (CONCAT31(extraout_var,bVar6) != 0) {\n      return;\n    }\n    puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4634;\n    goto LAB_00219848;\n  }" if (parenthesized_expression "(this->map_is_anonymous_ == false)" ( (binary_expression "this->map_is_anonymous_ == false" (field_expression "this->map_is_anonymous_" identifier -> field_identifier) == false) )) (compound_statement "{\n    unmap(this);\n    *(int *)&this->file_size_ = in_a2;\n    *(uint *)((int)&this->file_size_ + 4) = in_a3;\n    bVar6 = map_no_anonymous(this,true);\n    if (CONCAT31(extraout_var,bVar6) != 0) {\n      return;\n    }\n    puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4634;\n    goto LAB_00219848;\n  }" { (expression_statement "unmap(this);" (call_expression "unmap(this)" identifier (argument_list "(this)" ( identifier ))) ;) (expression_statement "*(int *)&this->file_size_ = in_a2;" (assignment_expression "*(int *)&this->file_size_ = in_a2" (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)))) = identifier) ;) (expression_statement "*(uint *)((int)&this->file_size_ + 4) = in_a3;" (assignment_expression "*(uint *)((int)&this->file_size_ + 4) = in_a3" (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) )))) = identifier) ;) (expression_statement "bVar6 = map_no_anonymous(this,true);" (assignment_expression "bVar6 = map_no_anonymous(this,true)" identifier = (call_expression "map_no_anonymous(this,true)" identifier (argument_list "(this,true)" ( identifier , true )))) ;) (if_statement "if (CONCAT31(extraout_var,bVar6) != 0) {\n      return;\n    }" if (parenthesized_expression "(CONCAT31(extraout_var,bVar6) != 0)" ( (binary_expression "CONCAT31(extraout_var,bVar6) != 0" (call_expression "CONCAT31(extraout_var,bVar6)" identifier (argument_list "(extraout_var,bVar6)" ( identifier , identifier ))) != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4634;" (assignment_expression "puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4634" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4634" identifier + number_literal)) ;) (goto_statement "goto LAB_00219848;" goto statement_identifier ;) })) (expression_statement "this_00 = (Output_file *)this->base_;" (assignment_expression "this_00 = (Output_file *)this->base_" identifier = (cast_expression "(Output_file *)this->base_" ( (type_descriptor "Output_file *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->base_" identifier -> field_identifier))) ;) (if_statement "if (this->map_is_allocated_ == false) {\n    puVar1 = (uchar *)(*(code *)PTR_mremap_004c5c84)(this_00,(int)this->file_size_,in_a3,1);\n    if (puVar1 == (uchar *)0xffffffff) {\n      do {\n        puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;\nLAB_00219848:\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);\n        this = (Output_file *)this->name_;\n        puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n        uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n        (*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4);\n      } while( true );\n    }\n  }\n  else {\n    puVar1 = (uchar *)(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3);\n    if (puVar1 == (uchar *)0x0) {\n      puVar8 = PTR_gold_nomem_004c2078;\n      (*(code *)PTR_gold_nomem_004c2078)();\n      if (((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0)) {\n        iVar13 = *(int *)(puVar8 + 0x2a8074);\n        iVar10 = 0;\n        iVar12 = *(int *)(puVar8 + 0x2a8074);\n        do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);\n      }\n      unmap(this_00);\n      if (((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)) {\n        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);\n        pcVar11 = this_00->name_;\n        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n      }\n      this_00->o_ = -1;\n      return;\n    }\n    uVar7 = (uint)this->file_size_;\n    if ((*(int *)&this->file_size_ < in_a2) ||\n       ((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7);\n      this->base_ = puVar1;\n      goto LAB_00219794;\n    }\n  }" if (parenthesized_expression "(this->map_is_allocated_ == false)" ( (binary_expression "this->map_is_allocated_ == false" (field_expression "this->map_is_allocated_" identifier -> field_identifier) == false) )) (compound_statement "{\n    puVar1 = (uchar *)(*(code *)PTR_mremap_004c5c84)(this_00,(int)this->file_size_,in_a3,1);\n    if (puVar1 == (uchar *)0xffffffff) {\n      do {\n        puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;\nLAB_00219848:\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);\n        this = (Output_file *)this->name_;\n        puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n        uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n        (*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4);\n      } while( true );\n    }\n  }" { (expression_statement "puVar1 = (uchar *)(*(code *)PTR_mremap_004c5c84)(this_00,(int)this->file_size_,in_a3,1);" (assignment_expression "puVar1 = (uchar *)(*(code *)PTR_mremap_004c5c84)(this_00,(int)this->file_size_,in_a3,1)" identifier = (cast_expression "(uchar *)(*(code *)PTR_mremap_004c5c84)(this_00,(int)this->file_size_,in_a3,1)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_mremap_004c5c84)(this_00,(int)this->file_size_,in_a3,1)" (parenthesized_expression "(*(code *)PTR_mremap_004c5c84)" ( (pointer_expression "*(code *)PTR_mremap_004c5c84" * (cast_expression "(code *)PTR_mremap_004c5c84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this_00,(int)this->file_size_,in_a3,1)" ( identifier , (cast_expression "(int)this->file_size_" ( (type_descriptor "int" primitive_type) ) (field_expression "this->file_size_" identifier -> field_identifier)) , identifier , number_literal ))))) ;) (if_statement "if (puVar1 == (uchar *)0xffffffff) {\n      do {\n        puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;\nLAB_00219848:\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);\n        this = (Output_file *)this->name_;\n        puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n        uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n        (*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4);\n      } while( true );\n    }" if (parenthesized_expression "(puVar1 == (uchar *)0xffffffff)" ( (binary_expression "puVar1 == (uchar *)0xffffffff" identifier == (cast_expression "(uchar *)0xffffffff" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;\nLAB_00219848:\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);\n        this = (Output_file *)this->name_;\n        puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n        uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n        (*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4);\n      } while( true );\n    }" { (do_statement "do {\n        puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;\nLAB_00219848:\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);\n        this = (Output_file *)this->name_;\n        puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n        uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n        (*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4);\n      } while( true );" do (compound_statement "{\n        puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;\nLAB_00219848:\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);\n        this = (Output_file *)this->name_;\n        puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n        uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n        (*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4);\n      }" { (expression_statement "puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644;" (assignment_expression "puVar8 = PTR_s_in_a_linker_script_004c191c + -0x4644" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4644" identifier + number_literal)) ;) (labeled_statement "LAB_00219848:\n        uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);" statement_identifier : (expression_statement "uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar8)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(puVar8)" (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 "(puVar8)" ( identifier )))) ;)) (expression_statement "this = (Output_file *)this->name_;" (assignment_expression "this = (Output_file *)this->name_" identifier = (cast_expression "(Output_file *)this->name_" ( (type_descriptor "Output_file *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->name_" identifier -> field_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_fatal_004c2020)(uVar2,this,uVar4);" (call_expression "(*(code *)PTR_gold_fatal_004c2020)(uVar2,this,uVar4)" (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 "(uVar2,this,uVar4)" ( identifier , identifier , identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) }) (else_clause "else {\n    puVar1 = (uchar *)(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3);\n    if (puVar1 == (uchar *)0x0) {\n      puVar8 = PTR_gold_nomem_004c2078;\n      (*(code *)PTR_gold_nomem_004c2078)();\n      if (((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0)) {\n        iVar13 = *(int *)(puVar8 + 0x2a8074);\n        iVar10 = 0;\n        iVar12 = *(int *)(puVar8 + 0x2a8074);\n        do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);\n      }\n      unmap(this_00);\n      if (((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)) {\n        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);\n        pcVar11 = this_00->name_;\n        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n      }\n      this_00->o_ = -1;\n      return;\n    }\n    uVar7 = (uint)this->file_size_;\n    if ((*(int *)&this->file_size_ < in_a2) ||\n       ((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7);\n      this->base_ = puVar1;\n      goto LAB_00219794;\n    }\n  }" else (compound_statement "{\n    puVar1 = (uchar *)(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3);\n    if (puVar1 == (uchar *)0x0) {\n      puVar8 = PTR_gold_nomem_004c2078;\n      (*(code *)PTR_gold_nomem_004c2078)();\n      if (((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0)) {\n        iVar13 = *(int *)(puVar8 + 0x2a8074);\n        iVar10 = 0;\n        iVar12 = *(int *)(puVar8 + 0x2a8074);\n        do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);\n      }\n      unmap(this_00);\n      if (((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)) {\n        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);\n        pcVar11 = this_00->name_;\n        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n      }\n      this_00->o_ = -1;\n      return;\n    }\n    uVar7 = (uint)this->file_size_;\n    if ((*(int *)&this->file_size_ < in_a2) ||\n       ((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7);\n      this->base_ = puVar1;\n      goto LAB_00219794;\n    }\n  }" { (expression_statement "puVar1 = (uchar *)(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3);" (assignment_expression "puVar1 = (uchar *)(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3)" identifier = (cast_expression "(uchar *)(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_004c5ccc)(this_00,in_a3)" (parenthesized_expression "(*(code *)PTR_realloc_004c5ccc)" ( (pointer_expression "*(code *)PTR_realloc_004c5ccc" * (cast_expression "(code *)PTR_realloc_004c5ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this_00,in_a3)" ( identifier , identifier ))))) ;) (if_statement "if (puVar1 == (uchar *)0x0) {\n      puVar8 = PTR_gold_nomem_004c2078;\n      (*(code *)PTR_gold_nomem_004c2078)();\n      if (((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0)) {\n        iVar13 = *(int *)(puVar8 + 0x2a8074);\n        iVar10 = 0;\n        iVar12 = *(int *)(puVar8 + 0x2a8074);\n        do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);\n      }\n      unmap(this_00);\n      if (((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)) {\n        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);\n        pcVar11 = this_00->name_;\n        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n      }\n      this_00->o_ = -1;\n      return;\n    }" if (parenthesized_expression "(puVar1 == (uchar *)0x0)" ( (binary_expression "puVar1 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar8 = PTR_gold_nomem_004c2078;\n      (*(code *)PTR_gold_nomem_004c2078)();\n      if (((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0)) {\n        iVar13 = *(int *)(puVar8 + 0x2a8074);\n        iVar10 = 0;\n        iVar12 = *(int *)(puVar8 + 0x2a8074);\n        do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);\n      }\n      unmap(this_00);\n      if (((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)) {\n        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);\n        pcVar11 = this_00->name_;\n        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n      }\n      this_00->o_ = -1;\n      return;\n    }" { (expression_statement "puVar8 = PTR_gold_nomem_004c2078;" (assignment_expression "puVar8 = PTR_gold_nomem_004c2078" identifier = identifier) ;) (expression_statement "(*(code *)PTR_gold_nomem_004c2078)();" (call_expression "(*(code *)PTR_gold_nomem_004c2078)()" (parenthesized_expression "(*(code *)PTR_gold_nomem_004c2078)" ( (pointer_expression "*(code *)PTR_gold_nomem_004c2078" * (cast_expression "(code *)PTR_gold_nomem_004c2078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0)) {\n        iVar13 = *(int *)(puVar8 + 0x2a8074);\n        iVar10 = 0;\n        iVar12 = *(int *)(puVar8 + 0x2a8074);\n        do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);\n      }" if (parenthesized_expression "(((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0))" ( (binary_expression "((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (int)this_00->file_size_, iVar9 != 0)" (parenthesized_expression "((this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false))" ( (binary_expression "(this_00->map_is_anonymous_ != false) && (this_00->is_temporary_ == false)" (parenthesized_expression "(this_00->map_is_anonymous_ != false)" ( (binary_expression "this_00->map_is_anonymous_ != false" (field_expression "this_00->map_is_anonymous_" identifier -> field_identifier) != false) )) && (parenthesized_expression "(this_00->is_temporary_ == false)" ( (binary_expression "this_00->is_temporary_ == false" (field_expression "this_00->is_temporary_" identifier -> field_identifier) == false) ))) )) && (parenthesized_expression "(iVar9 = (int)this_00->file_size_, iVar9 != 0)" ( (comma_expression "iVar9 = (int)this_00->file_size_, iVar9 != 0" (assignment_expression "iVar9 = (int)this_00->file_size_" identifier = (cast_expression "(int)this_00->file_size_" ( (type_descriptor "int" primitive_type) ) (field_expression "this_00->file_size_" identifier -> field_identifier))) , (binary_expression "iVar9 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar13 = *(int *)(puVar8 + 0x2a8074);\n        iVar10 = 0;\n        iVar12 = *(int *)(puVar8 + 0x2a8074);\n        do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);\n      }" { (expression_statement "iVar13 = *(int *)(puVar8 + 0x2a8074);" (assignment_expression "iVar13 = *(int *)(puVar8 + 0x2a8074)" identifier = (pointer_expression "*(int *)(puVar8 + 0x2a8074)" * (cast_expression "(int *)(puVar8 + 0x2a8074)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x2a8074)" ( (binary_expression "puVar8 + 0x2a8074" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar12 = *(int *)(puVar8 + 0x2a8074);" (assignment_expression "iVar12 = *(int *)(puVar8 + 0x2a8074)" identifier = (pointer_expression "*(int *)(puVar8 + 0x2a8074)" * (cast_expression "(int *)(puVar8 + 0x2a8074)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x2a8074)" ( (binary_expression "puVar8 + 0x2a8074" identifier + number_literal) ))))) ;) (do_statement "do {\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        } while (iVar9 != 0);" do (compound_statement "{\n          while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }\n          iVar9 = iVar9 - iVar5;\n          iVar10 = iVar10 + iVar5;\n        }" { (while_statement "while( true ) {\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }\n            if (-1 < iVar5) break;\n            uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);\n            pcVar11 = this_00->name_;\n            puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n            uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n            (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n          }" { (while_statement "while (iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0) {\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }" while (parenthesized_expression "(iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0)" ( (comma_expression "iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9), iVar5 == 0" (assignment_expression "iVar5 = (**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9)" identifier = (call_expression "(**(code **)(puVar8 + 0x2ac3d8))\n                                     (this_00->o_,this_00->base_ + iVar10,iVar9)" (parenthesized_expression "(**(code **)(puVar8 + 0x2ac3d8))" ( (pointer_expression "**(code **)(puVar8 + 0x2ac3d8)" * (pointer_expression "*(code **)(puVar8 + 0x2ac3d8)" * (cast_expression "(code **)(puVar8 + 0x2ac3d8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2ac3d8)" ( (binary_expression "puVar8 + 0x2ac3d8" identifier + number_literal) ))))) )) (argument_list "(this_00->o_,this_00->base_ + iVar10,iVar9)" ( (field_expression "this_00->o_" identifier -> field_identifier) , (binary_expression "this_00->base_ + iVar10" (field_expression "this_00->base_" identifier -> field_identifier) + identifier) , identifier )))) , (binary_expression "iVar5 == 0" identifier == number_literal)) )) (compound_statement "{\n              uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);\n              (**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);\n            }" { (expression_statement "uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624)" identifier = (call_expression "(**(code **)(puVar8 + 0x2ac388))(iVar12 + -0x4624)" (parenthesized_expression "(**(code **)(puVar8 + 0x2ac388))" ( (pointer_expression "**(code **)(puVar8 + 0x2ac388)" * (pointer_expression "*(code **)(puVar8 + 0x2ac388)" * (cast_expression "(code **)(puVar8 + 0x2ac388)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2ac388)" ( (binary_expression "puVar8 + 0x2ac388" identifier + number_literal) ))))) )) (argument_list "(iVar12 + -0x4624)" ( (binary_expression "iVar12 + -0x4624" identifier + number_literal) )))) ;) (expression_statement "(**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_);" (call_expression "(**(code **)(puVar8 + 0x2a8184))(uVar2,this_00->name_)" (parenthesized_expression "(**(code **)(puVar8 + 0x2a8184))" ( (pointer_expression "**(code **)(puVar8 + 0x2a8184)" * (pointer_expression "*(code **)(puVar8 + 0x2a8184)" * (cast_expression "(code **)(puVar8 + 0x2a8184)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2a8184)" ( (binary_expression "puVar8 + 0x2a8184" identifier + number_literal) ))))) )) (argument_list "(uVar2,this_00->name_)" ( identifier , (field_expression "this_00->name_" identifier -> field_identifier) ))) ;) })) (if_statement "if (-1 < iVar5) break;" if (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc)" identifier = (call_expression "(**(code **)(puVar8 + 0x2ac388))(iVar13 + -0x45fc)" (parenthesized_expression "(**(code **)(puVar8 + 0x2ac388))" ( (pointer_expression "**(code **)(puVar8 + 0x2ac388)" * (pointer_expression "*(code **)(puVar8 + 0x2ac388)" * (cast_expression "(code **)(puVar8 + 0x2ac388)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2ac388)" ( (binary_expression "puVar8 + 0x2ac388" identifier + number_literal) ))))) )) (argument_list "(iVar13 + -0x45fc)" ( (binary_expression "iVar13 + -0x45fc" identifier + number_literal) )))) ;) (expression_statement "pcVar11 = this_00->name_;" (assignment_expression "pcVar11 = this_00->name_" identifier = (field_expression "this_00->name_" identifier -> field_identifier)) ;) (expression_statement "puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();" (assignment_expression "puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar8 + 0x2ac478))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar8 + 0x2ac478))()" (parenthesized_expression "(**(code **)(puVar8 + 0x2ac478))" ( (pointer_expression "**(code **)(puVar8 + 0x2ac478)" * (pointer_expression "*(code **)(puVar8 + 0x2ac478)" * (cast_expression "(code **)(puVar8 + 0x2ac478)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2ac478)" ( (binary_expression "puVar8 + 0x2ac478" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);" (assignment_expression "uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3)" identifier = (call_expression "(**(code **)(puVar8 + 0x2ac458))(*puVar3)" (parenthesized_expression "(**(code **)(puVar8 + 0x2ac458))" ( (pointer_expression "**(code **)(puVar8 + 0x2ac458)" * (pointer_expression "*(code **)(puVar8 + 0x2ac458)" * (cast_expression "(code **)(puVar8 + 0x2ac458)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2ac458)" ( (binary_expression "puVar8 + 0x2ac458" identifier + number_literal) ))))) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "(**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);" (call_expression "(**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4)" (parenthesized_expression "(**(code **)(puVar8 + 0x2a8184))" ( (pointer_expression "**(code **)(puVar8 + 0x2a8184)" * (pointer_expression "*(code **)(puVar8 + 0x2a8184)" * (cast_expression "(code **)(puVar8 + 0x2a8184)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2a8184)" ( (binary_expression "puVar8 + 0x2a8184" identifier + number_literal) ))))) )) (argument_list "(uVar2,pcVar11,uVar4)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "iVar9 = iVar9 - iVar5;" (assignment_expression "iVar9 = iVar9 - iVar5" identifier = (binary_expression "iVar9 - iVar5" identifier - identifier)) ;) (expression_statement "iVar10 = iVar10 + iVar5;" (assignment_expression "iVar10 = iVar10 + iVar5" identifier = (binary_expression "iVar10 + iVar5" identifier + identifier)) ;) }) while (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) ;) })) (expression_statement "unmap(this_00);" (call_expression "unmap(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;) (if_statement "if (((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)) {\n        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);\n        pcVar11 = this_00->name_;\n        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n      }" if (parenthesized_expression "(((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0))" ( (binary_expression "((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)) &&\n         (iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)" (parenthesized_expression "((1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false))" ( (binary_expression "(1 < this_00->o_ - 1U) && (this_00->is_temporary_ == false)" (parenthesized_expression "(1 < this_00->o_ - 1U)" ( (binary_expression "1 < this_00->o_ - 1U" number_literal < (binary_expression "this_00->o_ - 1U" (field_expression "this_00->o_" identifier -> field_identifier) - number_literal)) )) && (parenthesized_expression "(this_00->is_temporary_ == false)" ( (binary_expression "this_00->is_temporary_ == false" (field_expression "this_00->is_temporary_" identifier -> field_identifier) == false) ))) )) && (parenthesized_expression "(iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0)" ( (comma_expression "iVar9 = (**(code **)(puVar8 + 0x2ac2ac))(), iVar9 < 0" (assignment_expression "iVar9 = (**(code **)(puVar8 + 0x2ac2ac))()" identifier = (call_expression "(**(code **)(puVar8 + 0x2ac2ac))()" (parenthesized_expression "(**(code **)(puVar8 + 0x2ac2ac))" ( (pointer_expression "**(code **)(puVar8 + 0x2ac2ac)" * (pointer_expression "*(code **)(puVar8 + 0x2ac2ac)" * (cast_expression "(code **)(puVar8 + 0x2ac2ac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2ac2ac)" ( (binary_expression "puVar8 + 0x2ac2ac" identifier + number_literal) ))))) )) (argument_list "()" ( )))) , (binary_expression "iVar9 < 0" identifier < number_literal)) ))) )) (compound_statement "{\n        uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);\n        pcVar11 = this_00->name_;\n        puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();\n        uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);\n        (**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);\n      }" { (expression_statement "uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec)" identifier = (call_expression "(**(code **)(puVar8 + 0x2ac388))(*(int *)(puVar8 + 0x2a8074) + -0x45ec)" (parenthesized_expression "(**(code **)(puVar8 + 0x2ac388))" ( (pointer_expression "**(code **)(puVar8 + 0x2ac388)" * (pointer_expression "*(code **)(puVar8 + 0x2ac388)" * (cast_expression "(code **)(puVar8 + 0x2ac388)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2ac388)" ( (binary_expression "puVar8 + 0x2ac388" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar8 + 0x2a8074) + -0x45ec)" ( (binary_expression "*(int *)(puVar8 + 0x2a8074) + -0x45ec" (pointer_expression "*(int *)(puVar8 + 0x2a8074)" * (cast_expression "(int *)(puVar8 + 0x2a8074)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x2a8074)" ( (binary_expression "puVar8 + 0x2a8074" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "pcVar11 = this_00->name_;" (assignment_expression "pcVar11 = this_00->name_" identifier = (field_expression "this_00->name_" identifier -> field_identifier)) ;) (expression_statement "puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))();" (assignment_expression "puVar3 = (undefined4 *)(**(code **)(puVar8 + 0x2ac478))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar8 + 0x2ac478))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar8 + 0x2ac478))()" (parenthesized_expression "(**(code **)(puVar8 + 0x2ac478))" ( (pointer_expression "**(code **)(puVar8 + 0x2ac478)" * (pointer_expression "*(code **)(puVar8 + 0x2ac478)" * (cast_expression "(code **)(puVar8 + 0x2ac478)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2ac478)" ( (binary_expression "puVar8 + 0x2ac478" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3);" (assignment_expression "uVar4 = (**(code **)(puVar8 + 0x2ac458))(*puVar3)" identifier = (call_expression "(**(code **)(puVar8 + 0x2ac458))(*puVar3)" (parenthesized_expression "(**(code **)(puVar8 + 0x2ac458))" ( (pointer_expression "**(code **)(puVar8 + 0x2ac458)" * (pointer_expression "*(code **)(puVar8 + 0x2ac458)" * (cast_expression "(code **)(puVar8 + 0x2ac458)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2ac458)" ( (binary_expression "puVar8 + 0x2ac458" identifier + number_literal) ))))) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "(**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4);" (call_expression "(**(code **)(puVar8 + 0x2a8184))(uVar2,pcVar11,uVar4)" (parenthesized_expression "(**(code **)(puVar8 + 0x2a8184))" ( (pointer_expression "**(code **)(puVar8 + 0x2a8184)" * (pointer_expression "*(code **)(puVar8 + 0x2a8184)" * (cast_expression "(code **)(puVar8 + 0x2a8184)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x2a8184)" ( (binary_expression "puVar8 + 0x2a8184" identifier + number_literal) ))))) )) (argument_list "(uVar2,pcVar11,uVar4)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "this_00->o_ = -1;" (assignment_expression "this_00->o_ = -1" (field_expression "this_00->o_" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "uVar7 = (uint)this->file_size_;" (assignment_expression "uVar7 = (uint)this->file_size_" identifier = (cast_expression "(uint)this->file_size_" ( (type_descriptor "uint" type_identifier) ) (field_expression "this->file_size_" identifier -> field_identifier))) ;) (if_statement "if ((*(int *)&this->file_size_ < in_a2) ||\n       ((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7);\n      this->base_ = puVar1;\n      goto LAB_00219794;\n    }" if (parenthesized_expression "((*(int *)&this->file_size_ < in_a2) ||\n       ((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3))))" ( (binary_expression "(*(int *)&this->file_size_ < in_a2) ||\n       ((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)))" (parenthesized_expression "(*(int *)&this->file_size_ < in_a2)" ( (binary_expression "*(int *)&this->file_size_ < in_a2" (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)))) < identifier) )) || (parenthesized_expression "((in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)))" ( (parenthesized_expression "(in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3))" ( (binary_expression "in_a2 == *(int *)&this->file_size_ && (uVar7 < in_a3)" (binary_expression "in_a2 == *(int *)&this->file_size_" identifier == (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))))) && (parenthesized_expression "(uVar7 < in_a3)" ( (binary_expression "uVar7 < in_a3" identifier < identifier) ))) )) ))) )) (compound_statement "{\n      (*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7);\n      this->base_ = puVar1;\n      goto LAB_00219794;\n    }" { (expression_statement "(*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7);" (call_expression "(*(code *)PTR_memset_004c5c68)(puVar1 + uVar7,0,in_a3 - uVar7)" (parenthesized_expression "(*(code *)PTR_memset_004c5c68)" ( (pointer_expression "*(code *)PTR_memset_004c5c68" * (cast_expression "(code *)PTR_memset_004c5c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1 + uVar7,0,in_a3 - uVar7)" ( (binary_expression "puVar1 + uVar7" identifier + identifier) , number_literal , (binary_expression "in_a3 - uVar7" identifier - identifier) ))) ;) (expression_statement "this->base_ = puVar1;" (assignment_expression "this->base_ = puVar1" (field_expression "this->base_" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_00219794;" goto statement_identifier ;) })) }))) (expression_statement "this->base_ = puVar1;" (assignment_expression "this->base_ = puVar1" (field_expression "this->base_" identifier -> field_identifier) = identifier) ;) (labeled_statement "LAB_00219794:\n  *(int *)&this->file_size_ = in_a2;" statement_identifier : (expression_statement "*(int *)&this->file_size_ = in_a2;" (assignment_expression "*(int *)&this->file_size_ = in_a2" (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)))) = identifier) ;)) (expression_statement "*(uint *)((int)&this->file_size_ + 4) = in_a3;" (assignment_expression "*(uint *)((int)&this->file_size_ + 4) = in_a3" (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) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void gold::Output_file::resize(longlong param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  Output_file *in_a0;\n  uint uVar5;\n  undefined *puVar6;\n  int in_a2;\n  uint in_a3;\n  undefined4 uVar7;\n  \n  if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }\n  if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }\n  *(int *)(in_a0 + 0x10) = iVar1;\nLAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;\n  *(uint *)(in_a0 + 0xc) = in_a3;\n  return;\n}\n\n" (function_definition "void gold::Output_file::resize(longlong param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  Output_file *in_a0;\n  uint uVar5;\n  undefined *puVar6;\n  int in_a2;\n  uint in_a3;\n  undefined4 uVar7;\n  \n  if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }\n  if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }\n  *(int *)(in_a0 + 0x10) = iVar1;\nLAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;\n  *(uint *)(in_a0 + 0xc) = in_a3;\n  return;\n}" primitive_type (ERROR "gold::Output_file::" identifier : : identifier : :) (function_declarator "resize(longlong param_1)" identifier (parameter_list "(longlong param_1)" ( (parameter_declaration "longlong param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  Output_file *in_a0;\n  uint uVar5;\n  undefined *puVar6;\n  int in_a2;\n  uint in_a3;\n  undefined4 uVar7;\n  \n  if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }\n  if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }\n  *(int *)(in_a0 + 0x10) = iVar1;\nLAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;\n  *(uint *)(in_a0 + 0xc) = in_a3;\n  return;\n}" { (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 "Output_file *in_a0;" type_identifier (pointer_declarator "*in_a0" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int in_a2;" primitive_type identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (if_statement "if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }" if (parenthesized_expression "(in_a0[0x14] == (Output_file)0x0)" ( (binary_expression "in_a0[0x14] == (Output_file)0x0" (subscript_expression "in_a0[0x14]" identifier [ number_literal ]) == (cast_expression "(Output_file)0x0" ( (type_descriptor "Output_file" type_identifier) ) number_literal)) )) (compound_statement "{\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }" { (expression_statement "unmap(in_a0);" (call_expression "unmap(in_a0)" identifier (argument_list "(in_a0)" ( identifier ))) ;) (expression_statement "*(int *)(in_a0 + 8) = in_a2;" (assignment_expression "*(int *)(in_a0 + 8) = in_a2" (pointer_expression "*(int *)(in_a0 + 8)" * (cast_expression "(int *)(in_a0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 8)" ( (binary_expression "in_a0 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(in_a0 + 0xc) = in_a3;" (assignment_expression "*(uint *)(in_a0 + 0xc) = in_a3" (pointer_expression "*(uint *)(in_a0 + 0xc)" * (cast_expression "(uint *)(in_a0 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0xc)" ( (binary_expression "in_a0 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = map_no_anonymous(in_a0,true);" (assignment_expression "iVar1 = map_no_anonymous(in_a0,true)" identifier = (call_expression "map_no_anonymous(in_a0,true)" identifier (argument_list "(in_a0,true)" ( identifier , true )))) ;) (if_statement "if (iVar1 != 0) {\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4634" identifier + number_literal)) ;) (labeled_statement "LAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);" statement_identifier : (expression_statement "uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);" (assignment_expression "uVar2 = (*(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 "uVar7 = *(undefined4 *)in_a0;" (assignment_expression "uVar7 = *(undefined4 *)in_a0" identifier = (pointer_expression "*(undefined4 *)in_a0" * (cast_expression "(undefined4 *)in_a0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) 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_fatal_004c2020)(uVar2,uVar7,uVar4);" (call_expression "(*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4)" (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 "(uVar2,uVar7,uVar4)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }" if (parenthesized_expression "(in_a0[0x15] == (Output_file)0x0)" ( (binary_expression "in_a0[0x15] == (Output_file)0x0" (subscript_expression "in_a0[0x15]" identifier [ number_literal ]) == (cast_expression "(Output_file)0x0" ( (type_descriptor "Output_file" type_identifier) ) number_literal)) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);" (assignment_expression "iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1)" identifier = (call_expression "(*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1)" (parenthesized_expression "(*(code *)PTR_mremap_004c5c84)" ( (pointer_expression "*(code *)PTR_mremap_004c5c84" * (cast_expression "(code *)PTR_mremap_004c5c84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1)" ( (pointer_expression "*(undefined4 *)(in_a0 + 0x10)" * (cast_expression "(undefined4 *)(in_a0 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(in_a0 + 0xc)" * (cast_expression "(undefined4 *)(in_a0 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0xc)" ( (binary_expression "in_a0 + 0xc" identifier + number_literal) )))) , identifier , number_literal )))) ;) (if_statement "if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }" { (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644" identifier = (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4644" identifier + number_literal)) ;) (goto_statement "goto LAB_00219848;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);" (assignment_expression "iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3)" identifier = (call_expression "(*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3)" (parenthesized_expression "(*(code *)PTR_realloc_004c5ccc)" ( (pointer_expression "*(code *)PTR_realloc_004c5ccc" * (cast_expression "(code *)PTR_realloc_004c5ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(in_a0 + 0x10),in_a3)" ( (pointer_expression "*(undefined4 *)(in_a0 + 0x10)" * (cast_expression "(undefined4 *)(in_a0 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }" { (expression_statement "(*(code *)PTR_gold_nomem_004c2078)();" (call_expression "(*(code *)PTR_gold_nomem_004c2078)()" (parenthesized_expression "(*(code *)PTR_gold_nomem_004c2078)" ( (pointer_expression "*(code *)PTR_gold_nomem_004c2078" * (cast_expression "(code *)PTR_gold_nomem_004c2078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar5 = *(uint *)(in_a0 + 0xc);" (assignment_expression "uVar5 = *(uint *)(in_a0 + 0xc)" identifier = (pointer_expression "*(uint *)(in_a0 + 0xc)" * (cast_expression "(uint *)(in_a0 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0xc)" ( (binary_expression "in_a0 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }" if (parenthesized_expression "((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3))))" ( (binary_expression "(*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))" (parenthesized_expression "(*(int *)(in_a0 + 8) < in_a2)" ( (binary_expression "*(int *)(in_a0 + 8) < in_a2" (pointer_expression "*(int *)(in_a0 + 8)" * (cast_expression "(int *)(in_a0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 8)" ( (binary_expression "in_a0 + 8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))" ( (parenthesized_expression "(in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3))" ( (binary_expression "in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)" (binary_expression "in_a2 == *(int *)(in_a0 + 8)" identifier == (pointer_expression "*(int *)(in_a0 + 8)" * (cast_expression "(int *)(in_a0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 8)" ( (binary_expression "in_a0 + 8" identifier + number_literal) ))))) && (parenthesized_expression "(uVar5 < in_a3)" ( (binary_expression "uVar5 < in_a3" identifier < identifier) ))) )) ))) )) (compound_statement "{\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }" { (expression_statement "(*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);" (call_expression "(*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5)" (parenthesized_expression "(*(code *)PTR_memset_004c5c68)" ( (pointer_expression "*(code *)PTR_memset_004c5c68" * (cast_expression "(code *)PTR_memset_004c5c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + uVar5,0,in_a3 - uVar5)" ( (binary_expression "iVar1 + uVar5" identifier + identifier) , number_literal , (binary_expression "in_a3 - uVar5" identifier - identifier) ))) ;) (expression_statement "*(int *)(in_a0 + 0x10) = iVar1;" (assignment_expression "*(int *)(in_a0 + 0x10) = iVar1" (pointer_expression "*(int *)(in_a0 + 0x10)" * (cast_expression "(int *)(in_a0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_00219794;" goto statement_identifier ;) })) }))) (expression_statement "*(int *)(in_a0 + 0x10) = iVar1;" (assignment_expression "*(int *)(in_a0 + 0x10) = iVar1" (pointer_expression "*(int *)(in_a0 + 0x10)" * (cast_expression "(int *)(in_a0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;" statement_identifier : (expression_statement "*(int *)(in_a0 + 8) = in_a2;" (assignment_expression "*(int *)(in_a0 + 8) = in_a2" (pointer_expression "*(int *)(in_a0 + 8)" * (cast_expression "(int *)(in_a0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 8)" ( (binary_expression "in_a0 + 8" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(uint *)(in_a0 + 0xc) = in_a3;" (assignment_expression "*(uint *)(in_a0 + 0xc) = in_a3" (pointer_expression "*(uint *)(in_a0 + 0xc)" * (cast_expression "(uint *)(in_a0 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0xc)" ( (binary_expression "in_a0 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (cast_expression ( (type_descriptor TYPE) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( 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 , BOOL )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (cast_expression ( (type_descriptor TYPE) ) 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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , 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 ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + IDENT) , LIT , (binary_expression IDENT - IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (labeled_statement statement_identifier : (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) ;) (return_statement return ;) })))
(function_definition "void gold::Output_file::resize(longlong param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  Output_file *in_a0;\n  uint uVar5;\n  undefined *puVar6;\n  int in_a2;\n  uint in_a3;\n  undefined4 uVar7;\n  \n  if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }\n  if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }\n  *(int *)(in_a0 + 0x10) = iVar1;\nLAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;\n  *(uint *)(in_a0 + 0xc) = in_a3;\n  return;\n}" (primitive_type "void") (ERROR "gold::Output_file::" (identifier "gold") (: ":") (: ":") (identifier "Output_file") (: ":") (: ":")) (function_declarator "resize(longlong param_1)" (identifier "resize") (parameter_list "(longlong param_1)" (( "(") (parameter_declaration "longlong param_1" (type_identifier "longlong") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  Output_file *in_a0;\n  uint uVar5;\n  undefined *puVar6;\n  int in_a2;\n  uint in_a3;\n  undefined4 uVar7;\n  \n  if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }\n  if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }\n  *(int *)(in_a0 + 0x10) = iVar1;\nLAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;\n  *(uint *)(in_a0 + 0xc) = in_a3;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "Output_file *in_a0;" (type_identifier "Output_file") (pointer_declarator "*in_a0" (* "*") (identifier "in_a0")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int in_a2;" (primitive_type "int") (identifier "in_a2") (; ";")) (declaration "uint in_a3;" (type_identifier "uint") (identifier "in_a3") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (if_statement "if (in_a0[0x14] == (Output_file)0x0) {\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }" (if "if") (parenthesized_expression "(in_a0[0x14] == (Output_file)0x0)" (( "(") (binary_expression "in_a0[0x14] == (Output_file)0x0" (subscript_expression "in_a0[0x14]" (identifier "in_a0") ([ "[") (number_literal "0x14") (] "]")) (== "==") (cast_expression "(Output_file)0x0" (( "(") (type_descriptor "Output_file" (type_identifier "Output_file")) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    unmap(in_a0);\n    *(int *)(in_a0 + 8) = in_a2;\n    *(uint *)(in_a0 + 0xc) = in_a3;\n    iVar1 = map_no_anonymous(in_a0,true);\n    if (iVar1 != 0) {\n      return;\n    }\n    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;\nLAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);\n    uVar7 = *(undefined4 *)in_a0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();\n    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);\n    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);\n    return;\n  }" ({ "{") (expression_statement "unmap(in_a0);" (call_expression "unmap(in_a0)" (identifier "unmap") (argument_list "(in_a0)" (( "(") (identifier "in_a0") () ")"))) (; ";")) (expression_statement "*(int *)(in_a0 + 8) = in_a2;" (assignment_expression "*(int *)(in_a0 + 8) = in_a2" (pointer_expression "*(int *)(in_a0 + 8)" (* "*") (cast_expression "(int *)(in_a0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 8)" (( "(") (binary_expression "in_a0 + 8" (identifier "in_a0") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "in_a2")) (; ";")) (expression_statement "*(uint *)(in_a0 + 0xc) = in_a3;" (assignment_expression "*(uint *)(in_a0 + 0xc) = in_a3" (pointer_expression "*(uint *)(in_a0 + 0xc)" (* "*") (cast_expression "(uint *)(in_a0 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0xc)" (( "(") (binary_expression "in_a0 + 0xc" (identifier "in_a0") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "in_a3")) (; ";")) (expression_statement "iVar1 = map_no_anonymous(in_a0,true);" (assignment_expression "iVar1 = map_no_anonymous(in_a0,true)" (identifier "iVar1") (= "=") (call_expression "map_no_anonymous(in_a0,true)" (identifier "map_no_anonymous") (argument_list "(in_a0,true)" (( "(") (identifier "in_a0") (, ",") (true "true") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634" (identifier "puVar6") (= "=") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4634" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x4634"))) (; ";")) (labeled_statement "LAB_00219848:\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);" (statement_identifier "LAB_00219848") (: ":") (expression_statement "uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6)" (identifier "uVar2") (= "=") (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 "uVar7 = *(undefined4 *)in_a0;" (assignment_expression "uVar7 = *(undefined4 *)in_a0" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)in_a0" (* "*") (cast_expression "(undefined4 *)in_a0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "in_a0")))) (; ";")) (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_fatal_004c2020)(uVar2,uVar7,uVar4);" (call_expression "(*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4)" (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 "(uVar2,uVar7,uVar4)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar7") (, ",") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (in_a0[0x15] == (Output_file)0x0) {\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }" (if "if") (parenthesized_expression "(in_a0[0x15] == (Output_file)0x0)" (( "(") (binary_expression "in_a0[0x15] == (Output_file)0x0" (subscript_expression "in_a0[0x15]" (identifier "in_a0") ([ "[") (number_literal "0x15") (] "]")) (== "==") (cast_expression "(Output_file)0x0" (( "(") (type_descriptor "Output_file" (type_identifier "Output_file")) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);\n    if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);" (assignment_expression "iVar1 = (*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_mremap_004c5c84)\n                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1)" (parenthesized_expression "(*(code *)PTR_mremap_004c5c84)" (( "(") (pointer_expression "*(code *)PTR_mremap_004c5c84" (* "*") (cast_expression "(code *)PTR_mremap_004c5c84" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mremap_004c5c84"))) () ")")) (argument_list "(*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1)" (( "(") (pointer_expression "*(undefined4 *)(in_a0 + 0x10)" (* "*") (cast_expression "(undefined4 *)(in_a0 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x10)" (( "(") (binary_expression "in_a0 + 0x10" (identifier "in_a0") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(in_a0 + 0xc)" (* "*") (cast_expression "(undefined4 *)(in_a0 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0xc)" (( "(") (binary_expression "in_a0 + 0xc" (identifier "in_a0") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "in_a3") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar1 == -1) {\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }" (if "if") (parenthesized_expression "(iVar1 == -1)" (( "(") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;\n      goto LAB_00219848;\n    }" ({ "{") (expression_statement "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;" (assignment_expression "puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644" (identifier "puVar6") (= "=") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x4644" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x4644"))) (; ";")) (goto_statement "goto LAB_00219848;" (goto "goto") (statement_identifier "LAB_00219848") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }" (else "else") (compound_statement "{\n    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);\n    if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }\n    uVar5 = *(uint *)(in_a0 + 0xc);\n    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);" (assignment_expression "iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3)" (parenthesized_expression "(*(code *)PTR_realloc_004c5ccc)" (( "(") (pointer_expression "*(code *)PTR_realloc_004c5ccc" (* "*") (cast_expression "(code *)PTR_realloc_004c5ccc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_realloc_004c5ccc"))) () ")")) (argument_list "(*(undefined4 *)(in_a0 + 0x10),in_a3)" (( "(") (pointer_expression "*(undefined4 *)(in_a0 + 0x10)" (* "*") (cast_expression "(undefined4 *)(in_a0 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x10)" (( "(") (binary_expression "in_a0 + 0x10" (identifier "in_a0") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "in_a3") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_gold_nomem_004c2078)();\n      return;\n    }" ({ "{") (expression_statement "(*(code *)PTR_gold_nomem_004c2078)();" (call_expression "(*(code *)PTR_gold_nomem_004c2078)()" (parenthesized_expression "(*(code *)PTR_gold_nomem_004c2078)" (( "(") (pointer_expression "*(code *)PTR_gold_nomem_004c2078" (* "*") (cast_expression "(code *)PTR_gold_nomem_004c2078" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gold_nomem_004c2078"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar5 = *(uint *)(in_a0 + 0xc);" (assignment_expression "uVar5 = *(uint *)(in_a0 + 0xc)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(in_a0 + 0xc)" (* "*") (cast_expression "(uint *)(in_a0 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0xc)" (( "(") (binary_expression "in_a0 + 0xc" (identifier "in_a0") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }" (if "if") (parenthesized_expression "((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3))))" (( "(") (binary_expression "(*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))" (parenthesized_expression "(*(int *)(in_a0 + 8) < in_a2)" (( "(") (binary_expression "*(int *)(in_a0 + 8) < in_a2" (pointer_expression "*(int *)(in_a0 + 8)" (* "*") (cast_expression "(int *)(in_a0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 8)" (( "(") (binary_expression "in_a0 + 8" (identifier "in_a0") (+ "+") (number_literal "8")) () ")")))) (< "<") (identifier "in_a2")) () ")")) (|| "||") (parenthesized_expression "((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))" (( "(") (parenthesized_expression "(in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3))" (( "(") (binary_expression "in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)" (binary_expression "in_a2 == *(int *)(in_a0 + 8)" (identifier "in_a2") (== "==") (pointer_expression "*(int *)(in_a0 + 8)" (* "*") (cast_expression "(int *)(in_a0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 8)" (( "(") (binary_expression "in_a0 + 8" (identifier "in_a0") (+ "+") (number_literal "8")) () ")"))))) (&& "&&") (parenthesized_expression "(uVar5 < in_a3)" (( "(") (binary_expression "uVar5 < in_a3" (identifier "uVar5") (< "<") (identifier "in_a3")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);\n      *(int *)(in_a0 + 0x10) = iVar1;\n      goto LAB_00219794;\n    }" ({ "{") (expression_statement "(*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);" (call_expression "(*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5)" (parenthesized_expression "(*(code *)PTR_memset_004c5c68)" (( "(") (pointer_expression "*(code *)PTR_memset_004c5c68" (* "*") (cast_expression "(code *)PTR_memset_004c5c68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_004c5c68"))) () ")")) (argument_list "(iVar1 + uVar5,0,in_a3 - uVar5)" (( "(") (binary_expression "iVar1 + uVar5" (identifier "iVar1") (+ "+") (identifier "uVar5")) (, ",") (number_literal "0") (, ",") (binary_expression "in_a3 - uVar5" (identifier "in_a3") (- "-") (identifier "uVar5")) () ")"))) (; ";")) (expression_statement "*(int *)(in_a0 + 0x10) = iVar1;" (assignment_expression "*(int *)(in_a0 + 0x10) = iVar1" (pointer_expression "*(int *)(in_a0 + 0x10)" (* "*") (cast_expression "(int *)(in_a0 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x10)" (( "(") (binary_expression "in_a0 + 0x10" (identifier "in_a0") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (goto_statement "goto LAB_00219794;" (goto "goto") (statement_identifier "LAB_00219794") (; ";")) (} "}"))) (} "}")))) (expression_statement "*(int *)(in_a0 + 0x10) = iVar1;" (assignment_expression "*(int *)(in_a0 + 0x10) = iVar1" (pointer_expression "*(int *)(in_a0 + 0x10)" (* "*") (cast_expression "(int *)(in_a0 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x10)" (( "(") (binary_expression "in_a0 + 0x10" (identifier "in_a0") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (labeled_statement "LAB_00219794:\n  *(int *)(in_a0 + 8) = in_a2;" (statement_identifier "LAB_00219794") (: ":") (expression_statement "*(int *)(in_a0 + 8) = in_a2;" (assignment_expression "*(int *)(in_a0 + 8) = in_a2" (pointer_expression "*(int *)(in_a0 + 8)" (* "*") (cast_expression "(int *)(in_a0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 8)" (( "(") (binary_expression "in_a0 + 8" (identifier "in_a0") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "in_a2")) (; ";"))) (expression_statement "*(uint *)(in_a0 + 0xc) = in_a3;" (assignment_expression "*(uint *)(in_a0 + 0xc) = in_a3" (pointer_expression "*(uint *)(in_a0 + 0xc)" (* "*") (cast_expression "(uint *)(in_a0 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0xc)" (( "(") (binary_expression "in_a0 + 0xc" (identifier "in_a0") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "in_a3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) (ERROR (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (true))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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 (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))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (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))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) 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 (binary_expression left: (identifier) right: (identifier)) (number_literal) (binary_expression left: (identifier) 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))) (goto_statement label: (statement_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))) (labeled_statement label: (statement_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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))))

/* gold::Output_file::MASKED(long long) */

void gold::Output_file::MASKED(longlong param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  Output_file *in_a0;
  uint uVar5;
  undefined *puVar6;
  int in_a2;
  uint in_a3;
  undefined4 uVar7;
  
  if (in_a0[0x14] == (Output_file)0x0) {
    unmap(in_a0);
    *(int *)(in_a0 + 8) = in_a2;
    *(uint *)(in_a0 + 0xc) = in_a3;
    iVar1 = map_no_anonymous(in_a0,true);
    if (iVar1 != 0) {
      return;
    }
    puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4634;
LAB_00219848:
    uVar2 = (*(code *)PTR_gettext_004c5c30)(puVar6);
    uVar7 = *(undefined4 *)in_a0;
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004c5d20)();
    uVar4 = (*(code *)PTR_strerror_004c5d00)(*puVar3);
    (*(code *)PTR_gold_fatal_004c2020)(uVar2,uVar7,uVar4);
    return;
  }
  if (in_a0[0x15] == (Output_file)0x0) {
    iVar1 = (*(code *)PTR_mremap_004c5c84)
                      (*(undefined4 *)(in_a0 + 0x10),*(undefined4 *)(in_a0 + 0xc),in_a3,1);
    if (iVar1 == -1) {
      puVar6 = PTR_s_in_a_linker_script_004c191c + -0x4644;
      goto LAB_00219848;
    }
  }
  else {
    iVar1 = (*(code *)PTR_realloc_004c5ccc)(*(undefined4 *)(in_a0 + 0x10),in_a3);
    if (iVar1 == 0) {
      (*(code *)PTR_gold_nomem_004c2078)();
      return;
    }
    uVar5 = *(uint *)(in_a0 + 0xc);
    if ((*(int *)(in_a0 + 8) < in_a2) || ((in_a2 == *(int *)(in_a0 + 8) && (uVar5 < in_a3)))) {
      (*(code *)PTR_memset_004c5c68)(iVar1 + uVar5,0,in_a3 - uVar5);
      *(int *)(in_a0 + 0x10) = iVar1;
      goto LAB_00219794;
    }
  }
  *(int *)(in_a0 + 0x10) = iVar1;
LAB_00219794:
  *(int *)(in_a0 + 8) = in_a2;
  *(uint *)(in_a0 + 0xc) = in_a3;
  return;
}

