
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name:
   __move_median_to_first<__gnu_cxx::__normal_iterator<gold::Object_merge_map::Input_merge_entry*,
   std::vector<gold::Object_merge_map::Input_merge_entry> >,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Object_merge_map::Input_merge_compare> > */

void std::
     __move_median_to_first<__gnu_cxx::__normal_iterator<gold::Object_merge_map::Input_merge_entry*,_std::vector<gold::Object_merge_map::Input_merge_entry>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Object_merge_map::Input_merge_compare>_>
               (int *__result,int *__a,int *__b,int *__c)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  
  iVar1 = *__result;
  iVar2 = *__a;
  iVar3 = *__b;
  iVar4 = *__c;
  iVar5 = __result[1];
  iVar6 = __result[2];
  if (iVar2 < iVar3) {
    if (iVar4 <= iVar3) {
      if (iVar2 < iVar4) {
LAB_001c81d4:
        *__result = iVar4;
        __result[1] = __c[1];
        __result[2] = __c[2];
        *__c = iVar1;
        __c[2] = iVar6;
        __c[1] = iVar5;
        return;
      }
LAB_001c8208:
      *__result = iVar2;
      __result[1] = __a[1];
      __result[2] = __a[2];
      __a[2] = iVar6;
      *__a = iVar1;
      __a[1] = iVar5;
      return;
    }
  }
  else {
    if (iVar2 < iVar4) goto LAB_001c8208;
    if (iVar3 < iVar4) goto LAB_001c81d4;
  }
  *__result = iVar3;
  __result[1] = __b[1];
  __result[2] = __b[2];
  __b[2] = iVar6;
  *__b = iVar1;
  __b[1] = iVar5;
  return;
}



void FUN_001c8170(int *param_1,int *param_2,int *param_3,int *param_4)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  
  iVar1 = *param_1;
  iVar2 = *param_2;
  iVar3 = *param_3;
  iVar4 = *param_4;
  iVar5 = param_1[1];
  iVar6 = param_1[2];
  if (iVar2 < iVar3) {
    if (iVar4 <= iVar3) {
      if (iVar2 < iVar4) {
LAB_001c81d4:
        *param_1 = iVar4;
        param_1[1] = param_4[1];
        param_1[2] = param_4[2];
        *param_4 = iVar1;
        param_4[2] = iVar6;
        param_4[1] = iVar5;
        return;
      }
LAB_001c8208:
      *param_1 = iVar2;
      param_1[1] = param_2[1];
      param_1[2] = param_2[2];
      param_2[2] = iVar6;
      *param_2 = iVar1;
      param_2[1] = iVar5;
      return;
    }
  }
  else {
    if (iVar2 < iVar4) goto LAB_001c8208;
    if (iVar3 < iVar4) goto LAB_001c81d4;
  }
  *param_1 = iVar3;
  param_1[1] = param_3[1];
  param_1[2] = param_3[2];
  param_3[2] = iVar6;
  *param_3 = iVar1;
  param_3[1] = iVar5;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x1c]
