
/* 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>_>_>
               (undefined8 *__first,undefined8 *__last)

{
  undefined8 uVar1;
  bool bVar2;
  undefined8 *puVar3;
  undefined8 *puVar4;
  
  if (__first == __last) {
    return;
  }
  puVar3 = __first + 1;
  do {
    if (puVar3 == __last) {
      return;
    }
    while (bVar2 = gold::Weak_alias_sorter<32>::operator()
                             ((Weak_alias_sorter<32> *)&stack0x00000008,(Sized_symbol<32> *)*puVar3,
                              (Sized_symbol<32> *)*__first), !bVar2) {
      puVar4 = puVar3 + 1;
      __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);
      puVar3 = puVar4;
      if (__last == puVar4) {
        return;
      }
    }
    uVar1 = *puVar3;
    if (__first != puVar3) {
      memmove(__first + 1,__first,(long)puVar3 - (long)__first);
    }
    puVar3 = puVar3 + 1;
    *__first = uVar1;
  } while( true );
}



void FUN_00457900(undefined8 *param_1,undefined8 *param_2)

{
  undefined8 uVar1;
  char cVar2;
  undefined8 *puVar3;
  undefined8 *puVar4;
  
  if (param_1 == param_2) {
    return;
  }
  puVar3 = param_1 + 1;
  do {
    if (puVar3 == param_2) {
      return;
    }
    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {
      puVar4 = puVar3 + 1;
      FUN_004578c0(puVar3);
      puVar3 = puVar4;
      if (param_2 == puVar4) {
        return;
      }
    }
    uVar1 = *puVar3;
    if (param_1 != puVar3) {
      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);
    }
    puVar3 = puVar3 + 1;
    *param_1 = uVar1;
  } while( true );
}


CMP RDI,RSI
JZ 0x00457980
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
LEA RBX,[RDI + 0x8]
CMP RBX,RSI
JZ 0x00457976
MOV R12,RSI
MOV RBP,RDI
MOV R13D,0x8
JMP 0x00457950
MOV R14,qword ptr [RBX]
CMP RBP,RBX
JZ 0x00457943
MOV RDX,RBX
LEA RDI,[RBP + R13*0x1]
MOV RSI,RBP
SUB RDX,RBP
CALL 0x001776d0
ADD RBX,0x8
MOV qword ptr [RBP],R14
CMP R12,RBX
JZ 0x00457976
MOV RDX,qword ptr [RBP]
MOV RSI,qword ptr [RBX]
LEA RDI,[RSP + 0x30]
CALL 0x004576b0
TEST AL,AL
JNZ 0x00457928
MOV RDI,RBX
ADD RBX,0x8
CALL 0x004578c0
CMP R12,RBX
JNZ 0x00457950
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
RET
(translation_unit "void FUN_00457900(undefined8 *param_1,undefined8 *param_2)\n\n{\n  undefined8 uVar1;\n  char cVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  \n  if (param_1 == param_2) {\n    return;\n  }\n  puVar3 = param_1 + 1;\n  do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );\n}\n\n" (function_definition "void FUN_00457900(undefined8 *param_1,undefined8 *param_2)\n\n{\n  undefined8 uVar1;\n  char cVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  \n  if (param_1 == param_2) {\n    return;\n  }\n  puVar3 = param_1 + 1;\n  do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );\n}" primitive_type (function_declarator "FUN_00457900(undefined8 *param_1,undefined8 *param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  char cVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  \n  if (param_1 == param_2) {\n    return;\n  }\n  puVar3 = param_1 + 1;\n  do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (param_1 == param_2) {\n    return;\n  }" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (do_statement "do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );" do (compound_statement "{\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  }" { (if_statement "if (puVar3 == param_2) {\n      return;\n    }" if (parenthesized_expression "(puVar3 == param_2)" ( (binary_expression "puVar3 == param_2" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (while_statement "while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }" while (parenthesized_expression "(cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0')" ( (comma_expression "cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0'" (assignment_expression "cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1)" identifier = (call_expression "FUN_004576b0(&stack0x00000008,*puVar3,*param_1)" identifier (argument_list "(&stack0x00000008,*puVar3,*param_1)" ( (pointer_expression "&stack0x00000008" & identifier) , (pointer_expression "*puVar3" * identifier) , (pointer_expression "*param_1" * identifier) )))) , (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) )) (compound_statement "{\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }" { (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_004578c0(puVar3);" (call_expression "FUN_004578c0(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (if_statement "if (param_2 == puVar4) {\n        return;\n      }" if (parenthesized_expression "(param_2 == puVar4)" ( (binary_expression "param_2 == puVar4" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (if_statement "if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }" if (parenthesized_expression "(param_1 != puVar3)" ( (binary_expression "param_1 != puVar3" identifier != identifier) )) (compound_statement "{\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }" { (expression_statement "memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);" (call_expression "memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1)" identifier (argument_list "(param_1 + 1,param_1,(long)puVar3 - (long)param_1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , identifier , (binary_expression "(long)puVar3 - (long)param_1" (cast_expression "(long)puVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) ;) })) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* 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               (undefined8 *__first,undefined8 *__last)\n\n{\n  undefined8 uVar1;\n  bool bVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  \n  if (__first == __last) {\n    return;\n  }\n  puVar3 = __first + 1;\n  do {\n    if (puVar3 == __last) {\n      return;\n    }\n    while (bVar2 = gold::Weak_alias_sorter<32>::operator()\n                             ((Weak_alias_sorter<32> *)&stack0x00000008,(Sized_symbol<32> *)*puVar3,\n                              (Sized_symbol<32> *)*__first), !bVar2) {\n      puVar4 = puVar3 + 1;\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);\n      puVar3 = puVar4;\n      if (__last == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (__first != puVar3) {\n      memmove(__first + 1,__first,(long)puVar3 - (long)__first);\n    }\n    puVar3 = puVar3 + 1;\n    *__first = uVar1;\n  } while( true );\n}\n\n" 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               (undefined8 *__first,undefined8 *__last)\n\n{\n  undefined8 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               (undefined8 *__first,undefined8 *__last)\n\n{\n  undefined8" identifier : : identifier : : identifier < identifier : : identifier < number_literal > identifier > (function_declarator "_>\n               (undefined8 *__first,undefined8 *__last)" identifier (ERROR ">" >) (parameter_list "(undefined8 *__first,undefined8 *__last)" ( (parameter_declaration "undefined8 *__first" type_identifier (pointer_declarator "*__first" * identifier)) , (parameter_declaration "undefined8 *__last" type_identifier (pointer_declarator "*__last" * identifier)) ))) { identifier) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (__first == __last) {\n    return;\n  }" if (parenthesized_expression "(__first == __last)" ( (binary_expression "__first == __last" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar3 = __first + 1;" (assignment_expression "puVar3 = __first + 1" identifier = (binary_expression "__first + 1" identifier + number_literal)) ;) (ERROR "do {\n    if (puVar3 == __last) {\n      return;\n    }\n    while (bVar2 = gold::Weak_alias_sorter<32>::operator()\n                             ((Weak_alias_sorter<32> *)&stack0x00000008,(Sized_symbol<32> *)*puVar3,\n                              (Sized_symbol<32> *)*__first), !bVar2) {\n      puVar4 = puVar3 + 1;\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);\n      puVar3 = puVar4;\n      if (__last == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (__first != puVar3) {\n      memmove(__first + 1,__first,(long)puVar3 - (long)__first);\n    }\n    puVar3 = puVar3 + 1;\n    *__first = uVar1;\n  } while( true );\n}" do { (if_statement "if (puVar3 == __last) {\n      return;\n    }" if (parenthesized_expression "(puVar3 == __last)" ( (binary_expression "puVar3 == __last" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) while ( (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 "()" ( ))) ( (parenthesized_expression "(Weak_alias_sorter<32> *)&stack0x00000008,(Sized_symbol<32> *)*puVar3,\n                              (Sized_symbol<32> *)*__first), !bVar2) {\n      puVar4 = puVar3 + 1;\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);\n      puVar3 = puVar4;\n      if (__last == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (__first != puVar3) {\n      memmove(__first + 1,__first,(long)puVar3 - (long)__first);\n    }\n    puVar3 = puVar3 + 1;\n    *__first = uVar1;\n  } while( true )" ( (ERROR "Weak_alias_sorter<32> *)&stack0x00000008,(Sized_symbol<32> *)*puVar3,\n                              (Sized_symbol<32> *)*__first), !bVar2) {\n      puVar4 = puVar3 + 1;\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);\n      puVar3 = puVar4;\n      if (__last == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (__first != puVar3) {\n      memmove(__first + 1,__first,(long)puVar3 - (long)__first);\n    }\n    puVar3 = puVar3 + 1;\n    *__first = uVar1;\n  } while(" (comma_expression "Weak_alias_sorter<32> *)&stack0x00000008,(Sized_symbol<32> *)*puVar3,\n                              (Sized_symbol<32> *)*__first), !bVar2)" (binary_expression "Weak_alias_sorter<32> *)&stack0x00000008" (binary_expression "Weak_alias_sorter<32" identifier < number_literal) > (pointer_expression "*)&stack0x00000008" * (ERROR ")" )) (pointer_expression "&stack0x00000008" & identifier))) , (parenthesized_expression "(Sized_symbol<32> *)*puVar3,\n                              (Sized_symbol<32> *)*__first), !bVar2)" ( (comma_expression "Sized_symbol<32> *)*puVar3,\n                              (Sized_symbol<32> *)*__first), !bVar2" (binary_expression "Sized_symbol<32> *)*puVar3" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*)*puVar3" * (ERROR ")" )) (pointer_expression "*puVar3" * identifier))) , (comma_expression "(Sized_symbol<32> *)*__first), !bVar2" (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))) )) , (unary_expression "!bVar2" ! identifier))) ))) (compound_statement "{\n      puVar4 = puVar3 + 1;\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);\n      puVar3 = puVar4;\n      if (__last == puVar4) {\n        return;\n      }\n    }" { (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (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);" (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)" (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)" ( identifier ))) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (if_statement "if (__last == puVar4) {\n        return;\n      }" if (parenthesized_expression "(__last == puVar4)" ( (binary_expression "__last == puVar4" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (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) ))) (compound_statement "{\n      memmove(__first + 1,__first,(long)puVar3 - (long)__first);\n    }" { (expression_statement "memmove(__first + 1,__first,(long)puVar3 - (long)__first);" (call_expression "memmove(__first + 1,__first,(long)puVar3 - (long)__first)" identifier (argument_list "(__first + 1,__first,(long)puVar3 - (long)__first)" ( (binary_expression "__first + 1" identifier + number_literal) , identifier , (binary_expression "(long)puVar3 - (long)__first" (cast_expression "(long)puVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__first" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) ;) }) (binary_expression "puVar3 = puVar3 + 1;\n    *__first = uVar1" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) (ERROR ";" ;) * (assignment_expression "__first = uVar1" identifier = identifier)) ; } while () true )) ; }))
(translation_unit "void FUN_00457900(undefined8 *param_1,undefined8 *param_2)\n\n{\n  undefined8 uVar1;\n  char cVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  \n  if (param_1 == param_2) {\n    return;\n  }\n  puVar3 = param_1 + 1;\n  do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );\n}\n\n" (function_definition "void FUN_00457900(undefined8 *param_1,undefined8 *param_2)\n\n{\n  undefined8 uVar1;\n  char cVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  \n  if (param_1 == param_2) {\n    return;\n  }\n  puVar3 = param_1 + 1;\n  do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );\n}" primitive_type (function_declarator "FUN_00457900(undefined8 *param_1,undefined8 *param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  char cVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  \n  if (param_1 == param_2) {\n    return;\n  }\n  puVar3 = param_1 + 1;\n  do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (param_1 == param_2) {\n    return;\n  }" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (do_statement "do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );" do (compound_statement "{\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  }" { (if_statement "if (puVar3 == param_2) {\n      return;\n    }" if (parenthesized_expression "(puVar3 == param_2)" ( (binary_expression "puVar3 == param_2" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (while_statement "while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }" while (parenthesized_expression "(cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0')" ( (comma_expression "cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0'" (assignment_expression "cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1)" identifier = (call_expression "FUN_004576b0(&stack0x00000008,*puVar3,*param_1)" identifier (argument_list "(&stack0x00000008,*puVar3,*param_1)" ( (pointer_expression "&stack0x00000008" & identifier) , (pointer_expression "*puVar3" * identifier) , (pointer_expression "*param_1" * identifier) )))) , (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) )) (compound_statement "{\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }" { (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_004578c0(puVar3);" (call_expression "FUN_004578c0(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (if_statement "if (param_2 == puVar4) {\n        return;\n      }" if (parenthesized_expression "(param_2 == puVar4)" ( (binary_expression "param_2 == puVar4" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (if_statement "if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }" if (parenthesized_expression "(param_1 != puVar3)" ( (binary_expression "param_1 != puVar3" identifier != identifier) )) (compound_statement "{\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }" { (expression_statement "memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);" (call_expression "memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1)" identifier (argument_list "(param_1 + 1,param_1,(long)puVar3 - (long)param_1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , identifier , (binary_expression "(long)puVar3 - (long)param_1" (cast_expression "(long)puVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) ;) })) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(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) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) , (binary_expression IDENT == (char_literal ' escape_sequence '))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) })) (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 ( (binary_expression IDENT + LIT) , IDENT , (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00457900(undefined8 *param_1,undefined8 *param_2)\n\n{\n  undefined8 uVar1;\n  char cVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  \n  if (param_1 == param_2) {\n    return;\n  }\n  puVar3 = param_1 + 1;\n  do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00457900(undefined8 *param_1,undefined8 *param_2)" (identifier "FUN_00457900") (parameter_list "(undefined8 *param_1,undefined8 *param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  char cVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  \n  if (param_1 == param_2) {\n    return;\n  }\n  puVar3 = param_1 + 1;\n  do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "undefined8 *puVar3;" (type_identifier "undefined8") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined8 *puVar4;" (type_identifier "undefined8") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (if_statement "if (param_1 == param_2) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == param_2)" (( "(") (binary_expression "param_1 == param_2" (identifier "param_1") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" (identifier "puVar3") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  } while( true );" (do "do") (compound_statement "{\n    if (puVar3 == param_2) {\n      return;\n    }\n    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }\n    uVar1 = *puVar3;\n    if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }\n    puVar3 = puVar3 + 1;\n    *param_1 = uVar1;\n  }" ({ "{") (if_statement "if (puVar3 == param_2) {\n      return;\n    }" (if "if") (parenthesized_expression "(puVar3 == param_2)" (( "(") (binary_expression "puVar3 == param_2" (identifier "puVar3") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (while_statement "while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }" (while "while") (parenthesized_expression "(cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0')" (( "(") (comma_expression "cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0'" (assignment_expression "cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1)" (identifier "cVar2") (= "=") (call_expression "FUN_004576b0(&stack0x00000008,*puVar3,*param_1)" (identifier "FUN_004576b0") (argument_list "(&stack0x00000008,*puVar3,*param_1)" (( "(") (pointer_expression "&stack0x00000008" (& "&") (identifier "stack0x00000008")) (, ",") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (, ",") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (compound_statement "{\n      puVar4 = puVar3 + 1;\n      FUN_004578c0(puVar3);\n      puVar3 = puVar4;\n      if (param_2 == puVar4) {\n        return;\n      }\n    }" ({ "{") (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_004578c0(puVar3);" (call_expression "FUN_004578c0(puVar3)" (identifier "FUN_004578c0") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" (identifier "puVar3") (= "=") (identifier "puVar4")) (; ";")) (if_statement "if (param_2 == puVar4) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_2 == puVar4)" (( "(") (binary_expression "param_2 == puVar4" (identifier "param_2") (== "==") (identifier "puVar4")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" (identifier "uVar1") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (if_statement "if (param_1 != puVar3) {\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }" (if "if") (parenthesized_expression "(param_1 != puVar3)" (( "(") (binary_expression "param_1 != puVar3" (identifier "param_1") (!= "!=") (identifier "puVar3")) () ")")) (compound_statement "{\n      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);\n    }" ({ "{") (expression_statement "memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);" (call_expression "memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1)" (identifier "memmove") (argument_list "(param_1 + 1,param_1,(long)puVar3 - (long)param_1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (, ",") (identifier "param_1") (, ",") (binary_expression "(long)puVar3 - (long)param_1" (cast_expression "(long)puVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar3")) (- "-") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* 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 *var_1,type_1 *var_2)

{
  type_1 uVar1;
  bool bVar2;
  type_1 *puVar3;
  type_1 *puVar4;
  
  if (var_1 == var_2) {
    return;
  }
  puVar3 = var_1 + 1;
  do {
    if (puVar3 == var_2) {
      return;
    }
    while (bVar2 = gold::Weak_alias_sorter<32>::operator()
                             ((Weak_alias_sorter<32> *)&stack0x00000008,(Sized_symbol<32> *)*puVar3,
                              (Sized_symbol<32> *)*var_1), !bVar2) {
      puVar4 = puVar3 + 1;
      __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);
      puVar3 = puVar4;
      if (var_2 == puVar4) {
        return;
      }
    }
    uVar1 = *puVar3;
    if (var_1 != puVar3) {
      memmove(var_1 + 1,var_1,(long)puVar3 - (long)var_1);
    }
    puVar3 = puVar3 + 1;
    *var_1 = uVar1;
  } while( true );
}


(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))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier))))) right: (binary_expression left: (identifier) right: (char_literal (escape_sequence))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_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 (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) condition: (parenthesized_expression (true))))))

void MASKED(undefined8 *param_1,undefined8 *param_2)

{
  undefined8 uVar1;
  char cVar2;
  undefined8 *puVar3;
  undefined8 *puVar4;
  
  if (param_1 == param_2) {
    return;
  }
  puVar3 = param_1 + 1;
  do {
    if (puVar3 == param_2) {
      return;
    }
    while (cVar2 = FUN_004576b0(&stack0x00000008,*puVar3,*param_1), cVar2 == '\0') {
      puVar4 = puVar3 + 1;
      FUN_004578c0(puVar3);
      puVar3 = puVar4;
      if (param_2 == puVar4) {
        return;
      }
    }
    uVar1 = *puVar3;
    if (param_1 != puVar3) {
      memmove(param_1 + 1,param_1,(long)puVar3 - (long)param_1);
    }
    puVar3 = puVar3 + 1;
    *param_1 = uVar1;
  } while( true );
}

