
/* WARNING: Unknown calling convention */
/* DWARF original name: __lower_bound<__gnu_cxx::__normal_iterator<gold::Input_section_info*,
   std::vector<gold::Input_section_info> >, gold::Input_section_info,
   __gnu_cxx::__ops::_Iter_comp_val<gold::Input_section_sorter> > */

__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>
 std::
 __lower_bound<__gnu_cxx::__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info>_>,_gold::Input_section_info,___gnu_cxx::__ops::_Iter_comp_val<gold::Input_section_sorter>_>
           (__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>
            __first,__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>
                    __last,Input_section_info *__val,
           _Iter_comp_val<gold::Input_section_sorter> __comp)

{
  bool bVar1;
  int iVar2;
  int iVar3;
  Input_section_info *in_stack_00000004;
  
  if (0 < (int)__last._M_current - (int)__first._M_current) {
    iVar2 = (int)__last._M_current - (int)__first._M_current >> 6;
    do {
      while( true ) {
        iVar3 = iVar2 >> 1;
        bVar1 = gold::Input_section_sorter::operator()
                          (&__comp._M_comp,__first._M_current + iVar3,__val);
        if (bVar1) break;
        iVar2 = iVar3;
        if (iVar3 < 1) goto LAB_0013c0de;
      }
      __first._M_current = __first._M_current + iVar3 + 1;
      iVar2 = (iVar2 - iVar3) + -1;
    } while (0 < iVar2);
  }
LAB_0013c0de:
  (in_stack_00000004->input_section_).shndx_ = (uint)__first._M_current;
  return (__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>
          )in_stack_00000004;
}



void FUN_0013c080(int *param_1,int param_2,int param_3,undefined4 param_4)

{
  int iVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  
  if (0 < param_3 - param_2) {
    iVar3 = param_3 - param_2 >> 6;
    do {
      while( true ) {
        iVar4 = iVar3 >> 1;
        iVar1 = param_2 + iVar4 * 0x40;
        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);
        if (cVar2 != '\0') break;
        iVar3 = iVar4;
        if (iVar4 < 1) goto LAB_0013c0de;
      }
      param_2 = iVar1 + 0x40;
      iVar3 = (iVar3 - iVar4) + -1;
    } while (0 < iVar3);
  }
LAB_0013c0de:
  *param_1 = param_2;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [ESP + 0x38]
