
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __final_insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,
   std::vector<gold::Symbol*> >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(gold::Symbol*,
   gold::Symbol*)> > */

void std::
     __final_insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>
               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>
                __first,__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>
                        __last,_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)> __comp)

{
  __normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>
  __last_00;
  Symbol *pSVar1;
  bool bVar2;
  Symbol **ppSVar3;
  
  if (0x40 < (int)__last._M_current - (int)__first._M_current) {
    __last_00._M_current = __first._M_current + 0x10;
    __insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>
              (__first,__last_00,__comp);
    for (; __last._M_current != __last_00._M_current;
        __last_00._M_current = __last_00._M_current + 1) {
      pSVar1 = *__last_00._M_current;
      ppSVar3 = __last_00._M_current;
      while( true ) {
        bVar2 = (*__comp._M_comp)(pSVar1,ppSVar3[-1]);
        if (!bVar2) break;
        *ppSVar3 = ppSVar3[-1];
        ppSVar3 = ppSVar3 + -1;
      }
      *ppSVar3 = pSVar1;
    }
    return;
  }
  __insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>
            (__first,__last,__comp);
  return;
}



void FUN_001ccdc0(int param_1,undefined4 *param_2,code *param_3)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  char cVar3;
  undefined4 *puVar4;
  
  if (0x40 < (int)param_2 - param_1) {
    puVar1 = (undefined4 *)(param_1 + 0x40);
    FUN_001ccce0(param_1,puVar1,param_3);
    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {
      uVar2 = *puVar1;
      puVar4 = puVar1;
      while( true ) {
        cVar3 = (*param_3)(uVar2,puVar4[-1]);
        if (cVar3 == '\0') break;
        *puVar4 = puVar4[-1];
        puVar4 = puVar4 + -1;
      }
      *puVar4 = uVar2;
    }
    return;
  }
  FUN_001ccce0();
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x38]
MOV EDX,ESI
MOV dword ptr [ESP + 0xc],ESI
SUB EDX,EAX
CMP EDX,0x40
JLE 0x001cce48
SUB ESP,0x4
LEA EBP,[EAX + 0x40]
PUSH EDI
PUSH EBP
PUSH EAX
CALL 0x001ccce0
ADD ESP,0x10
MOV dword ptr [ESP + 0x8],EBP
CMP ESI,EBP
JZ 0x001cce3c
LEA ESI,[ESI]
MOV EBP,dword ptr [ESP + 0x8]
MOV EBX,dword ptr [EBP]
JMP 0x001cce16
MOV EAX,dword ptr [EBP]
MOV dword ptr [EBP + 0x4],EAX
SUB ESP,0x8
PUSH dword ptr [EBP + -0x4]
MOV ESI,EBP
SUB EBP,0x4
PUSH EBX
CALL EDI
ADD ESP,0x10
TEST AL,AL
JNZ 0x001cce10
ADD dword ptr [ESP + 0x8],0x4
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ESI],EBX
CMP dword ptr [ESP + 0xc],EAX
JNZ 0x001cce00
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x001ccce0
(translation_unit "void FUN_001ccdc0(int param_1,undefined4 *param_2,code *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  \n  if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }\n  FUN_001ccce0();\n  return;\n}\n\n" (function_definition "void FUN_001ccdc0(int param_1,undefined4 *param_2,code *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  \n  if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }\n  FUN_001ccce0();\n  return;\n}" primitive_type (function_declarator "FUN_001ccdc0(int param_1,undefined4 *param_2,code *param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,code *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  \n  if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }\n  FUN_001ccce0();\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }" if (parenthesized_expression "(0x40 < (int)param_2 - param_1)" ( (binary_expression "0x40 < (int)param_2 - param_1" number_literal < (binary_expression "(int)param_2 - param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - identifier)) )) (compound_statement "{\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }" { (expression_statement "puVar1 = (undefined4 *)(param_1 + 0x40);" (assignment_expression "puVar1 = (undefined4 *)(param_1 + 0x40)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) ;) (expression_statement "FUN_001ccce0(param_1,puVar1,param_3);" (call_expression "FUN_001ccce0(param_1,puVar1,param_3)" identifier (argument_list "(param_1,puVar1,param_3)" ( identifier , identifier , identifier ))) ;) (for_statement "for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }" for ( ; (binary_expression "param_2 != puVar1" identifier != identifier) ; (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ) (compound_statement "{\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }" { (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (while_statement "while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }" { (expression_statement "cVar3 = (*param_3)(uVar2,puVar4[-1]);" (assignment_expression "cVar3 = (*param_3)(uVar2,puVar4[-1])" identifier = (call_expression "(*param_3)(uVar2,puVar4[-1])" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(uVar2,puVar4[-1])" ( identifier , (subscript_expression "puVar4[-1]" identifier [ number_literal ]) )))) ;) (if_statement "if (cVar3 == '\0') break;" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*puVar4 = puVar4[-1];" (assignment_expression "*puVar4 = puVar4[-1]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "puVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + -1;" (assignment_expression "puVar4 = puVar4 + -1" identifier = (binary_expression "puVar4 + -1" identifier + number_literal)) ;) })) (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" * identifier) = identifier) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_001ccce0();" (call_expression "FUN_001ccce0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* DWARF original name: __final_insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,\n   std::vector<gold::Symbol*> >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(gold::Symbol*,\n   gold::Symbol*)> > */\n\nvoid std::\n     __final_insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                        __last,_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)> __comp)\n\n{\n  __normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n  __last_00;\n  Symbol *pSVar1;\n  bool bVar2;\n  Symbol **ppSVar3;\n  \n  if (0x40 < (int)__last._M_current - (int)__first._M_current) {\n    __last_00._M_current = __first._M_current + 0x10;\n    __insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n              (__first,__last_00,__comp);\n    for (; __last._M_current != __last_00._M_current;\n        __last_00._M_current = __last_00._M_current + 1) {\n      pSVar1 = *__last_00._M_current;\n      ppSVar3 = __last_00._M_current;\n      while( true ) {\n        bVar2 = (*__comp._M_comp)(pSVar1,ppSVar3[-1]);\n        if (!bVar2) break;\n        *ppSVar3 = ppSVar3[-1];\n        ppSVar3 = ppSVar3 + -1;\n      }\n      *ppSVar3 = pSVar1;\n    }\n    return;\n  }\n  __insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n            (__first,__last,__comp);\n  return;\n}\n\n" comment comment (declaration "void std::\n     __final_insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                        __last,_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)> __comp)\n\n{\n  __normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n  __last_00;" primitive_type (ERROR "std::\n     __final_insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol" identifier : : identifier < identifier : : identifier < identifier : : identifier) (pointer_declarator "**,_std::vector<gold::Symbol*>_" * (pointer_declarator "*,_std::vector<gold::Symbol*>_" * (ERROR ",_std::vector<gold::Symbol*>" , identifier : : identifier < identifier : : identifier * >) identifier)) (ERROR ">" >) , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                        __last,_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)> __comp)\n\n{\n  __normal_iterator<gold::Symbol" identifier : : identifier : : identifier < (function_declarator "bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                        __last,_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)> __comp)" (function_declarator "bool_(*)" identifier (parameter_list "(*)" ( (ERROR "*" *) ))) (parameter_list "(gold::Symbol*,_gold::Symbol*)" ( (parameter_declaration "gold::Symbol*" type_identifier (ERROR "::Symbol" : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_gold::Symbol*" type_identifier (ERROR "::Symbol" : : identifier) (abstract_pointer_declarator "*" *)) )) (ERROR ">" >) (call_expression "_>\n               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                        __last,_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)> __comp)" identifier (ERROR ">" >) (argument_list "(__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                        __last,_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)> __comp)" ( (binary_expression "__normal_iterator<gold::Symbol" identifier < (ERROR "gold::" identifier : :) identifier) (ERROR "**" * *) , (ERROR "_std::vector<gold::Symbol*,_std::" identifier : : (binary_expression "vector<gold::Symbol*,_std" identifier < (ERROR "gold::" identifier : :) (binary_expression "Symbol*,_std" identifier * (ERROR "," ,) identifier)) : :) (binary_expression "allocator<gold::Symbol*>_>_>\n                __first" (binary_expression "allocator<gold::Symbol*>_>_" (binary_expression "allocator<gold::Symbol*>_" (binary_expression "allocator<gold::Symbol" identifier < (ERROR "gold::" identifier : :) identifier) (ERROR "*" *) > identifier) > identifier) > identifier) , (binary_expression "__normal_iterator<gold::Symbol" identifier < (ERROR "gold::" identifier : :) identifier) (ERROR "**" * *) , (ERROR "_std::vector<gold::Symbol*,_std::" identifier : : (binary_expression "vector<gold::Symbol*,_std" identifier < (ERROR "gold::" identifier : :) (binary_expression "Symbol*,_std" identifier * (ERROR "," ,) identifier)) : :) (binary_expression "allocator<gold::Symbol*>_>_>\n                        __last" (binary_expression "allocator<gold::Symbol*>_>_" (binary_expression "allocator<gold::Symbol*>_" (binary_expression "allocator<gold::Symbol" identifier < (ERROR "gold::" identifier : :) identifier) (ERROR "*" *) > identifier) > identifier) > identifier) , (binary_expression "_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)> __comp" (binary_expression "_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)" identifier < (ERROR "bool_(*)" (call_expression "bool_(*)" identifier (argument_list "(*)" ( (ERROR "*" *) )))) (parenthesized_expression "(gold::Symbol*,_gold::Symbol*)" ( (ERROR "gold::" identifier : :) (binary_expression "Symbol*,_gold::Symbol*" (binary_expression "Symbol*,_gold::Symbol" identifier * (ERROR ",_gold::" , identifier : :) identifier) * identifier) ))) > identifier) )))) { identifier < identifier : : identifier) (pointer_declarator "**,_std::vector<gold::Symbol" * (pointer_declarator "*,_std::vector<gold::Symbol" * (ERROR ",_std::vector<gold::" , identifier : : identifier < identifier : :) identifier)) (ERROR "*" *) , (ERROR "_std::allocator<gold::Symbol*>_>_>" identifier : : identifier < identifier : : identifier * > identifier > identifier >) identifier ;) (declaration "Symbol *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "Symbol **ppSVar3;" type_identifier (pointer_declarator "**ppSVar3" * (pointer_declarator "*ppSVar3" * identifier)) ;) (if_statement "if (0x40 < (int)__last._M_current - (int)__first._M_current) {\n    __last_00._M_current = __first._M_current + 0x10;\n    __insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n              (__first,__last_00,__comp);\n    for (; __last._M_current != __last_00._M_current;\n        __last_00._M_current = __last_00._M_current + 1) {\n      pSVar1 = *__last_00._M_current;\n      ppSVar3 = __last_00._M_current;\n      while( true ) {\n        bVar2 = (*__comp._M_comp)(pSVar1,ppSVar3[-1]);\n        if (!bVar2) break;\n        *ppSVar3 = ppSVar3[-1];\n        ppSVar3 = ppSVar3 + -1;\n      }\n      *ppSVar3 = pSVar1;\n    }\n    return;\n  }" if (parenthesized_expression "(0x40 < (int)__last._M_current - (int)__first._M_current)" ( (binary_expression "0x40 < (int)__last._M_current - (int)__first._M_current" number_literal < (binary_expression "(int)__last._M_current - (int)__first._M_current" (cast_expression "(int)__last._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__last._M_current" identifier . field_identifier)) - (cast_expression "(int)__first._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__first._M_current" identifier . field_identifier)))) )) (compound_statement "{\n    __last_00._M_current = __first._M_current + 0x10;\n    __insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n              (__first,__last_00,__comp);\n    for (; __last._M_current != __last_00._M_current;\n        __last_00._M_current = __last_00._M_current + 1) {\n      pSVar1 = *__last_00._M_current;\n      ppSVar3 = __last_00._M_current;\n      while( true ) {\n        bVar2 = (*__comp._M_comp)(pSVar1,ppSVar3[-1]);\n        if (!bVar2) break;\n        *ppSVar3 = ppSVar3[-1];\n        ppSVar3 = ppSVar3 + -1;\n      }\n      *ppSVar3 = pSVar1;\n    }\n    return;\n  }" { (expression_statement "__last_00._M_current = __first._M_current + 0x10;" (assignment_expression "__last_00._M_current = __first._M_current + 0x10" (field_expression "__last_00._M_current" identifier . field_identifier) = (binary_expression "__first._M_current + 0x10" (field_expression "__first._M_current" identifier . field_identifier) + number_literal)) ;) (ERROR "__insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::" (binary_expression "__insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx" (binary_expression "__insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_" (binary_expression "__insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold" (binary_expression "__insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std" (binary_expression "__insertion_sort<__gnu_cxx::__normal_iterator<gold" (binary_expression "__insertion_sort<__gnu_cxx" identifier < identifier) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) : :) (labeled_statement "__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n              (__first,__last_00,__comp);" statement_identifier : (ERROR ":" :) (expression_statement "_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n              (__first,__last_00,__comp);" (binary_expression "_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n              (__first,__last_00,__comp)" (binary_expression "_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_" (binary_expression "_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)" identifier < (call_expression "bool_(*)(gold::Symbol*,_gold::Symbol*)" (call_expression "bool_(*)" identifier (argument_list "(*)" ( (ERROR "*" *) ))) (argument_list "(gold::Symbol*,_gold::Symbol*)" ( (ERROR "gold::Symbol*,_gold::Symbol*" identifier : : (binary_expression "Symbol*,_gold" identifier * (ERROR "," ,) identifier) : : identifier *) )))) > identifier) > (parenthesized_expression "(__first,__last_00,__comp)" ( (comma_expression "__first,__last_00,__comp" identifier , (comma_expression "__last_00,__comp" identifier , identifier)) ))) ;)) (for_statement "for (; __last._M_current != __last_00._M_current;\n        __last_00._M_current = __last_00._M_current + 1) {\n      pSVar1 = *__last_00._M_current;\n      ppSVar3 = __last_00._M_current;\n      while( true ) {\n        bVar2 = (*__comp._M_comp)(pSVar1,ppSVar3[-1]);\n        if (!bVar2) break;\n        *ppSVar3 = ppSVar3[-1];\n        ppSVar3 = ppSVar3 + -1;\n      }\n      *ppSVar3 = pSVar1;\n    }" for ( ; (binary_expression "__last._M_current != __last_00._M_current" (field_expression "__last._M_current" identifier . field_identifier) != (field_expression "__last_00._M_current" identifier . field_identifier)) ; (assignment_expression "__last_00._M_current = __last_00._M_current + 1" (field_expression "__last_00._M_current" identifier . field_identifier) = (binary_expression "__last_00._M_current + 1" (field_expression "__last_00._M_current" identifier . field_identifier) + number_literal)) ) (compound_statement "{\n      pSVar1 = *__last_00._M_current;\n      ppSVar3 = __last_00._M_current;\n      while( true ) {\n        bVar2 = (*__comp._M_comp)(pSVar1,ppSVar3[-1]);\n        if (!bVar2) break;\n        *ppSVar3 = ppSVar3[-1];\n        ppSVar3 = ppSVar3 + -1;\n      }\n      *ppSVar3 = pSVar1;\n    }" { (expression_statement "pSVar1 = *__last_00._M_current;" (assignment_expression "pSVar1 = *__last_00._M_current" identifier = (pointer_expression "*__last_00._M_current" * (field_expression "__last_00._M_current" identifier . field_identifier))) ;) (expression_statement "ppSVar3 = __last_00._M_current;" (assignment_expression "ppSVar3 = __last_00._M_current" identifier = (field_expression "__last_00._M_current" identifier . field_identifier)) ;) (while_statement "while( true ) {\n        bVar2 = (*__comp._M_comp)(pSVar1,ppSVar3[-1]);\n        if (!bVar2) break;\n        *ppSVar3 = ppSVar3[-1];\n        ppSVar3 = ppSVar3 + -1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        bVar2 = (*__comp._M_comp)(pSVar1,ppSVar3[-1]);\n        if (!bVar2) break;\n        *ppSVar3 = ppSVar3[-1];\n        ppSVar3 = ppSVar3 + -1;\n      }" { (expression_statement "bVar2 = (*__comp._M_comp)(pSVar1,ppSVar3[-1]);" (assignment_expression "bVar2 = (*__comp._M_comp)(pSVar1,ppSVar3[-1])" identifier = (call_expression "(*__comp._M_comp)(pSVar1,ppSVar3[-1])" (parenthesized_expression "(*__comp._M_comp)" ( (pointer_expression "*__comp._M_comp" * (field_expression "__comp._M_comp" identifier . field_identifier)) )) (argument_list "(pSVar1,ppSVar3[-1])" ( identifier , (subscript_expression "ppSVar3[-1]" identifier [ number_literal ]) )))) ;) (if_statement "if (!bVar2) break;" if (parenthesized_expression "(!bVar2)" ( (unary_expression "!bVar2" ! identifier) )) (break_statement "break;" break ;)) (expression_statement "*ppSVar3 = ppSVar3[-1];" (assignment_expression "*ppSVar3 = ppSVar3[-1]" (pointer_expression "*ppSVar3" * identifier) = (subscript_expression "ppSVar3[-1]" identifier [ number_literal ])) ;) (expression_statement "ppSVar3 = ppSVar3 + -1;" (assignment_expression "ppSVar3 = ppSVar3 + -1" identifier = (binary_expression "ppSVar3 + -1" identifier + number_literal)) ;) })) (expression_statement "*ppSVar3 = pSVar1;" (assignment_expression "*ppSVar3 = pSVar1" (pointer_expression "*ppSVar3" * identifier) = identifier) ;) })) (return_statement "return;" return ;) })) (ERROR "__insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx::" (binary_expression "__insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,___gnu_cxx" (binary_expression "__insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_" (binary_expression "__insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold" (binary_expression "__insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,_std" (binary_expression "__insertion_sort<__gnu_cxx::__normal_iterator<gold" (binary_expression "__insertion_sort<__gnu_cxx" identifier < identifier) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) : :) (labeled_statement "__ops::_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n            (__first,__last,__comp);" statement_identifier : (ERROR ":" :) (expression_statement "_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n            (__first,__last,__comp);" (binary_expression "_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_>\n            (__first,__last,__comp)" (binary_expression "_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)>_" (binary_expression "_Iter_comp_iter<bool_(*)(gold::Symbol*,_gold::Symbol*)" identifier < (call_expression "bool_(*)(gold::Symbol*,_gold::Symbol*)" (call_expression "bool_(*)" identifier (argument_list "(*)" ( (ERROR "*" *) ))) (argument_list "(gold::Symbol*,_gold::Symbol*)" ( (ERROR "gold::Symbol*,_gold::Symbol*" identifier : : (binary_expression "Symbol*,_gold" identifier * (ERROR "," ,) identifier) : : identifier *) )))) > identifier) > (parenthesized_expression "(__first,__last,__comp)" ( (comma_expression "__first,__last,__comp" identifier , (comma_expression "__last,__comp" identifier , identifier)) ))) ;)) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001ccdc0(int param_1,undefined4 *param_2,code *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  \n  if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }\n  FUN_001ccce0();\n  return;\n}\n\n" (function_definition "void FUN_001ccdc0(int param_1,undefined4 *param_2,code *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  \n  if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }\n  FUN_001ccce0();\n  return;\n}" primitive_type (function_declarator "FUN_001ccdc0(int param_1,undefined4 *param_2,code *param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,code *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  \n  if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }\n  FUN_001ccce0();\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }" if (parenthesized_expression "(0x40 < (int)param_2 - param_1)" ( (binary_expression "0x40 < (int)param_2 - param_1" number_literal < (binary_expression "(int)param_2 - param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - identifier)) )) (compound_statement "{\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }" { (expression_statement "puVar1 = (undefined4 *)(param_1 + 0x40);" (assignment_expression "puVar1 = (undefined4 *)(param_1 + 0x40)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) ;) (expression_statement "FUN_001ccce0(param_1,puVar1,param_3);" (call_expression "FUN_001ccce0(param_1,puVar1,param_3)" identifier (argument_list "(param_1,puVar1,param_3)" ( identifier , identifier , identifier ))) ;) (for_statement "for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }" for ( ; (binary_expression "param_2 != puVar1" identifier != identifier) ; (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ) (compound_statement "{\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }" { (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (while_statement "while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }" { (expression_statement "cVar3 = (*param_3)(uVar2,puVar4[-1]);" (assignment_expression "cVar3 = (*param_3)(uVar2,puVar4[-1])" identifier = (call_expression "(*param_3)(uVar2,puVar4[-1])" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(uVar2,puVar4[-1])" ( identifier , (subscript_expression "puVar4[-1]" identifier [ number_literal ]) )))) ;) (if_statement "if (cVar3 == '\0') break;" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*puVar4 = puVar4[-1];" (assignment_expression "*puVar4 = puVar4[-1]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "puVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + -1;" (assignment_expression "puVar4 = puVar4 + -1" identifier = (binary_expression "puVar4 + -1" identifier + number_literal)) ;) })) (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" * identifier) = identifier) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_001ccce0();" (call_expression "FUN_001ccce0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (for_statement for ( ; (binary_expression IDENT != IDENT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001ccdc0(int param_1,undefined4 *param_2,code *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  \n  if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }\n  FUN_001ccce0();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001ccdc0(int param_1,undefined4 *param_2,code *param_3)" (identifier "FUN_001ccdc0") (parameter_list "(int param_1,undefined4 *param_2,code *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "code *param_3" (type_identifier "code") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  \n  if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }\n  FUN_001ccce0();\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (if_statement "if (0x40 < (int)param_2 - param_1) {\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(0x40 < (int)param_2 - param_1)" (( "(") (binary_expression "0x40 < (int)param_2 - param_1" (number_literal "0x40") (< "<") (binary_expression "(int)param_2 - param_1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (identifier "param_1"))) () ")")) (compound_statement "{\n    puVar1 = (undefined4 *)(param_1 + 0x40);\n    FUN_001ccce0(param_1,puVar1,param_3);\n    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }\n    return;\n  }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(param_1 + 0x40);" (assignment_expression "puVar1 = (undefined4 *)(param_1 + 0x40)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(param_1 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (; ";")) (expression_statement "FUN_001ccce0(param_1,puVar1,param_3);" (call_expression "FUN_001ccce0(param_1,puVar1,param_3)" (identifier "FUN_001ccce0") (argument_list "(param_1,puVar1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "puVar1") (, ",") (identifier "param_3") () ")"))) (; ";")) (for_statement "for (; param_2 != puVar1; puVar1 = puVar1 + 1) {\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }" (for "for") (( "(") (; ";") (binary_expression "param_2 != puVar1" (identifier "param_2") (!= "!=") (identifier "puVar1")) (; ";") (assignment_expression "puVar1 = puVar1 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n      uVar2 = *puVar1;\n      puVar4 = puVar1;\n      while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }\n      *puVar4 = uVar2;\n    }" ({ "{") (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" (identifier "uVar2") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" (identifier "puVar4") (= "=") (identifier "puVar1")) (; ";")) (while_statement "while( true ) {\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        cVar3 = (*param_3)(uVar2,puVar4[-1]);\n        if (cVar3 == '\0') break;\n        *puVar4 = puVar4[-1];\n        puVar4 = puVar4 + -1;\n      }" ({ "{") (expression_statement "cVar3 = (*param_3)(uVar2,puVar4[-1]);" (assignment_expression "cVar3 = (*param_3)(uVar2,puVar4[-1])" (identifier "cVar3") (= "=") (call_expression "(*param_3)(uVar2,puVar4[-1])" (parenthesized_expression "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")) (argument_list "(uVar2,puVar4[-1])" (( "(") (identifier "uVar2") (, ",") (subscript_expression "puVar4[-1]" (identifier "puVar4") ([ "[") (number_literal "-1") (] "]")) () ")")))) (; ";")) (if_statement "if (cVar3 == '\0') break;" (if "if") (parenthesized_expression "(cVar3 == '\0')" (( "(") (binary_expression "cVar3 == '\0'" (identifier "cVar3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*puVar4 = puVar4[-1];" (assignment_expression "*puVar4 = puVar4[-1]" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (subscript_expression "puVar4[-1]" (identifier "puVar4") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "puVar4 = puVar4 + -1;" (assignment_expression "puVar4 = puVar4 + -1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + -1" (identifier "puVar4") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar2")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_001ccce0();" (call_expression "FUN_001ccce0()" (identifier "FUN_001ccce0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __final_insertion_sort<__gnu_cxx::__normal_iterator<gold::Symbol**,
   std::vector<gold::Symbol*> >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(gold::Symbol*,
   gold::Symbol*)> > */

void std::
     __final_insertion_sort<__gnu_cxx::__normal_iterator<gold::type_1**,_std::vector<gold::type_1*>var_3>,___gnu_cxx::__ops::var_1<var_2(*)(gold::type_1*,_gold::type_1*)>var_3>
               (__normal_iterator<gold::type_1**,_std::vector<gold::type_1*,_std::allocator<gold::type_1*>var_3>var_3>
                __first,__normal_iterator<gold::type_1**,_std::vector<gold::type_1*,_std::allocator<gold::type_1*>var_3>var_3>
                        __last,var_1<var_2(*)(gold::type_1*,_gold::type_1*)> __comp)

{
  __normal_iterator<gold::type_1**,_std::vector<gold::type_1*,_std::allocator<gold::type_1*>var_3>var_3>
  __last_00;
  type_1 *pSVar1;
  bool bVar2;
  type_1 **var_4;
  
  if (0x40 < (int)__last._M_current - (int)__first._M_current) {
    __last_00._M_current = __first._M_current + 0x10;
    __insertion_sort<__gnu_cxx::__normal_iterator<gold::type_1**,_std::vector<gold::type_1*>var_3>,___gnu_cxx::__ops::var_1<var_2(*)(gold::type_1*,_gold::type_1*)>var_3>
              (__first,__last_00,__comp);
    for (; __last._M_current != __last_00._M_current;
        __last_00._M_current = __last_00._M_current + 1) {
      pSVar1 = *__last_00._M_current;
      var_4 = __last_00._M_current;
      while( true ) {
        bVar2 = (*__comp._M_comp)(pSVar1,var_4[-1]);
        if (!bVar2) break;
        *var_4 = var_4[-1];
        var_4 = var_4 + -1;
      }
      *var_4 = pSVar1;
    }
    return;
  }
  __insertion_sort<__gnu_cxx::__normal_iterator<gold::type_1**,_std::vector<gold::type_1*>var_3>,___gnu_cxx::__ops::var_1<var_2(*)(gold::type_1*,_gold::type_1*)>var_3>
            (__first,__last,__comp);
  return;
}


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

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

{
  undefined4 *puVar1;
  undefined4 uVar2;
  char cVar3;
  undefined4 *puVar4;
  
  if (0x40 < (int)param_2 - param_1) {
    puVar1 = (undefined4 *)(param_1 + 0x40);
    FUN_001ccce0(param_1,puVar1,param_3);
    for (; param_2 != puVar1; puVar1 = puVar1 + 1) {
      uVar2 = *puVar1;
      puVar4 = puVar1;
      while( true ) {
        cVar3 = (*param_3)(uVar2,puVar4[-1]);
        if (cVar3 == '\0') break;
        *puVar4 = puVar4[-1];
        puVar4 = puVar4 + -1;
      }
      *puVar4 = uVar2;
    }
    return;
  }
  FUN_001ccce0();
  return;
}

