
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original prototype: void add_output_section_to_load(Output_segment * this, Layout * layout,
   Output_section * os, Elf_Word seg_flags) */

void __thiscall
gold::Output_segment::add_output_section_to_load
          (Output_segment *this,Layout *layout,Output_section *os,Elf_Word seg_flags)

{
  bool bVar1;
  uint uVar2;
  undefined4 uVar3;
  Output_section *local_10 [3];
  
  if (this->type_ == 1) {
    if ((os->flags_ & 2) == 0) goto LAB_0021adcc;
    if (*(int *)&this->field_0x1a0 < 0) {
      uVar3 = 0x102b;
    }
    else {
      uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);
      if (uVar2 != 0) {
        uVar2 = (uint)(os->type_ != 8);
      }
      if ((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2) {
        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;
        this->flags_ = this->flags_ | seg_flags;
        if (bVar1 == false) {
          if (os->order_ == ORDER_INVALID) {
            uVar3 = 0x1036;
            goto LAB_0021adb4;
          }
          this = (Output_segment *)(this->output_lists_ + os->order_);
        }
        local_10[0] = os;
        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);
        return;
      }
      uVar3 = 0x102c;
    }
  }
  else {
    uVar3 = 0x1029;
  }
LAB_0021adb4:
  do {
    (*(code *)PTR_do_gold_unreachable_004c1a30)
              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,
               PTR_s_in_a_linker_script_004c191c + -0x31f8);
LAB_0021adcc:
    uVar3 = 0x102a;
  } while( true );
}



/* gold::Output_segment::add_output_section_to_load(gold::Layout*, gold::Output_section*, unsigned
   int) */

void __thiscall
gold::Output_segment::add_output_section_to_load
          (Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)

{
  char cVar1;
  uint uVar2;
  undefined4 uVar3;
  Output_section *local_10 [3];
  
  if (*(int *)(this + 0x198) == 1) {
    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;
    if (*(int *)(this + 0x1a0) < 0) {
      uVar3 = 0x102b;
    }
    else {
      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);
      if (uVar2 != 0) {
        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);
      }
      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {
        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);
        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;
        if (cVar1 == '\0') {
          if (*(int *)(param_2 + 0x60) == 0) {
            uVar3 = 0x1036;
            goto LAB_0021adb4;
          }
          this = this + *(int *)(param_2 + 0x60) * 0xc;
        }
        local_10[0] = param_2;
        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);
        return;
      }
      uVar3 = 0x102c;
    }
  }
  else {
    uVar3 = 0x1029;
  }
LAB_0021adb4:
  do {
    (*(code *)PTR_do_gold_unreachable_004c1a30)
              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,
               PTR_s_in_a_linker_script_004c191c + -0x31f8);
LAB_0021adcc:
    uVar3 = 0x102a;
  } while( true );
}


