
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void place_orphan_sections_in_script(Layout * this) */

void __thiscall gold::Layout::place_orphan_sections_in_script(Layout *this)

{
  Script_options *pSVar1;
  Output_section *os;
  pointer ppOVar2;
  
  pSVar1 = this->script_options_;
  if ((pSVar1->script_sections_).saw_sections_clause_ == false) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");
  }
  ppOVar2 = (this->section_list_).
            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
            _M_impl._M_start;
  if (ppOVar2 !=
      (this->section_list_).
      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.
      _M_finish) {
    do {
      while (os = *ppOVar2, (os->field_0xc8 & 0x40) != 0) {
        ppOVar2 = ppOVar2 + 1;
        if ((this->section_list_).
            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
            _M_impl._M_finish == ppOVar2) {
          return;
        }
      }
      ppOVar2 = ppOVar2 + 1;
      Script_sections::place_orphan(&pSVar1->script_sections_,os);
    } while ((this->section_list_).
             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
             _M_impl._M_finish != ppOVar2);
  }
  return;
}



void FUN_001b57a0(long param_1)

{
  long lVar1;
  long *plVar2;
  
  lVar1 = *(long *)(param_1 + 8);
  if (*(char *)(lVar1 + 0x148) == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");
  }
  plVar2 = *(long **)(param_1 + 0x248);
  if (plVar2 != *(long **)(param_1 + 0x250)) {
    do {
      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {
        plVar2 = plVar2 + 1;
        if (*(long **)(param_1 + 0x250) == plVar2) {
          return;
        }
      }
      plVar2 = plVar2 + 1;
      FUN_00231c70(lVar1 + 0x148);
    } while (*(long **)(param_1 + 0x250) != plVar2);
  }
  return;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RAX,qword ptr [RDI + 0x8]
CMP byte ptr [RAX + 0x148],0x0
JZ 0x001b5803
MOV RBP,RDI
LEA R12,[RAX + 0x148]
MOV RBX,qword ptr [RDI + 0x248]
CMP RBX,qword ptr [RDI + 0x250]
JNZ 0x001b57dd
JMP 0x001b57fe
ADD RBX,0x8
CMP qword ptr [RBP + 0x250],RBX
JZ 0x001b57fe
MOV RSI,qword ptr [RBX]
TEST byte ptr [RSI + 0xc8],0x40
JNZ 0x001b57d0
MOV RDI,R12
ADD RBX,0x8
CALL 0x00231c70
CMP qword ptr [RBP + 0x250],RBX
JNZ 0x001b57dd
POP RBX
POP RBP
POP R12
RET
LEA RDX,[0x343740]
MOV ESI,0x10c9
LEA RDI,[0x3425b8]
CALL 0x00199900
(translation_unit "void FUN_001b57a0(long param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (*(char *)(lVar1 + 0x148) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  plVar2 = *(long **)(param_1 + 0x248);\n  if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001b57a0(long param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (*(char *)(lVar1 + 0x148) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  plVar2 = *(long **)(param_1 + 0x248);\n  if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001b57a0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (*(char *)(lVar1 + 0x148) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  plVar2 = *(long **)(param_1 + 0x248);\n  if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(lVar1 + 0x148) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }" if (parenthesized_expression "(*(char *)(lVar1 + 0x148) == '\0')" ( (binary_expression "*(char *)(lVar1 + 0x148) == '\0'" (pointer_expression "*(char *)(lVar1 + 0x148)" * (cast_expression "(char *)(lVar1 + 0x148)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x148)" ( (binary_expression "lVar1 + 0x148" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }" { comment (expression_statement "FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");" (call_expression "FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script")" identifier (argument_list "("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script")" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""place_orphan_sections_in_script"" " string_content ") ))) ;) })) (expression_statement "plVar2 = *(long **)(param_1 + 0x248);" (assignment_expression "plVar2 = *(long **)(param_1 + 0x248)" identifier = (pointer_expression "*(long **)(param_1 + 0x248)" * (cast_expression "(long **)(param_1 + 0x248)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x248)" ( (binary_expression "param_1 + 0x248" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }" if (parenthesized_expression "(plVar2 != *(long **)(param_1 + 0x250))" ( (binary_expression "plVar2 != *(long **)(param_1 + 0x250)" identifier != (pointer_expression "*(long **)(param_1 + 0x250)" * (cast_expression "(long **)(param_1 + 0x250)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }" { (do_statement "do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);" do (compound_statement "{\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    }" { (while_statement "while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }" while (parenthesized_expression "((*(byte *)(*plVar2 + 200) & 0x40) != 0)" ( (binary_expression "(*(byte *)(*plVar2 + 200) & 0x40) != 0" (parenthesized_expression "(*(byte *)(*plVar2 + 200) & 0x40)" ( (binary_expression "*(byte *)(*plVar2 + 200) & 0x40" (pointer_expression "*(byte *)(*plVar2 + 200)" * (cast_expression "(byte *)(*plVar2 + 200)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar2 + 200)" ( (binary_expression "*plVar2 + 200" (pointer_expression "*plVar2" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }" { (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (if_statement "if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }" if (parenthesized_expression "(*(long **)(param_1 + 0x250) == plVar2)" ( (binary_expression "*(long **)(param_1 + 0x250) == plVar2" (pointer_expression "*(long **)(param_1 + 0x250)" * (cast_expression "(long **)(param_1 + 0x250)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00231c70(lVar1 + 0x148);" (call_expression "FUN_00231c70(lVar1 + 0x148)" identifier (argument_list "(lVar1 + 0x148)" ( (binary_expression "lVar1 + 0x148" identifier + number_literal) ))) ;) }) while (parenthesized_expression "(*(long **)(param_1 + 0x250) != plVar2)" ( (binary_expression "*(long **)(param_1 + 0x250) != plVar2" (pointer_expression "*(long **)(param_1 + 0x250)" * (cast_expression "(long **)(param_1 + 0x250)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void place_orphan_sections_in_script(Layout * this) */\n\nvoid __thiscall gold::Layout::place_orphan_sections_in_script(Layout *this)\n\n{\n  Script_options *pSVar1;\n  Output_section *os;\n  pointer ppOVar2;\n  \n  pSVar1 = this->script_options_;\n  if ((pSVar1->script_sections_).saw_sections_clause_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      while (os = *ppOVar2, (os->field_0xc8 & 0x40) != 0) {\n        ppOVar2 = ppOVar2 + 1;\n        if ((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2) {\n          return;\n        }\n      }\n      ppOVar2 = ppOVar2 + 1;\n      Script_sections::place_orphan(&pSVar1->script_sections_,os);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Layout::place_orphan_sections_in_script(Layout *this)\n\n{\n  Script_options *pSVar1;\n  Output_section *os;\n  pointer ppOVar2;\n  \n  pSVar1 = this->script_options_;\n  if ((pSVar1->script_sections_).saw_sections_clause_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      while (os = *ppOVar2, (os->field_0xc8 & 0x40) != 0) {\n        ppOVar2 = ppOVar2 + 1;\n        if ((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2) {\n          return;\n        }\n      }\n      ppOVar2 = ppOVar2 + 1;\n      Script_sections::place_orphan(&pSVar1->script_sections_,os);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "place_orphan_sections_in_script(Layout *this)" identifier (parameter_list "(Layout *this)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Script_options *pSVar1;\n  Output_section *os;\n  pointer ppOVar2;\n  \n  pSVar1 = this->script_options_;\n  if ((pSVar1->script_sections_).saw_sections_clause_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      while (os = *ppOVar2, (os->field_0xc8 & 0x40) != 0) {\n        ppOVar2 = ppOVar2 + 1;\n        if ((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2) {\n          return;\n        }\n      }\n      ppOVar2 = ppOVar2 + 1;\n      Script_sections::place_orphan(&pSVar1->script_sections_,os);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }\n  return;\n}" { (declaration "Script_options *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (declaration "Output_section *os;" type_identifier (pointer_declarator "*os" * identifier) ;) (declaration "pointer ppOVar2;" type_identifier identifier ;) (expression_statement "pSVar1 = this->script_options_;" (assignment_expression "pSVar1 = this->script_options_" identifier = (field_expression "this->script_options_" identifier -> field_identifier)) ;) (if_statement "if ((pSVar1->script_sections_).saw_sections_clause_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }" if (parenthesized_expression "((pSVar1->script_sections_).saw_sections_clause_ == false)" ( (binary_expression "(pSVar1->script_sections_).saw_sections_clause_ == false" (field_expression "(pSVar1->script_sections_).saw_sections_clause_" (parenthesized_expression "(pSVar1->script_sections_)" ( (field_expression "pSVar1->script_sections_" identifier -> field_identifier) )) . field_identifier) == false) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");" (call_expression "do_gold_unreachable("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script")" identifier (argument_list "("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script")" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""place_orphan_sections_in_script"" " string_content ") ))) ;) })) (expression_statement "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;" (field_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start" (field_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl" (binary_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std" (assignment_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->section_list_).\n            super__Vector_base<gold" (field_expression "(this->section_list_).\n            super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      while (os = *ppOVar2, (os->field_0xc8 & 0x40) != 0) {\n        ppOVar2 = ppOVar2 + 1;\n        if ((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2) {\n          return;\n        }\n      }\n      ppOVar2 = ppOVar2 + 1;\n      Script_sections::place_orphan(&pSVar1->script_sections_,os);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }" if (parenthesized_expression "(ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish)" ( (field_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish" (field_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold" identifier != (binary_expression "(this->section_list_).\n      super__Vector_base<gold" (field_expression "(this->section_list_).\n      super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      while (os = *ppOVar2, (os->field_0xc8 & 0x40) != 0) {\n        ppOVar2 = ppOVar2 + 1;\n        if ((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2) {\n          return;\n        }\n      }\n      ppOVar2 = ppOVar2 + 1;\n      Script_sections::place_orphan(&pSVar1->script_sections_,os);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }" { (do_statement "do {\n      while (os = *ppOVar2, (os->field_0xc8 & 0x40) != 0) {\n        ppOVar2 = ppOVar2 + 1;\n        if ((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2) {\n          return;\n        }\n      }\n      ppOVar2 = ppOVar2 + 1;\n      Script_sections::place_orphan(&pSVar1->script_sections_,os);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);" do (compound_statement "{\n      while (os = *ppOVar2, (os->field_0xc8 & 0x40) != 0) {\n        ppOVar2 = ppOVar2 + 1;\n        if ((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2) {\n          return;\n        }\n      }\n      ppOVar2 = ppOVar2 + 1;\n      Script_sections::place_orphan(&pSVar1->script_sections_,os);\n    }" { (while_statement "while (os = *ppOVar2, (os->field_0xc8 & 0x40) != 0) {\n        ppOVar2 = ppOVar2 + 1;\n        if ((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2) {\n          return;\n        }\n      }" while (parenthesized_expression "(os = *ppOVar2, (os->field_0xc8 & 0x40) != 0)" ( (comma_expression "os = *ppOVar2, (os->field_0xc8 & 0x40) != 0" (assignment_expression "os = *ppOVar2" identifier = (pointer_expression "*ppOVar2" * identifier)) , (binary_expression "(os->field_0xc8 & 0x40) != 0" (parenthesized_expression "(os->field_0xc8 & 0x40)" ( (binary_expression "os->field_0xc8 & 0x40" (field_expression "os->field_0xc8" identifier -> field_identifier) & number_literal) )) != number_literal)) )) (compound_statement "{\n        ppOVar2 = ppOVar2 + 1;\n        if ((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2) {\n          return;\n        }\n      }" { (expression_statement "ppOVar2 = ppOVar2 + 1;" (assignment_expression "ppOVar2 = ppOVar2 + 1" identifier = (binary_expression "ppOVar2 + 1" identifier + number_literal)) ;) (if_statement "if ((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2) {\n          return;\n        }" if (parenthesized_expression "((this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2)" ( (binary_expression "(this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar2" (field_expression "(this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish" (field_expression "(this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl" (binary_expression "(this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "(this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "(this->section_list_).\n            super__Vector_base<gold::Output_section*,_std" (binary_expression "(this->section_list_).\n            super__Vector_base<gold" (field_expression "(this->section_list_).\n            super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "ppOVar2 = ppOVar2 + 1;" (assignment_expression "ppOVar2 = ppOVar2 + 1" identifier = (binary_expression "ppOVar2 + 1" identifier + number_literal)) ;) (labeled_statement "Script_sections::place_orphan(&pSVar1->script_sections_,os);" statement_identifier : (ERROR ":" :) (expression_statement "place_orphan(&pSVar1->script_sections_,os);" (call_expression "place_orphan(&pSVar1->script_sections_,os)" identifier (argument_list "(&pSVar1->script_sections_,os)" ( (pointer_expression "&pSVar1->script_sections_" & (field_expression "pSVar1->script_sections_" identifier -> field_identifier)) , identifier ))) ;)) }) while (parenthesized_expression "((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2)" ( (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2" (field_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish" (field_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std" (binary_expression "(this->section_list_).\n             super__Vector_base<gold" (field_expression "(this->section_list_).\n             super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001b57a0(long param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (*(char *)(lVar1 + 0x148) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  plVar2 = *(long **)(param_1 + 0x248);\n  if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001b57a0(long param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (*(char *)(lVar1 + 0x148) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  plVar2 = *(long **)(param_1 + 0x248);\n  if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001b57a0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (*(char *)(lVar1 + 0x148) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  plVar2 = *(long **)(param_1 + 0x248);\n  if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(lVar1 + 0x148) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }" if (parenthesized_expression "(*(char *)(lVar1 + 0x148) == '\0')" ( (binary_expression "*(char *)(lVar1 + 0x148) == '\0'" (pointer_expression "*(char *)(lVar1 + 0x148)" * (cast_expression "(char *)(lVar1 + 0x148)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x148)" ( (binary_expression "lVar1 + 0x148" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }" { (expression_statement "FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");" (call_expression "FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script")" identifier (argument_list "("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script")" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""place_orphan_sections_in_script"" " string_content ") ))) ;) })) (expression_statement "plVar2 = *(long **)(param_1 + 0x248);" (assignment_expression "plVar2 = *(long **)(param_1 + 0x248)" identifier = (pointer_expression "*(long **)(param_1 + 0x248)" * (cast_expression "(long **)(param_1 + 0x248)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x248)" ( (binary_expression "param_1 + 0x248" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }" if (parenthesized_expression "(plVar2 != *(long **)(param_1 + 0x250))" ( (binary_expression "plVar2 != *(long **)(param_1 + 0x250)" identifier != (pointer_expression "*(long **)(param_1 + 0x250)" * (cast_expression "(long **)(param_1 + 0x250)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }" { (do_statement "do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);" do (compound_statement "{\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    }" { (while_statement "while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }" while (parenthesized_expression "((*(byte *)(*plVar2 + 200) & 0x40) != 0)" ( (binary_expression "(*(byte *)(*plVar2 + 200) & 0x40) != 0" (parenthesized_expression "(*(byte *)(*plVar2 + 200) & 0x40)" ( (binary_expression "*(byte *)(*plVar2 + 200) & 0x40" (pointer_expression "*(byte *)(*plVar2 + 200)" * (cast_expression "(byte *)(*plVar2 + 200)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar2 + 200)" ( (binary_expression "*plVar2 + 200" (pointer_expression "*plVar2" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }" { (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (if_statement "if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }" if (parenthesized_expression "(*(long **)(param_1 + 0x250) == plVar2)" ( (binary_expression "*(long **)(param_1 + 0x250) == plVar2" (pointer_expression "*(long **)(param_1 + 0x250)" * (cast_expression "(long **)(param_1 + 0x250)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00231c70(lVar1 + 0x148);" (call_expression "FUN_00231c70(lVar1 + 0x148)" identifier (argument_list "(lVar1 + 0x148)" ( (binary_expression "lVar1 + 0x148" identifier + number_literal) ))) ;) }) while (parenthesized_expression "(*(long **)(param_1 + 0x250) != plVar2)" ( (binary_expression "*(long **)(param_1 + 0x250) != plVar2" (pointer_expression "*(long **)(param_1 + 0x250)" * (cast_expression "(long **)(param_1 + 0x250)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001b57a0(long param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (*(char *)(lVar1 + 0x148) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  plVar2 = *(long **)(param_1 + 0x248);\n  if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001b57a0(long param_1)" (identifier "FUN_001b57a0") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (*(char *)(lVar1 + 0x148) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }\n  plVar2 = *(long **)(param_1 + 0x248);\n  if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (*(char *)(lVar1 + 0x148) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }" (if "if") (parenthesized_expression "(*(char *)(lVar1 + 0x148) == '\0')" (( "(") (binary_expression "*(char *)(lVar1 + 0x148) == '\0'" (pointer_expression "*(char *)(lVar1 + 0x148)" (* "*") (cast_expression "(char *)(lVar1 + 0x148)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x148)" (( "(") (binary_expression "lVar1 + 0x148" (identifier "lVar1") (+ "+") (number_literal "0x148")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");\n  }" ({ "{") (expression_statement "FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");" (call_expression "FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script")" (identifier "FUN_00199900") (argument_list "("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script")" (( "(") (string_literal ""../../gold/layout.cc"" (" """) (string_content "../../gold/layout.cc") (" """)) (, ",") (number_literal "0x10c9") (, ",") (string_literal ""place_orphan_sections_in_script"" (" """) (string_content "place_orphan_sections_in_script") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "plVar2 = *(long **)(param_1 + 0x248);" (assignment_expression "plVar2 = *(long **)(param_1 + 0x248)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(param_1 + 0x248)" (* "*") (cast_expression "(long **)(param_1 + 0x248)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x248)" (( "(") (binary_expression "param_1 + 0x248" (identifier "param_1") (+ "+") (number_literal "0x248")) () ")"))))) (; ";")) (if_statement "if (plVar2 != *(long **)(param_1 + 0x250)) {\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }" (if "if") (parenthesized_expression "(plVar2 != *(long **)(param_1 + 0x250))" (( "(") (binary_expression "plVar2 != *(long **)(param_1 + 0x250)" (identifier "plVar2") (!= "!=") (pointer_expression "*(long **)(param_1 + 0x250)" (* "*") (cast_expression "(long **)(param_1 + 0x250)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x250)" (( "(") (binary_expression "param_1 + 0x250" (identifier "param_1") (+ "+") (number_literal "0x250")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);\n  }" ({ "{") (do_statement "do {\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    } while (*(long **)(param_1 + 0x250) != plVar2);" (do "do") (compound_statement "{\n      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }\n      plVar2 = plVar2 + 1;\n      FUN_00231c70(lVar1 + 0x148);\n    }" ({ "{") (while_statement "while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }" (while "while") (parenthesized_expression "((*(byte *)(*plVar2 + 200) & 0x40) != 0)" (( "(") (binary_expression "(*(byte *)(*plVar2 + 200) & 0x40) != 0" (parenthesized_expression "(*(byte *)(*plVar2 + 200) & 0x40)" (( "(") (binary_expression "*(byte *)(*plVar2 + 200) & 0x40" (pointer_expression "*(byte *)(*plVar2 + 200)" (* "*") (cast_expression "(byte *)(*plVar2 + 200)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*plVar2 + 200)" (( "(") (binary_expression "*plVar2 + 200" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "200")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }\n      }" ({ "{") (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" (identifier "plVar2") (= "=") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(long **)(param_1 + 0x250) == plVar2) {\n          return;\n        }" (if "if") (parenthesized_expression "(*(long **)(param_1 + 0x250) == plVar2)" (( "(") (binary_expression "*(long **)(param_1 + 0x250) == plVar2" (pointer_expression "*(long **)(param_1 + 0x250)" (* "*") (cast_expression "(long **)(param_1 + 0x250)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x250)" (( "(") (binary_expression "param_1 + 0x250" (identifier "param_1") (+ "+") (number_literal "0x250")) () ")")))) (== "==") (identifier "plVar2")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" (identifier "plVar2") (= "=") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00231c70(lVar1 + 0x148);" (call_expression "FUN_00231c70(lVar1 + 0x148)" (identifier "FUN_00231c70") (argument_list "(lVar1 + 0x148)" (( "(") (binary_expression "lVar1 + 0x148" (identifier "lVar1") (+ "+") (number_literal "0x148")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(long **)(param_1 + 0x250) != plVar2)" (( "(") (binary_expression "*(long **)(param_1 + 0x250) != plVar2" (pointer_expression "*(long **)(param_1 + 0x250)" (* "*") (cast_expression "(long **)(param_1 + 0x250)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x250)" (( "(") (binary_expression "param_1 + 0x250" (identifier "param_1") (+ "+") (number_literal "0x250")) () ")")))) (!= "!=") (identifier "plVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void place_orphan_sections_in_script(Layout * this) */

void __thiscall var_2::type_1::function_1(type_1 *this)

{
  type_2 *pSVar1;
  type_3 *os;
  type_4 var_5;
  
  pSVar1 = this->script_options_;
  if ((pSVar1->script_sections_).saw_sections_clause_ == false) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");
  }
  var_5 = (this->section_list_).
            super__Vector_base<var_2::type_3*,var_3::allocator<var_2::type_3*>var_4>.
            _M_impl._M_start;
  if (var_5 !=
      (this->section_list_).
      super__Vector_base<var_2::type_3*,var_3::allocator<var_2::type_3*>var_4>._M_impl.
      _M_finish) {
    do {
      while (os = *var_5, (os->field_0xc8 & 0x40) != 0) {
        var_5 = var_5 + 1;
        if ((this->section_list_).
            super__Vector_base<var_2::type_3*,var_3::allocator<var_2::type_3*>var_4>.
            _M_impl._M_finish == var_5) {
          return;
        }
      }
      var_5 = var_5 + 1;
      Script_sections::var_6(&pSVar1->script_sections_,os);
    } while ((this->section_list_).
             super__Vector_base<var_2::type_3*,var_3::allocator<var_2::type_3*>var_4>.
             _M_impl._M_finish != var_5);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (return_statement))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (return_statement))))

void MASKED(long param_1)

{
  long lVar1;
  long *plVar2;
  
  lVar1 = *(long *)(param_1 + 8);
  if (*(char *)(lVar1 + 0x148) == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_00199900("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script");
  }
  plVar2 = *(long **)(param_1 + 0x248);
  if (plVar2 != *(long **)(param_1 + 0x250)) {
    do {
      while ((*(byte *)(*plVar2 + 200) & 0x40) != 0) {
        plVar2 = plVar2 + 1;
        if (*(long **)(param_1 + 0x250) == plVar2) {
          return;
        }
      }
      plVar2 = plVar2 + 1;
      FUN_00231c70(lVar1 + 0x148);
    } while (*(long **)(param_1 + 0x250) != plVar2);
  }
  return;
}

