
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original name: __insertion_sort<__gnu_cxx::__normal_iterator<gold::Output_segment**,
   std::vector<gold::Output_segment*> >,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments> > */

void std::
     __insertion_sort<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>
               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
                        __last,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)

{
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  bool bVar1;
  Output_segment *pOVar2;
  Output_segment **ppOVar3;
  Output_segment **ppOVar4;
  int in_t9;
  
  if (__first._M_current != __last._M_current) {
    for (ppOVar4 = __first._M_current + 1; ppOVar4 != __last._M_current; ppOVar4 = ppOVar4 + 1) {
      bVar1 = gold::Layout::segment_precedes
                        ((Layout *)__comp._M_comp.layout_,*ppOVar4,*__first._M_current);
      if (CONCAT31(extraout_var,bVar1) == 0) {
        pOVar2 = *ppOVar4;
        ppOVar3 = ppOVar4;
        while( true ) {
          bVar1 = gold::Layout::segment_precedes
                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);
          if (CONCAT31(extraout_var_00,bVar1) == 0) break;
          *ppOVar3 = ppOVar3[-1];
          ppOVar3 = ppOVar3 + -1;
        }
        *ppOVar3 = pOVar2;
      }
      else {
        pOVar2 = *ppOVar4;
        if (__first._M_current != ppOVar4) {
          (**(code **)(in_t9 + 0x3007a8))
                    (__first._M_current + 1,__first._M_current,
                     (int)ppOVar4 - (int)__first._M_current);
        }
        *__first._M_current = pOVar2;
      }
    }
    return;
  }
  return;
}



/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* void std::__insertion_sort<__normal_iterator<gold::Output_segment**,
   std::vector<gold::Output_segment*, std::allocator<gold::Output_segment*> > >,
   __ops::_Iter_comp_iter<gold::Layout::Compare_segments>
   >(__normal_iterator<gold::Output_segment**, std::vector<gold::Output_segment*,
   std::allocator<gold::Output_segment*> > >, __normal_iterator<gold::Output_segment**,
   std::vector<gold::Output_segment*, std::allocator<gold::Output_segment*> > >,
   __ops::_Iter_comp_iter<gold::Layout::Compare_segments>) */

void std::
     __insertion_sort<__normal_iterator<gold::Output_segment**,std::vector<gold::Output_segment*,std::allocator<gold::Output_segment*>>>,__ops::_Iter_comp_iter<gold::Layout::Compare_segments>>
               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  Output_segment *pOVar5;
  int in_t9;
  
  if (param_1 != param_2) {
    for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {
      iVar1 = gold::Layout::segment_precedes
                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);
      if (iVar1 == 0) {
        pOVar5 = (Output_segment *)*puVar4;
        puVar3 = puVar4;
        while( true ) {
          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);
          if (iVar1 == 0) break;
          *puVar3 = puVar3[-1];
          puVar3 = puVar3 + -1;
        }
        *puVar3 = pOVar5;
      }
      else {
        uVar2 = *puVar4;
        if (param_1 != puVar4) {
          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);
        }
        *param_1 = uVar2;
      }
    }
    return;
  }
  return;
}