MOV ECX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [ESP + 0x24]
MOV EDI,dword ptr [ESP + 0x28]
MOV EBP,dword ptr [EAX]
MOV ESI,dword ptr [ECX]
MOV EBX,dword ptr [EDX]
MOV EDI,dword ptr [EDI]
MOV dword ptr [ESP],EBP
MOV EBP,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0x4],EBP
MOV EBP,dword ptr [EAX + 0x8]
CMP EBX,ESI
JLE 0x001c8230
CMP EBX,EDI
JGE 0x001c81d0
MOV dword ptr [EAX],EBX
MOV ECX,dword ptr [EDX + 0x4]
MOV dword ptr [EAX + 0x4],ECX
MOV ECX,dword ptr [EDX + 0x8]
MOV dword ptr [EAX + 0x8],ECX
MOV EAX,dword ptr [ESP]
MOV dword ptr [EDX + 0x8],EBP
MOV dword ptr [EDX],EAX
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [EDX + 0x4],EAX
ADD ESP,0x8
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ESI,EDI
JGE 0x001c8208
MOV EBX,dword ptr [ESP + 0x28]
MOV dword ptr [EAX],EDI
MOV EDX,dword ptr [EBX + 0x4]
MOV ESI,EBX
MOV dword ptr [EAX + 0x4],EDX
MOV EDX,dword ptr [EBX + 0x8]
MOV dword ptr [EAX + 0x8],EDX
MOV EAX,EBX
MOV EBX,dword ptr [ESP]
MOV dword ptr [ESI],EBX
MOV ESI,dword ptr [ESP + 0x4]
MOV dword ptr [EAX + 0x8],EBP
MOV dword ptr [EAX + 0x4],ESI
ADD ESP,0x8
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EAX],ESI
MOV EDX,dword ptr [ECX + 0x4]
MOV dword ptr [EAX + 0x4],EDX
MOV EDX,dword ptr [ECX + 0x8]
MOV dword ptr [EAX + 0x8],EDX
MOV EAX,dword ptr [ESP]
MOV dword ptr [ECX + 0x8],EBP
MOV dword ptr [ECX],EAX
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ECX + 0x4],EAX
ADD ESP,0x8
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ESI,EDI
JL 0x001c8208
CMP EBX,EDI
JGE 0x001c81a8
JMP 0x001c81d4
(translation_unit "void FUN_001c8170(int *param_1,int *param_2,int *param_3,int *param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  iVar3 = *param_3;\n  iVar4 = *param_4;\n  iVar5 = param_1[1];\n  iVar6 = param_1[2];\n  if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }\n  *param_1 = iVar3;\n  param_1[1] = param_3[1];\n  param_1[2] = param_3[2];\n  param_3[2] = iVar6;\n  *param_3 = iVar1;\n  param_3[1] = iVar5;\n  return;\n}\n\n" (function_definition "void FUN_001c8170(int *param_1,int *param_2,int *param_3,int *param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  iVar3 = *param_3;\n  iVar4 = *param_4;\n  iVar5 = param_1[1];\n  iVar6 = param_1[2];\n  if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }\n  *param_1 = iVar3;\n  param_1[1] = param_3[1];\n  param_1[2] = param_3[2];\n  param_3[2] = iVar6;\n  *param_3 = iVar1;\n  param_3[1] = iVar5;\n  return;\n}" primitive_type (function_declarator "FUN_001c8170(int *param_1,int *param_2,int *param_3,int *param_4)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,int *param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  iVar3 = *param_3;\n  iVar4 = *param_4;\n  iVar5 = param_1[1];\n  iVar6 = param_1[2];\n  if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }\n  *param_1 = iVar3;\n  param_1[1] = param_3[1];\n  param_1[2] = param_3[2];\n  param_3[2] = iVar6;\n  *param_3 = iVar1;\n  param_3[1] = iVar5;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar4 = *param_4;" (assignment_expression "iVar4 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" if (parenthesized_expression "(iVar2 < iVar3)" ( (binary_expression "iVar2 < iVar3" identifier < identifier) )) (compound_statement "{\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }" { (if_statement "if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }" if (parenthesized_expression "(iVar4 <= iVar3)" ( (binary_expression "iVar4 <= iVar3" identifier <= identifier) )) (compound_statement "{\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }" { (if_statement "if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }" if (parenthesized_expression "(iVar2 < iVar4)" ( (binary_expression "iVar2 < iVar4" identifier < identifier) )) (compound_statement "{\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }" { (labeled_statement "LAB_001c81d4:\n        *param_1 = iVar4;" statement_identifier : (expression_statement "*param_1 = iVar4;" (assignment_expression "*param_1 = iVar4" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = param_4[1];" (assignment_expression "param_1[1] = param_4[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_4[2];" (assignment_expression "param_1[2] = param_4[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "*param_4 = iVar1;" (assignment_expression "*param_4 = iVar1" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "param_4[2] = iVar6;" (assignment_expression "param_4[2] = iVar6" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[1] = iVar5;" (assignment_expression "param_4[1] = iVar5" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_001c8208:\n      *param_1 = iVar2;" statement_identifier : (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = param_2[1];" (assignment_expression "param_1[1] = param_2[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[2];" (assignment_expression "param_1[2] = param_2[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "param_2[2] = iVar6;" (assignment_expression "param_2[2] = iVar6" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = iVar5;" (assignment_expression "param_2[1] = iVar5" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" else (compound_statement "{\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" { (if_statement "if (iVar2 < iVar4) goto LAB_001c8208;" if (parenthesized_expression "(iVar2 < iVar4)" ( (binary_expression "iVar2 < iVar4" identifier < identifier) )) (goto_statement "goto LAB_001c8208;" goto statement_identifier ;)) (if_statement "if (iVar3 < iVar4) goto LAB_001c81d4;" if (parenthesized_expression "(iVar3 < iVar4)" ( (binary_expression "iVar3 < iVar4" identifier < identifier) )) (goto_statement "goto LAB_001c81d4;" goto statement_identifier ;)) }))) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_3[1];" (assignment_expression "param_1[1] = param_3[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_3[2];" (assignment_expression "param_1[2] = param_3[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "param_3[2] = iVar6;" (assignment_expression "param_3[2] = iVar6" (subscript_expression "param_3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_3 = iVar1;" (assignment_expression "*param_3 = iVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[1] = iVar5;" (assignment_expression "param_3[1] = iVar5" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* DWARF original name:\n   __move_median_to_first<__gnu_cxx::__normal_iterator<gold::Object_merge_map::Input_merge_entry*,\n   std::vector<gold::Object_merge_map::Input_merge_entry> >,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Object_merge_map::Input_merge_compare> > */\n\nvoid std::\n     __move_median_to_first<__gnu_cxx::__normal_iterator<gold::Object_merge_map::Input_merge_entry*,_std::vector<gold::Object_merge_map::Input_merge_entry>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Object_merge_map::Input_merge_compare>_>\n               (int *__result,int *__a,int *__b,int *__c)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  iVar1 = *__result;\n  iVar2 = *__a;\n  iVar3 = *__b;\n  iVar4 = *__c;\n  iVar5 = __result[1];\n  iVar6 = __result[2];\n  if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *__result = iVar4;\n        __result[1] = __c[1];\n        __result[2] = __c[2];\n        *__c = iVar1;\n        __c[2] = iVar6;\n        __c[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *__result = iVar2;\n      __result[1] = __a[1];\n      __result[2] = __a[2];\n      __a[2] = iVar6;\n      *__a = iVar1;\n      __a[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }\n  *__result = iVar3;\n  __result[1] = __b[1];\n  __result[2] = __b[2];\n  __b[2] = iVar6;\n  *__b = iVar1;\n  __b[1] = iVar5;\n  return;\n}\n\n" comment comment (declaration "void std::\n     __move_median_to_first<__gnu_cxx::__normal_iterator<gold::Object_merge_map::Input_merge_entry*,_std::vector<gold::Object_merge_map::Input_merge_entry>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Object_merge_map::Input_merge_compare>_>\n               (int *__result,int *__a,int *__b,int *__c)\n\n{\n  int iVar1;" primitive_type (ERROR "std::\n     __move_median_to_first<__gnu_cxx::__normal_iterator<gold::Object_merge_map::" identifier : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "*" *) , (ERROR "_std::vector<gold::Object_merge_map::Input_merge_entry>" identifier : : identifier < identifier : : identifier : : identifier >) identifier (ERROR ">" >) , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::Object_merge_map::Input_merge_compare>_>\n               (int *__result,int *__a,int *__b,int *__c)\n\n{\n  int" identifier : : identifier : : identifier < identifier : : identifier : : identifier > (function_declarator "_>\n               (int *__result,int *__a,int *__b,int *__c)" identifier (ERROR ">" >) (parameter_list "(int *__result,int *__a,int *__b,int *__c)" ( (parameter_declaration "int *__result" primitive_type (pointer_declarator "*__result" * identifier)) , (parameter_declaration "int *__a" primitive_type (pointer_declarator "*__a" * identifier)) , (parameter_declaration "int *__b" primitive_type (pointer_declarator "*__b" * identifier)) , (parameter_declaration "int *__c" primitive_type (pointer_declarator "*__c" * identifier)) ))) { primitive_type) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "iVar1 = *__result;" (assignment_expression "iVar1 = *__result" identifier = (pointer_expression "*__result" * identifier)) ;) (expression_statement "iVar2 = *__a;" (assignment_expression "iVar2 = *__a" identifier = (pointer_expression "*__a" * identifier)) ;) (expression_statement "iVar3 = *__b;" (assignment_expression "iVar3 = *__b" identifier = (pointer_expression "*__b" * identifier)) ;) (expression_statement "iVar4 = *__c;" (assignment_expression "iVar4 = *__c" identifier = (pointer_expression "*__c" * identifier)) ;) (expression_statement "iVar5 = __result[1];" (assignment_expression "iVar5 = __result[1]" identifier = (subscript_expression "__result[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = __result[2];" (assignment_expression "iVar6 = __result[2]" identifier = (subscript_expression "__result[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *__result = iVar4;\n        __result[1] = __c[1];\n        __result[2] = __c[2];\n        *__c = iVar1;\n        __c[2] = iVar6;\n        __c[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *__result = iVar2;\n      __result[1] = __a[1];\n      __result[2] = __a[2];\n      __a[2] = iVar6;\n      *__a = iVar1;\n      __a[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" if (parenthesized_expression "(iVar2 < iVar3)" ( (binary_expression "iVar2 < iVar3" identifier < identifier) )) (compound_statement "{\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *__result = iVar4;\n        __result[1] = __c[1];\n        __result[2] = __c[2];\n        *__c = iVar1;\n        __c[2] = iVar6;\n        __c[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *__result = iVar2;\n      __result[1] = __a[1];\n      __result[2] = __a[2];\n      __a[2] = iVar6;\n      *__a = iVar1;\n      __a[1] = iVar5;\n      return;\n    }\n  }" { (if_statement "if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *__result = iVar4;\n        __result[1] = __c[1];\n        __result[2] = __c[2];\n        *__c = iVar1;\n        __c[2] = iVar6;\n        __c[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *__result = iVar2;\n      __result[1] = __a[1];\n      __result[2] = __a[2];\n      __a[2] = iVar6;\n      *__a = iVar1;\n      __a[1] = iVar5;\n      return;\n    }" if (parenthesized_expression "(iVar4 <= iVar3)" ( (binary_expression "iVar4 <= iVar3" identifier <= identifier) )) (compound_statement "{\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *__result = iVar4;\n        __result[1] = __c[1];\n        __result[2] = __c[2];\n        *__c = iVar1;\n        __c[2] = iVar6;\n        __c[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *__result = iVar2;\n      __result[1] = __a[1];\n      __result[2] = __a[2];\n      __a[2] = iVar6;\n      *__a = iVar1;\n      __a[1] = iVar5;\n      return;\n    }" { (if_statement "if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *__result = iVar4;\n        __result[1] = __c[1];\n        __result[2] = __c[2];\n        *__c = iVar1;\n        __c[2] = iVar6;\n        __c[1] = iVar5;\n        return;\n      }" if (parenthesized_expression "(iVar2 < iVar4)" ( (binary_expression "iVar2 < iVar4" identifier < identifier) )) (compound_statement "{\nLAB_001c81d4:\n        *__result = iVar4;\n        __result[1] = __c[1];\n        __result[2] = __c[2];\n        *__c = iVar1;\n        __c[2] = iVar6;\n        __c[1] = iVar5;\n        return;\n      }" { (labeled_statement "LAB_001c81d4:\n        *__result = iVar4;" statement_identifier : (expression_statement "*__result = iVar4;" (assignment_expression "*__result = iVar4" (pointer_expression "*__result" * identifier) = identifier) ;)) (expression_statement "__result[1] = __c[1];" (assignment_expression "__result[1] = __c[1]" (subscript_expression "__result[1]" identifier [ number_literal ]) = (subscript_expression "__c[1]" identifier [ number_literal ])) ;) (expression_statement "__result[2] = __c[2];" (assignment_expression "__result[2] = __c[2]" (subscript_expression "__result[2]" identifier [ number_literal ]) = (subscript_expression "__c[2]" identifier [ number_literal ])) ;) (expression_statement "*__c = iVar1;" (assignment_expression "*__c = iVar1" (pointer_expression "*__c" * identifier) = identifier) ;) (expression_statement "__c[2] = iVar6;" (assignment_expression "__c[2] = iVar6" (subscript_expression "__c[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__c[1] = iVar5;" (assignment_expression "__c[1] = iVar5" (subscript_expression "__c[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_001c8208:\n      *__result = iVar2;" statement_identifier : (expression_statement "*__result = iVar2;" (assignment_expression "*__result = iVar2" (pointer_expression "*__result" * identifier) = identifier) ;)) (expression_statement "__result[1] = __a[1];" (assignment_expression "__result[1] = __a[1]" (subscript_expression "__result[1]" identifier [ number_literal ]) = (subscript_expression "__a[1]" identifier [ number_literal ])) ;) (expression_statement "__result[2] = __a[2];" (assignment_expression "__result[2] = __a[2]" (subscript_expression "__result[2]" identifier [ number_literal ]) = (subscript_expression "__a[2]" identifier [ number_literal ])) ;) (expression_statement "__a[2] = iVar6;" (assignment_expression "__a[2] = iVar6" (subscript_expression "__a[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*__a = iVar1;" (assignment_expression "*__a = iVar1" (pointer_expression "*__a" * identifier) = identifier) ;) (expression_statement "__a[1] = iVar5;" (assignment_expression "__a[1] = iVar5" (subscript_expression "__a[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" else (compound_statement "{\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" { (if_statement "if (iVar2 < iVar4) goto LAB_001c8208;" if (parenthesized_expression "(iVar2 < iVar4)" ( (binary_expression "iVar2 < iVar4" identifier < identifier) )) (goto_statement "goto LAB_001c8208;" goto statement_identifier ;)) (if_statement "if (iVar3 < iVar4) goto LAB_001c81d4;" if (parenthesized_expression "(iVar3 < iVar4)" ( (binary_expression "iVar3 < iVar4" identifier < identifier) )) (goto_statement "goto LAB_001c81d4;" goto statement_identifier ;)) }))) (expression_statement "*__result = iVar3;" (assignment_expression "*__result = iVar3" (pointer_expression "*__result" * identifier) = identifier) ;) (expression_statement "__result[1] = __b[1];" (assignment_expression "__result[1] = __b[1]" (subscript_expression "__result[1]" identifier [ number_literal ]) = (subscript_expression "__b[1]" identifier [ number_literal ])) ;) (expression_statement "__result[2] = __b[2];" (assignment_expression "__result[2] = __b[2]" (subscript_expression "__result[2]" identifier [ number_literal ]) = (subscript_expression "__b[2]" identifier [ number_literal ])) ;) (expression_statement "__b[2] = iVar6;" (assignment_expression "__b[2] = iVar6" (subscript_expression "__b[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*__b = iVar1;" (assignment_expression "*__b = iVar1" (pointer_expression "*__b" * identifier) = identifier) ;) (expression_statement "__b[1] = iVar5;" (assignment_expression "__b[1] = iVar5" (subscript_expression "__b[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001c8170(int *param_1,int *param_2,int *param_3,int *param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  iVar3 = *param_3;\n  iVar4 = *param_4;\n  iVar5 = param_1[1];\n  iVar6 = param_1[2];\n  if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }\n  *param_1 = iVar3;\n  param_1[1] = param_3[1];\n  param_1[2] = param_3[2];\n  param_3[2] = iVar6;\n  *param_3 = iVar1;\n  param_3[1] = iVar5;\n  return;\n}\n\n" (function_definition "void FUN_001c8170(int *param_1,int *param_2,int *param_3,int *param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  iVar3 = *param_3;\n  iVar4 = *param_4;\n  iVar5 = param_1[1];\n  iVar6 = param_1[2];\n  if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }\n  *param_1 = iVar3;\n  param_1[1] = param_3[1];\n  param_1[2] = param_3[2];\n  param_3[2] = iVar6;\n  *param_3 = iVar1;\n  param_3[1] = iVar5;\n  return;\n}" primitive_type (function_declarator "FUN_001c8170(int *param_1,int *param_2,int *param_3,int *param_4)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,int *param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  iVar3 = *param_3;\n  iVar4 = *param_4;\n  iVar5 = param_1[1];\n  iVar6 = param_1[2];\n  if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }\n  *param_1 = iVar3;\n  param_1[1] = param_3[1];\n  param_1[2] = param_3[2];\n  param_3[2] = iVar6;\n  *param_3 = iVar1;\n  param_3[1] = iVar5;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar4 = *param_4;" (assignment_expression "iVar4 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" if (parenthesized_expression "(iVar2 < iVar3)" ( (binary_expression "iVar2 < iVar3" identifier < identifier) )) (compound_statement "{\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }" { (if_statement "if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }" if (parenthesized_expression "(iVar4 <= iVar3)" ( (binary_expression "iVar4 <= iVar3" identifier <= identifier) )) (compound_statement "{\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }" { (if_statement "if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }" if (parenthesized_expression "(iVar2 < iVar4)" ( (binary_expression "iVar2 < iVar4" identifier < identifier) )) (compound_statement "{\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }" { (labeled_statement "LAB_001c81d4:\n        *param_1 = iVar4;" statement_identifier : (expression_statement "*param_1 = iVar4;" (assignment_expression "*param_1 = iVar4" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = param_4[1];" (assignment_expression "param_1[1] = param_4[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_4[2];" (assignment_expression "param_1[2] = param_4[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "*param_4 = iVar1;" (assignment_expression "*param_4 = iVar1" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "param_4[2] = iVar6;" (assignment_expression "param_4[2] = iVar6" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[1] = iVar5;" (assignment_expression "param_4[1] = iVar5" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_001c8208:\n      *param_1 = iVar2;" statement_identifier : (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = param_2[1];" (assignment_expression "param_1[1] = param_2[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[2];" (assignment_expression "param_1[2] = param_2[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "param_2[2] = iVar6;" (assignment_expression "param_2[2] = iVar6" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = iVar5;" (assignment_expression "param_2[1] = iVar5" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" else (compound_statement "{\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" { (if_statement "if (iVar2 < iVar4) goto LAB_001c8208;" if (parenthesized_expression "(iVar2 < iVar4)" ( (binary_expression "iVar2 < iVar4" identifier < identifier) )) (goto_statement "goto LAB_001c8208;" goto statement_identifier ;)) (if_statement "if (iVar3 < iVar4) goto LAB_001c81d4;" if (parenthesized_expression "(iVar3 < iVar4)" ( (binary_expression "iVar3 < iVar4" identifier < identifier) )) (goto_statement "goto LAB_001c81d4;" goto statement_identifier ;)) }))) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_3[1];" (assignment_expression "param_1[1] = param_3[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_3[2];" (assignment_expression "param_1[2] = param_3[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "param_3[2] = iVar6;" (assignment_expression "param_3[2] = iVar6" (subscript_expression "param_3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_3 = iVar1;" (assignment_expression "*param_3 = iVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[1] = iVar5;" (assignment_expression "param_3[1] = iVar5" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_001c8170(int *param_1,int *param_2,int *param_3,int *param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  iVar3 = *param_3;\n  iVar4 = *param_4;\n  iVar5 = param_1[1];\n  iVar6 = param_1[2];\n  if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }\n  *param_1 = iVar3;\n  param_1[1] = param_3[1];\n  param_1[2] = param_3[2];\n  param_3[2] = iVar6;\n  *param_3 = iVar1;\n  param_3[1] = iVar5;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001c8170(int *param_1,int *param_2,int *param_3,int *param_4)" (identifier "FUN_001c8170") (parameter_list "(int *param_1,int *param_2,int *param_3,int *param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  iVar3 = *param_3;\n  iVar4 = *param_4;\n  iVar5 = param_1[1];\n  iVar6 = param_1[2];\n  if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }\n  *param_1 = iVar3;\n  param_1[1] = param_3[1];\n  param_1[2] = param_3[2];\n  param_3[2] = iVar6;\n  *param_3 = iVar1;\n  param_3[1] = iVar5;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" (identifier "iVar3") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "iVar4 = *param_4;" (assignment_expression "iVar4 = *param_4" (identifier "iVar4") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" (identifier "iVar5") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" (identifier "iVar6") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (iVar2 < iVar3) {\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }\n  else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" (if "if") (parenthesized_expression "(iVar2 < iVar3)" (( "(") (binary_expression "iVar2 < iVar3" (identifier "iVar2") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n    if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }\n  }" ({ "{") (if_statement "if (iVar4 <= iVar3) {\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }" (if "if") (parenthesized_expression "(iVar4 <= iVar3)" (( "(") (binary_expression "iVar4 <= iVar3" (identifier "iVar4") (<= "<=") (identifier "iVar3")) () ")")) (compound_statement "{\n      if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }\nLAB_001c8208:\n      *param_1 = iVar2;\n      param_1[1] = param_2[1];\n      param_1[2] = param_2[2];\n      param_2[2] = iVar6;\n      *param_2 = iVar1;\n      param_2[1] = iVar5;\n      return;\n    }" ({ "{") (if_statement "if (iVar2 < iVar4) {\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }" (if "if") (parenthesized_expression "(iVar2 < iVar4)" (( "(") (binary_expression "iVar2 < iVar4" (identifier "iVar2") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\nLAB_001c81d4:\n        *param_1 = iVar4;\n        param_1[1] = param_4[1];\n        param_1[2] = param_4[2];\n        *param_4 = iVar1;\n        param_4[2] = iVar6;\n        param_4[1] = iVar5;\n        return;\n      }" ({ "{") (labeled_statement "LAB_001c81d4:\n        *param_1 = iVar4;" (statement_identifier "LAB_001c81d4") (: ":") (expression_statement "*param_1 = iVar4;" (assignment_expression "*param_1 = iVar4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar4")) (; ";"))) (expression_statement "param_1[1] = param_4[1];" (assignment_expression "param_1[1] = param_4[1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[2] = param_4[2];" (assignment_expression "param_1[2] = param_4[2]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*param_4 = iVar1;" (assignment_expression "*param_4 = iVar1" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "param_4[2] = iVar6;" (assignment_expression "param_4[2] = iVar6" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "param_4[1] = iVar5;" (assignment_expression "param_4[1] = iVar5" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_001c8208:\n      *param_1 = iVar2;" (statement_identifier "LAB_001c8208") (: ":") (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";"))) (expression_statement "param_1[1] = param_2[1];" (assignment_expression "param_1[1] = param_2[1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[2] = param_2[2];" (assignment_expression "param_1[2] = param_2[2]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_2[2] = iVar6;" (assignment_expression "param_2[2] = iVar6" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "param_2[1] = iVar5;" (assignment_expression "param_2[1] = iVar5" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" (else "else") (compound_statement "{\n    if (iVar2 < iVar4) goto LAB_001c8208;\n    if (iVar3 < iVar4) goto LAB_001c81d4;\n  }" ({ "{") (if_statement "if (iVar2 < iVar4) goto LAB_001c8208;" (if "if") (parenthesized_expression "(iVar2 < iVar4)" (( "(") (binary_expression "iVar2 < iVar4" (identifier "iVar2") (< "<") (identifier "iVar4")) () ")")) (goto_statement "goto LAB_001c8208;" (goto "goto") (statement_identifier "LAB_001c8208") (; ";"))) (if_statement "if (iVar3 < iVar4) goto LAB_001c81d4;" (if "if") (parenthesized_expression "(iVar3 < iVar4)" (( "(") (binary_expression "iVar3 < iVar4" (identifier "iVar3") (< "<") (identifier "iVar4")) () ")")) (goto_statement "goto LAB_001c81d4;" (goto "goto") (statement_identifier "LAB_001c81d4") (; ";"))) (} "}")))) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "param_1[1] = param_3[1];" (assignment_expression "param_1[1] = param_3[1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[2] = param_3[2];" (assignment_expression "param_1[2] = param_3[2]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_3[2] = iVar6;" (assignment_expression "param_3[2] = iVar6" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*param_3 = iVar1;" (assignment_expression "*param_3 = iVar1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "param_3[1] = iVar5;" (assignment_expression "param_3[1] = iVar5" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name:
   __move_median_to_first<__gnu_cxx::__normal_iterator<gold::Object_merge_map::Input_merge_entry*,
   std::vector<gold::Object_merge_map::Input_merge_entry> >,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Object_merge_map::Input_merge_compare> > */

void std::
     __move_median_to_first<__gnu_cxx::__normal_iterator<gold::Object_merge_map::Input_merge_entry*,_std::vector<gold::Object_merge_map::Input_merge_entry>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Object_merge_map::Input_merge_compare>_>
               (int *__result,int *__a,int *__b,int *__c)

{
  int iVar1;
  int var_1;
  int var_2;
  int var_3;
  int iVar5;
  int iVar6;
  
  iVar1 = *__result;
  var_1 = *__a;
  var_2 = *__b;
  var_3 = *__c;
  iVar5 = __result[1];
  iVar6 = __result[2];
  if (var_1 < var_2) {
    if (var_3 <= var_2) {
      if (var_1 < var_3) {
LAB_001c81d4:
        *__result = var_3;
        __result[1] = __c[1];
        __result[2] = __c[2];
        *__c = iVar1;
        __c[2] = iVar6;
        __c[1] = iVar5;
        return;
      }
LAB_001c8208:
      *__result = var_1;
      __result[1] = __a[1];
      __result[2] = __a[2];
      __a[2] = iVar6;
      *__a = iVar1;
      __a[1] = iVar5;
      return;
    }
  }
  else {
    if (var_1 < var_3) goto LAB_001c8208;
    if (var_2 < var_3) goto LAB_001c81d4;
  }
  *__result = var_2;
  __result[1] = __b[1];
  __result[2] = __b[2];
  __b[2] = iVar6;
  *__b = iVar1;
  __b[1] = iVar5;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

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

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  
  iVar1 = *param_1;
  iVar2 = *param_2;
  iVar3 = *param_3;
  iVar4 = *param_4;
  iVar5 = param_1[1];
  iVar6 = param_1[2];
  if (iVar2 < iVar3) {
    if (iVar4 <= iVar3) {
      if (iVar2 < iVar4) {
LAB_001c81d4:
        *param_1 = iVar4;
        param_1[1] = param_4[1];
        param_1[2] = param_4[2];
        *param_4 = iVar1;
        param_4[2] = iVar6;
        param_4[1] = iVar5;
        return;
      }
LAB_001c8208:
      *param_1 = iVar2;
      param_1[1] = param_2[1];
      param_1[2] = param_2[2];
      param_2[2] = iVar6;
      *param_2 = iVar1;
      param_2[1] = iVar5;
      return;
    }
  }
  else {
    if (iVar2 < iVar4) goto LAB_001c8208;
    if (iVar3 < iVar4) goto LAB_001c81d4;
  }
  *param_1 = iVar3;
  param_1[1] = param_3[1];
  param_1[2] = param_3[2];
  param_3[2] = iVar6;
  *param_3 = iVar1;
  param_3[1] = iVar5;
  return;
}