lui gp,0x2b
addiu gp,gp,-0x1ab4
addu gp,gp,t9
addiu sp,sp,-0x28
lw t0,0x198(a0)
li v1,0x1
sw gp,0x10(sp)
sw ra,0x24(sp)
bne t0,v1,0x0021add4
_nop
lw v0,0x5c(a2)
andi v0,v0,0x2
beq v0,zero,0x0021adcc
_nop
lw v1,0x1a0(a0)
bltz v1,0x0021adb0
_nop
lw v0,0x98(a2)
ext v0,v0,0x10,0x1
bne v0,zero,0x0021ada0
_nop
ext v1,v1,0x1d,0x1
bne v1,v0,0x0021addc
_nop
lw v1,0x4(a1)
lw v0,0x19c(a0)
lbu v1,0xac(v1)
or v0,v0,a3
bne v1,zero,0x0021ad84
_sw v0,0x19c(a0)
lw v1,0x60(a2)
beq v1,zero,0x0021ade4
_sll v0,v1,0x1
addu v0,v0,v1
sll v0,v0,0x2
addu a0,a0,v0
lw t9,-0x6e88(gp)
addiu a1,sp,0x18
jalr t9
_sw a2,0x18(sp)
lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
lw v0,0x54(a2)
xori v0,v0,0x8
b 0x0021ad48
_sltu v0,zero,v0
li a1,0x102b
lw a2,-0x7924(gp)
lw a0,-0x7924(gp)
lw t9,-0x7810(gp)
addiu a2,a2,-0x31f8
jalr t9
_addiu a0,a0,-0x48b4
b 0x0021adb4
_li a1,0x102a
b 0x0021adb4
_li a1,0x1029
b 0x0021adb4
_li a1,0x102c
b 0x0021adb4
_li a1,0x1036
(translation_unit "/* gold::Output_segment::add_output_section_to_load(gold::Layout*, gold::Output_section*, unsigned\n   int) */\n\nvoid __thiscall\ngold::Output_segment::add_output_section_to_load\n          (Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)\n\n{\n  char cVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}\n\n" comment (function_definition "void __thiscall\ngold::Output_segment::add_output_section_to_load\n          (Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)\n\n{\n  char cVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "add_output_section_to_load\n          (Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)" identifier (parameter_list "(Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)" ( (parameter_declaration "Output_segment *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "Output_section *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "Output_section *local_10 [3];" type_identifier (pointer_declarator "*local_10 [3]" * (array_declarator "local_10 [3]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }" if (parenthesized_expression "(*(int *)(this + 0x198) == 1)" ( (binary_expression "*(int *)(this + 0x198) == 1" (pointer_expression "*(int *)(this + 0x198)" * (cast_expression "(int *)(this + 0x198)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x198)" ( (binary_expression "this + 0x198" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }" { (if_statement "if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;" if (parenthesized_expression "((*(uint *)(param_2 + 0x5c) & 2) == 0)" ( (binary_expression "(*(uint *)(param_2 + 0x5c) & 2) == 0" (parenthesized_expression "(*(uint *)(param_2 + 0x5c) & 2)" ( (binary_expression "*(uint *)(param_2 + 0x5c) & 2" (pointer_expression "*(uint *)(param_2 + 0x5c)" * (cast_expression "(uint *)(param_2 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0021adcc;" goto statement_identifier ;)) (if_statement "if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" if (parenthesized_expression "(*(int *)(this + 0x1a0) < 0)" ( (binary_expression "*(int *)(this + 0x1a0) < 0" (pointer_expression "*(int *)(this + 0x1a0)" * (cast_expression "(int *)(this + 0x1a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1a0)" ( (binary_expression "this + 0x1a0" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n      uVar3 = 0x102b;\n    }" { (expression_statement "uVar3 = 0x102b;" (assignment_expression "uVar3 = 0x102b" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" else (compound_statement "{\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" { (expression_statement "uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);" (assignment_expression "uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f)" identifier = (unary_expression "-((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f)" - (parenthesized_expression "((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f)" ( (binary_expression "(*(int *)(param_2 + 0x98) << 0xf) >> 0x1f" (parenthesized_expression "(*(int *)(param_2 + 0x98) << 0xf)" ( (binary_expression "*(int *)(param_2 + 0x98) << 0xf" (pointer_expression "*(int *)(param_2 + 0x98)" * (cast_expression "(int *)(param_2 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x98)" ( (binary_expression "param_2 + 0x98" identifier + number_literal) )))) << number_literal) )) >> number_literal) )))) ;) (if_statement "if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }" { (expression_statement "uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);" (assignment_expression "uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8)" identifier = (call_expression "(uint)(*(int *)(param_2 + 0x54) != 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_2 + 0x54) != 8)" ( (binary_expression "*(int *)(param_2 + 0x54) != 8" (pointer_expression "*(int *)(param_2 + 0x54)" * (cast_expression "(int *)(param_2 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) != number_literal) )))) ;) })) (if_statement "if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }" if (parenthesized_expression "((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2)" ( (binary_expression "(uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2" (binary_expression "(uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f" (call_expression "(uint)(*(int *)(this + 0x1a0) << 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(this + 0x1a0) << 2)" ( (binary_expression "*(int *)(this + 0x1a0) << 2" (pointer_expression "*(int *)(this + 0x1a0)" * (cast_expression "(int *)(this + 0x1a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1a0)" ( (binary_expression "this + 0x1a0" identifier + number_literal) )))) << number_literal) ))) >> number_literal) == identifier) )) (compound_statement "{\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }" { (expression_statement "cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);" (assignment_expression "cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac)" identifier = (pointer_expression "*(char *)(*(int *)(param_1 + 4) + 0xac)" * (cast_expression "(char *)(*(int *)(param_1 + 4) + 0xac)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0xac)" ( (binary_expression "*(int *)(param_1 + 4) + 0xac" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;" (assignment_expression "*(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3" (pointer_expression "*(uint *)(this + 0x19c)" * (cast_expression "(uint *)(this + 0x19c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x19c)" ( (binary_expression "this + 0x19c" identifier + number_literal) )))) = (binary_expression "*(uint *)(this + 0x19c) | param_3" (pointer_expression "*(uint *)(this + 0x19c)" * (cast_expression "(uint *)(this + 0x19c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x19c)" ( (binary_expression "this + 0x19c" identifier + number_literal) )))) | identifier)) ;) (if_statement "if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }" { (if_statement "if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }" if (parenthesized_expression "(*(int *)(param_2 + 0x60) == 0)" ( (binary_expression "*(int *)(param_2 + 0x60) == 0" (pointer_expression "*(int *)(param_2 + 0x60)" * (cast_expression "(int *)(param_2 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x60)" ( (binary_expression "param_2 + 0x60" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }" { (expression_statement "uVar3 = 0x1036;" (assignment_expression "uVar3 = 0x1036" identifier = number_literal) ;) (goto_statement "goto LAB_0021adb4;" goto statement_identifier ;) })) (expression_statement "this = this + *(int *)(param_2 + 0x60) * 0xc;" (assignment_expression "this = this + *(int *)(param_2 + 0x60) * 0xc" identifier = (binary_expression "this + *(int *)(param_2 + 0x60) * 0xc" identifier + (binary_expression "*(int *)(param_2 + 0x60) * 0xc" (pointer_expression "*(int *)(param_2 + 0x60)" * (cast_expression "(int *)(param_2 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x60)" ( (binary_expression "param_2 + 0x60" identifier + number_literal) )))) * number_literal))) ;) })) (expression_statement "local_10[0] = param_2;" (assignment_expression "local_10[0] = param_2" (subscript_expression "local_10[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);" (call_expression "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10)" (parenthesized_expression "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)" ( (binary_expression "*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8" (binary_expression "*(code *)PTR_emplace_back<gold_Output_data" (pointer_expression "*(code *)PTR_emplace_back" * (cast_expression "(code *)PTR_emplace_back" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(this,local_10)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = 0x102c;" (assignment_expression "uVar3 = 0x102c" identifier = number_literal) ;) }))) }) (else_clause "else {\n    uVar3 = 0x1029;\n  }" else (compound_statement "{\n    uVar3 = 0x1029;\n  }" { (expression_statement "uVar3 = 0x1029;" (assignment_expression "uVar3 = 0x1029" identifier = number_literal) ;) }))) (labeled_statement "LAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );" statement_identifier : (do_statement "do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );" do (compound_statement "{\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  }" { (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x48b4" identifier + number_literal) , identifier , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x31f8" identifier + number_literal) ))) ;) (labeled_statement "LAB_0021adcc:\n    uVar3 = 0x102a;" statement_identifier : (expression_statement "uVar3 = 0x102a;" (assignment_expression "uVar3 = 0x102a" identifier = number_literal) ;)) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */\n/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */\n/* DWARF original prototype: void add_output_section_to_load(Output_segment * this, Layout * layout,\n   Output_section * os, Elf_Word seg_flags) */\n\nvoid __thiscall\ngold::Output_segment::add_output_section_to_load\n          (Output_segment *this,Layout *layout,Output_section *os,Elf_Word seg_flags)\n\n{\n  bool bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (this->type_ == 1) {\n    if ((os->flags_ & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)&this->field_0x1a0 < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(os->type_ != 8);\n      }\n      if ((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2) {\n        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;\n        this->flags_ = this->flags_ | seg_flags;\n        if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }\n        local_10[0] = os;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __thiscall\ngold::Output_segment::add_output_section_to_load\n          (Output_segment *this,Layout *layout,Output_section *os,Elf_Word seg_flags)\n\n{\n  bool bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (this->type_ == 1) {\n    if ((os->flags_ & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)&this->field_0x1a0 < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(os->type_ != 8);\n      }\n      if ((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2) {\n        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;\n        this->flags_ = this->flags_ | seg_flags;\n        if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }\n        local_10[0] = os;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "add_output_section_to_load\n          (Output_segment *this,Layout *layout,Output_section *os,Elf_Word seg_flags)" identifier (parameter_list "(Output_segment *this,Layout *layout,Output_section *os,Elf_Word seg_flags)" ( (parameter_declaration "Output_segment *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "Output_section *os" type_identifier (pointer_declarator "*os" * identifier)) , (parameter_declaration "Elf_Word seg_flags" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (this->type_ == 1) {\n    if ((os->flags_ & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)&this->field_0x1a0 < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(os->type_ != 8);\n      }\n      if ((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2) {\n        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;\n        this->flags_ = this->flags_ | seg_flags;\n        if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }\n        local_10[0] = os;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "Output_section *local_10 [3];" type_identifier (pointer_declarator "*local_10 [3]" * (array_declarator "local_10 [3]" identifier [ number_literal ])) ;) (if_statement "if (this->type_ == 1) {\n    if ((os->flags_ & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)&this->field_0x1a0 < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(os->type_ != 8);\n      }\n      if ((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2) {\n        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;\n        this->flags_ = this->flags_ | seg_flags;\n        if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }\n        local_10[0] = os;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }" if (parenthesized_expression "(this->type_ == 1)" ( (binary_expression "this->type_ == 1" (field_expression "this->type_" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if ((os->flags_ & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)&this->field_0x1a0 < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(os->type_ != 8);\n      }\n      if ((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2) {\n        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;\n        this->flags_ = this->flags_ | seg_flags;\n        if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }\n        local_10[0] = os;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }" { (if_statement "if ((os->flags_ & 2) == 0) goto LAB_0021adcc;" if (parenthesized_expression "((os->flags_ & 2) == 0)" ( (binary_expression "(os->flags_ & 2) == 0" (parenthesized_expression "(os->flags_ & 2)" ( (binary_expression "os->flags_ & 2" (field_expression "os->flags_" identifier -> field_identifier) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0021adcc;" goto statement_identifier ;)) (if_statement "if (*(int *)&this->field_0x1a0 < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(os->type_ != 8);\n      }\n      if ((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2) {\n        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;\n        this->flags_ = this->flags_ | seg_flags;\n        if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }\n        local_10[0] = os;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" if (parenthesized_expression "(*(int *)&this->field_0x1a0 < 0)" ( (binary_expression "*(int *)&this->field_0x1a0 < 0" (pointer_expression "*(int *)&this->field_0x1a0" * (cast_expression "(int *)&this->field_0x1a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x1a0" & (field_expression "this->field_0x1a0" identifier -> field_identifier)))) < number_literal) )) (compound_statement "{\n      uVar3 = 0x102b;\n    }" { (expression_statement "uVar3 = 0x102b;" (assignment_expression "uVar3 = 0x102b" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(os->type_ != 8);\n      }\n      if ((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2) {\n        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;\n        this->flags_ = this->flags_ | seg_flags;\n        if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }\n        local_10[0] = os;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" else (compound_statement "{\n      uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(os->type_ != 8);\n      }\n      if ((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2) {\n        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;\n        this->flags_ = this->flags_ | seg_flags;\n        if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }\n        local_10[0] = os;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" { (expression_statement "uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);" (assignment_expression "uVar2 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f)" identifier = (unary_expression "-((*(int *)&os->field_0x98 << 0xf) >> 0x1f)" - (parenthesized_expression "((*(int *)&os->field_0x98 << 0xf) >> 0x1f)" ( (binary_expression "(*(int *)&os->field_0x98 << 0xf) >> 0x1f" (parenthesized_expression "(*(int *)&os->field_0x98 << 0xf)" ( (binary_expression "*(int *)&os->field_0x98 << 0xf" (pointer_expression "*(int *)&os->field_0x98" * (cast_expression "(int *)&os->field_0x98" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&os->field_0x98" & (field_expression "os->field_0x98" identifier -> field_identifier)))) << number_literal) )) >> number_literal) )))) ;) (if_statement "if (uVar2 != 0) {\n        uVar2 = (uint)(os->type_ != 8);\n      }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar2 = (uint)(os->type_ != 8);\n      }" { (expression_statement "uVar2 = (uint)(os->type_ != 8);" (assignment_expression "uVar2 = (uint)(os->type_ != 8)" identifier = (call_expression "(uint)(os->type_ != 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(os->type_ != 8)" ( (binary_expression "os->type_ != 8" (field_expression "os->type_" identifier -> field_identifier) != number_literal) )))) ;) })) (if_statement "if ((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2) {\n        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;\n        this->flags_ = this->flags_ | seg_flags;\n        if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }\n        local_10[0] = os;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }" if (parenthesized_expression "((uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2)" ( (binary_expression "(uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == uVar2" (binary_expression "(uint)(*(int *)&this->field_0x1a0 << 2) >> 0x1f" (call_expression "(uint)(*(int *)&this->field_0x1a0 << 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)&this->field_0x1a0 << 2)" ( (binary_expression "*(int *)&this->field_0x1a0 << 2" (pointer_expression "*(int *)&this->field_0x1a0" * (cast_expression "(int *)&this->field_0x1a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x1a0" & (field_expression "this->field_0x1a0" identifier -> field_identifier)))) << number_literal) ))) >> number_literal) == identifier) )) (compound_statement "{\n        bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;\n        this->flags_ = this->flags_ | seg_flags;\n        if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }\n        local_10[0] = os;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }" { (expression_statement "bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_;" (assignment_expression "bVar1 = (layout->script_options_->script_sections_).saw_sections_clause_" identifier = (field_expression "(layout->script_options_->script_sections_).saw_sections_clause_" (parenthesized_expression "(layout->script_options_->script_sections_)" ( (field_expression "layout->script_options_->script_sections_" (field_expression "layout->script_options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) (expression_statement "this->flags_ = this->flags_ | seg_flags;" (assignment_expression "this->flags_ = this->flags_ | seg_flags" (field_expression "this->flags_" identifier -> field_identifier) = (binary_expression "this->flags_ | seg_flags" (field_expression "this->flags_" identifier -> field_identifier) | identifier)) ;) (if_statement "if (bVar1 == false) {\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }" if (parenthesized_expression "(bVar1 == false)" ( (binary_expression "bVar1 == false" identifier == false) )) (compound_statement "{\n          if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = (Output_segment *)(this->output_lists_ + os->order_);\n        }" { (if_statement "if (os->order_ == ORDER_INVALID) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }" if (parenthesized_expression "(os->order_ == ORDER_INVALID)" ( (binary_expression "os->order_ == ORDER_INVALID" (field_expression "os->order_" identifier -> field_identifier) == identifier) )) (compound_statement "{\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }" { (expression_statement "uVar3 = 0x1036;" (assignment_expression "uVar3 = 0x1036" identifier = number_literal) ;) (goto_statement "goto LAB_0021adb4;" goto statement_identifier ;) })) (expression_statement "this = (Output_segment *)(this->output_lists_ + os->order_);" (assignment_expression "this = (Output_segment *)(this->output_lists_ + os->order_)" identifier = (cast_expression "(Output_segment *)(this->output_lists_ + os->order_)" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this->output_lists_ + os->order_)" ( (binary_expression "this->output_lists_ + os->order_" (field_expression "this->output_lists_" identifier -> field_identifier) + (field_expression "os->order_" identifier -> field_identifier)) )))) ;) })) (expression_statement "local_10[0] = os;" (assignment_expression "local_10[0] = os" (subscript_expression "local_10[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);" (call_expression "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10)" (parenthesized_expression "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)" ( (binary_expression "*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8" (binary_expression "*(code *)PTR_emplace_back<gold_Output_data" (pointer_expression "*(code *)PTR_emplace_back" * (cast_expression "(code *)PTR_emplace_back" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(this,local_10)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = 0x102c;" (assignment_expression "uVar3 = 0x102c" identifier = number_literal) ;) }))) }) (else_clause "else {\n    uVar3 = 0x1029;\n  }" else (compound_statement "{\n    uVar3 = 0x1029;\n  }" { (expression_statement "uVar3 = 0x1029;" (assignment_expression "uVar3 = 0x1029" identifier = number_literal) ;) }))) (labeled_statement "LAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );" statement_identifier : (do_statement "do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );" do (compound_statement "{\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  }" { (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x48b4" identifier + number_literal) , identifier , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x31f8" identifier + number_literal) ))) ;) (labeled_statement "LAB_0021adcc:\n    uVar3 = 0x102a;" statement_identifier : (expression_statement "uVar3 = 0x102a;" (assignment_expression "uVar3 = 0x102a" identifier = number_literal) ;)) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "void __thiscall\ngold::Output_segment::add_output_section_to_load\n          (Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)\n\n{\n  char cVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}\n\n" (function_definition "void __thiscall\ngold::Output_segment::add_output_section_to_load\n          (Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)\n\n{\n  char cVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "add_output_section_to_load\n          (Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)" identifier (parameter_list "(Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)" ( (parameter_declaration "Output_segment *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "Output_section *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "Output_section *local_10 [3];" type_identifier (pointer_declarator "*local_10 [3]" * (array_declarator "local_10 [3]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }" if (parenthesized_expression "(*(int *)(this + 0x198) == 1)" ( (binary_expression "*(int *)(this + 0x198) == 1" (pointer_expression "*(int *)(this + 0x198)" * (cast_expression "(int *)(this + 0x198)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x198)" ( (binary_expression "this + 0x198" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }" { (if_statement "if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;" if (parenthesized_expression "((*(uint *)(param_2 + 0x5c) & 2) == 0)" ( (binary_expression "(*(uint *)(param_2 + 0x5c) & 2) == 0" (parenthesized_expression "(*(uint *)(param_2 + 0x5c) & 2)" ( (binary_expression "*(uint *)(param_2 + 0x5c) & 2" (pointer_expression "*(uint *)(param_2 + 0x5c)" * (cast_expression "(uint *)(param_2 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0021adcc;" goto statement_identifier ;)) (if_statement "if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" if (parenthesized_expression "(*(int *)(this + 0x1a0) < 0)" ( (binary_expression "*(int *)(this + 0x1a0) < 0" (pointer_expression "*(int *)(this + 0x1a0)" * (cast_expression "(int *)(this + 0x1a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1a0)" ( (binary_expression "this + 0x1a0" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n      uVar3 = 0x102b;\n    }" { (expression_statement "uVar3 = 0x102b;" (assignment_expression "uVar3 = 0x102b" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" else (compound_statement "{\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" { (expression_statement "uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);" (assignment_expression "uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f)" identifier = (unary_expression "-((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f)" - (parenthesized_expression "((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f)" ( (binary_expression "(*(int *)(param_2 + 0x98) << 0xf) >> 0x1f" (parenthesized_expression "(*(int *)(param_2 + 0x98) << 0xf)" ( (binary_expression "*(int *)(param_2 + 0x98) << 0xf" (pointer_expression "*(int *)(param_2 + 0x98)" * (cast_expression "(int *)(param_2 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x98)" ( (binary_expression "param_2 + 0x98" identifier + number_literal) )))) << number_literal) )) >> number_literal) )))) ;) (if_statement "if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }" { (expression_statement "uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);" (assignment_expression "uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8)" identifier = (call_expression "(uint)(*(int *)(param_2 + 0x54) != 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_2 + 0x54) != 8)" ( (binary_expression "*(int *)(param_2 + 0x54) != 8" (pointer_expression "*(int *)(param_2 + 0x54)" * (cast_expression "(int *)(param_2 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) != number_literal) )))) ;) })) (if_statement "if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }" if (parenthesized_expression "((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2)" ( (binary_expression "(uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2" (binary_expression "(uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f" (call_expression "(uint)(*(int *)(this + 0x1a0) << 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(this + 0x1a0) << 2)" ( (binary_expression "*(int *)(this + 0x1a0) << 2" (pointer_expression "*(int *)(this + 0x1a0)" * (cast_expression "(int *)(this + 0x1a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1a0)" ( (binary_expression "this + 0x1a0" identifier + number_literal) )))) << number_literal) ))) >> number_literal) == identifier) )) (compound_statement "{\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }" { (expression_statement "cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);" (assignment_expression "cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac)" identifier = (pointer_expression "*(char *)(*(int *)(param_1 + 4) + 0xac)" * (cast_expression "(char *)(*(int *)(param_1 + 4) + 0xac)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0xac)" ( (binary_expression "*(int *)(param_1 + 4) + 0xac" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;" (assignment_expression "*(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3" (pointer_expression "*(uint *)(this + 0x19c)" * (cast_expression "(uint *)(this + 0x19c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x19c)" ( (binary_expression "this + 0x19c" identifier + number_literal) )))) = (binary_expression "*(uint *)(this + 0x19c) | param_3" (pointer_expression "*(uint *)(this + 0x19c)" * (cast_expression "(uint *)(this + 0x19c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x19c)" ( (binary_expression "this + 0x19c" identifier + number_literal) )))) | identifier)) ;) (if_statement "if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }" { (if_statement "if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }" if (parenthesized_expression "(*(int *)(param_2 + 0x60) == 0)" ( (binary_expression "*(int *)(param_2 + 0x60) == 0" (pointer_expression "*(int *)(param_2 + 0x60)" * (cast_expression "(int *)(param_2 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x60)" ( (binary_expression "param_2 + 0x60" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }" { (expression_statement "uVar3 = 0x1036;" (assignment_expression "uVar3 = 0x1036" identifier = number_literal) ;) (goto_statement "goto LAB_0021adb4;" goto statement_identifier ;) })) (expression_statement "this = this + *(int *)(param_2 + 0x60) * 0xc;" (assignment_expression "this = this + *(int *)(param_2 + 0x60) * 0xc" identifier = (binary_expression "this + *(int *)(param_2 + 0x60) * 0xc" identifier + (binary_expression "*(int *)(param_2 + 0x60) * 0xc" (pointer_expression "*(int *)(param_2 + 0x60)" * (cast_expression "(int *)(param_2 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x60)" ( (binary_expression "param_2 + 0x60" identifier + number_literal) )))) * number_literal))) ;) })) (expression_statement "local_10[0] = param_2;" (assignment_expression "local_10[0] = param_2" (subscript_expression "local_10[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);" (call_expression "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10)" (parenthesized_expression "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)" ( (binary_expression "*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8" (binary_expression "*(code *)PTR_emplace_back<gold_Output_data" (pointer_expression "*(code *)PTR_emplace_back" * (cast_expression "(code *)PTR_emplace_back" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(this,local_10)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = 0x102c;" (assignment_expression "uVar3 = 0x102c" identifier = number_literal) ;) }))) }) (else_clause "else {\n    uVar3 = 0x1029;\n  }" else (compound_statement "{\n    uVar3 = 0x1029;\n  }" { (expression_statement "uVar3 = 0x1029;" (assignment_expression "uVar3 = 0x1029" identifier = number_literal) ;) }))) (labeled_statement "LAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );" statement_identifier : (do_statement "do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );" do (compound_statement "{\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  }" { (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x48b4" identifier + number_literal) , identifier , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x31f8" identifier + number_literal) ))) ;) (labeled_statement "LAB_0021adcc:\n    uVar3 = 0x102a;" statement_identifier : (expression_statement "uVar3 = 0x102a;" (assignment_expression "uVar3 = 0x102a" identifier = number_literal) ;)) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (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) )))) & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) )) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) ))) >> LIT) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (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 == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) < IDENT) (ERROR *) > IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) while (parenthesized_expression ( BOOL )) ;)) })))
(function_definition "void __thiscall\ngold::Output_segment::add_output_section_to_load\n          (Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)\n\n{\n  char cVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Output_segment::" (identifier "gold") (: ":") (: ":") (identifier "Output_segment") (: ":") (: ":")) (function_declarator "add_output_section_to_load\n          (Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)" (identifier "add_output_section_to_load") (parameter_list "(Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)" (( "(") (parameter_declaration "Output_segment *this" (type_identifier "Output_segment") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "Layout *param_1" (type_identifier "Layout") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "Output_section *param_2" (type_identifier "Output_section") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  Output_section *local_10 [3];\n  \n  if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }\nLAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "Output_section *local_10 [3];" (type_identifier "Output_section") (pointer_declarator "*local_10 [3]" (* "*") (array_declarator "local_10 [3]" (identifier "local_10") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (*(int *)(this + 0x198) == 1) {\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }\n  else {\n    uVar3 = 0x1029;\n  }" (if "if") (parenthesized_expression "(*(int *)(this + 0x198) == 1)" (( "(") (binary_expression "*(int *)(this + 0x198) == 1" (pointer_expression "*(int *)(this + 0x198)" (* "*") (cast_expression "(int *)(this + 0x198)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x198)" (( "(") (binary_expression "this + 0x198" (identifier "this") (+ "+") (number_literal "0x198")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;\n    if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }\n  }" ({ "{") (if_statement "if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;" (if "if") (parenthesized_expression "((*(uint *)(param_2 + 0x5c) & 2) == 0)" (( "(") (binary_expression "(*(uint *)(param_2 + 0x5c) & 2) == 0" (parenthesized_expression "(*(uint *)(param_2 + 0x5c) & 2)" (( "(") (binary_expression "*(uint *)(param_2 + 0x5c) & 2" (pointer_expression "*(uint *)(param_2 + 0x5c)" (* "*") (cast_expression "(uint *)(param_2 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x5c)" (( "(") (binary_expression "param_2 + 0x5c" (identifier "param_2") (+ "+") (number_literal "0x5c")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0021adcc;" (goto "goto") (statement_identifier "LAB_0021adcc") (; ";"))) (if_statement "if (*(int *)(this + 0x1a0) < 0) {\n      uVar3 = 0x102b;\n    }\n    else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" (if "if") (parenthesized_expression "(*(int *)(this + 0x1a0) < 0)" (( "(") (binary_expression "*(int *)(this + 0x1a0) < 0" (pointer_expression "*(int *)(this + 0x1a0)" (* "*") (cast_expression "(int *)(this + 0x1a0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x1a0)" (( "(") (binary_expression "this + 0x1a0" (identifier "this") (+ "+") (number_literal "0x1a0")) () ")")))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = 0x102b;\n    }" ({ "{") (expression_statement "uVar3 = 0x102b;" (assignment_expression "uVar3 = 0x102b" (identifier "uVar3") (= "=") (number_literal "0x102b")) (; ";")) (} "}")) (else_clause "else {\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" (else "else") (compound_statement "{\n      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);\n      if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }\n      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }\n      uVar3 = 0x102c;\n    }" ({ "{") (expression_statement "uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);" (assignment_expression "uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f)" (identifier "uVar2") (= "=") (unary_expression "-((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f)" (- "-") (parenthesized_expression "((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f)" (( "(") (binary_expression "(*(int *)(param_2 + 0x98) << 0xf) >> 0x1f" (parenthesized_expression "(*(int *)(param_2 + 0x98) << 0xf)" (( "(") (binary_expression "*(int *)(param_2 + 0x98) << 0xf" (pointer_expression "*(int *)(param_2 + 0x98)" (* "*") (cast_expression "(int *)(param_2 + 0x98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x98)" (( "(") (binary_expression "param_2 + 0x98" (identifier "param_2") (+ "+") (number_literal "0x98")) () ")")))) (<< "<<") (number_literal "0xf")) () ")")) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (uVar2 != 0) {\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);\n      }" ({ "{") (expression_statement "uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);" (assignment_expression "uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8)" (identifier "uVar2") (= "=") (call_expression "(uint)(*(int *)(param_2 + 0x54) != 8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(param_2 + 0x54) != 8)" (( "(") (binary_expression "*(int *)(param_2 + 0x54) != 8" (pointer_expression "*(int *)(param_2 + 0x54)" (* "*") (cast_expression "(int *)(param_2 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")")))) (!= "!=") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (if_statement "if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }" (if "if") (parenthesized_expression "((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2)" (( "(") (binary_expression "(uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2" (binary_expression "(uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f" (call_expression "(uint)(*(int *)(this + 0x1a0) << 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(this + 0x1a0) << 2)" (( "(") (binary_expression "*(int *)(this + 0x1a0) << 2" (pointer_expression "*(int *)(this + 0x1a0)" (* "*") (cast_expression "(int *)(this + 0x1a0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x1a0)" (( "(") (binary_expression "this + 0x1a0" (identifier "this") (+ "+") (number_literal "0x1a0")) () ")")))) (<< "<<") (number_literal "2")) () ")"))) (>> ">>") (number_literal "0x1f")) (== "==") (identifier "uVar2")) () ")")) (compound_statement "{\n        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);\n        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;\n        if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }\n        local_10[0] = param_2;\n        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);\n        return;\n      }" ({ "{") (expression_statement "cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);" (assignment_expression "cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(*(int *)(param_1 + 4) + 0xac)" (* "*") (cast_expression "(char *)(*(int *)(param_1 + 4) + 0xac)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 4) + 0xac)" (( "(") (binary_expression "*(int *)(param_1 + 4) + 0xac" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0xac")) () ")"))))) (; ";")) (expression_statement "*(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;" (assignment_expression "*(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3" (pointer_expression "*(uint *)(this + 0x19c)" (* "*") (cast_expression "(uint *)(this + 0x19c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x19c)" (( "(") (binary_expression "this + 0x19c" (identifier "this") (+ "+") (number_literal "0x19c")) () ")")))) (= "=") (binary_expression "*(uint *)(this + 0x19c) | param_3" (pointer_expression "*(uint *)(this + 0x19c)" (* "*") (cast_expression "(uint *)(this + 0x19c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x19c)" (( "(") (binary_expression "this + 0x19c" (identifier "this") (+ "+") (number_literal "0x19c")) () ")")))) (| "|") (identifier "param_3"))) (; ";")) (if_statement "if (cVar1 == '\0') {\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }\n          this = this + *(int *)(param_2 + 0x60) * 0xc;\n        }" ({ "{") (if_statement "if (*(int *)(param_2 + 0x60) == 0) {\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x60) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x60) == 0" (pointer_expression "*(int *)(param_2 + 0x60)" (* "*") (cast_expression "(int *)(param_2 + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x60)" (( "(") (binary_expression "param_2 + 0x60" (identifier "param_2") (+ "+") (number_literal "0x60")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            uVar3 = 0x1036;\n            goto LAB_0021adb4;\n          }" ({ "{") (expression_statement "uVar3 = 0x1036;" (assignment_expression "uVar3 = 0x1036" (identifier "uVar3") (= "=") (number_literal "0x1036")) (; ";")) (goto_statement "goto LAB_0021adb4;" (goto "goto") (statement_identifier "LAB_0021adb4") (; ";")) (} "}"))) (expression_statement "this = this + *(int *)(param_2 + 0x60) * 0xc;" (assignment_expression "this = this + *(int *)(param_2 + 0x60) * 0xc" (identifier "this") (= "=") (binary_expression "this + *(int *)(param_2 + 0x60) * 0xc" (identifier "this") (+ "+") (binary_expression "*(int *)(param_2 + 0x60) * 0xc" (pointer_expression "*(int *)(param_2 + 0x60)" (* "*") (cast_expression "(int *)(param_2 + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x60)" (( "(") (binary_expression "param_2 + 0x60" (identifier "param_2") (+ "+") (number_literal "0x60")) () ")")))) (* "*") (number_literal "0xc")))) (; ";")) (} "}"))) (expression_statement "local_10[0] = param_2;" (assignment_expression "local_10[0] = param_2" (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);" (call_expression "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10)" (parenthesized_expression "(*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)" (( "(") (binary_expression "*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8" (binary_expression "*(code *)PTR_emplace_back<gold_Output_data" (pointer_expression "*(code *)PTR_emplace_back" (* "*") (cast_expression "(code *)PTR_emplace_back" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_emplace_back"))) (< "<") (identifier "gold_Output_data")) (ERROR "*" (* "*")) (> ">") (identifier "_004c23b8")) () ")")) (argument_list "(this,local_10)" (( "(") (identifier "this") (, ",") (identifier "local_10") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar3 = 0x102c;" (assignment_expression "uVar3 = 0x102c" (identifier "uVar3") (= "=") (number_literal "0x102c")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    uVar3 = 0x1029;\n  }" (else "else") (compound_statement "{\n    uVar3 = 0x1029;\n  }" ({ "{") (expression_statement "uVar3 = 0x1029;" (assignment_expression "uVar3 = 0x1029" (identifier "uVar3") (= "=") (number_literal "0x1029")) (; ";")) (} "}")))) (labeled_statement "LAB_0021adb4:\n  do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );" (statement_identifier "LAB_0021adb4") (: ":") (do_statement "do {\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  } while( true );" (do "do") (compound_statement "{\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);\nLAB_0021adcc:\n    uVar3 = 0x102a;\n  }" ({ "{") (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" (( "(") (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" (* "*") (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_gold_unreachable_004c1a30"))) () ")")) (argument_list "(PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,\n               PTR_s_in_a_linker_script_004c191c + -0x31f8)" (( "(") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x48b4" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x48b4")) (, ",") (identifier "uVar3") (, ",") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x31f8" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x31f8")) () ")"))) (; ";")) (labeled_statement "LAB_0021adcc:\n    uVar3 = 0x102a;" (statement_identifier "LAB_0021adcc") (: ":") (expression_statement "uVar3 = 0x102a;" (assignment_expression "uVar3 = 0x102a" (identifier "uVar3") (= "=") (number_literal "0x102a")) (; ";"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}")))

/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original prototype: void add_output_section_to_load(Output_segment * this, Layout * layout,
   Output_section * os, Elf_Word seg_flags) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 *layout,type_3 *os,type_4 var_2)

{
  bool var_3;
  type_5 var_1;
  type_6 uVar3;
  type_3 *local_10 [3];
  
  if (this->type_ == 1) {
    if ((os->flags_ & 2) == 0) goto LAB_0021adcc;
    if (*(int *)&this->field_0x1a0 < 0) {
      uVar3 = 0x102b;
    }
    else {
      var_1 = -((*(int *)&os->field_0x98 << 0xf) >> 0x1f);
      if (var_1 != 0) {
        var_1 = (type_5)(os->type_ != 8);
      }
      if ((type_5)(*(int *)&this->field_0x1a0 << 2) >> 0x1f == var_1) {
        var_3 = (layout->script_options_->script_sections_).saw_sections_clause_;
        this->flags_ = this->flags_ | var_2;
        if (var_3 == false) {
          if (os->order_ == var_4) {
            uVar3 = 0x1036;
            goto LAB_0021adb4;
          }
          this = (type_1 *)(this->output_lists_ + os->order_);
        }
        local_10[0] = os;
        (*(type_7 *)PTR_emplace_back<var_5*>var_6)(this,local_10);
        return;
      }
      uVar3 = 0x102c;
    }
  }
  else {
    uVar3 = 0x1029;
  }
LAB_0021adb4:
  do {
    (*(type_7 *)PTR_do_gold_unreachable_004c1a30)
              (var_7 + -0x48b4,uVar3,
               var_7 + -0x31f8);
LAB_0021adcc:
    uVar3 = 0x102a;
  } while( true );
}


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

/* gold::Output_segment::MASKED(gold::Layout*, gold::Output_section*, unsigned
   int) */

void __thiscall
gold::Output_segment::MASKED
          (Output_segment *this,Layout *param_1,Output_section *param_2,uint param_3)

{
  char cVar1;
  uint uVar2;
  undefined4 uVar3;
  Output_section *local_10 [3];
  
  if (*(int *)(this + 0x198) == 1) {
    if ((*(uint *)(param_2 + 0x5c) & 2) == 0) goto LAB_0021adcc;
    if (*(int *)(this + 0x1a0) < 0) {
      uVar3 = 0x102b;
    }
    else {
      uVar2 = -((*(int *)(param_2 + 0x98) << 0xf) >> 0x1f);
      if (uVar2 != 0) {
        uVar2 = (uint)(*(int *)(param_2 + 0x54) != 8);
      }
      if ((uint)(*(int *)(this + 0x1a0) << 2) >> 0x1f == uVar2) {
        cVar1 = *(char *)(*(int *)(param_1 + 4) + 0xac);
        *(uint *)(this + 0x19c) = *(uint *)(this + 0x19c) | param_3;
        if (cVar1 == '\0') {
          if (*(int *)(param_2 + 0x60) == 0) {
            uVar3 = 0x1036;
            goto LAB_0021adb4;
          }
          this = this + *(int *)(param_2 + 0x60) * 0xc;
        }
        local_10[0] = param_2;
        (*(code *)PTR_emplace_back<gold_Output_data*>_004c23b8)(this,local_10);
        return;
      }
      uVar3 = 0x102c;
    }
  }
  else {
    uVar3 = 0x1029;
  }
LAB_0021adb4:
  do {
    (*(code *)PTR_do_gold_unreachable_004c1a30)
              (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,
               PTR_s_in_a_linker_script_004c191c + -0x31f8);
LAB_0021adcc:
    uVar3 = 0x102a;
  } while( true );
}