SUB EAX,ESI
MOV EBX,EAX
SAR EBX,0x6
TEST EAX,EAX
JLE 0x0013c0de
LEA EAX,[ESP + 0x40]
MOV dword ptr [ESP + 0xc],EAX
JMP 0x0013c0b4
SUB EBX,EDI
LEA ESI,[EBP + 0x40]
SUB EBX,0x1
TEST EBX,EBX
JLE 0x0013c0de
MOV EDI,EBX
SUB ESP,0x4
SAR EDI,0x1
PUSH dword ptr [ESP + 0x40]
MOV EDX,EDI
SHL EDX,0x6
LEA EBP,[ESI + EDX*0x1]
PUSH EBP
PUSH dword ptr [ESP + 0x18]
CALL 0x00132c90
ADD ESP,0x10
TEST AL,AL
JNZ 0x0013c0a8
MOV EBX,EDI
TEST EBX,EBX
JG 0x0013c0b4
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [EAX],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "void FUN_0013c080(int *param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }\nLAB_0013c0de:\n  *param_1 = param_2;\n  return;\n}\n\n" (function_definition "void FUN_0013c080(int *param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }\nLAB_0013c0de:\n  *param_1 = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_0013c080(int *param_1,int param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,int param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }\nLAB_0013c0de:\n  *param_1 = param_2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }" if (parenthesized_expression "(0 < param_3 - param_2)" ( (binary_expression "0 < param_3 - param_2" number_literal < (binary_expression "param_3 - param_2" identifier - identifier)) )) (compound_statement "{\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }" { (expression_statement "iVar3 = param_3 - param_2 >> 6;" (assignment_expression "iVar3 = param_3 - param_2 >> 6" identifier = (binary_expression "param_3 - param_2 >> 6" (binary_expression "param_3 - param_2" identifier - identifier) >> number_literal)) ;) (do_statement "do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);" do (compound_statement "{\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    }" { (while_statement "while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }" { (expression_statement "iVar4 = iVar3 >> 1;" (assignment_expression "iVar4 = iVar3 >> 1" identifier = (binary_expression "iVar3 >> 1" identifier >> number_literal)) ;) (expression_statement "iVar1 = param_2 + iVar4 * 0x40;" (assignment_expression "iVar1 = param_2 + iVar4 * 0x40" identifier = (binary_expression "param_2 + iVar4 * 0x40" identifier + (binary_expression "iVar4 * 0x40" identifier * number_literal))) ;) (expression_statement "cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);" (assignment_expression "cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4)" identifier = (call_expression "FUN_00132c90(&stack0x00000014,iVar1,param_4)" identifier (argument_list "(&stack0x00000014,iVar1,param_4)" ( (pointer_expression "&stack0x00000014" & identifier) , identifier , identifier )))) ;) (if_statement "if (cVar2 != '\0') break;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) (if_statement "if (iVar4 < 1) goto LAB_0013c0de;" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (goto_statement "goto LAB_0013c0de;" goto statement_identifier ;)) })) (expression_statement "param_2 = iVar1 + 0x40;" (assignment_expression "param_2 = iVar1 + 0x40" identifier = (binary_expression "iVar1 + 0x40" identifier + number_literal)) ;) (expression_statement "iVar3 = (iVar3 - iVar4) + -1;" (assignment_expression "iVar3 = (iVar3 - iVar4) + -1" identifier = (binary_expression "(iVar3 - iVar4) + -1" (parenthesized_expression "(iVar3 - iVar4)" ( (binary_expression "iVar3 - iVar4" identifier - identifier) )) + number_literal)) ;) }) while (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) ;) })) (labeled_statement "LAB_0013c0de:\n  *param_1 = param_2;" statement_identifier : (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n/* DWARF original name: __lower_bound<__gnu_cxx::__normal_iterator<gold::Input_section_info*,\n   std::vector<gold::Input_section_info> >, gold::Input_section_info,\n   __gnu_cxx::__ops::_Iter_comp_val<gold::Input_section_sorter> > */\n\n__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n std::\n __lower_bound<__gnu_cxx::__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info>_>,_gold::Input_section_info,___gnu_cxx::__ops::_Iter_comp_val<gold::Input_section_sorter>_>\n           (__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n            __first,__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n                    __last,Input_section_info *__val,\n           _Iter_comp_val<gold::Input_section_sorter> __comp)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  Input_section_info *in_stack_00000004;\n  \n  if (0 < (int)__last._M_current - (int)__first._M_current) {\n    iVar2 = (int)__last._M_current - (int)__first._M_current >> 6;\n    do {\n      while( true ) {\n        iVar3 = iVar2 >> 1;\n        bVar1 = gold::Input_section_sorter::operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);\n        if (bVar1) break;\n        iVar2 = iVar3;\n        if (iVar3 < 1) goto LAB_0013c0de;\n      }\n      __first._M_current = __first._M_current + iVar3 + 1;\n      iVar2 = (iVar2 - iVar3) + -1;\n    } while (0 < iVar2);\n  }\nLAB_0013c0de:\n  (in_stack_00000004->input_section_).shndx_ = (uint)__first._M_current;\n  return (__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n          )in_stack_00000004;\n}\n\n" comment comment (ERROR "__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info," (binary_expression "__normal_iterator<gold::Input_section_info*,_std::vector<gold" (binary_expression "__normal_iterator<gold::Input_section_info*,_std" (binary_expression "__normal_iterator<gold" identifier < identifier) (ERROR "::Input_section_info" : : identifier) * (ERROR "," ,) identifier) (ERROR "::vector" : : identifier) < identifier) : : identifier ,) (labeled_statement "_std::allocator<gold::Input_section_info>_>_>\n std::\n __lower_bound<__gnu_cxx::__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info>_>,_gold::Input_section_info,___gnu_cxx::__ops::_Iter_comp_val<gold::Input_section_sorter>_>\n           (__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n            __first,__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n                    __last,Input_section_info *__val,\n           _Iter_comp_val<gold::Input_section_sorter> __comp)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  Input_section_info *in_stack_00000004;\n  \n  if (0 < (int)__last._M_current - (int)__first._M_current) {\n    iVar2 = (int)__last._M_current - (int)__first._M_current >> 6;\n    do {\n      while( true ) {\n        iVar3 = iVar2 >> 1;\n        bVar1 = gold::Input_section_sorter::operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);\n        if (bVar1) break;\n        iVar2 = iVar3;\n        if (iVar3 < 1) goto LAB_0013c0de;\n      }\n      __first._M_current = __first._M_current + iVar3 + 1;\n      iVar2 = (iVar2 - iVar3) + -1;\n    } while (0 < iVar2);\n  }\nLAB_0013c0de:\n  (in_stack_00000004->input_section_).shndx_ = (uint)__first._M_current;\n  return (__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n          )in_stack_00000004;\n}" statement_identifier (ERROR "::allocator<gold::Input_section_info>_>_>\n std::\n __lower_bound<__gnu_cxx::__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info>_>,_gold::Input_section_info,___gnu_cxx::__ops::_Iter_comp_val<gold::Input_section_sorter>_>\n           (__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n            __first,__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n                    __last,Input_section_info *__val,\n           _Iter_comp_val<gold:" : : (binary_expression "allocator<gold" identifier < identifier) : : (binary_expression "Input_section_info>_>_>\n std" (binary_expression "Input_section_info>_>_" (binary_expression "Input_section_info>_" identifier > identifier) > identifier) > identifier) : : (binary_expression "__lower_bound<__gnu_cxx" identifier < identifier) : : (binary_expression "__normal_iterator<gold" identifier < identifier) : : (binary_expression "Input_section_info*,_std" identifier * (ERROR "," ,) identifier) : : (binary_expression "vector<gold" identifier < identifier) : : (binary_expression "Input_section_info>_>,_gold" (binary_expression "Input_section_info>_" identifier > identifier) > (ERROR "," ,) identifier) : : (comma_expression "Input_section_info,___gnu_cxx" identifier , identifier) : : (comma_expression "__ops::_Iter_comp_val<gold::Input_section_sorter>_>\n           (__normal_iterator<gold::Input_section_info*,_std" identifier (ERROR "::_Iter_comp_val<gold::Input_section_sorter>_>\n           (__normal_iterator<gold::Input_section_info*" : : (binary_expression "_Iter_comp_val<gold" identifier < identifier) : : (binary_expression "Input_section_sorter>_" identifier > identifier) > ( (binary_expression "__normal_iterator<gold" identifier < identifier) : : identifier *) , identifier) : : (binary_expression "vector<gold" identifier < identifier) : : (comma_expression "Input_section_info,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : (comma_expression "Input_section_info>_>_>\n            __first,__normal_iterator<gold" (binary_expression "Input_section_info>_>_>\n            __first" (binary_expression "Input_section_info>_>_" (binary_expression "Input_section_info>_" identifier > identifier) > identifier) > identifier) , (binary_expression "__normal_iterator<gold" identifier < identifier)) : : (binary_expression "Input_section_info*,_std" identifier * (ERROR "," ,) identifier) : : (binary_expression "vector<gold" identifier < identifier) : : (comma_expression "Input_section_info,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : (comma_expression "Input_section_info>_>_>\n                    __last,Input_section_info *__val,\n           _Iter_comp_val<gold" (binary_expression "Input_section_info>_>_>\n                    __last" (binary_expression "Input_section_info>_>_" (binary_expression "Input_section_info>_" identifier > identifier) > identifier) > identifier) , (comma_expression "Input_section_info *__val,\n           _Iter_comp_val<gold" (binary_expression "Input_section_info *__val" identifier * identifier) , (binary_expression "_Iter_comp_val<gold" identifier < identifier))) :) : (ERROR "Input_section_sorter> __comp)" (binary_expression "Input_section_sorter> __comp" identifier > identifier) )) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  Input_section_info *in_stack_00000004;\n  \n  if (0 < (int)__last._M_current - (int)__first._M_current) {\n    iVar2 = (int)__last._M_current - (int)__first._M_current >> 6;\n    do {\n      while( true ) {\n        iVar3 = iVar2 >> 1;\n        bVar1 = gold::Input_section_sorter::operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);\n        if (bVar1) break;\n        iVar2 = iVar3;\n        if (iVar3 < 1) goto LAB_0013c0de;\n      }\n      __first._M_current = __first._M_current + iVar3 + 1;\n      iVar2 = (iVar2 - iVar3) + -1;\n    } while (0 < iVar2);\n  }\nLAB_0013c0de:\n  (in_stack_00000004->input_section_).shndx_ = (uint)__first._M_current;\n  return (__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n          )in_stack_00000004;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "Input_section_info *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (if_statement "if (0 < (int)__last._M_current - (int)__first._M_current) {\n    iVar2 = (int)__last._M_current - (int)__first._M_current >> 6;\n    do {\n      while( true ) {\n        iVar3 = iVar2 >> 1;\n        bVar1 = gold::Input_section_sorter::operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);\n        if (bVar1) break;\n        iVar2 = iVar3;\n        if (iVar3 < 1) goto LAB_0013c0de;\n      }\n      __first._M_current = __first._M_current + iVar3 + 1;\n      iVar2 = (iVar2 - iVar3) + -1;\n    } while (0 < iVar2);\n  }" if (parenthesized_expression "(0 < (int)__last._M_current - (int)__first._M_current)" ( (binary_expression "0 < (int)__last._M_current - (int)__first._M_current" number_literal < (binary_expression "(int)__last._M_current - (int)__first._M_current" (cast_expression "(int)__last._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__last._M_current" identifier . field_identifier)) - (cast_expression "(int)__first._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__first._M_current" identifier . field_identifier)))) )) (compound_statement "{\n    iVar2 = (int)__last._M_current - (int)__first._M_current >> 6;\n    do {\n      while( true ) {\n        iVar3 = iVar2 >> 1;\n        bVar1 = gold::Input_section_sorter::operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);\n        if (bVar1) break;\n        iVar2 = iVar3;\n        if (iVar3 < 1) goto LAB_0013c0de;\n      }\n      __first._M_current = __first._M_current + iVar3 + 1;\n      iVar2 = (iVar2 - iVar3) + -1;\n    } while (0 < iVar2);\n  }" { (expression_statement "iVar2 = (int)__last._M_current - (int)__first._M_current >> 6;" (assignment_expression "iVar2 = (int)__last._M_current - (int)__first._M_current >> 6" identifier = (binary_expression "(int)__last._M_current - (int)__first._M_current >> 6" (binary_expression "(int)__last._M_current - (int)__first._M_current" (cast_expression "(int)__last._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__last._M_current" identifier . field_identifier)) - (cast_expression "(int)__first._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__first._M_current" identifier . field_identifier))) >> number_literal)) ;) (do_statement "do {\n      while( true ) {\n        iVar3 = iVar2 >> 1;\n        bVar1 = gold::Input_section_sorter::operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);\n        if (bVar1) break;\n        iVar2 = iVar3;\n        if (iVar3 < 1) goto LAB_0013c0de;\n      }\n      __first._M_current = __first._M_current + iVar3 + 1;\n      iVar2 = (iVar2 - iVar3) + -1;\n    } while (0 < iVar2);" do (compound_statement "{\n      while( true ) {\n        iVar3 = iVar2 >> 1;\n        bVar1 = gold::Input_section_sorter::operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);\n        if (bVar1) break;\n        iVar2 = iVar3;\n        if (iVar3 < 1) goto LAB_0013c0de;\n      }\n      __first._M_current = __first._M_current + iVar3 + 1;\n      iVar2 = (iVar2 - iVar3) + -1;\n    }" { (while_statement "while( true ) {\n        iVar3 = iVar2 >> 1;\n        bVar1 = gold::Input_section_sorter::operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);\n        if (bVar1) break;\n        iVar2 = iVar3;\n        if (iVar3 < 1) goto LAB_0013c0de;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar3 = iVar2 >> 1;\n        bVar1 = gold::Input_section_sorter::operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);\n        if (bVar1) break;\n        iVar2 = iVar3;\n        if (iVar3 < 1) goto LAB_0013c0de;\n      }" { (expression_statement "iVar3 = iVar2 >> 1;" (assignment_expression "iVar3 = iVar2 >> 1" identifier = (binary_expression "iVar2 >> 1" identifier >> number_literal)) ;) (ERROR "bVar1 = gold::" (assignment_expression "bVar1 = gold" identifier = identifier) : :) (labeled_statement "Input_section_sorter::operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);" statement_identifier : (ERROR ":" :) (expression_statement "operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val);" (call_expression "operator()\n                          (&__comp._M_comp,__first._M_current + iVar3,__val)" (call_expression "operator()" identifier (argument_list "()" ( ))) (argument_list "(&__comp._M_comp,__first._M_current + iVar3,__val)" ( (pointer_expression "&__comp._M_comp" & (field_expression "__comp._M_comp" identifier . field_identifier)) , (binary_expression "__first._M_current + iVar3" (field_expression "__first._M_current" identifier . field_identifier) + identifier) , identifier ))) ;)) (if_statement "if (bVar1) break;" if (parenthesized_expression "(bVar1)" ( identifier )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 < 1) goto LAB_0013c0de;" if (parenthesized_expression "(iVar3 < 1)" ( (binary_expression "iVar3 < 1" identifier < number_literal) )) (goto_statement "goto LAB_0013c0de;" goto statement_identifier ;)) })) (expression_statement "__first._M_current = __first._M_current + iVar3 + 1;" (assignment_expression "__first._M_current = __first._M_current + iVar3 + 1" (field_expression "__first._M_current" identifier . field_identifier) = (binary_expression "__first._M_current + iVar3 + 1" (binary_expression "__first._M_current + iVar3" (field_expression "__first._M_current" identifier . field_identifier) + identifier) + number_literal)) ;) (expression_statement "iVar2 = (iVar2 - iVar3) + -1;" (assignment_expression "iVar2 = (iVar2 - iVar3) + -1" identifier = (binary_expression "(iVar2 - iVar3) + -1" (parenthesized_expression "(iVar2 - iVar3)" ( (binary_expression "iVar2 - iVar3" identifier - identifier) )) + number_literal)) ;) }) while (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) ;) })) (labeled_statement "LAB_0013c0de:\n  (in_stack_00000004->input_section_).shndx_ = (uint)__first._M_current;" statement_identifier : (expression_statement "(in_stack_00000004->input_section_).shndx_ = (uint)__first._M_current;" (assignment_expression "(in_stack_00000004->input_section_).shndx_ = (uint)__first._M_current" (field_expression "(in_stack_00000004->input_section_).shndx_" (parenthesized_expression "(in_stack_00000004->input_section_)" ( (field_expression "in_stack_00000004->input_section_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(uint)__first._M_current" ( (type_descriptor "uint" type_identifier) ) (field_expression "__first._M_current" identifier . field_identifier))) ;)) (return_statement "return (__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n          )in_stack_00000004;" return (parenthesized_expression "(__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::Input_section_info>_>_>\n          )in_stack_00000004" ( (ERROR "__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std::allocator<gold::" (comma_expression "__normal_iterator<gold::Input_section_info*,_std::vector<gold::Input_section_info,_std" (binary_expression "__normal_iterator<gold::Input_section_info*,_std::vector<gold" (binary_expression "__normal_iterator<gold::Input_section_info*,_std" (binary_expression "__normal_iterator<gold" identifier < identifier) (ERROR "::Input_section_info" : : identifier) * (ERROR "," ,) identifier) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Input_section_info" : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Input_section_info>_>_>\n          )in_stack_00000004" (binary_expression "Input_section_info>_>_" (binary_expression "Input_section_info>_" identifier > identifier) > identifier) > (ERROR ")" )) identifier) )) ;) })))
(translation_unit "void FUN_0013c080(int *param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }\nLAB_0013c0de:\n  *param_1 = param_2;\n  return;\n}\n\n" (function_definition "void FUN_0013c080(int *param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }\nLAB_0013c0de:\n  *param_1 = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_0013c080(int *param_1,int param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,int param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }\nLAB_0013c0de:\n  *param_1 = param_2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }" if (parenthesized_expression "(0 < param_3 - param_2)" ( (binary_expression "0 < param_3 - param_2" number_literal < (binary_expression "param_3 - param_2" identifier - identifier)) )) (compound_statement "{\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }" { (expression_statement "iVar3 = param_3 - param_2 >> 6;" (assignment_expression "iVar3 = param_3 - param_2 >> 6" identifier = (binary_expression "param_3 - param_2 >> 6" (binary_expression "param_3 - param_2" identifier - identifier) >> number_literal)) ;) (do_statement "do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);" do (compound_statement "{\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    }" { (while_statement "while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }" { (expression_statement "iVar4 = iVar3 >> 1;" (assignment_expression "iVar4 = iVar3 >> 1" identifier = (binary_expression "iVar3 >> 1" identifier >> number_literal)) ;) (expression_statement "iVar1 = param_2 + iVar4 * 0x40;" (assignment_expression "iVar1 = param_2 + iVar4 * 0x40" identifier = (binary_expression "param_2 + iVar4 * 0x40" identifier + (binary_expression "iVar4 * 0x40" identifier * number_literal))) ;) (expression_statement "cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);" (assignment_expression "cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4)" identifier = (call_expression "FUN_00132c90(&stack0x00000014,iVar1,param_4)" identifier (argument_list "(&stack0x00000014,iVar1,param_4)" ( (pointer_expression "&stack0x00000014" & identifier) , identifier , identifier )))) ;) (if_statement "if (cVar2 != '\0') break;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) (if_statement "if (iVar4 < 1) goto LAB_0013c0de;" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (goto_statement "goto LAB_0013c0de;" goto statement_identifier ;)) })) (expression_statement "param_2 = iVar1 + 0x40;" (assignment_expression "param_2 = iVar1 + 0x40" identifier = (binary_expression "iVar1 + 0x40" identifier + number_literal)) ;) (expression_statement "iVar3 = (iVar3 - iVar4) + -1;" (assignment_expression "iVar3 = (iVar3 - iVar4) + -1" identifier = (binary_expression "(iVar3 - iVar4) + -1" (parenthesized_expression "(iVar3 - iVar4)" ( (binary_expression "iVar3 - iVar4" identifier - identifier) )) + number_literal)) ;) }) while (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) ;) })) (labeled_statement "LAB_0013c0de:\n  *param_1 = param_2;" statement_identifier : (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - IDENT) >> LIT)) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT)) ;) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (return_statement return ;) })))
(function_definition "void FUN_0013c080(int *param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }\nLAB_0013c0de:\n  *param_1 = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0013c080(int *param_1,int param_2,int param_3,undefined4 param_4)" (identifier "FUN_0013c080") (parameter_list "(int *param_1,int param_2,int param_3,undefined4 param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }\nLAB_0013c0de:\n  *param_1 = param_2;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if (0 < param_3 - param_2) {\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }" (if "if") (parenthesized_expression "(0 < param_3 - param_2)" (( "(") (binary_expression "0 < param_3 - param_2" (number_literal "0") (< "<") (binary_expression "param_3 - param_2" (identifier "param_3") (- "-") (identifier "param_2"))) () ")")) (compound_statement "{\n    iVar3 = param_3 - param_2 >> 6;\n    do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);\n  }" ({ "{") (expression_statement "iVar3 = param_3 - param_2 >> 6;" (assignment_expression "iVar3 = param_3 - param_2 >> 6" (identifier "iVar3") (= "=") (binary_expression "param_3 - param_2 >> 6" (binary_expression "param_3 - param_2" (identifier "param_3") (- "-") (identifier "param_2")) (>> ">>") (number_literal "6"))) (; ";")) (do_statement "do {\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    } while (0 < iVar3);" (do "do") (compound_statement "{\n      while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }\n      param_2 = iVar1 + 0x40;\n      iVar3 = (iVar3 - iVar4) + -1;\n    }" ({ "{") (while_statement "while( true ) {\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar4 = iVar3 >> 1;\n        iVar1 = param_2 + iVar4 * 0x40;\n        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);\n        if (cVar2 != '\0') break;\n        iVar3 = iVar4;\n        if (iVar4 < 1) goto LAB_0013c0de;\n      }" ({ "{") (expression_statement "iVar4 = iVar3 >> 1;" (assignment_expression "iVar4 = iVar3 >> 1" (identifier "iVar4") (= "=") (binary_expression "iVar3 >> 1" (identifier "iVar3") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = param_2 + iVar4 * 0x40;" (assignment_expression "iVar1 = param_2 + iVar4 * 0x40" (identifier "iVar1") (= "=") (binary_expression "param_2 + iVar4 * 0x40" (identifier "param_2") (+ "+") (binary_expression "iVar4 * 0x40" (identifier "iVar4") (* "*") (number_literal "0x40")))) (; ";")) (expression_statement "cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);" (assignment_expression "cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4)" (identifier "cVar2") (= "=") (call_expression "FUN_00132c90(&stack0x00000014,iVar1,param_4)" (identifier "FUN_00132c90") (argument_list "(&stack0x00000014,iVar1,param_4)" (( "(") (pointer_expression "&stack0x00000014" (& "&") (identifier "stack0x00000014")) (, ",") (identifier "iVar1") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (cVar2 != '\0') break;" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" (identifier "iVar3") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar4 < 1) goto LAB_0013c0de;" (if "if") (parenthesized_expression "(iVar4 < 1)" (( "(") (binary_expression "iVar4 < 1" (identifier "iVar4") (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_0013c0de;" (goto "goto") (statement_identifier "LAB_0013c0de") (; ";"))) (} "}"))) (expression_statement "param_2 = iVar1 + 0x40;" (assignment_expression "param_2 = iVar1 + 0x40" (identifier "param_2") (= "=") (binary_expression "iVar1 + 0x40" (identifier "iVar1") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "iVar3 = (iVar3 - iVar4) + -1;" (assignment_expression "iVar3 = (iVar3 - iVar4) + -1" (identifier "iVar3") (= "=") (binary_expression "(iVar3 - iVar4) + -1" (parenthesized_expression "(iVar3 - iVar4)" (( "(") (binary_expression "iVar3 - iVar4" (identifier "iVar3") (- "-") (identifier "iVar4")) () ")")) (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0 < iVar3)" (( "(") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0013c0de:\n  *param_1 = param_2;" (statement_identifier "LAB_0013c0de") (: ":") (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */
/* DWARF original name: __lower_bound<__gnu_cxx::__normal_iterator<gold::Input_section_info*,
   std::vector<gold::Input_section_info> >, gold::Input_section_info,
   __gnu_cxx::__ops::_Iter_comp_val<gold::Input_section_sorter> > */

__normal_iterator<gold::type_1*,_std::vector<gold::type_1,_std::allocator<gold::type_1>var_4>var_4>
 std::
 __lower_bound<__gnu_cxx::__normal_iterator<gold::type_1*,_std::vector<gold::type_1>var_4>,_gold::type_1,___gnu_cxx::__ops::_Iter_comp_val<gold::Input_section_sorter>var_4>
           (__normal_iterator<gold::type_1*,_std::vector<gold::type_1,_std::allocator<gold::type_1>var_4>var_4>
            __first,__normal_iterator<gold::type_1*,_std::vector<gold::type_1,_std::allocator<gold::type_1>var_4>var_4>
                    __last,type_1 *__val,
           _Iter_comp_val<gold::Input_section_sorter> __comp)

{
  bool bVar1;
  int var_1;
  int var_3;
  type_1 *var_5;
  
  if (0 < (int)__last._M_current - (int)__first._M_current) {
    var_1 = (int)__last._M_current - (int)__first._M_current >> 6;
    do {
      while( true ) {
        var_3 = var_1 >> 1;
        bVar1 = gold::Input_section_sorter::var_2()
                          (&__comp._M_comp,__first._M_current + var_3,__val);
        if (bVar1) break;
        var_1 = var_3;
        if (var_3 < 1) goto LAB_0013c0de;
      }
      __first._M_current = __first._M_current + var_3 + 1;
      var_1 = (var_1 - var_3) + -1;
    } while (0 < var_1);
  }
LAB_0013c0de:
  (var_5->input_section_).shndx_ = (type_2)__first._M_current;
  return (__normal_iterator<gold::type_1*,_std::vector<gold::type_1,_std::allocator<gold::type_1>var_4>var_4>
          )var_5;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (return_statement))))

void MASKED(int *param_1,int param_2,int param_3,undefined4 param_4)

{
  int iVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  
  if (0 < param_3 - param_2) {
    iVar3 = param_3 - param_2 >> 6;
    do {
      while( true ) {
        iVar4 = iVar3 >> 1;
        iVar1 = param_2 + iVar4 * 0x40;
        cVar2 = FUN_00132c90(&stack0x00000014,iVar1,param_4);
        if (cVar2 != '\0') break;
        iVar3 = iVar4;
        if (iVar4 < 1) goto LAB_0013c0de;
      }
      param_2 = iVar1 + 0x40;
      iVar3 = (iVar3 - iVar4) + -1;
    } while (0 < iVar3);
  }
LAB_0013c0de:
  *param_1 = param_2;
  return;
}

