
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: void convert_input_sections_in_list_to_relaxed_sections(Output_section
   * this,
   vector<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>
   * relaxed_sections, Relaxation_map * map, Input_section_list * input_sections) */

void __thiscall
gold::Output_section::convert_input_sections_in_list_to_relaxed_sections
          (Output_section *this,
          vector<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>
          *relaxed_sections,Relaxation_map *map,Input_section_list *input_sections)

{
  undefined *puVar1;
  pointer pIVar2;
  int *piVar3;
  uint uVar4;
  undefined4 uVar5;
  int iVar6;
  Output_relaxed_input_section *pOVar7;
  pointer ppOVar8;
  int iVar9;
  Section_id sid;
  
  puVar1 = PTR__M_find_before_node_004c3950;
  ppOVar8 = (relaxed_sections->
            super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>
            )._M_impl._M_start;
  iVar6 = (int)(relaxed_sections->
               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>
               )._M_impl._M_finish - (int)ppOVar8 >> 2;
  if (iVar6 != 0) {
    iVar9 = 0;
    do {
      pOVar7 = *ppOVar8;
      uVar4 = (map->_M_h)._M_bucket_count;
      sid.first = pOVar7->relobj_;
      sid.second = pOVar7->shndx_;
      if (uVar4 == 0) {
        trap(7);
      }
      piVar3 = (int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid);
      if (piVar3 == (int *)0x0) {
        uVar5 = 0xb0d;
LAB_0021c538:
        (*(code *)PTR_do_gold_unreachable_004c1a30)
                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,
                   PTR_s_in_a_linker_script_004c191c + -0x3070);
        return;
      }
      uVar5 = 0xb0d;
      if (*piVar3 == 0) goto LAB_0021c538;
      pIVar2 = (input_sections->
               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>
               )._M_impl._M_start + *(int *)(*piVar3 + 0xc);
      iVar9 = iVar9 + 1;
      if (pIVar2->shndx_ + 4 < 4) {
        uVar5 = 0xb0e;
        goto LAB_0021c538;
      }
      pIVar2->shndx_ = 0xfffffffc;
      pIVar2->p2align_ = 0;
      *(undefined4 *)((int)&pIVar2->u1_ + 4) = 0;
      ppOVar8 = ppOVar8 + 1;
      *(undefined4 *)&pIVar2->u1_ = 0;
      (pIVar2->u2_).poris = pOVar7;
    } while (iVar9 != iVar6);
  }
  return;
}



/* gold::Output_section::convert_input_sections_in_list_to_relaxed_sections(std::vector<gold::Output_relaxed_input_section*,
   std::allocator<gold::Output_relaxed_input_section*> > const&,
   std::unordered_map<std::pair<gold::Relobj*, unsigned int>, unsigned int, gold::Section_id_hash,
   std::equal_to<std::pair<gold::Relobj*, unsigned int> >,
   std::allocator<std::pair<std::pair<gold::Relobj*, unsigned int> const, unsigned int> > > const&,
   std::vector<gold::Output_section::Input_section,
   std::allocator<gold::Output_section::Input_section> >*) */

void __thiscall
gold::Output_section::convert_input_sections_in_list_to_relaxed_sections
          (Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)

{
  undefined *puVar1;
  int *piVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  int iVar7;
  uint local_30;
  uint local_2c;
  
  puVar1 = PTR__M_find_before_node_004c3950;
  piVar6 = *(int **)param_1;
  iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;
  if (iVar4 != 0) {
    iVar7 = 0;
    do {
      iVar5 = *piVar6;
      local_30 = *(uint *)(iVar5 + 0x30);
      local_2c = *(uint *)(iVar5 + 0x34);
      if (*(uint *)(param_2 + 4) == 0) {
        trap(7);
      }
      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),
                                        &local_30);
      if (piVar2 == (int *)0x0) {
        uVar3 = 0xb0d;
LAB_0021c538:
        (*(code *)PTR_do_gold_unreachable_004c1a30)
                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,
                   PTR_s_in_a_linker_script_004c191c + -0x3070);
        return;
      }
      uVar3 = 0xb0d;
      if (*piVar2 == 0) goto LAB_0021c538;
      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);
      iVar7 = iVar7 + 1;
      if (*piVar2 + 4U < 4) {
        uVar3 = 0xb0e;
        goto LAB_0021c538;
      }
      *piVar2 = -4;
      piVar2[1] = 0;
      piVar2[3] = 0;
      piVar6 = piVar6 + 1;
      piVar2[2] = 0;
      piVar2[4] = iVar5;
    } while (iVar7 != iVar4);
  }
  return;
}


