
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __insertion_sort<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,
   std::vector<gold::Sized_symbol<32>*, std::allocator<gold::Sized_symbol<32>*> > >,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Weak_alias_sorter<32> > > */

void std::
     __insertion_sort<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Weak_alias_sorter<32>_>_>
               (undefined4 *__first,undefined4 *__last)

{
  undefined4 uVar1;
  bool bVar2;
  undefined4 *puVar3;
  
  if ((__first != __last) && (puVar3 = __first + 1, __last != puVar3)) {
    do {
      bVar2 = gold::Weak_alias_sorter<32>::operator()
                        ((Weak_alias_sorter<32> *)&stack0x0000000c,(Sized_symbol<32> *)*puVar3,
                         (Sized_symbol<32> *)*__first);
      if (bVar2) {
        uVar1 = *puVar3;
        if (__first != puVar3) {
          memmove((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,
                  (int)puVar3 - (int)__first);
        }
        *__first = uVar1;
      }
      else {
        __unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32>_>_>
                  (puVar3,0);
      }
      puVar3 = puVar3 + 1;
    } while (__last != puVar3);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0015ddb0(undefined4 *param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  char cVar2;
  undefined4 *puVar3;
  
  if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {
    do {
      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);
      if (cVar2 == '\0') {
        FUN_0015dd70(puVar3,0);
      }
      else {
        uVar1 = *puVar3;
        if (param_1 != puVar3) {
          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,
                  (int)puVar3 - (int)param_1);
        }
        *param_1 = uVar1;
      }
      puVar3 = puVar3 + 1;
    } while (param_2 != puVar3);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x1e1247
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
CMP ESI,dword ptr [ESP + 0x34]
JZ 0x0015de2a
LEA EDX,[ESI + 0x4]
CMP dword ptr [ESP + 0x34],EDX
JZ 0x0015de2a
MOV EDI,EDX
LEA EBP,[ESP + 0x38]
LEA ESI,[ESI]
NOP
SUB ESP,0x4
PUSH dword ptr [ESI]
PUSH dword ptr [EDI]
PUSH EBP
CALL 0x0015db60
ADD ESP,0x10
TEST AL,AL
JZ 0x0015de38
MOV ECX,dword ptr [EDI]
CMP ESI,EDI
JZ 0x0015de1f
MOV EAX,EDI
MOV EDX,0x4
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0x4
SUB EAX,ESI
SUB EDX,EAX
PUSH EAX
MOV EAX,EDX
PUSH ESI
ADD EAX,EDI
PUSH EAX
CALL 0x000288a0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
MOV dword ptr [ESI],ECX
ADD EDI,0x4
CMP dword ptr [ESP + 0x34],EDI
JNZ 0x0015dde0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH 0x0
PUSH EDI
CALL 0x0015dd70
ADD ESP,0x10
JMP 0x0015de21
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0015ddb0(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  undefined4 *puVar3;\n  \n  if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0015ddb0(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  undefined4 *puVar3;\n  \n  if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0015ddb0(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  undefined4 *puVar3;\n  \n  if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (if_statement "if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }" if (parenthesized_expression "((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3))" ( (binary_expression "(param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)" (parenthesized_expression "(param_1 != param_2)" ( (binary_expression "param_1 != param_2" identifier != identifier) )) && (parenthesized_expression "(puVar3 = param_1 + 1, param_2 != puVar3)" ( (comma_expression "puVar3 = param_1 + 1, param_2 != puVar3" (assignment_expression "puVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) , (binary_expression "param_2 != puVar3" identifier != identifier)) ))) )) (compound_statement "{\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }" { (do_statement "do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);" do (compound_statement "{\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);" (assignment_expression "cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1)" identifier = (call_expression "FUN_0015db60(&stack0x0000000c,*puVar3,*param_1)" identifier (argument_list "(&stack0x0000000c,*puVar3,*param_1)" ( (pointer_expression "&stack0x0000000c" & identifier) , (pointer_expression "*puVar3" * identifier) , (pointer_expression "*param_1" * identifier) )))) ;) (if_statement "if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        FUN_0015dd70(puVar3,0);\n      }" { (expression_statement "FUN_0015dd70(puVar3,0);" (call_expression "FUN_0015dd70(puVar3,0)" identifier (argument_list "(puVar3,0)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }" else (compound_statement "{\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }" { (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (if_statement "if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }" if (parenthesized_expression "(param_1 != puVar3)" ( (binary_expression "param_1 != puVar3" identifier != identifier) )) (compound_statement "{\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }" { (expression_statement "memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);" (call_expression "memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1)" identifier (argument_list "((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1)" ( (cast_expression "(void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3)" ( (binary_expression "(4 - ((int)puVar3 - (int)param_1)) + (int)puVar3" (parenthesized_expression "(4 - ((int)puVar3 - (int)param_1))" ( (binary_expression "4 - ((int)puVar3 - (int)param_1)" number_literal - (parenthesized_expression "((int)puVar3 - (int)param_1)" ( (binary_expression "(int)puVar3 - (int)param_1" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) + (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , identifier , (binary_expression "(int)puVar3 - (int)param_1" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) }))) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != puVar3)" ( (binary_expression "param_2 != puVar3" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* DWARF original name: __insertion_sort<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,\n   std::vector<gold::Sized_symbol<32>*, std::allocator<gold::Sized_symbol<32>*> > >,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Weak_alias_sorter<32> > > */\n\nvoid std::\n     __insertion_sort<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Weak_alias_sorter<32>_>_>\n               (undefined4 *__first,undefined4 *__last)\n\n{\n  undefined4 uVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  \n  if ((__first != __last) && (puVar3 = __first + 1, __last != puVar3)) {\n    do {\n      bVar2 = gold::Weak_alias_sorter<32>::operator()\n                        ((Weak_alias_sorter<32> *)&stack0x0000000c,(Sized_symbol<32> *)*puVar3,\n                         (Sized_symbol<32> *)*__first);\n      if (bVar2) {\n        uVar1 = *puVar3;\n        if (__first != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,\n                  (int)puVar3 - (int)__first);\n        }\n        *__first = uVar1;\n      }\n      else {\n        __unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32>_>_>\n                  (puVar3,0);\n      }\n      puVar3 = puVar3 + 1;\n    } while (__last != puVar3);\n  }\n  return;\n}\n\n" comment comment comment (declaration "void std::\n     __insertion_sort<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Weak_alias_sorter<32>_>_>\n               (undefined4 *__first,undefined4 *__last)\n\n{\n  undefined4 uVar1;" primitive_type (ERROR "std::\n     __insertion_sort<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>" identifier : : identifier < identifier : : identifier < identifier : : identifier < number_literal >) (pointer_declarator "**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_" * (pointer_declarator "*,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_" * (ERROR ",_std::vector<gold::Sized_symbol<32>" , identifier : : identifier < identifier : : identifier < number_literal >) (pointer_declarator "*,_std::allocator<gold::Sized_symbol<32>*>_>_" * (ERROR ",_std::allocator<gold::Sized_symbol<32>" , identifier : : identifier < identifier : : identifier < number_literal >) (pointer_declarator "*>_>_" * (ERROR ">_>" > identifier >) identifier)))) (ERROR ">" >) , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::Weak_alias_sorter<32>_>_>\n               (undefined4 *__first,undefined4 *__last)\n\n{\n  undefined4" identifier : : identifier : : identifier < identifier : : identifier < number_literal > identifier > (function_declarator "_>\n               (undefined4 *__first,undefined4 *__last)" identifier (ERROR ">" >) (parameter_list "(undefined4 *__first,undefined4 *__last)" ( (parameter_declaration "undefined4 *__first" type_identifier (pointer_declarator "*__first" * identifier)) , (parameter_declaration "undefined4 *__last" type_identifier (pointer_declarator "*__last" * identifier)) ))) { identifier) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (ERROR "if ((__first != __last) && (puVar3 = __first + 1, __last != puVar3)) {\n    do {\n      bVar2 = gold::Weak_alias_sorter<32>::operator()\n                        ((Weak_alias_sorter<32> *)&stack0x0000000c,(Sized_symbol<32> *)*puVar3,\n                         (Sized_symbol<32> *)*__first);\n      if (bVar2) {\n        uVar1 = *puVar3;\n        if (__first != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,\n                  (int)puVar3 - (int)__first);\n        }\n        *__first = uVar1;\n      }\n      else {\n        __unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32>_>_>\n                  (puVar3,0);\n      }\n      puVar3 = puVar3 + 1;\n    } while (__last != puVar3);\n  }\n  return;\n}" if (parenthesized_expression "((__first != __last) && (puVar3 = __first + 1, __last != puVar3))" ( (binary_expression "(__first != __last) && (puVar3 = __first + 1, __last != puVar3)" (parenthesized_expression "(__first != __last)" ( (binary_expression "__first != __last" identifier != identifier) )) && (parenthesized_expression "(puVar3 = __first + 1, __last != puVar3)" ( (comma_expression "puVar3 = __first + 1, __last != puVar3" (assignment_expression "puVar3 = __first + 1" identifier = (binary_expression "__first + 1" identifier + number_literal)) , (binary_expression "__last != puVar3" identifier != identifier)) ))) )) { do { (ERROR "bVar2 = gold::" (assignment_expression "bVar2 = gold" identifier = identifier) : :) (binary_expression "Weak_alias_sorter<32" identifier < number_literal) > (ERROR "::" : :) (call_expression "operator()" identifier (argument_list "()" ( ))) ( ( (binary_expression "Weak_alias_sorter<32> *)&stack0x0000000c" (binary_expression "Weak_alias_sorter<32" identifier < number_literal) > (pointer_expression "*)&stack0x0000000c" * (ERROR ")" )) (pointer_expression "&stack0x0000000c" & identifier))) , ( (ERROR "Sized_symbol<32> *)*puVar3,\n                         (Sized_symbol<32> *)*__first);\n      if (bVar2) {\n        uVar1 = *puVar3;\n        if (__first != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,\n                  (int)puVar3 - (int)__first);\n        }\n        *__first = uVar1;\n      }\n      else {\n        __unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32>_>_>\n                  (puVar3,0);\n      }" (comma_expression "Sized_symbol<32> *)*puVar3,\n                         (Sized_symbol<32> *)*__first)" (binary_expression "Sized_symbol<32> *)*puVar3" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*)*puVar3" * (ERROR ")" )) (pointer_expression "*puVar3" * identifier))) , (parenthesized_expression "(Sized_symbol<32> *)*__first)" ( (binary_expression "Sized_symbol<32> *)*__first" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*)*__first" * (ERROR ")" )) (pointer_expression "*__first" * identifier))) ))) ; if (compound_literal_expression "(bVar2) {\n        uVar1 = *puVar3;\n        if (__first != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,\n                  (int)puVar3 - (int)__first);\n        }\n        *__first = uVar1;\n      }" ( (type_descriptor "bVar2" type_identifier) ) (initializer_list "{\n        uVar1 = *puVar3;\n        if (__first != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,\n                  (int)puVar3 - (int)__first);\n        }\n        *__first = uVar1;\n      }" { (ERROR "uVar1 = *puVar3;\n        if (__first != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,\n                  (int)puVar3 - (int)__first);\n        }" (call_expression "uVar1 = *puVar3;\n        if (__first != puVar3)" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) (ERROR ";\n        if" ; if) (argument_list "(__first != puVar3)" ( (binary_expression "__first != puVar3" identifier != identifier) ))) (initializer_list "{\n          memmove((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,\n                  (int)puVar3 - (int)__first);\n        }" { (call_expression "memmove((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,\n                  (int)puVar3 - (int)__first)" identifier (argument_list "((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,\n                  (int)puVar3 - (int)__first)" ( (cast_expression "(void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((4 - ((int)puVar3 - (int)__first)) + (int)puVar3)" ( (binary_expression "(4 - ((int)puVar3 - (int)__first)) + (int)puVar3" (parenthesized_expression "(4 - ((int)puVar3 - (int)__first))" ( (binary_expression "4 - ((int)puVar3 - (int)__first)" number_literal - (parenthesized_expression "((int)puVar3 - (int)__first)" ( (binary_expression "(int)puVar3 - (int)__first" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) + (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , identifier , (binary_expression "(int)puVar3 - (int)__first" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier)) ))) (ERROR ";" ;) })) (assignment_expression "*__first = uVar1" (pointer_expression "*__first" * identifier) = identifier) (ERROR ";" ;) })) identifier (compound_statement "{\n        __unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32>_>_>\n                  (puVar3,0);\n      }" { (expression_statement "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32>_>_>\n                  (puVar3,0);" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32>_>_>\n                  (puVar3,0)" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32>_>_" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32>_" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32" (binary_expression "__unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold" (binary_expression "__unguarded_linear_insert<__gnu_cxx" identifier < identifier) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::Sized_symbol" : : identifier) < number_literal) > (pointer_expression "**,_std" * (pointer_expression "*,_std" * (ERROR "," ,) identifier))) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Sized_symbol" : : identifier) < number_literal) > (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Sized_symbol" : : identifier) < number_literal) > (pointer_expression "*>_" * (ERROR ">" >) identifier)) > identifier) > (ERROR "," ,) identifier) (ERROR "::__ops::_Val_comp_iter" : : identifier : : identifier) < identifier) (ERROR "::Weak_alias_sorter" : : identifier) < number_literal) > identifier) > identifier) > (parenthesized_expression "(puVar3,0)" ( (comma_expression "puVar3,0" identifier , number_literal) ))) ;) })) (call_expression "puVar3 = puVar3 + 1;\n    } while (__last != puVar3)" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) (ERROR ";\n    } while" ; } while) (argument_list "(__last != puVar3)" ( (binary_expression "__last != puVar3" identifier != identifier) ))) ; } return ; }))
(translation_unit "void FUN_0015ddb0(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  undefined4 *puVar3;\n  \n  if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0015ddb0(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  undefined4 *puVar3;\n  \n  if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0015ddb0(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  undefined4 *puVar3;\n  \n  if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (if_statement "if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }" if (parenthesized_expression "((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3))" ( (binary_expression "(param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)" (parenthesized_expression "(param_1 != param_2)" ( (binary_expression "param_1 != param_2" identifier != identifier) )) && (parenthesized_expression "(puVar3 = param_1 + 1, param_2 != puVar3)" ( (comma_expression "puVar3 = param_1 + 1, param_2 != puVar3" (assignment_expression "puVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) , (binary_expression "param_2 != puVar3" identifier != identifier)) ))) )) (compound_statement "{\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }" { (do_statement "do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);" do (compound_statement "{\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);" (assignment_expression "cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1)" identifier = (call_expression "FUN_0015db60(&stack0x0000000c,*puVar3,*param_1)" identifier (argument_list "(&stack0x0000000c,*puVar3,*param_1)" ( (pointer_expression "&stack0x0000000c" & identifier) , (pointer_expression "*puVar3" * identifier) , (pointer_expression "*param_1" * identifier) )))) ;) (if_statement "if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        FUN_0015dd70(puVar3,0);\n      }" { (expression_statement "FUN_0015dd70(puVar3,0);" (call_expression "FUN_0015dd70(puVar3,0)" identifier (argument_list "(puVar3,0)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }" else (compound_statement "{\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }" { (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (if_statement "if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }" if (parenthesized_expression "(param_1 != puVar3)" ( (binary_expression "param_1 != puVar3" identifier != identifier) )) (compound_statement "{\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }" { (expression_statement "memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);" (call_expression "memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1)" identifier (argument_list "((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1)" ( (cast_expression "(void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3)" ( (binary_expression "(4 - ((int)puVar3 - (int)param_1)) + (int)puVar3" (parenthesized_expression "(4 - ((int)puVar3 - (int)param_1))" ( (binary_expression "4 - ((int)puVar3 - (int)param_1)" number_literal - (parenthesized_expression "((int)puVar3 - (int)param_1)" ( (binary_expression "(int)puVar3 - (int)param_1" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) + (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , identifier , (binary_expression "(int)puVar3 - (int)param_1" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) }))) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != puVar3)" ( (binary_expression "param_2 != puVar3" 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 (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != IDENT)) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) }) (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 IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0015ddb0(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  undefined4 *puVar3;\n  \n  if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0015ddb0(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_0015ddb0") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (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"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  undefined4 *puVar3;\n  \n  if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (if_statement "if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }" (if "if") (parenthesized_expression "((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3))" (( "(") (binary_expression "(param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)" (parenthesized_expression "(param_1 != param_2)" (( "(") (binary_expression "param_1 != param_2" (identifier "param_1") (!= "!=") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "(puVar3 = param_1 + 1, param_2 != puVar3)" (( "(") (comma_expression "puVar3 = param_1 + 1, param_2 != puVar3" (assignment_expression "puVar3 = param_1 + 1" (identifier "puVar3") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (, ",") (binary_expression "param_2 != puVar3" (identifier "param_2") (!= "!=") (identifier "puVar3"))) () ")"))) () ")")) (compound_statement "{\n    do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);\n  }" ({ "{") (do_statement "do {\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    } while (param_2 != puVar3);" (do "do") (compound_statement "{\n      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);\n      if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }\n      puVar3 = puVar3 + 1;\n    }" ({ "{") (expression_statement "cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);" (assignment_expression "cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1)" (identifier "cVar2") (= "=") (call_expression "FUN_0015db60(&stack0x0000000c,*puVar3,*param_1)" (identifier "FUN_0015db60") (argument_list "(&stack0x0000000c,*puVar3,*param_1)" (( "(") (pointer_expression "&stack0x0000000c" (& "&") (identifier "stack0x0000000c")) (, ",") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n        FUN_0015dd70(puVar3,0);\n      }\n      else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        FUN_0015dd70(puVar3,0);\n      }" ({ "{") (expression_statement "FUN_0015dd70(puVar3,0);" (call_expression "FUN_0015dd70(puVar3,0)" (identifier "FUN_0015dd70") (argument_list "(puVar3,0)" (( "(") (identifier "puVar3") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }" (else "else") (compound_statement "{\n        uVar1 = *puVar3;\n        if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }\n        *param_1 = uVar1;\n      }" ({ "{") (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" (identifier "uVar1") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (if_statement "if (param_1 != puVar3) {\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }" (if "if") (parenthesized_expression "(param_1 != puVar3)" (( "(") (binary_expression "param_1 != puVar3" (identifier "param_1") (!= "!=") (identifier "puVar3")) () ")")) (compound_statement "{\n          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);\n        }" ({ "{") (expression_statement "memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1);" (call_expression "memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1)" (identifier "memmove") (argument_list "((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,\n                  (int)puVar3 - (int)param_1)" (( "(") (cast_expression "(void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3)" (( "(") (binary_expression "(4 - ((int)puVar3 - (int)param_1)) + (int)puVar3" (parenthesized_expression "(4 - ((int)puVar3 - (int)param_1))" (( "(") (binary_expression "4 - ((int)puVar3 - (int)param_1)" (number_literal "4") (- "-") (parenthesized_expression "((int)puVar3 - (int)param_1)" (( "(") (binary_expression "(int)puVar3 - (int)param_1" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")"))) () ")")) (+ "+") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3"))) () ")"))) (, ",") (identifier "param_1") (, ",") (binary_expression "(int)puVar3 - (int)param_1" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar1")) (; ";")) (} "}")))) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != puVar3)" (( "(") (binary_expression "param_2 != puVar3" (identifier "param_2") (!= "!=") (identifier "puVar3")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __insertion_sort<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,
   std::vector<gold::Sized_symbol<32>*, std::allocator<gold::Sized_symbol<32>*> > >,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Weak_alias_sorter<32> > > */

void std::
     __insertion_sort<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Weak_alias_sorter<32>_>_>
               (type_1 *__first,type_1 *__last)

{
  type_1 uVar1;
  bool bVar2;
  type_1 *puVar3;
  
  if ((__first != __last) && (puVar3 = __first + 1, __last != puVar3)) {
    do {
      bVar2 = gold::Weak_alias_sorter<32>::operator()
                        ((Weak_alias_sorter<32> *)&stack0x0000000c,(Sized_symbol<32> *)*puVar3,
                         (Sized_symbol<32> *)*__first);
      if (bVar2) {
        uVar1 = *puVar3;
        if (__first != puVar3) {
          memmove((void *)((4 - ((int)puVar3 - (int)__first)) + (int)puVar3),__first,
                  (int)puVar3 - (int)__first);
        }
        *__first = uVar1;
      }
      else {
        __unguarded_linear_insert<__gnu_cxx::__normal_iterator<gold::Sized_symbol<32>**,_std::vector<gold::Sized_symbol<32>*,_std::allocator<gold::Sized_symbol<32>*>_>_>,___gnu_cxx::__ops::_Val_comp_iter<gold::Weak_alias_sorter<32>_>_>
                  (puVar3,0);
      }
      puVar3 = puVar3 + 1;
    } while (__last != puVar3);
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 *param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  char cVar2;
  undefined4 *puVar3;
  
  if ((param_1 != param_2) && (puVar3 = param_1 + 1, param_2 != puVar3)) {
    do {
      cVar2 = FUN_0015db60(&stack0x0000000c,*puVar3,*param_1);
      if (cVar2 == '\0') {
        FUN_0015dd70(puVar3,0);
      }
      else {
        uVar1 = *puVar3;
        if (param_1 != puVar3) {
          memmove((void *)((4 - ((int)puVar3 - (int)param_1)) + (int)puVar3),param_1,
                  (int)puVar3 - (int)param_1);
        }
        *param_1 = uVar1;
      }
      puVar3 = puVar3 + 1;
    } while (param_2 != puVar3);
  }
  return;
}