lui gp,0x30
addiu gp,gp,0x3ef0
addu gp,gp,t9
beq a0,a1,0x001c5464
_nop
addiu sp,sp,-0x40
sw s1,0x1c(sp)
addiu s1,a0,0x4
sw gp,0x10(sp)
sw ra,0x3c(sp)
sw s8,0x38(sp)
sw s7,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
beq s1,a1,0x001c53f8
_sw s0,0x18(sp)
lw s4,-0x6fec(gp)
li s6,0x4
or s3,a2,zero
or s5,a1,zero
or s2,a0,zero
lw a2,0x0(s2)
or a0,s3,zero
or t9,s4,zero
bal 0x001b159c
_lw a1,0x0(s1)
beq v0,zero,0x001c5428
_lw gp,0x10(sp)
beq s2,s1,0x001c53e8
_lw s0,0x0(s1)
lw t9,-0x3748(gp)
subu a2,s1,s2
addu a0,s2,s6
jalr t9
_or a1,s2,zero
sw s0,0x0(s2)
addiu s1,s1,0x4
bne s5,s1,0x001c53b0
_nop
lw ra,0x3c(sp)
lw s8,0x38(sp)
lw s7,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x40
lw s7,0x0(s1)
b 0x001c543c
_or s0,s1,zero
lw v0,0x0(s0)
sw v0,0x4(s0)
lw a2,-0x4(s0)
or a1,s7,zero
or t9,s4,zero
bal 0x001b159c
_or a0,s3,zero
or s8,s0,zero
bne v0,zero,0x001c5434
_addiu s0,s0,-0x4
b 0x001c53ec
_sw s7,0x0(s8)
jr ra
_nop
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* void std::__insertion_sort<__normal_iterator<gold::Output_segment**,\n   std::vector<gold::Output_segment*, std::allocator<gold::Output_segment*> > >,\n   __ops::_Iter_comp_iter<gold::Layout::Compare_segments>\n   >(__normal_iterator<gold::Output_segment**, std::vector<gold::Output_segment*,\n   std::allocator<gold::Output_segment*> > >, __normal_iterator<gold::Output_segment**,\n   std::vector<gold::Output_segment*, std::allocator<gold::Output_segment*> > >,\n   __ops::_Iter_comp_iter<gold::Layout::Compare_segments>) */\n\nvoid std::\n     __insertion_sort<__normal_iterator<gold::Output_segment**,std::vector<gold::Output_segment*,std::allocator<gold::Output_segment*>>>,__ops::_Iter_comp_iter<gold::Layout::Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  Output_segment *pOVar5;\n  int in_t9;\n  \n  if (param_1 != param_2) {\n    for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }\n    return;\n  }\n  return;\n}\n\n" comment comment (declaration "void std::\n     __insertion_sort<__normal_iterator<gold::Output_segment**,std::vector<gold::Output_segment*,std::allocator<gold::Output_segment*>>>,__ops::_Iter_comp_iter<gold::Layout::Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)\n\n{\n  int iVar1;" primitive_type (ERROR "std::\n     __insertion_sort<__normal_iterator<gold::Output_segment" identifier : : identifier < identifier < identifier : : identifier) (pointer_declarator "**,std::vector<gold::Output_segment" * (pointer_declarator "*,std::vector<gold::Output_segment" * (ERROR ",std::vector<gold::" , identifier : : identifier < identifier : :) identifier)) (ERROR "*" *) , (ERROR "std::allocator<gold::" identifier : : identifier < identifier : :) identifier (ERROR "*>>>" * >> >) , (ERROR "__ops::_Iter_comp_iter<gold::Layout::Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)\n\n{\n  int" identifier : : identifier < identifier : : identifier : : (function_declarator "Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)" identifier (ERROR ">>" >>) (parameter_list "(undefined4 *param_1,undefined4 *param_2,Layout *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "Layout *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) { primitive_type) identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "Output_segment *pOVar5;" type_identifier (pointer_declarator "*pOVar5" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (if_statement "if (param_1 != param_2) {\n    for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(param_1 != param_2)" ( (binary_expression "param_1 != param_2" identifier != identifier) )) (compound_statement "{\n    for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }\n    return;\n  }" { (for_statement "for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }" for ( (assignment_expression "puVar4 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ; (binary_expression "puVar4 != param_2" identifier != identifier) ; (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ) (compound_statement "{\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }" { (ERROR "iVar1 = gold::" (assignment_expression "iVar1 = gold" identifier = identifier) : :) (labeled_statement "Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);" statement_identifier : (ERROR ":" :) (expression_statement "segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);" (call_expression "segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1)" identifier (argument_list "(param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1)" ( identifier , (cast_expression "(Output_segment *)*puVar4" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) , (cast_expression "(Output_segment *)*param_1" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;)) (if_statement "if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }" { (expression_statement "pOVar5 = (Output_segment *)*puVar4;" (assignment_expression "pOVar5 = (Output_segment *)*puVar4" identifier = (cast_expression "(Output_segment *)*puVar4" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (while_statement "while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }" { (ERROR "iVar1 = gold::" (assignment_expression "iVar1 = gold" identifier = identifier) : :) (labeled_statement "Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);" statement_identifier : (ERROR ":" :) (expression_statement "segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);" (call_expression "segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1])" identifier (argument_list "(param_3,pOVar5,(Output_segment *)puVar3[-1])" ( identifier , identifier , (cast_expression "(Output_segment *)puVar3[-1]" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[-1]" identifier [ number_literal ])) ))) ;)) (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "*puVar3 = puVar3[-1];" (assignment_expression "*puVar3 = puVar3[-1]" (pointer_expression "*puVar3" * identifier) = (subscript_expression "puVar3[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = puVar3 + -1;" (assignment_expression "puVar3 = puVar3 + -1" identifier = (binary_expression "puVar3 + -1" identifier + number_literal)) ;) })) (expression_statement "*puVar3 = pOVar5;" (assignment_expression "*puVar3 = pOVar5" (pointer_expression "*puVar3" * identifier) = identifier) ;) }) (else_clause "else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }" else (compound_statement "{\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }" { (expression_statement "uVar2 = *puVar4;" (assignment_expression "uVar2 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (if_statement "if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }" if (parenthesized_expression "(param_1 != puVar4)" ( (binary_expression "param_1 != puVar4" identifier != identifier) )) (compound_statement "{\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }" { (expression_statement "(**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);" (call_expression "(**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1)" (parenthesized_expression "(**(code **)(in_t9 + 0x3007a8))" ( (pointer_expression "**(code **)(in_t9 + 0x3007a8)" * (pointer_expression "*(code **)(in_t9 + 0x3007a8)" * (cast_expression "(code **)(in_t9 + 0x3007a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x3007a8)" ( (binary_expression "in_t9 + 0x3007a8" identifier + number_literal) ))))) )) (argument_list "(param_1 + 1,param_1,(int)puVar4 - (int)param_1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , identifier , (binary_expression "(int)puVar4 - (int)param_1" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) }))) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */\n/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */\n/* DWARF original name: __insertion_sort<__gnu_cxx::__normal_iterator<gold::Output_segment**,\n   std::vector<gold::Output_segment*> >,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments> > */\n\nvoid std::\n     __insertion_sort<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __last,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  bool bVar1;\n  Output_segment *pOVar2;\n  Output_segment **ppOVar3;\n  Output_segment **ppOVar4;\n  int in_t9;\n  \n  if (__first._M_current != __last._M_current) {\n    for (ppOVar4 = __first._M_current + 1; ppOVar4 != __last._M_current; ppOVar4 = ppOVar4 + 1) {\n      bVar1 = gold::Layout::segment_precedes\n                        ((Layout *)__comp._M_comp.layout_,*ppOVar4,*__first._M_current);\n      if (CONCAT31(extraout_var,bVar1) == 0) {\n        pOVar2 = *ppOVar4;\n        ppOVar3 = ppOVar4;\n        while( true ) {\n          bVar1 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);\n          if (CONCAT31(extraout_var_00,bVar1) == 0) break;\n          *ppOVar3 = ppOVar3[-1];\n          ppOVar3 = ppOVar3 + -1;\n        }\n        *ppOVar3 = pOVar2;\n      }\n      else {\n        pOVar2 = *ppOVar4;\n        if (__first._M_current != ppOVar4) {\n          (**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);\n        }\n        *__first._M_current = pOVar2;\n      }\n    }\n    return;\n  }\n  return;\n}\n\n" comment comment comment comment comment comment comment comment (declaration "void std::\n     __insertion_sort<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __last,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  undefined3 extraout_var;" primitive_type (ERROR "std::\n     __insertion_sort<__gnu_cxx::__normal_iterator<gold::Output_segment" identifier : : identifier < identifier : : identifier < identifier : : identifier) (pointer_declarator "**,_std::vector<gold::Output_segment*>_" * (pointer_declarator "*,_std::vector<gold::Output_segment*>_" * (ERROR ",_std::vector<gold::Output_segment*>" , identifier : : identifier < identifier : : identifier * >) identifier)) (ERROR ">" >) , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __last,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  undefined3" identifier : : identifier : : identifier < identifier : : identifier : : identifier > (function_declarator "_>\n               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __last,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)" identifier (ERROR ">" >) (parameter_list "(__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __last,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)" ( (parameter_declaration "__normal_iterator<gold::Output_segment**" type_identifier (ERROR "<gold::Output_segment" < identifier : : identifier) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) , (parameter_declaration "_std::vector<gold::Output_segment*" type_identifier (ERROR "::vector<gold::Output_segment" : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Output_segment*>_>_>\n                __first" type_identifier (ERROR "::allocator<gold::Output_segment*>_>_>" : : identifier < identifier : : identifier * > identifier > identifier >) identifier) , (parameter_declaration "__normal_iterator<gold::Output_segment**" type_identifier (ERROR "<gold::Output_segment" < identifier : : identifier) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) , (parameter_declaration "_std::vector<gold::Output_segment*" type_identifier (ERROR "::vector<gold::Output_segment" : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Output_segment*>_>_>\n                        __last" type_identifier (ERROR "::allocator<gold::Output_segment*>_>_>" : : identifier < identifier : : identifier * > identifier > identifier >) identifier) , (parameter_declaration "_Iter_comp_iter<gold::Layout::Compare_segments> __comp" type_identifier (ERROR "<gold::Layout::Compare_segments>" < identifier : : identifier : : identifier >) identifier) ))) { identifier) identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "bool bVar1;" primitive_type identifier ;) (declaration "Output_segment *pOVar2;" type_identifier (pointer_declarator "*pOVar2" * identifier) ;) (declaration "Output_segment **ppOVar3;" type_identifier (pointer_declarator "**ppOVar3" * (pointer_declarator "*ppOVar3" * identifier)) ;) (declaration "Output_segment **ppOVar4;" type_identifier (pointer_declarator "**ppOVar4" * (pointer_declarator "*ppOVar4" * identifier)) ;) (declaration "int in_t9;" primitive_type identifier ;) (if_statement "if (__first._M_current != __last._M_current) {\n    for (ppOVar4 = __first._M_current + 1; ppOVar4 != __last._M_current; ppOVar4 = ppOVar4 + 1) {\n      bVar1 = gold::Layout::segment_precedes\n                        ((Layout *)__comp._M_comp.layout_,*ppOVar4,*__first._M_current);\n      if (CONCAT31(extraout_var,bVar1) == 0) {\n        pOVar2 = *ppOVar4;\n        ppOVar3 = ppOVar4;\n        while( true ) {\n          bVar1 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);\n          if (CONCAT31(extraout_var_00,bVar1) == 0) break;\n          *ppOVar3 = ppOVar3[-1];\n          ppOVar3 = ppOVar3 + -1;\n        }\n        *ppOVar3 = pOVar2;\n      }\n      else {\n        pOVar2 = *ppOVar4;\n        if (__first._M_current != ppOVar4) {\n          (**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);\n        }\n        *__first._M_current = pOVar2;\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(__first._M_current != __last._M_current)" ( (binary_expression "__first._M_current != __last._M_current" (field_expression "__first._M_current" identifier . field_identifier) != (field_expression "__last._M_current" identifier . field_identifier)) )) (compound_statement "{\n    for (ppOVar4 = __first._M_current + 1; ppOVar4 != __last._M_current; ppOVar4 = ppOVar4 + 1) {\n      bVar1 = gold::Layout::segment_precedes\n                        ((Layout *)__comp._M_comp.layout_,*ppOVar4,*__first._M_current);\n      if (CONCAT31(extraout_var,bVar1) == 0) {\n        pOVar2 = *ppOVar4;\n        ppOVar3 = ppOVar4;\n        while( true ) {\n          bVar1 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);\n          if (CONCAT31(extraout_var_00,bVar1) == 0) break;\n          *ppOVar3 = ppOVar3[-1];\n          ppOVar3 = ppOVar3 + -1;\n        }\n        *ppOVar3 = pOVar2;\n      }\n      else {\n        pOVar2 = *ppOVar4;\n        if (__first._M_current != ppOVar4) {\n          (**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);\n        }\n        *__first._M_current = pOVar2;\n      }\n    }\n    return;\n  }" { (for_statement "for (ppOVar4 = __first._M_current + 1; ppOVar4 != __last._M_current; ppOVar4 = ppOVar4 + 1) {\n      bVar1 = gold::Layout::segment_precedes\n                        ((Layout *)__comp._M_comp.layout_,*ppOVar4,*__first._M_current);\n      if (CONCAT31(extraout_var,bVar1) == 0) {\n        pOVar2 = *ppOVar4;\n        ppOVar3 = ppOVar4;\n        while( true ) {\n          bVar1 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);\n          if (CONCAT31(extraout_var_00,bVar1) == 0) break;\n          *ppOVar3 = ppOVar3[-1];\n          ppOVar3 = ppOVar3 + -1;\n        }\n        *ppOVar3 = pOVar2;\n      }\n      else {\n        pOVar2 = *ppOVar4;\n        if (__first._M_current != ppOVar4) {\n          (**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);\n        }\n        *__first._M_current = pOVar2;\n      }\n    }" for ( (assignment_expression "ppOVar4 = __first._M_current + 1" identifier = (binary_expression "__first._M_current + 1" (field_expression "__first._M_current" identifier . field_identifier) + number_literal)) ; (binary_expression "ppOVar4 != __last._M_current" identifier != (field_expression "__last._M_current" identifier . field_identifier)) ; (assignment_expression "ppOVar4 = ppOVar4 + 1" identifier = (binary_expression "ppOVar4 + 1" identifier + number_literal)) ) (compound_statement "{\n      bVar1 = gold::Layout::segment_precedes\n                        ((Layout *)__comp._M_comp.layout_,*ppOVar4,*__first._M_current);\n      if (CONCAT31(extraout_var,bVar1) == 0) {\n        pOVar2 = *ppOVar4;\n        ppOVar3 = ppOVar4;\n        while( true ) {\n          bVar1 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);\n          if (CONCAT31(extraout_var_00,bVar1) == 0) break;\n          *ppOVar3 = ppOVar3[-1];\n          ppOVar3 = ppOVar3 + -1;\n        }\n        *ppOVar3 = pOVar2;\n      }\n      else {\n        pOVar2 = *ppOVar4;\n        if (__first._M_current != ppOVar4) {\n          (**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);\n        }\n        *__first._M_current = pOVar2;\n      }\n    }" { (ERROR "bVar1 = gold::" (assignment_expression "bVar1 = gold" identifier = identifier) : :) (labeled_statement "Layout::segment_precedes\n                        ((Layout *)__comp._M_comp.layout_,*ppOVar4,*__first._M_current);" statement_identifier : (ERROR ":" :) (expression_statement "segment_precedes\n                        ((Layout *)__comp._M_comp.layout_,*ppOVar4,*__first._M_current);" (call_expression "segment_precedes\n                        ((Layout *)__comp._M_comp.layout_,*ppOVar4,*__first._M_current)" identifier (argument_list "((Layout *)__comp._M_comp.layout_,*ppOVar4,*__first._M_current)" ( (cast_expression "(Layout *)__comp._M_comp.layout_" ( (type_descriptor "Layout *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "__comp._M_comp.layout_" (field_expression "__comp._M_comp" identifier . field_identifier) . field_identifier)) , (pointer_expression "*ppOVar4" * identifier) , (pointer_expression "*__first._M_current" * (field_expression "__first._M_current" identifier . field_identifier)) ))) ;)) (if_statement "if (CONCAT31(extraout_var,bVar1) == 0) {\n        pOVar2 = *ppOVar4;\n        ppOVar3 = ppOVar4;\n        while( true ) {\n          bVar1 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);\n          if (CONCAT31(extraout_var_00,bVar1) == 0) break;\n          *ppOVar3 = ppOVar3[-1];\n          ppOVar3 = ppOVar3 + -1;\n        }\n        *ppOVar3 = pOVar2;\n      }\n      else {\n        pOVar2 = *ppOVar4;\n        if (__first._M_current != ppOVar4) {\n          (**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);\n        }\n        *__first._M_current = pOVar2;\n      }" if (parenthesized_expression "(CONCAT31(extraout_var,bVar1) == 0)" ( (binary_expression "CONCAT31(extraout_var,bVar1) == 0" (call_expression "CONCAT31(extraout_var,bVar1)" identifier (argument_list "(extraout_var,bVar1)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n        pOVar2 = *ppOVar4;\n        ppOVar3 = ppOVar4;\n        while( true ) {\n          bVar1 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);\n          if (CONCAT31(extraout_var_00,bVar1) == 0) break;\n          *ppOVar3 = ppOVar3[-1];\n          ppOVar3 = ppOVar3 + -1;\n        }\n        *ppOVar3 = pOVar2;\n      }" { (expression_statement "pOVar2 = *ppOVar4;" (assignment_expression "pOVar2 = *ppOVar4" identifier = (pointer_expression "*ppOVar4" * identifier)) ;) (expression_statement "ppOVar3 = ppOVar4;" (assignment_expression "ppOVar3 = ppOVar4" identifier = identifier) ;) (while_statement "while( true ) {\n          bVar1 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);\n          if (CONCAT31(extraout_var_00,bVar1) == 0) break;\n          *ppOVar3 = ppOVar3[-1];\n          ppOVar3 = ppOVar3 + -1;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          bVar1 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);\n          if (CONCAT31(extraout_var_00,bVar1) == 0) break;\n          *ppOVar3 = ppOVar3[-1];\n          ppOVar3 = ppOVar3 + -1;\n        }" { (ERROR "bVar1 = gold::" (assignment_expression "bVar1 = gold" identifier = identifier) : :) (labeled_statement "Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);" statement_identifier : (ERROR ":" :) (expression_statement "segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1]);" (call_expression "segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1])" identifier (argument_list "((Layout *)__comp._M_comp.layout_,pOVar2,ppOVar3[-1])" ( (cast_expression "(Layout *)__comp._M_comp.layout_" ( (type_descriptor "Layout *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "__comp._M_comp.layout_" (field_expression "__comp._M_comp" identifier . field_identifier) . field_identifier)) , identifier , (subscript_expression "ppOVar3[-1]" identifier [ number_literal ]) ))) ;)) (if_statement "if (CONCAT31(extraout_var_00,bVar1) == 0) break;" if (parenthesized_expression "(CONCAT31(extraout_var_00,bVar1) == 0)" ( (binary_expression "CONCAT31(extraout_var_00,bVar1) == 0" (call_expression "CONCAT31(extraout_var_00,bVar1)" identifier (argument_list "(extraout_var_00,bVar1)" ( identifier , identifier ))) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "*ppOVar3 = ppOVar3[-1];" (assignment_expression "*ppOVar3 = ppOVar3[-1]" (pointer_expression "*ppOVar3" * identifier) = (subscript_expression "ppOVar3[-1]" identifier [ number_literal ])) ;) (expression_statement "ppOVar3 = ppOVar3 + -1;" (assignment_expression "ppOVar3 = ppOVar3 + -1" identifier = (binary_expression "ppOVar3 + -1" identifier + number_literal)) ;) })) (expression_statement "*ppOVar3 = pOVar2;" (assignment_expression "*ppOVar3 = pOVar2" (pointer_expression "*ppOVar3" * identifier) = identifier) ;) }) (else_clause "else {\n        pOVar2 = *ppOVar4;\n        if (__first._M_current != ppOVar4) {\n          (**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);\n        }\n        *__first._M_current = pOVar2;\n      }" else (compound_statement "{\n        pOVar2 = *ppOVar4;\n        if (__first._M_current != ppOVar4) {\n          (**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);\n        }\n        *__first._M_current = pOVar2;\n      }" { (expression_statement "pOVar2 = *ppOVar4;" (assignment_expression "pOVar2 = *ppOVar4" identifier = (pointer_expression "*ppOVar4" * identifier)) ;) (if_statement "if (__first._M_current != ppOVar4) {\n          (**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);\n        }" if (parenthesized_expression "(__first._M_current != ppOVar4)" ( (binary_expression "__first._M_current != ppOVar4" (field_expression "__first._M_current" identifier . field_identifier) != identifier) )) (compound_statement "{\n          (**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);\n        }" { (expression_statement "(**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current);" (call_expression "(**(code **)(in_t9 + 0x3007a8))\n                    (__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current)" (parenthesized_expression "(**(code **)(in_t9 + 0x3007a8))" ( (pointer_expression "**(code **)(in_t9 + 0x3007a8)" * (pointer_expression "*(code **)(in_t9 + 0x3007a8)" * (cast_expression "(code **)(in_t9 + 0x3007a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x3007a8)" ( (binary_expression "in_t9 + 0x3007a8" identifier + number_literal) ))))) )) (argument_list "(__first._M_current + 1,__first._M_current,\n                     (int)ppOVar4 - (int)__first._M_current)" ( (binary_expression "__first._M_current + 1" (field_expression "__first._M_current" identifier . field_identifier) + number_literal) , (field_expression "__first._M_current" identifier . field_identifier) , (binary_expression "(int)ppOVar4 - (int)__first._M_current" (cast_expression "(int)ppOVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__first._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__first._M_current" identifier . field_identifier))) ))) ;) })) (expression_statement "*__first._M_current = pOVar2;" (assignment_expression "*__first._M_current = pOVar2" (pointer_expression "*__first._M_current" * (field_expression "__first._M_current" identifier . field_identifier)) = identifier) ;) }))) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void std::\n     __insertion_sort<__normal_iterator<gold::Output_segment**,std::vector<gold::Output_segment*,std::allocator<gold::Output_segment*>>>,__ops::_Iter_comp_iter<gold::Layout::Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  Output_segment *pOVar5;\n  int in_t9;\n  \n  if (param_1 != param_2) {\n    for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }\n    return;\n  }\n  return;\n}\n\n" (declaration "void std::\n     __insertion_sort<__normal_iterator<gold::Output_segment**,std::vector<gold::Output_segment*,std::allocator<gold::Output_segment*>>>,__ops::_Iter_comp_iter<gold::Layout::Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)\n\n{\n  int iVar1;" primitive_type (ERROR "std::\n     __insertion_sort<__normal_iterator<gold::Output_segment" identifier : : identifier < identifier < identifier : : identifier) (pointer_declarator "**,std::vector<gold::Output_segment" * (pointer_declarator "*,std::vector<gold::Output_segment" * (ERROR ",std::vector<gold::" , identifier : : identifier < identifier : :) identifier)) (ERROR "*" *) , (ERROR "std::allocator<gold::" identifier : : identifier < identifier : :) identifier (ERROR "*>>>" * >> >) , (ERROR "__ops::_Iter_comp_iter<gold::Layout::Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)\n\n{\n  int" identifier : : identifier < identifier : : identifier : : (function_declarator "Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)" identifier (ERROR ">>" >>) (parameter_list "(undefined4 *param_1,undefined4 *param_2,Layout *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "Layout *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) { primitive_type) identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "Output_segment *pOVar5;" type_identifier (pointer_declarator "*pOVar5" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (if_statement "if (param_1 != param_2) {\n    for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(param_1 != param_2)" ( (binary_expression "param_1 != param_2" identifier != identifier) )) (compound_statement "{\n    for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }\n    return;\n  }" { (for_statement "for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }" for ( (assignment_expression "puVar4 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ; (binary_expression "puVar4 != param_2" identifier != identifier) ; (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ) (compound_statement "{\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }" { (ERROR "iVar1 = gold::" (assignment_expression "iVar1 = gold" identifier = identifier) : :) (labeled_statement "Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);" statement_identifier : (ERROR ":" :) (expression_statement "segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);" (call_expression "segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1)" identifier (argument_list "(param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1)" ( identifier , (cast_expression "(Output_segment *)*puVar4" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) , (cast_expression "(Output_segment *)*param_1" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;)) (if_statement "if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }" { (expression_statement "pOVar5 = (Output_segment *)*puVar4;" (assignment_expression "pOVar5 = (Output_segment *)*puVar4" identifier = (cast_expression "(Output_segment *)*puVar4" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (while_statement "while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }" { (ERROR "iVar1 = gold::" (assignment_expression "iVar1 = gold" identifier = identifier) : :) (labeled_statement "Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);" statement_identifier : (ERROR ":" :) (expression_statement "segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);" (call_expression "segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1])" identifier (argument_list "(param_3,pOVar5,(Output_segment *)puVar3[-1])" ( identifier , identifier , (cast_expression "(Output_segment *)puVar3[-1]" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[-1]" identifier [ number_literal ])) ))) ;)) (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "*puVar3 = puVar3[-1];" (assignment_expression "*puVar3 = puVar3[-1]" (pointer_expression "*puVar3" * identifier) = (subscript_expression "puVar3[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = puVar3 + -1;" (assignment_expression "puVar3 = puVar3 + -1" identifier = (binary_expression "puVar3 + -1" identifier + number_literal)) ;) })) (expression_statement "*puVar3 = pOVar5;" (assignment_expression "*puVar3 = pOVar5" (pointer_expression "*puVar3" * identifier) = identifier) ;) }) (else_clause "else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }" else (compound_statement "{\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }" { (expression_statement "uVar2 = *puVar4;" (assignment_expression "uVar2 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (if_statement "if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }" if (parenthesized_expression "(param_1 != puVar4)" ( (binary_expression "param_1 != puVar4" identifier != identifier) )) (compound_statement "{\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }" { (expression_statement "(**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);" (call_expression "(**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1)" (parenthesized_expression "(**(code **)(in_t9 + 0x3007a8))" ( (pointer_expression "**(code **)(in_t9 + 0x3007a8)" * (pointer_expression "*(code **)(in_t9 + 0x3007a8)" * (cast_expression "(code **)(in_t9 + 0x3007a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x3007a8)" ( (binary_expression "in_t9 + 0x3007a8" identifier + number_literal) ))))) )) (argument_list "(param_1 + 1,param_1,(int)puVar4 - (int)param_1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , identifier , (binary_expression "(int)puVar4 - (int)param_1" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) }))) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit (declaration TYPE (ERROR IDENT : : IDENT < IDENT < IDENT : : IDENT) (pointer_declarator * (pointer_declarator * (ERROR , IDENT : : IDENT < IDENT : :) IDENT)) (ERROR *) , (ERROR IDENT : : IDENT < IDENT : :) IDENT (ERROR * >> >) , (ERROR IDENT : : IDENT < IDENT : : IDENT : : (function_declarator IDENT (ERROR >>) (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) { TYPE) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (binary_expression IDENT + LIT)) ; (binary_expression IDENT != IDENT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (ERROR (assignment_expression IDENT = IDENT) : :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (ERROR (assignment_expression IDENT = IDENT) : :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))) })) (return_statement return ;) })) (return_statement return ;) (ERROR }))
(declaration "void std::\n     __insertion_sort<__normal_iterator<gold::Output_segment**,std::vector<gold::Output_segment*,std::allocator<gold::Output_segment*>>>,__ops::_Iter_comp_iter<gold::Layout::Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)\n\n{\n  int iVar1;" (primitive_type "void") (ERROR "std::\n     __insertion_sort<__normal_iterator<gold::Output_segment" (identifier "std") (: ":") (: ":") (identifier "__insertion_sort") (< "<") (identifier "__normal_iterator") (< "<") (identifier "gold") (: ":") (: ":") (identifier "Output_segment")) (pointer_declarator "**,std::vector<gold::Output_segment" (* "*") (pointer_declarator "*,std::vector<gold::Output_segment" (* "*") (ERROR ",std::vector<gold::" (, ",") (identifier "std") (: ":") (: ":") (identifier "vector") (< "<") (identifier "gold") (: ":") (: ":")) (identifier "Output_segment"))) (ERROR "*" (* "*")) (, ",") (ERROR "std::allocator<gold::" (identifier "std") (: ":") (: ":") (identifier "allocator") (< "<") (identifier "gold") (: ":") (: ":")) (identifier "Output_segment") (ERROR "*>>>" (* "*") (>> ">>") (> ">")) (, ",") (ERROR "__ops::_Iter_comp_iter<gold::Layout::Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)\n\n{\n  int" (identifier "__ops") (: ":") (: ":") (identifier "_Iter_comp_iter") (< "<") (identifier "gold") (: ":") (: ":") (identifier "Layout") (: ":") (: ":") (function_declarator "Compare_segments>>\n               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)" (identifier "Compare_segments") (ERROR ">>" (>> ">>")) (parameter_list "(undefined4 *param_1,undefined4 *param_2,Layout *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "Layout *param_3" (type_identifier "Layout") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) ({ "{") (primitive_type "int")) (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "Output_segment *pOVar5;" (type_identifier "Output_segment") (pointer_declarator "*pOVar5" (* "*") (identifier "pOVar5")) (; ";")) (declaration "int in_t9;" (primitive_type "int") (identifier "in_t9") (; ";")) (if_statement "if (param_1 != param_2) {\n    for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != param_2)" (( "(") (binary_expression "param_1 != param_2" (identifier "param_1") (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n    for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }\n    return;\n  }" ({ "{") (for_statement "for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }" (for "for") (( "(") (assignment_expression "puVar4 = param_1 + 1" (identifier "puVar4") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";") (binary_expression "puVar4 != param_2" (identifier "puVar4") (!= "!=") (identifier "param_2")) (; ";") (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n      iVar1 = gold::Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);\n      if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }\n    }" ({ "{") (ERROR "iVar1 = gold::" (assignment_expression "iVar1 = gold" (identifier "iVar1") (= "=") (identifier "gold")) (: ":") (: ":")) (labeled_statement "Layout::segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);" (statement_identifier "Layout") (: ":") (ERROR ":" (: ":")) (expression_statement "segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);" (call_expression "segment_precedes\n                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1)" (identifier "segment_precedes") (argument_list "(param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1)" (( "(") (identifier "param_3") (, ",") (cast_expression "(Output_segment *)*puVar4" (( "(") (type_descriptor "Output_segment *" (type_identifier "Output_segment") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (, ",") (cast_expression "(Output_segment *)*param_1" (( "(") (type_descriptor "Output_segment *" (type_identifier "Output_segment") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";"))) (if_statement "if (iVar1 == 0) {\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }\n      else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        pOVar5 = (Output_segment *)*puVar4;\n        puVar3 = puVar4;\n        while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }\n        *puVar3 = pOVar5;\n      }" ({ "{") (expression_statement "pOVar5 = (Output_segment *)*puVar4;" (assignment_expression "pOVar5 = (Output_segment *)*puVar4" (identifier "pOVar5") (= "=") (cast_expression "(Output_segment *)*puVar4" (( "(") (type_descriptor "Output_segment *" (type_identifier "Output_segment") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" (identifier "puVar3") (= "=") (identifier "puVar4")) (; ";")) (while_statement "while( true ) {\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);\n          if (iVar1 == 0) break;\n          *puVar3 = puVar3[-1];\n          puVar3 = puVar3 + -1;\n        }" ({ "{") (ERROR "iVar1 = gold::" (assignment_expression "iVar1 = gold" (identifier "iVar1") (= "=") (identifier "gold")) (: ":") (: ":")) (labeled_statement "Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);" (statement_identifier "Layout") (: ":") (ERROR ":" (: ":")) (expression_statement "segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);" (call_expression "segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1])" (identifier "segment_precedes") (argument_list "(param_3,pOVar5,(Output_segment *)puVar3[-1])" (( "(") (identifier "param_3") (, ",") (identifier "pOVar5") (, ",") (cast_expression "(Output_segment *)puVar3[-1]" (( "(") (type_descriptor "Output_segment *" (type_identifier "Output_segment") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar3[-1]" (identifier "puVar3") ([ "[") (number_literal "-1") (] "]"))) () ")"))) (; ";"))) (if_statement "if (iVar1 == 0) break;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*puVar3 = puVar3[-1];" (assignment_expression "*puVar3 = puVar3[-1]" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (subscript_expression "puVar3[-1]" (identifier "puVar3") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "puVar3 = puVar3 + -1;" (assignment_expression "puVar3 = puVar3 + -1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + -1" (identifier "puVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "*puVar3 = pOVar5;" (assignment_expression "*puVar3 = pOVar5" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "pOVar5")) (; ";")) (} "}")) (else_clause "else {\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }" (else "else") (compound_statement "{\n        uVar2 = *puVar4;\n        if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }\n        *param_1 = uVar2;\n      }" ({ "{") (expression_statement "uVar2 = *puVar4;" (assignment_expression "uVar2 = *puVar4" (identifier "uVar2") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (if_statement "if (param_1 != puVar4) {\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }" (if "if") (parenthesized_expression "(param_1 != puVar4)" (( "(") (binary_expression "param_1 != puVar4" (identifier "param_1") (!= "!=") (identifier "puVar4")) () ")")) (compound_statement "{\n          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);\n        }" ({ "{") (expression_statement "(**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);" (call_expression "(**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1)" (parenthesized_expression "(**(code **)(in_t9 + 0x3007a8))" (( "(") (pointer_expression "**(code **)(in_t9 + 0x3007a8)" (* "*") (pointer_expression "*(code **)(in_t9 + 0x3007a8)" (* "*") (cast_expression "(code **)(in_t9 + 0x3007a8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x3007a8)" (( "(") (binary_expression "in_t9 + 0x3007a8" (identifier "in_t9") (+ "+") (number_literal "0x3007a8")) () ")"))))) () ")")) (argument_list "(param_1 + 1,param_1,(int)puVar4 - (int)param_1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (, ",") (identifier "param_1") (, ",") (binary_expression "(int)puVar4 - (int)param_1" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar2")) (; ";")) (} "}")))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (ERROR "}" (} "}"))
(translation_unit (declaration type: (primitive_type) (ERROR (identifier) (identifier) (identifier) (identifier) (identifier)) declarator: (pointer_declarator declarator: (pointer_declarator (ERROR (identifier) (identifier) (identifier)) declarator: (identifier))) (ERROR) (ERROR (identifier) (identifier) (identifier)) declarator: (identifier) (ERROR) (ERROR (identifier) (identifier) (identifier) (identifier) (function_declarator declarator: (identifier) (ERROR) 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))))) (primitive_type)) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (for_statement initializer: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) condition: (binary_expression left: (identifier) right: (identifier)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (ERROR (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (ERROR (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))))) (return_statement))) (return_statement) (ERROR))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* void std::__insertion_sort<__normal_iterator<gold::Output_segment**,
   std::vector<gold::Output_segment*, std::allocator<gold::Output_segment*> > >,
   __ops::_Iter_comp_iter<gold::Layout::Compare_segments>
   >(__normal_iterator<gold::Output_segment**, std::vector<gold::Output_segment*,
   std::allocator<gold::Output_segment*> > >, __normal_iterator<gold::Output_segment**,
   std::vector<gold::Output_segment*, std::allocator<gold::Output_segment*> > >,
   __ops::_Iter_comp_iter<gold::Layout::Compare_segments>) */

void std::
     MASKED
               (undefined4 *param_1,undefined4 *param_2,Layout *param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  Output_segment *pOVar5;
  int in_t9;
  
  if (param_1 != param_2) {
    for (puVar4 = param_1 + 1; puVar4 != param_2; puVar4 = puVar4 + 1) {
      iVar1 = gold::Layout::segment_precedes
                        (param_3,(Output_segment *)*puVar4,(Output_segment *)*param_1);
      if (iVar1 == 0) {
        pOVar5 = (Output_segment *)*puVar4;
        puVar3 = puVar4;
        while( true ) {
          iVar1 = gold::Layout::segment_precedes(param_3,pOVar5,(Output_segment *)puVar3[-1]);
          if (iVar1 == 0) break;
          *puVar3 = puVar3[-1];
          puVar3 = puVar3 + -1;
        }
        *puVar3 = pOVar5;
      }
      else {
        uVar2 = *puVar4;
        if (param_1 != puVar4) {
          (**(code **)(in_t9 + 0x3007a8))(param_1 + 1,param_1,(int)puVar4 - (int)param_1);
        }
        *param_1 = uVar2;
      }
    }
    return;
  }
  return;
}