lui gp,0x2b
addiu gp,gp,-0x31ec
addu gp,gp,t9
addiu sp,sp,-0x48
sw s4,0x30(sp)
sw s0,0x20(sp)
lw s4,0x0(a1)
lw s0,0x4(a1)
sw gp,0x10(sp)
sw ra,0x44(sp)
subu s0,s0,s4
sw s8,0x40(sp)
sw s7,0x3c(sp)
sra s0,s0,0x2
sw s6,0x38(sp)
sw s5,0x34(sp)
sw s3,0x2c(sp)
sw s2,0x28(sp)
beq s0,zero,0x0021c550
_sw s1,0x24(sp)
or s7,a3,zero
lw s1,-0x58f0(gp)
or s6,a2,zero
or s5,zero,zero
addiu s8,sp,0x18
b 0x0021c4f4
_li s2,-0x4
lw v0,0x0(v0)
beq v0,zero,0x0021c538
_li a1,0xb0d
lw a0,0xc(v0)
lw v0,0x0(s7)
sll v1,a0,0x1
addu v1,v1,a0
sll v1,v1,0x3
addu v0,v0,v1
lw v1,0x0(v0)
addiu v1,v1,0x4
sltiu v1,v1,0x4
bne v1,zero,0x0021c580
_addiu s5,s5,0x1
or a1,zero,zero
sw s2,0x0(v0)
or a0,zero,zero
sw zero,0x4(v0)
sw a1,0xc(v0)
addiu s4,s4,0x4
sw a0,0x8(v0)
beq s5,s0,0x0021c550
_sw s3,0x10(v0)
lw s3,0x0(s4)
or a2,s8,zero
lw a1,0x4(s6)
or a0,s6,zero
or t9,s1,zero
lw a3,0x30(s3)
lw v0,0x34(s3)
sw a3,0x18(sp)
xor a3,a3,v0
sw v0,0x1c(sp)
teq a1,zero
divu a3,a1
jalr t9
_mfhi a1
bne v0,zero,0x0021c498
_lw gp,0x10(sp)
li a1,0xb0d
lw a2,-0x7924(gp)
lw a0,-0x7924(gp)
lw t9,-0x7810(gp)
addiu a2,a2,-0x3070
jalr t9
_addiu a0,a0,-0x48b4
lw ra,0x44(sp)
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
b 0x0021c538
_li a1,0xb0e
(translation_unit "/* gold::Output_section::convert_input_sections_in_list_to_relaxed_sections(std::vector<gold::Output_relaxed_input_section*,\n   std::allocator<gold::Output_relaxed_input_section*> > const&,\n   std::unordered_map<std::pair<gold::Relobj*, unsigned int>, unsigned int, gold::Section_id_hash,\n   std::equal_to<std::pair<gold::Relobj*, unsigned int> >,\n   std::allocator<std::pair<std::pair<gold::Relobj*, unsigned int> const, unsigned int> > > const&,\n   std::vector<gold::Output_section::Input_section,\n   std::allocator<gold::Output_section::Input_section> >*) */\n\nvoid __thiscall\ngold::Output_section::convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  uint local_30;\n  uint local_2c;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  piVar6 = *(int **)param_1;\n  iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;\n  if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\ngold::Output_section::convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  uint local_30;\n  uint local_2c;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  piVar6 = *(int **)param_1;\n  iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;\n  if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::" identifier : : identifier : :) (function_declarator "convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)" identifier (parameter_list "(Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)" ( (parameter_declaration "Output_section *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "vector *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "unordered_map *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "vector *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  uint local_30;\n  uint local_2c;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  piVar6 = *(int **)param_1;\n  iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;\n  if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "puVar1 = PTR__M_find_before_node_004c3950;" (assignment_expression "puVar1 = PTR__M_find_before_node_004c3950" identifier = identifier) ;) (expression_statement "piVar6 = *(int **)param_1;" (assignment_expression "piVar6 = *(int **)param_1" identifier = (pointer_expression "*(int **)param_1" * (cast_expression "(int **)param_1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;" (assignment_expression "iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2" identifier = (binary_expression "*(int *)(param_1 + 4) - (int)piVar6 >> 2" (binary_expression "*(int *)(param_1 + 4) - (int)piVar6" (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) )))) - (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);" do (compound_statement "{\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    }" { (expression_statement "iVar5 = *piVar6;" (assignment_expression "iVar5 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "local_30 = *(uint *)(iVar5 + 0x30);" (assignment_expression "local_30 = *(uint *)(iVar5 + 0x30)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x30)" * (cast_expression "(uint *)(iVar5 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x30)" ( (binary_expression "iVar5 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(uint *)(iVar5 + 0x34);" (assignment_expression "local_2c = *(uint *)(iVar5 + 0x34)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x34)" * (cast_expression "(uint *)(iVar5 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x34)" ( (binary_expression "iVar5 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(*(uint *)(param_2 + 4) == 0)" ( (binary_expression "*(uint *)(param_2 + 4) == 0" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);" (assignment_expression "piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" identifier = (cast_expression "(int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" ( identifier , (binary_expression "(local_30 ^ local_2c) % *(uint *)(param_2 + 4)" (parenthesized_expression "(local_30 ^ local_2c)" ( (binary_expression "local_30 ^ local_2c" identifier ^ identifier) )) % (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) , (pointer_expression "&local_30" & identifier) ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }" { (expression_statement "uVar3 = 0xb0d;" (assignment_expression "uVar3 = 0xb0d" identifier = number_literal) ;) (labeled_statement "LAB_0021c538:\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 + -0x3070);" statement_identifier : (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 + -0x3070);" (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 + -0x3070)" (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 + -0x3070)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x48b4" identifier + number_literal) , identifier , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x3070" identifier + number_literal) ))) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar3 = 0xb0d;" (assignment_expression "uVar3 = 0xb0d" identifier = number_literal) ;) (if_statement "if (*piVar2 == 0) goto LAB_0021c538;" if (parenthesized_expression "(*piVar2 == 0)" ( (binary_expression "*piVar2 == 0" (pointer_expression "*piVar2" * identifier) == number_literal) )) (goto_statement "goto LAB_0021c538;" goto statement_identifier ;)) (expression_statement "piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);" (assignment_expression "piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18)" identifier = (cast_expression "(int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18)" ( (binary_expression "*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18" (pointer_expression "*(int *)param_3" * (cast_expression "(int *)param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "*(int *)(*piVar2 + 0xc) * 0x18" (pointer_expression "*(int *)(*piVar2 + 0xc)" * (cast_expression "(int *)(*piVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0xc)" ( (binary_expression "*piVar2 + 0xc" (pointer_expression "*piVar2" * identifier) + number_literal) )))) * number_literal)) )))) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }" if (parenthesized_expression "(*piVar2 + 4U < 4)" ( (binary_expression "*piVar2 + 4U < 4" (binary_expression "*piVar2 + 4U" (pointer_expression "*piVar2" * identifier) + number_literal) < number_literal) )) (compound_statement "{\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }" { (expression_statement "uVar3 = 0xb0e;" (assignment_expression "uVar3 = 0xb0e" identifier = number_literal) ;) (goto_statement "goto LAB_0021c538;" goto statement_identifier ;) })) (expression_statement "*piVar2 = -4;" (assignment_expression "*piVar2 = -4" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[4] = iVar5;" (assignment_expression "piVar2[4] = iVar5" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(iVar7 != iVar4)" ( (binary_expression "iVar7 != iVar4" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* DWARF original prototype: void convert_input_sections_in_list_to_relaxed_sections(Output_section\n   * this,\n   vector<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n   * relaxed_sections, Relaxation_map * map, Input_section_list * input_sections) */\n\nvoid __thiscall\ngold::Output_section::convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,\n          vector<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n          *relaxed_sections,Relaxation_map *map,Input_section_list *input_sections)\n\n{\n  undefined *puVar1;\n  pointer pIVar2;\n  int *piVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  Output_relaxed_input_section *pOVar7;\n  pointer ppOVar8;\n  int iVar9;\n  Section_id sid;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  ppOVar8 = (relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n            )._M_impl._M_start;\n  iVar6 = (int)(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )._M_impl._M_finish - (int)ppOVar8 >> 2;\n  if (iVar6 != 0) {\n    iVar9 = 0;\n    do {\n      pOVar7 = *ppOVar8;\n      uVar4 = (map->_M_h)._M_bucket_count;\n      sid.first = pOVar7->relobj_;\n      sid.second = pOVar7->shndx_;\n      if (uVar4 == 0) {\n        trap(7);\n      }\n      piVar3 = (int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid);\n      if (piVar3 == (int *)0x0) {\n        uVar5 = 0xb0d;\nLAB_0021c538:\n        (*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);\n        return;\n      }\n      uVar5 = 0xb0d;\n      if (*piVar3 == 0) goto LAB_0021c538;\n      pIVar2 = (input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start + *(int *)(*piVar3 + 0xc);\n      iVar9 = iVar9 + 1;\n      if (pIVar2->shndx_ + 4 < 4) {\n        uVar5 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      pIVar2->shndx_ = 0xfffffffc;\n      pIVar2->p2align_ = 0;\n      *(undefined4 *)((int)&pIVar2->u1_ + 4) = 0;\n      ppOVar8 = ppOVar8 + 1;\n      *(undefined4 *)&pIVar2->u1_ = 0;\n      (pIVar2->u2_).poris = pOVar7;\n    } while (iVar9 != iVar6);\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Output_section::convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,\n          vector<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n          *relaxed_sections,Relaxation_map *map,Input_section_list *input_sections)\n\n{\n  undefined *puVar1;\n  pointer pIVar2;\n  int *piVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  Output_relaxed_input_section *pOVar7;\n  pointer ppOVar8;\n  int iVar9;\n  Section_id sid;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  ppOVar8 = (relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n            )._M_impl._M_start;\n  iVar6 = (int)(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )._M_impl._M_finish - (int)ppOVar8 >> 2;\n  if (iVar6 != 0) {\n    iVar9 = 0;\n    do {\n      pOVar7 = *ppOVar8;\n      uVar4 = (map->_M_h)._M_bucket_count;\n      sid.first = pOVar7->relobj_;\n      sid.second = pOVar7->shndx_;\n      if (uVar4 == 0) {\n        trap(7);\n      }\n      piVar3 = (int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid);\n      if (piVar3 == (int *)0x0) {\n        uVar5 = 0xb0d;\nLAB_0021c538:\n        (*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);\n        return;\n      }\n      uVar5 = 0xb0d;\n      if (*piVar3 == 0) goto LAB_0021c538;\n      pIVar2 = (input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start + *(int *)(*piVar3 + 0xc);\n      iVar9 = iVar9 + 1;\n      if (pIVar2->shndx_ + 4 < 4) {\n        uVar5 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      pIVar2->shndx_ = 0xfffffffc;\n      pIVar2->p2align_ = 0;\n      *(undefined4 *)((int)&pIVar2->u1_ + 4) = 0;\n      ppOVar8 = ppOVar8 + 1;\n      *(undefined4 *)&pIVar2->u1_ = 0;\n      (pIVar2->u2_).poris = pOVar7;\n    } while (iVar9 != iVar6);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::" identifier : : identifier : :) (function_declarator "convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,\n          vector<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n          *relaxed_sections,Relaxation_map *map,Input_section_list *input_sections)" identifier (parameter_list "(Output_section *this,\n          vector<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n          *relaxed_sections,Relaxation_map *map,Input_section_list *input_sections)" ( (parameter_declaration "Output_section *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "vector<gold::Output_relaxed_input_section*" type_identifier (ERROR "<gold::Output_relaxed_input_section" < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Output_relaxed_input_section*>_>\n          *relaxed_sections" type_identifier (ERROR "::allocator<gold::Output_relaxed_input_section*>_>" : : identifier < identifier : : identifier * > identifier >) (pointer_declarator "*relaxed_sections" * identifier)) , (parameter_declaration "Relaxation_map *map" type_identifier (pointer_declarator "*map" * identifier)) , (parameter_declaration "Input_section_list *input_sections" type_identifier (pointer_declarator "*input_sections" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  pointer pIVar2;\n  int *piVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  Output_relaxed_input_section *pOVar7;\n  pointer ppOVar8;\n  int iVar9;\n  Section_id sid;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  ppOVar8 = (relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n            )._M_impl._M_start;\n  iVar6 = (int)(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )._M_impl._M_finish - (int)ppOVar8 >> 2;\n  if (iVar6 != 0) {\n    iVar9 = 0;\n    do {\n      pOVar7 = *ppOVar8;\n      uVar4 = (map->_M_h)._M_bucket_count;\n      sid.first = pOVar7->relobj_;\n      sid.second = pOVar7->shndx_;\n      if (uVar4 == 0) {\n        trap(7);\n      }\n      piVar3 = (int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid);\n      if (piVar3 == (int *)0x0) {\n        uVar5 = 0xb0d;\nLAB_0021c538:\n        (*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);\n        return;\n      }\n      uVar5 = 0xb0d;\n      if (*piVar3 == 0) goto LAB_0021c538;\n      pIVar2 = (input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start + *(int *)(*piVar3 + 0xc);\n      iVar9 = iVar9 + 1;\n      if (pIVar2->shndx_ + 4 < 4) {\n        uVar5 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      pIVar2->shndx_ = 0xfffffffc;\n      pIVar2->p2align_ = 0;\n      *(undefined4 *)((int)&pIVar2->u1_ + 4) = 0;\n      ppOVar8 = ppOVar8 + 1;\n      *(undefined4 *)&pIVar2->u1_ = 0;\n      (pIVar2->u2_).poris = pOVar7;\n    } while (iVar9 != iVar6);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "pointer pIVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "Output_relaxed_input_section *pOVar7;" type_identifier (pointer_declarator "*pOVar7" * identifier) ;) (declaration "pointer ppOVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "Section_id sid;" type_identifier identifier ;) (expression_statement "puVar1 = PTR__M_find_before_node_004c3950;" (assignment_expression "puVar1 = PTR__M_find_before_node_004c3950" identifier = identifier) ;) (expression_statement "ppOVar8 = (relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n            )._M_impl._M_start;" (assignment_expression "ppOVar8 = (relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n            )._M_impl._M_start" identifier = (field_expression "(relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n            )._M_impl._M_start" (field_expression "(relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n            )._M_impl" (parenthesized_expression "(relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n            )" ( (ERROR "relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::" (comma_expression "relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*,_std" (binary_expression "relaxed_sections->\n            super__Vector_base<gold::Output_relaxed_input_section*" (binary_expression "relaxed_sections->\n            super__Vector_base<gold" (field_expression "relaxed_sections->\n            super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_relaxed_input_section" : : identifier) * identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Output_relaxed_input_section*>_>" (binary_expression "Output_relaxed_input_section*>_" identifier * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "iVar6 = (int)(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )._M_impl._M_finish - (int)ppOVar8 >> 2;" (assignment_expression "iVar6 = (int)(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )._M_impl._M_finish - (int)ppOVar8 >> 2" identifier = (binary_expression "(int)(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )._M_impl._M_finish - (int)ppOVar8 >> 2" (binary_expression "(int)(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )._M_impl._M_finish - (int)ppOVar8" (cast_expression "(int)(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )._M_impl._M_finish" ( (type_descriptor "int" primitive_type) ) (field_expression "(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )._M_impl._M_finish" (field_expression "(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )._M_impl" (parenthesized_expression "(relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>\n               )" ( (binary_expression "relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>" (binary_expression "relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_" (binary_expression "relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std::allocator<gold" (binary_expression "relaxed_sections->\n               super__Vector_base<gold::Output_relaxed_input_section*,_std" (binary_expression "relaxed_sections->\n               super__Vector_base<gold" (field_expression "relaxed_sections->\n               super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_relaxed_input_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_relaxed_input_section" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) - (cast_expression "(int)ppOVar8" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (iVar6 != 0) {\n    iVar9 = 0;\n    do {\n      pOVar7 = *ppOVar8;\n      uVar4 = (map->_M_h)._M_bucket_count;\n      sid.first = pOVar7->relobj_;\n      sid.second = pOVar7->shndx_;\n      if (uVar4 == 0) {\n        trap(7);\n      }\n      piVar3 = (int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid);\n      if (piVar3 == (int *)0x0) {\n        uVar5 = 0xb0d;\nLAB_0021c538:\n        (*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);\n        return;\n      }\n      uVar5 = 0xb0d;\n      if (*piVar3 == 0) goto LAB_0021c538;\n      pIVar2 = (input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start + *(int *)(*piVar3 + 0xc);\n      iVar9 = iVar9 + 1;\n      if (pIVar2->shndx_ + 4 < 4) {\n        uVar5 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      pIVar2->shndx_ = 0xfffffffc;\n      pIVar2->p2align_ = 0;\n      *(undefined4 *)((int)&pIVar2->u1_ + 4) = 0;\n      ppOVar8 = ppOVar8 + 1;\n      *(undefined4 *)&pIVar2->u1_ = 0;\n      (pIVar2->u2_).poris = pOVar7;\n    } while (iVar9 != iVar6);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar9 = 0;\n    do {\n      pOVar7 = *ppOVar8;\n      uVar4 = (map->_M_h)._M_bucket_count;\n      sid.first = pOVar7->relobj_;\n      sid.second = pOVar7->shndx_;\n      if (uVar4 == 0) {\n        trap(7);\n      }\n      piVar3 = (int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid);\n      if (piVar3 == (int *)0x0) {\n        uVar5 = 0xb0d;\nLAB_0021c538:\n        (*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);\n        return;\n      }\n      uVar5 = 0xb0d;\n      if (*piVar3 == 0) goto LAB_0021c538;\n      pIVar2 = (input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start + *(int *)(*piVar3 + 0xc);\n      iVar9 = iVar9 + 1;\n      if (pIVar2->shndx_ + 4 < 4) {\n        uVar5 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      pIVar2->shndx_ = 0xfffffffc;\n      pIVar2->p2align_ = 0;\n      *(undefined4 *)((int)&pIVar2->u1_ + 4) = 0;\n      ppOVar8 = ppOVar8 + 1;\n      *(undefined4 *)&pIVar2->u1_ = 0;\n      (pIVar2->u2_).poris = pOVar7;\n    } while (iVar9 != iVar6);\n  }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n      pOVar7 = *ppOVar8;\n      uVar4 = (map->_M_h)._M_bucket_count;\n      sid.first = pOVar7->relobj_;\n      sid.second = pOVar7->shndx_;\n      if (uVar4 == 0) {\n        trap(7);\n      }\n      piVar3 = (int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid);\n      if (piVar3 == (int *)0x0) {\n        uVar5 = 0xb0d;\nLAB_0021c538:\n        (*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);\n        return;\n      }\n      uVar5 = 0xb0d;\n      if (*piVar3 == 0) goto LAB_0021c538;\n      pIVar2 = (input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start + *(int *)(*piVar3 + 0xc);\n      iVar9 = iVar9 + 1;\n      if (pIVar2->shndx_ + 4 < 4) {\n        uVar5 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      pIVar2->shndx_ = 0xfffffffc;\n      pIVar2->p2align_ = 0;\n      *(undefined4 *)((int)&pIVar2->u1_ + 4) = 0;\n      ppOVar8 = ppOVar8 + 1;\n      *(undefined4 *)&pIVar2->u1_ = 0;\n      (pIVar2->u2_).poris = pOVar7;\n    } while (iVar9 != iVar6);" do (compound_statement "{\n      pOVar7 = *ppOVar8;\n      uVar4 = (map->_M_h)._M_bucket_count;\n      sid.first = pOVar7->relobj_;\n      sid.second = pOVar7->shndx_;\n      if (uVar4 == 0) {\n        trap(7);\n      }\n      piVar3 = (int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid);\n      if (piVar3 == (int *)0x0) {\n        uVar5 = 0xb0d;\nLAB_0021c538:\n        (*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);\n        return;\n      }\n      uVar5 = 0xb0d;\n      if (*piVar3 == 0) goto LAB_0021c538;\n      pIVar2 = (input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start + *(int *)(*piVar3 + 0xc);\n      iVar9 = iVar9 + 1;\n      if (pIVar2->shndx_ + 4 < 4) {\n        uVar5 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      pIVar2->shndx_ = 0xfffffffc;\n      pIVar2->p2align_ = 0;\n      *(undefined4 *)((int)&pIVar2->u1_ + 4) = 0;\n      ppOVar8 = ppOVar8 + 1;\n      *(undefined4 *)&pIVar2->u1_ = 0;\n      (pIVar2->u2_).poris = pOVar7;\n    }" { (expression_statement "pOVar7 = *ppOVar8;" (assignment_expression "pOVar7 = *ppOVar8" identifier = (pointer_expression "*ppOVar8" * identifier)) ;) (expression_statement "uVar4 = (map->_M_h)._M_bucket_count;" (assignment_expression "uVar4 = (map->_M_h)._M_bucket_count" identifier = (field_expression "(map->_M_h)._M_bucket_count" (parenthesized_expression "(map->_M_h)" ( (field_expression "map->_M_h" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "sid.first = pOVar7->relobj_;" (assignment_expression "sid.first = pOVar7->relobj_" (field_expression "sid.first" identifier . field_identifier) = (field_expression "pOVar7->relobj_" identifier -> field_identifier)) ;) (expression_statement "sid.second = pOVar7->shndx_;" (assignment_expression "sid.second = pOVar7->shndx_" (field_expression "sid.second" identifier . field_identifier) = (field_expression "pOVar7->shndx_" identifier -> field_identifier)) ;) (if_statement "if (uVar4 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "piVar3 = (int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid);" (assignment_expression "piVar3 = (int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid)" identifier = (cast_expression "(int *)(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(map,((uint)sid.first ^ sid.second) % uVar4,&sid)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(map,((uint)sid.first ^ sid.second) % uVar4,&sid)" ( identifier , (binary_expression "((uint)sid.first ^ sid.second) % uVar4" (parenthesized_expression "((uint)sid.first ^ sid.second)" ( (binary_expression "(uint)sid.first ^ sid.second" (cast_expression "(uint)sid.first" ( (type_descriptor "uint" type_identifier) ) (field_expression "sid.first" identifier . field_identifier)) ^ (field_expression "sid.second" identifier . field_identifier)) )) % identifier) , (pointer_expression "&sid" & identifier) ))))) ;) (if_statement "if (piVar3 == (int *)0x0) {\n        uVar5 = 0xb0d;\nLAB_0021c538:\n        (*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);\n        return;\n      }" if (parenthesized_expression "(piVar3 == (int *)0x0)" ( (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar5 = 0xb0d;\nLAB_0021c538:\n        (*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);\n        return;\n      }" { (expression_statement "uVar5 = 0xb0d;" (assignment_expression "uVar5 = 0xb0d" identifier = number_literal) ;) (labeled_statement "LAB_0021c538:\n        (*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);" statement_identifier : (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070)" (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,uVar5,\n                   PTR_s_in_a_linker_script_004c191c + -0x3070)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x48b4" identifier + number_literal) , identifier , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x3070" identifier + number_literal) ))) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar5 = 0xb0d;" (assignment_expression "uVar5 = 0xb0d" identifier = number_literal) ;) (if_statement "if (*piVar3 == 0) goto LAB_0021c538;" if (parenthesized_expression "(*piVar3 == 0)" ( (binary_expression "*piVar3 == 0" (pointer_expression "*piVar3" * identifier) == number_literal) )) (goto_statement "goto LAB_0021c538;" goto statement_identifier ;)) (expression_statement "pIVar2 = (input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start + *(int *)(*piVar3 + 0xc);" (assignment_expression "pIVar2 = (input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start + *(int *)(*piVar3 + 0xc)" identifier = (binary_expression "(input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start + *(int *)(*piVar3 + 0xc)" (field_expression "(input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl._M_start" (field_expression "(input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )._M_impl" (parenthesized_expression "(input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               )" ( (ERROR "input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::" (comma_expression "input_sections->\n               super__Vector_base<gold::Output_section::Input_section,_std" (binary_expression "input_sections->\n               super__Vector_base<gold" (field_expression "input_sections->\n               super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_section::Input_section" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Input_section>_>" (binary_expression "Input_section>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier) + (pointer_expression "*(int *)(*piVar3 + 0xc)" * (cast_expression "(int *)(*piVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + 0xc)" ( (binary_expression "*piVar3 + 0xc" (pointer_expression "*piVar3" * identifier) + number_literal) )))))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if (pIVar2->shndx_ + 4 < 4) {\n        uVar5 = 0xb0e;\n        goto LAB_0021c538;\n      }" if (parenthesized_expression "(pIVar2->shndx_ + 4 < 4)" ( (binary_expression "pIVar2->shndx_ + 4 < 4" (binary_expression "pIVar2->shndx_ + 4" (field_expression "pIVar2->shndx_" identifier -> field_identifier) + number_literal) < number_literal) )) (compound_statement "{\n        uVar5 = 0xb0e;\n        goto LAB_0021c538;\n      }" { (expression_statement "uVar5 = 0xb0e;" (assignment_expression "uVar5 = 0xb0e" identifier = number_literal) ;) (goto_statement "goto LAB_0021c538;" goto statement_identifier ;) })) (expression_statement "pIVar2->shndx_ = 0xfffffffc;" (assignment_expression "pIVar2->shndx_ = 0xfffffffc" (field_expression "pIVar2->shndx_" identifier -> field_identifier) = number_literal) ;) (expression_statement "pIVar2->p2align_ = 0;" (assignment_expression "pIVar2->p2align_ = 0" (field_expression "pIVar2->p2align_" identifier -> field_identifier) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&pIVar2->u1_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&pIVar2->u1_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&pIVar2->u1_ + 4)" * (cast_expression "(undefined4 *)((int)&pIVar2->u1_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar2->u1_ + 4)" ( (binary_expression "(int)&pIVar2->u1_ + 4" (cast_expression "(int)&pIVar2->u1_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar2->u1_" & (field_expression "pIVar2->u1_" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "ppOVar8 = ppOVar8 + 1;" (assignment_expression "ppOVar8 = ppOVar8 + 1" identifier = (binary_expression "ppOVar8 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)&pIVar2->u1_ = 0;" (assignment_expression "*(undefined4 *)&pIVar2->u1_ = 0" (pointer_expression "*(undefined4 *)&pIVar2->u1_" * (cast_expression "(undefined4 *)&pIVar2->u1_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar2->u1_" & (field_expression "pIVar2->u1_" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "(pIVar2->u2_).poris = pOVar7;" (assignment_expression "(pIVar2->u2_).poris = pOVar7" (field_expression "(pIVar2->u2_).poris" (parenthesized_expression "(pIVar2->u2_)" ( (field_expression "pIVar2->u2_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) }) while (parenthesized_expression "(iVar9 != iVar6)" ( (binary_expression "iVar9 != iVar6" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __thiscall\ngold::Output_section::convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  uint local_30;\n  uint local_2c;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  piVar6 = *(int **)param_1;\n  iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;\n  if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }\n  return;\n}\n\n" (function_definition "void __thiscall\ngold::Output_section::convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  uint local_30;\n  uint local_2c;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  piVar6 = *(int **)param_1;\n  iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;\n  if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::" identifier : : identifier : :) (function_declarator "convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)" identifier (parameter_list "(Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)" ( (parameter_declaration "Output_section *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "vector *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "unordered_map *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "vector *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  uint local_30;\n  uint local_2c;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  piVar6 = *(int **)param_1;\n  iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;\n  if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "puVar1 = PTR__M_find_before_node_004c3950;" (assignment_expression "puVar1 = PTR__M_find_before_node_004c3950" identifier = identifier) ;) (expression_statement "piVar6 = *(int **)param_1;" (assignment_expression "piVar6 = *(int **)param_1" identifier = (pointer_expression "*(int **)param_1" * (cast_expression "(int **)param_1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;" (assignment_expression "iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2" identifier = (binary_expression "*(int *)(param_1 + 4) - (int)piVar6 >> 2" (binary_expression "*(int *)(param_1 + 4) - (int)piVar6" (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) )))) - (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);" do (compound_statement "{\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    }" { (expression_statement "iVar5 = *piVar6;" (assignment_expression "iVar5 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "local_30 = *(uint *)(iVar5 + 0x30);" (assignment_expression "local_30 = *(uint *)(iVar5 + 0x30)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x30)" * (cast_expression "(uint *)(iVar5 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x30)" ( (binary_expression "iVar5 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(uint *)(iVar5 + 0x34);" (assignment_expression "local_2c = *(uint *)(iVar5 + 0x34)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x34)" * (cast_expression "(uint *)(iVar5 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x34)" ( (binary_expression "iVar5 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(*(uint *)(param_2 + 4) == 0)" ( (binary_expression "*(uint *)(param_2 + 4) == 0" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);" (assignment_expression "piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" identifier = (cast_expression "(int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" ( identifier , (binary_expression "(local_30 ^ local_2c) % *(uint *)(param_2 + 4)" (parenthesized_expression "(local_30 ^ local_2c)" ( (binary_expression "local_30 ^ local_2c" identifier ^ identifier) )) % (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) , (pointer_expression "&local_30" & identifier) ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }" { (expression_statement "uVar3 = 0xb0d;" (assignment_expression "uVar3 = 0xb0d" identifier = number_literal) ;) (labeled_statement "LAB_0021c538:\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 + -0x3070);" statement_identifier : (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 + -0x3070);" (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 + -0x3070)" (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 + -0x3070)" ( (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x48b4" identifier + number_literal) , identifier , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x3070" identifier + number_literal) ))) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar3 = 0xb0d;" (assignment_expression "uVar3 = 0xb0d" identifier = number_literal) ;) (if_statement "if (*piVar2 == 0) goto LAB_0021c538;" if (parenthesized_expression "(*piVar2 == 0)" ( (binary_expression "*piVar2 == 0" (pointer_expression "*piVar2" * identifier) == number_literal) )) (goto_statement "goto LAB_0021c538;" goto statement_identifier ;)) (expression_statement "piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);" (assignment_expression "piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18)" identifier = (cast_expression "(int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18)" ( (binary_expression "*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18" (pointer_expression "*(int *)param_3" * (cast_expression "(int *)param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "*(int *)(*piVar2 + 0xc) * 0x18" (pointer_expression "*(int *)(*piVar2 + 0xc)" * (cast_expression "(int *)(*piVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0xc)" ( (binary_expression "*piVar2 + 0xc" (pointer_expression "*piVar2" * identifier) + number_literal) )))) * number_literal)) )))) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }" if (parenthesized_expression "(*piVar2 + 4U < 4)" ( (binary_expression "*piVar2 + 4U < 4" (binary_expression "*piVar2 + 4U" (pointer_expression "*piVar2" * identifier) + number_literal) < number_literal) )) (compound_statement "{\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }" { (expression_statement "uVar3 = 0xb0e;" (assignment_expression "uVar3 = 0xb0e" identifier = number_literal) ;) (goto_statement "goto LAB_0021c538;" goto statement_identifier ;) })) (expression_statement "*piVar2 = -4;" (assignment_expression "*piVar2 = -4" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[4] = iVar5;" (assignment_expression "piVar2[4] = iVar5" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(iVar7 != iVar4)" ( (binary_expression "iVar7 != iVar4" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(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 (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ IDENT) )) % (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (pointer_expression & IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (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) ))) ;)) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void __thiscall\ngold::Output_section::convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  uint local_30;\n  uint local_2c;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  piVar6 = *(int **)param_1;\n  iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;\n  if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Output_section::" (identifier "gold") (: ":") (: ":") (identifier "Output_section") (: ":") (: ":")) (function_declarator "convert_input_sections_in_list_to_relaxed_sections\n          (Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)" (identifier "convert_input_sections_in_list_to_relaxed_sections") (parameter_list "(Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)" (( "(") (parameter_declaration "Output_section *this" (type_identifier "Output_section") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "vector *param_1" (type_identifier "vector") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "unordered_map *param_2" (type_identifier "unordered_map") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "vector *param_3" (type_identifier "vector") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  uint local_30;\n  uint local_2c;\n  \n  puVar1 = PTR__M_find_before_node_004c3950;\n  piVar6 = *(int **)param_1;\n  iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;\n  if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (expression_statement "puVar1 = PTR__M_find_before_node_004c3950;" (assignment_expression "puVar1 = PTR__M_find_before_node_004c3950" (identifier "puVar1") (= "=") (identifier "PTR__M_find_before_node_004c3950")) (; ";")) (expression_statement "piVar6 = *(int **)param_1;" (assignment_expression "piVar6 = *(int **)param_1" (identifier "piVar6") (= "=") (pointer_expression "*(int **)param_1" (* "*") (cast_expression "(int **)param_1" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_1")))) (; ";")) (expression_statement "iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;" (assignment_expression "iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2" (identifier "iVar4") (= "=") (binary_expression "*(int *)(param_1 + 4) - (int)piVar6 >> 2" (binary_expression "*(int *)(param_1 + 4) - (int)piVar6" (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")) () ")")))) (- "-") (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6"))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (iVar4 != 0) {\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar7 = 0;\n    do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);\n  }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    } while (iVar7 != iVar4);" (do "do") (compound_statement "{\n      iVar5 = *piVar6;\n      local_30 = *(uint *)(iVar5 + 0x30);\n      local_2c = *(uint *)(iVar5 + 0x34);\n      if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }\n      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);\n      if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }\n      uVar3 = 0xb0d;\n      if (*piVar2 == 0) goto LAB_0021c538;\n      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);\n      iVar7 = iVar7 + 1;\n      if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }\n      *piVar2 = -4;\n      piVar2[1] = 0;\n      piVar2[3] = 0;\n      piVar6 = piVar6 + 1;\n      piVar2[2] = 0;\n      piVar2[4] = iVar5;\n    }" ({ "{") (expression_statement "iVar5 = *piVar6;" (assignment_expression "iVar5 = *piVar6" (identifier "iVar5") (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (; ";")) (expression_statement "local_30 = *(uint *)(iVar5 + 0x30);" (assignment_expression "local_30 = *(uint *)(iVar5 + 0x30)" (identifier "local_30") (= "=") (pointer_expression "*(uint *)(iVar5 + 0x30)" (* "*") (cast_expression "(uint *)(iVar5 + 0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x30)" (( "(") (binary_expression "iVar5 + 0x30" (identifier "iVar5") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "local_2c = *(uint *)(iVar5 + 0x34);" (assignment_expression "local_2c = *(uint *)(iVar5 + 0x34)" (identifier "local_2c") (= "=") (pointer_expression "*(uint *)(iVar5 + 0x34)" (* "*") (cast_expression "(uint *)(iVar5 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x34)" (( "(") (binary_expression "iVar5 + 0x34" (identifier "iVar5") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (if_statement "if (*(uint *)(param_2 + 4) == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(*(uint *)(param_2 + 4) == 0)" (( "(") (binary_expression "*(uint *)(param_2 + 4) == 0" (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30);" (assignment_expression "piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),\n                                        &local_30)" (( "(") (identifier "param_2") (, ",") (binary_expression "(local_30 ^ local_2c) % *(uint *)(param_2 + 4)" (parenthesized_expression "(local_30 ^ local_2c)" (( "(") (binary_expression "local_30 ^ local_2c" (identifier "local_30") (^ "^") (identifier "local_2c")) () ")")) (% "%") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")"))))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) {\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        uVar3 = 0xb0d;\nLAB_0021c538:\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 + -0x3070);\n        return;\n      }" ({ "{") (expression_statement "uVar3 = 0xb0d;" (assignment_expression "uVar3 = 0xb0d" (identifier "uVar3") (= "=") (number_literal "0xb0d")) (; ";")) (labeled_statement "LAB_0021c538:\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 + -0x3070);" (statement_identifier "LAB_0021c538") (: ":") (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 + -0x3070);" (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 + -0x3070)" (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 + -0x3070)" (( "(") (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 + -0x3070" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x3070")) () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar3 = 0xb0d;" (assignment_expression "uVar3 = 0xb0d" (identifier "uVar3") (= "=") (number_literal "0xb0d")) (; ";")) (if_statement "if (*piVar2 == 0) goto LAB_0021c538;" (if "if") (parenthesized_expression "(*piVar2 == 0)" (( "(") (binary_expression "*piVar2 == 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0021c538;" (goto "goto") (statement_identifier "LAB_0021c538") (; ";"))) (expression_statement "piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);" (assignment_expression "piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18)" (( "(") (binary_expression "*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18" (pointer_expression "*(int *)param_3" (* "*") (cast_expression "(int *)param_3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_3"))) (+ "+") (binary_expression "*(int *)(*piVar2 + 0xc) * 0x18" (pointer_expression "*(int *)(*piVar2 + 0xc)" (* "*") (cast_expression "(int *)(*piVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + 0xc)" (( "(") (binary_expression "*piVar2 + 0xc" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0xc")) () ")")))) (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*piVar2 + 4U < 4) {\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }" (if "if") (parenthesized_expression "(*piVar2 + 4U < 4)" (( "(") (binary_expression "*piVar2 + 4U < 4" (binary_expression "*piVar2 + 4U" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "4U")) (< "<") (number_literal "4")) () ")")) (compound_statement "{\n        uVar3 = 0xb0e;\n        goto LAB_0021c538;\n      }" ({ "{") (expression_statement "uVar3 = 0xb0e;" (assignment_expression "uVar3 = 0xb0e" (identifier "uVar3") (= "=") (number_literal "0xb0e")) (; ";")) (goto_statement "goto LAB_0021c538;" (goto "goto") (statement_identifier "LAB_0021c538") (; ";")) (} "}"))) (expression_statement "*piVar2 = -4;" (assignment_expression "*piVar2 = -4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (number_literal "-4")) (; ";")) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[4] = iVar5;" (assignment_expression "piVar2[4] = iVar5" (subscript_expression "piVar2[4]" (identifier "piVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 != iVar4)" (( "(") (binary_expression "iVar7 != iVar4" (identifier "iVar7") (!= "!=") (identifier "iVar4")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: void convert_input_sections_in_list_to_relaxed_sections(Output_section
   * this,
   vector<gold::Output_relaxed_input_section*,_std::allocator<gold::Output_relaxed_input_section*>_>
   * relaxed_sections, Relaxation_map * map, Input_section_list * input_sections) */

void __thiscall
var_3::type_1::function_1
          (type_1 *this,
          type_2<var_3::type_10*,type_3::allocator<var_3::type_10*>var_1>
          *relaxed_sections,type_4 *map,type_5 *input_sections)

{
  type_6 *puVar1;
  type_7 pIVar2;
  int *var_7;
  type_8 var_5;
  type_9 uVar5;
  int var_4;
  type_10 *pOVar7;
  type_7 var_11;
  int var_10;
  type_11 sid;
  
  puVar1 = PTR__M_find_before_node_004c3950;
  var_11 = (relaxed_sections->
            super__Vector_base<var_3::type_10*var_2,type_3::allocator<var_3::type_10*>var_1>var_2
            )._M_impl._M_start;
  var_4 = (int)(relaxed_sections->
               super__Vector_base<var_3::type_10*,type_3::allocator<var_3::type_10*>var_1>var_2
               )._M_impl._M_finish - (int)var_11 >> 2;
  if (var_4 != 0) {
    var_10 = 0;
    do {
      pOVar7 = *var_11;
      var_5 = (map->_M_h)._M_bucket_count;
      sid.first = pOVar7->relobj_;
      sid.second = pOVar7->shndx_;
      if (var_5 == 0) {
        var_6(7);
      }
      var_7 = (int *)(*(type_12 *)puVar1)(map,((type_8)sid.first ^ sid.second) % var_5,&sid);
      if (var_7 == (int *)0x0) {
        uVar5 = 0xb0d;
LAB_0021c538:
        (*(type_12 *)PTR_do_gold_unreachable_004c1a30)
                  (var_8 + -0x48b4,uVar5,
                   var_8 + -0x3070);
        return;
      }
      uVar5 = 0xb0d;
      if (*var_7 == 0) goto LAB_0021c538;
      pIVar2 = (input_sections->
               super__Vector_base<var_3::type_1::var_9,type_3::allocator<var_3::type_1::var_9>var_1>var_2
               )._M_impl._M_start + *(int *)(*var_7 + 0xc);
      var_10 = var_10 + 1;
      if (pIVar2->shndx_ + 4 < 4) {
        uVar5 = 0xb0e;
        goto LAB_0021c538;
      }
      pIVar2->shndx_ = 0xfffffffc;
      pIVar2->p2align_ = 0;
      *(type_9 *)((int)&pIVar2->u1_ + 4) = 0;
      var_11 = var_11 + 1;
      *(type_9 *)&pIVar2->u1_ = 0;
      (pIVar2->u2_).poris = pOVar7;
    } while (var_10 != var_4);
  }
  return;
}


(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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (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))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement))))

/* gold::Output_section::MASKED(std::vector<gold::Output_relaxed_input_section*,
   std::allocator<gold::Output_relaxed_input_section*> > const&,
   std::unordered_map<std::pair<gold::Relobj*, unsigned int>, unsigned int, gold::Section_id_hash,
   std::equal_to<std::pair<gold::Relobj*, unsigned int> >,
   std::allocator<std::pair<std::pair<gold::Relobj*, unsigned int> const, unsigned int> > > const&,
   std::vector<gold::Output_section::Input_section,
   std::allocator<gold::Output_section::Input_section> >*) */

void __thiscall
gold::Output_section::MASKED
          (Output_section *this,vector *param_1,unordered_map *param_2,vector *param_3)

{
  undefined *puVar1;
  int *piVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  int iVar7;
  uint local_30;
  uint local_2c;
  
  puVar1 = PTR__M_find_before_node_004c3950;
  piVar6 = *(int **)param_1;
  iVar4 = *(int *)(param_1 + 4) - (int)piVar6 >> 2;
  if (iVar4 != 0) {
    iVar7 = 0;
    do {
      iVar5 = *piVar6;
      local_30 = *(uint *)(iVar5 + 0x30);
      local_2c = *(uint *)(iVar5 + 0x34);
      if (*(uint *)(param_2 + 4) == 0) {
        trap(7);
      }
      piVar2 = (int *)(*(code *)puVar1)(param_2,(local_30 ^ local_2c) % *(uint *)(param_2 + 4),
                                        &local_30);
      if (piVar2 == (int *)0x0) {
        uVar3 = 0xb0d;
LAB_0021c538:
        (*(code *)PTR_do_gold_unreachable_004c1a30)
                  (PTR_s_in_a_linker_script_004c191c + -0x48b4,uVar3,
                   PTR_s_in_a_linker_script_004c191c + -0x3070);
        return;
      }
      uVar3 = 0xb0d;
      if (*piVar2 == 0) goto LAB_0021c538;
      piVar2 = (int *)(*(int *)param_3 + *(int *)(*piVar2 + 0xc) * 0x18);
      iVar7 = iVar7 + 1;
      if (*piVar2 + 4U < 4) {
        uVar3 = 0xb0e;
        goto LAB_0021c538;
      }
      *piVar2 = -4;
      piVar2[1] = 0;
      piVar2[3] = 0;
      piVar6 = piVar6 + 1;
      piVar2[2] = 0;
      piVar2[4] = iVar5;
    } while (iVar7 != iVar4);
  }
  return;
}

