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

void __regparm3 locations_sort(location *first,location *second)

{
  int iVar1;
  char *__s1;
  char *__s1_00;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  
  iVar1 = (first->start).column;
  __s1 = (first->end).file;
  __s1_00 = (first->start).file;
  iVar2 = (first->start).line;
  iVar3 = (first->end).line;
  iVar4 = (first->end).column;
  iVar7 = strcmp(__s1_00,(second->start).file);
  if (((iVar7 == 0) && (iVar7 = iVar2 - (second->start).line, iVar7 == 0)) &&
     (iVar7 = iVar1 - (second->start).column, iVar7 == 0)) {
    iVar5 = (second->end).line;
    iVar6 = (second->end).column;
    iVar7 = strcmp(__s1,(second->end).file);
    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {
      iVar7 = iVar4 - iVar6;
    }
  }
  if (0 < iVar7) {
    (first->start).file = (second->start).file;
    (first->start).line = (second->start).line;
    (first->start).column = (second->start).column;
    (first->end).file = (second->end).file;
    (first->end).line = (second->end).line;
    (first->end).column = (second->end).column;
    (second->start).file = __s1_00;
    (second->start).line = iVar2;
    (second->start).column = iVar1;
    (second->end).file = __s1;
    (second->end).line = iVar3;
    (second->end).column = iVar4;
  }
  return;
}



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

void __regparm3 FUN_00047c80(undefined4 *param_1,undefined4 *param_2)

{
  int iVar1;
  char *__s1;
  char *__s1_00;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  
  iVar1 = param_1[2];
  __s1 = (char *)param_1[3];
  __s1_00 = (char *)*param_1;
  iVar2 = param_1[1];
  iVar3 = param_1[4];
  iVar4 = param_1[5];
  iVar7 = strcmp(__s1_00,(char *)*param_2);
  if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&
     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {
    iVar5 = param_2[4];
    iVar6 = param_2[5];
    iVar7 = strcmp(__s1,(char *)param_2[3]);
    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {
      iVar7 = iVar4 - iVar6;
    }
  }
  if (0 < iVar7) {
    *param_1 = *param_2;
    param_1[1] = param_2[1];
    param_1[2] = param_2[2];
    param_1[3] = param_2[3];
    param_1[4] = param_2[4];
    param_1[5] = param_2[5];
    *param_2 = __s1_00;
    param_2[1] = iVar2;
    param_2[2] = iVar1;
    param_2[3] = __s1;
    param_2[4] = iVar3;
    param_2[5] = iVar4;
  }
  return;
}


PUSH EBP
MOV EBP,EAX
PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
CALL 0x00013d10
ADD EBX,0x4e373
SUB ESP,0x34
MOV ECX,dword ptr [EBP + 0x8]
MOV EDX,dword ptr [EBP + 0xc]
MOV ESI,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0xc],ECX
MOV ECX,dword ptr [EBP + 0x10]
MOV dword ptr [ESP + 0x10],EDX
MOV EDX,dword ptr [EBP + 0x14]
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [ESP + 0x1c],ECX
MOV dword ptr [ESP + 0x18],EDX
PUSH dword ptr [EDI]
PUSH ESI
CALL 0x00013070
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00047d12
MOV EAX,dword ptr [ESP + 0xc]
SUB EAX,dword ptr [EDI + 0x4]
JNZ 0x00047d12
MOV EAX,dword ptr [ESP + 0x4]
SUB EAX,dword ptr [EDI + 0x8]
JNZ 0x00047d12
MOV EAX,dword ptr [EDI + 0x10]
SUB ESP,0x8
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [EDI + 0x14]
MOV dword ptr [ESP + 0x24],EAX
PUSH dword ptr [EDI + 0xc]
PUSH dword ptr [ESP + 0x14]
CALL 0x00013070
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00047d12
MOV EAX,dword ptr [ESP + 0x14]
SUB EAX,dword ptr [ESP + 0x18]
JNZ 0x00047d12
MOV EAX,dword ptr [ESP + 0x10]
SUB EAX,dword ptr [ESP + 0x1c]
TEST EAX,EAX
JLE 0x00047d5e
MOV EAX,dword ptr [EDI]
MOV dword ptr [EBP],EAX
MOV EAX,dword ptr [EDI + 0x4]
MOV dword ptr [EBP + 0x4],EAX
MOV EAX,dword ptr [EDI + 0x8]
MOV dword ptr [EBP + 0x8],EAX
MOV EAX,dword ptr [EDI + 0xc]
MOV dword ptr [EBP + 0xc],EAX
MOV EAX,dword ptr [EDI + 0x10]
MOV dword ptr [EBP + 0x10],EAX
MOV EAX,dword ptr [EDI + 0x14]
MOV dword ptr [EBP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EDI],ESI
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [EDI + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [EDI + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EDI + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [EDI + 0x14],EAX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00047c80(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_1[2];\n  __s1 = (char *)param_1[3];\n  __s1_00 = (char *)*param_1;\n  iVar2 = param_1[1];\n  iVar3 = param_1[4];\n  iVar4 = param_1[5];\n  iVar7 = strcmp(__s1_00,(char *)*param_2);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00047c80(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_1[2];\n  __s1 = (char *)param_1[3];\n  __s1_00 = (char *)*param_1;\n  iVar2 = param_1[1];\n  iVar3 = param_1[4];\n  iVar4 = param_1[5];\n  iVar7 = strcmp(__s1_00,(char *)*param_2);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00047c80(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_1[2];\n  __s1 = (char *)param_1[3];\n  __s1_00 = (char *)*param_1;\n  iVar2 = param_1[1];\n  iVar3 = param_1[4];\n  iVar4 = param_1[5];\n  iVar7 = strcmp(__s1_00,(char *)*param_2);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s1_00;" primitive_type (pointer_declarator "*__s1_00" * 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 ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar1 = param_1[2];" (assignment_expression "iVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "__s1 = (char *)param_1[3];" (assignment_expression "__s1 = (char *)param_1[3]" identifier = (cast_expression "(char *)param_1[3]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "__s1_00 = (char *)*param_1;" (assignment_expression "__s1_00 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[4];" (assignment_expression "iVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[5];" (assignment_expression "iVar4 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = strcmp(__s1_00,(char *)*param_2);" (assignment_expression "iVar7 = strcmp(__s1_00,(char *)*param_2)" identifier = (call_expression "strcmp(__s1_00,(char *)*param_2)" identifier (argument_list "(__s1_00,(char *)*param_2)" ( identifier , (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )))) ;) (if_statement "if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }" if (parenthesized_expression "(((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0))" ( (binary_expression "((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)" (parenthesized_expression "((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0))" ( (binary_expression "(iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = iVar2 - param_2[1], iVar7 == 0)" ( (comma_expression "iVar7 = iVar2 - param_2[1], iVar7 == 0" (assignment_expression "iVar7 = iVar2 - param_2[1]" identifier = (binary_expression "iVar2 - param_2[1]" identifier - (subscript_expression "param_2[1]" identifier [ number_literal ]))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar7 = iVar1 - param_2[2], iVar7 == 0)" ( (comma_expression "iVar7 = iVar1 - param_2[2], iVar7 == 0" (assignment_expression "iVar7 = iVar1 - param_2[2]" identifier = (binary_expression "iVar1 - param_2[2]" identifier - (subscript_expression "param_2[2]" identifier [ number_literal ]))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }" { (expression_statement "iVar5 = param_2[4];" (assignment_expression "iVar5 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = param_2[5];" (assignment_expression "iVar6 = param_2[5]" identifier = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = strcmp(__s1,(char *)param_2[3]);" (assignment_expression "iVar7 = strcmp(__s1,(char *)param_2[3])" identifier = (call_expression "strcmp(__s1,(char *)param_2[3])" identifier (argument_list "(__s1,(char *)param_2[3])" ( identifier , (cast_expression "(char *)param_2[3]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) )))) ;) (if_statement "if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }" if (parenthesized_expression "((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0))" ( (binary_expression "(iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = iVar3 - iVar5, iVar7 == 0)" ( (comma_expression "iVar7 = iVar3 - iVar5, iVar7 == 0" (assignment_expression "iVar7 = iVar3 - iVar5" identifier = (binary_expression "iVar3 - iVar5" identifier - identifier)) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar7 = iVar4 - iVar6;\n    }" { (expression_statement "iVar7 = iVar4 - iVar6;" (assignment_expression "iVar7 = iVar4 - iVar6" identifier = (binary_expression "iVar4 - iVar6" identifier - identifier)) ;) })) })) (if_statement "if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * 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_1[3] = param_2[3];" (assignment_expression "param_1[3] = param_2[3]" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[4] = param_2[4];" (assignment_expression "param_1[4] = param_2[4]" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "param_1[5] = param_2[5];" (assignment_expression "param_1[5] = param_2[5]" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "*param_2 = __s1_00;" (assignment_expression "*param_2 = __s1_00" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = iVar2;" (assignment_expression "param_2[1] = iVar2" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[2] = iVar1;" (assignment_expression "param_2[2] = iVar1" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[3] = __s1;" (assignment_expression "param_2[3] = __s1" (subscript_expression "param_2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[4] = iVar3;" (assignment_expression "param_2[4] = iVar3" (subscript_expression "param_2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[5] = iVar4;" (assignment_expression "param_2[5] = iVar4" (subscript_expression "param_2[5]" identifier [ number_literal ]) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 locations_sort(location *first,location *second)\n\n{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = (first->start).column;\n  __s1 = (first->end).file;\n  __s1_00 = (first->start).file;\n  iVar2 = (first->start).line;\n  iVar3 = (first->end).line;\n  iVar4 = (first->end).column;\n  iVar7 = strcmp(__s1_00,(second->start).file);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - (second->start).line, iVar7 == 0)) &&\n     (iVar7 = iVar1 - (second->start).column, iVar7 == 0)) {\n    iVar5 = (second->end).line;\n    iVar6 = (second->end).column;\n    iVar7 = strcmp(__s1,(second->end).file);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    (first->start).file = (second->start).file;\n    (first->start).line = (second->start).line;\n    (first->start).column = (second->start).column;\n    (first->end).file = (second->end).file;\n    (first->end).line = (second->end).line;\n    (first->end).column = (second->end).column;\n    (second->start).file = __s1_00;\n    (second->start).line = iVar2;\n    (second->start).column = iVar1;\n    (second->end).file = __s1;\n    (second->end).line = iVar3;\n    (second->end).column = iVar4;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 locations_sort(location *first,location *second)\n\n{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = (first->start).column;\n  __s1 = (first->end).file;\n  __s1_00 = (first->start).file;\n  iVar2 = (first->start).line;\n  iVar3 = (first->end).line;\n  iVar4 = (first->end).column;\n  iVar7 = strcmp(__s1_00,(second->start).file);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - (second->start).line, iVar7 == 0)) &&\n     (iVar7 = iVar1 - (second->start).column, iVar7 == 0)) {\n    iVar5 = (second->end).line;\n    iVar6 = (second->end).column;\n    iVar7 = strcmp(__s1,(second->end).file);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    (first->start).file = (second->start).file;\n    (first->start).line = (second->start).line;\n    (first->start).column = (second->start).column;\n    (first->end).file = (second->end).file;\n    (first->end).line = (second->end).line;\n    (first->end).column = (second->end).column;\n    (second->start).file = __s1_00;\n    (second->start).line = iVar2;\n    (second->start).column = iVar1;\n    (second->end).file = __s1;\n    (second->end).line = iVar3;\n    (second->end).column = iVar4;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "locations_sort(location *first,location *second)" identifier (parameter_list "(location *first,location *second)" ( (parameter_declaration "location *first" type_identifier (pointer_declarator "*first" * identifier)) , (parameter_declaration "location *second" type_identifier (pointer_declarator "*second" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = (first->start).column;\n  __s1 = (first->end).file;\n  __s1_00 = (first->start).file;\n  iVar2 = (first->start).line;\n  iVar3 = (first->end).line;\n  iVar4 = (first->end).column;\n  iVar7 = strcmp(__s1_00,(second->start).file);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - (second->start).line, iVar7 == 0)) &&\n     (iVar7 = iVar1 - (second->start).column, iVar7 == 0)) {\n    iVar5 = (second->end).line;\n    iVar6 = (second->end).column;\n    iVar7 = strcmp(__s1,(second->end).file);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    (first->start).file = (second->start).file;\n    (first->start).line = (second->start).line;\n    (first->start).column = (second->start).column;\n    (first->end).file = (second->end).file;\n    (first->end).line = (second->end).line;\n    (first->end).column = (second->end).column;\n    (second->start).file = __s1_00;\n    (second->start).line = iVar2;\n    (second->start).column = iVar1;\n    (second->end).file = __s1;\n    (second->end).line = iVar3;\n    (second->end).column = iVar4;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s1_00;" primitive_type (pointer_declarator "*__s1_00" * 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 ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar1 = (first->start).column;" (assignment_expression "iVar1 = (first->start).column" identifier = (field_expression "(first->start).column" (parenthesized_expression "(first->start)" ( (field_expression "first->start" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "__s1 = (first->end).file;" (assignment_expression "__s1 = (first->end).file" identifier = (field_expression "(first->end).file" (parenthesized_expression "(first->end)" ( (field_expression "first->end" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "__s1_00 = (first->start).file;" (assignment_expression "__s1_00 = (first->start).file" identifier = (field_expression "(first->start).file" (parenthesized_expression "(first->start)" ( (field_expression "first->start" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar2 = (first->start).line;" (assignment_expression "iVar2 = (first->start).line" identifier = (field_expression "(first->start).line" (parenthesized_expression "(first->start)" ( (field_expression "first->start" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar3 = (first->end).line;" (assignment_expression "iVar3 = (first->end).line" identifier = (field_expression "(first->end).line" (parenthesized_expression "(first->end)" ( (field_expression "first->end" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar4 = (first->end).column;" (assignment_expression "iVar4 = (first->end).column" identifier = (field_expression "(first->end).column" (parenthesized_expression "(first->end)" ( (field_expression "first->end" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar7 = strcmp(__s1_00,(second->start).file);" (assignment_expression "iVar7 = strcmp(__s1_00,(second->start).file)" identifier = (call_expression "strcmp(__s1_00,(second->start).file)" identifier (argument_list "(__s1_00,(second->start).file)" ( identifier , (field_expression "(second->start).file" (parenthesized_expression "(second->start)" ( (field_expression "second->start" identifier -> field_identifier) )) . field_identifier) )))) ;) (if_statement "if (((iVar7 == 0) && (iVar7 = iVar2 - (second->start).line, iVar7 == 0)) &&\n     (iVar7 = iVar1 - (second->start).column, iVar7 == 0)) {\n    iVar5 = (second->end).line;\n    iVar6 = (second->end).column;\n    iVar7 = strcmp(__s1,(second->end).file);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }" if (parenthesized_expression "(((iVar7 == 0) && (iVar7 = iVar2 - (second->start).line, iVar7 == 0)) &&\n     (iVar7 = iVar1 - (second->start).column, iVar7 == 0))" ( (binary_expression "((iVar7 == 0) && (iVar7 = iVar2 - (second->start).line, iVar7 == 0)) &&\n     (iVar7 = iVar1 - (second->start).column, iVar7 == 0)" (parenthesized_expression "((iVar7 == 0) && (iVar7 = iVar2 - (second->start).line, iVar7 == 0))" ( (binary_expression "(iVar7 == 0) && (iVar7 = iVar2 - (second->start).line, iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = iVar2 - (second->start).line, iVar7 == 0)" ( (comma_expression "iVar7 = iVar2 - (second->start).line, iVar7 == 0" (assignment_expression "iVar7 = iVar2 - (second->start).line" identifier = (binary_expression "iVar2 - (second->start).line" identifier - (field_expression "(second->start).line" (parenthesized_expression "(second->start)" ( (field_expression "second->start" identifier -> field_identifier) )) . field_identifier))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar7 = iVar1 - (second->start).column, iVar7 == 0)" ( (comma_expression "iVar7 = iVar1 - (second->start).column, iVar7 == 0" (assignment_expression "iVar7 = iVar1 - (second->start).column" identifier = (binary_expression "iVar1 - (second->start).column" identifier - (field_expression "(second->start).column" (parenthesized_expression "(second->start)" ( (field_expression "second->start" identifier -> field_identifier) )) . field_identifier))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    iVar5 = (second->end).line;\n    iVar6 = (second->end).column;\n    iVar7 = strcmp(__s1,(second->end).file);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }" { (expression_statement "iVar5 = (second->end).line;" (assignment_expression "iVar5 = (second->end).line" identifier = (field_expression "(second->end).line" (parenthesized_expression "(second->end)" ( (field_expression "second->end" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar6 = (second->end).column;" (assignment_expression "iVar6 = (second->end).column" identifier = (field_expression "(second->end).column" (parenthesized_expression "(second->end)" ( (field_expression "second->end" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar7 = strcmp(__s1,(second->end).file);" (assignment_expression "iVar7 = strcmp(__s1,(second->end).file)" identifier = (call_expression "strcmp(__s1,(second->end).file)" identifier (argument_list "(__s1,(second->end).file)" ( identifier , (field_expression "(second->end).file" (parenthesized_expression "(second->end)" ( (field_expression "second->end" identifier -> field_identifier) )) . field_identifier) )))) ;) (if_statement "if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }" if (parenthesized_expression "((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0))" ( (binary_expression "(iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = iVar3 - iVar5, iVar7 == 0)" ( (comma_expression "iVar7 = iVar3 - iVar5, iVar7 == 0" (assignment_expression "iVar7 = iVar3 - iVar5" identifier = (binary_expression "iVar3 - iVar5" identifier - identifier)) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar7 = iVar4 - iVar6;\n    }" { (expression_statement "iVar7 = iVar4 - iVar6;" (assignment_expression "iVar7 = iVar4 - iVar6" identifier = (binary_expression "iVar4 - iVar6" identifier - identifier)) ;) })) })) (if_statement "if (0 < iVar7) {\n    (first->start).file = (second->start).file;\n    (first->start).line = (second->start).line;\n    (first->start).column = (second->start).column;\n    (first->end).file = (second->end).file;\n    (first->end).line = (second->end).line;\n    (first->end).column = (second->end).column;\n    (second->start).file = __s1_00;\n    (second->start).line = iVar2;\n    (second->start).column = iVar1;\n    (second->end).file = __s1;\n    (second->end).line = iVar3;\n    (second->end).column = iVar4;\n  }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n    (first->start).file = (second->start).file;\n    (first->start).line = (second->start).line;\n    (first->start).column = (second->start).column;\n    (first->end).file = (second->end).file;\n    (first->end).line = (second->end).line;\n    (first->end).column = (second->end).column;\n    (second->start).file = __s1_00;\n    (second->start).line = iVar2;\n    (second->start).column = iVar1;\n    (second->end).file = __s1;\n    (second->end).line = iVar3;\n    (second->end).column = iVar4;\n  }" { (expression_statement "(first->start).file = (second->start).file;" (assignment_expression "(first->start).file = (second->start).file" (field_expression "(first->start).file" (parenthesized_expression "(first->start)" ( (field_expression "first->start" identifier -> field_identifier) )) . field_identifier) = (field_expression "(second->start).file" (parenthesized_expression "(second->start)" ( (field_expression "second->start" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(first->start).line = (second->start).line;" (assignment_expression "(first->start).line = (second->start).line" (field_expression "(first->start).line" (parenthesized_expression "(first->start)" ( (field_expression "first->start" identifier -> field_identifier) )) . field_identifier) = (field_expression "(second->start).line" (parenthesized_expression "(second->start)" ( (field_expression "second->start" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(first->start).column = (second->start).column;" (assignment_expression "(first->start).column = (second->start).column" (field_expression "(first->start).column" (parenthesized_expression "(first->start)" ( (field_expression "first->start" identifier -> field_identifier) )) . field_identifier) = (field_expression "(second->start).column" (parenthesized_expression "(second->start)" ( (field_expression "second->start" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(first->end).file = (second->end).file;" (assignment_expression "(first->end).file = (second->end).file" (field_expression "(first->end).file" (parenthesized_expression "(first->end)" ( (field_expression "first->end" identifier -> field_identifier) )) . field_identifier) = (field_expression "(second->end).file" (parenthesized_expression "(second->end)" ( (field_expression "second->end" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(first->end).line = (second->end).line;" (assignment_expression "(first->end).line = (second->end).line" (field_expression "(first->end).line" (parenthesized_expression "(first->end)" ( (field_expression "first->end" identifier -> field_identifier) )) . field_identifier) = (field_expression "(second->end).line" (parenthesized_expression "(second->end)" ( (field_expression "second->end" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(first->end).column = (second->end).column;" (assignment_expression "(first->end).column = (second->end).column" (field_expression "(first->end).column" (parenthesized_expression "(first->end)" ( (field_expression "first->end" identifier -> field_identifier) )) . field_identifier) = (field_expression "(second->end).column" (parenthesized_expression "(second->end)" ( (field_expression "second->end" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(second->start).file = __s1_00;" (assignment_expression "(second->start).file = __s1_00" (field_expression "(second->start).file" (parenthesized_expression "(second->start)" ( (field_expression "second->start" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(second->start).line = iVar2;" (assignment_expression "(second->start).line = iVar2" (field_expression "(second->start).line" (parenthesized_expression "(second->start)" ( (field_expression "second->start" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(second->start).column = iVar1;" (assignment_expression "(second->start).column = iVar1" (field_expression "(second->start).column" (parenthesized_expression "(second->start)" ( (field_expression "second->start" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(second->end).file = __s1;" (assignment_expression "(second->end).file = __s1" (field_expression "(second->end).file" (parenthesized_expression "(second->end)" ( (field_expression "second->end" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(second->end).line = iVar3;" (assignment_expression "(second->end).line = iVar3" (field_expression "(second->end).line" (parenthesized_expression "(second->end)" ( (field_expression "second->end" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(second->end).column = iVar4;" (assignment_expression "(second->end).column = iVar4" (field_expression "(second->end).column" (parenthesized_expression "(second->end)" ( (field_expression "second->end" identifier -> field_identifier) )) . field_identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00047c80(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_1[2];\n  __s1 = (char *)param_1[3];\n  __s1_00 = (char *)*param_1;\n  iVar2 = param_1[1];\n  iVar3 = param_1[4];\n  iVar4 = param_1[5];\n  iVar7 = strcmp(__s1_00,(char *)*param_2);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00047c80(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_1[2];\n  __s1 = (char *)param_1[3];\n  __s1_00 = (char *)*param_1;\n  iVar2 = param_1[1];\n  iVar3 = param_1[4];\n  iVar4 = param_1[5];\n  iVar7 = strcmp(__s1_00,(char *)*param_2);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00047c80(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_1[2];\n  __s1 = (char *)param_1[3];\n  __s1_00 = (char *)*param_1;\n  iVar2 = param_1[1];\n  iVar3 = param_1[4];\n  iVar4 = param_1[5];\n  iVar7 = strcmp(__s1_00,(char *)*param_2);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s1_00;" primitive_type (pointer_declarator "*__s1_00" * 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 ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar1 = param_1[2];" (assignment_expression "iVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "__s1 = (char *)param_1[3];" (assignment_expression "__s1 = (char *)param_1[3]" identifier = (cast_expression "(char *)param_1[3]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "__s1_00 = (char *)*param_1;" (assignment_expression "__s1_00 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[4];" (assignment_expression "iVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[5];" (assignment_expression "iVar4 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = strcmp(__s1_00,(char *)*param_2);" (assignment_expression "iVar7 = strcmp(__s1_00,(char *)*param_2)" identifier = (call_expression "strcmp(__s1_00,(char *)*param_2)" identifier (argument_list "(__s1_00,(char *)*param_2)" ( identifier , (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )))) ;) (if_statement "if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }" if (parenthesized_expression "(((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0))" ( (binary_expression "((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)" (parenthesized_expression "((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0))" ( (binary_expression "(iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = iVar2 - param_2[1], iVar7 == 0)" ( (comma_expression "iVar7 = iVar2 - param_2[1], iVar7 == 0" (assignment_expression "iVar7 = iVar2 - param_2[1]" identifier = (binary_expression "iVar2 - param_2[1]" identifier - (subscript_expression "param_2[1]" identifier [ number_literal ]))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar7 = iVar1 - param_2[2], iVar7 == 0)" ( (comma_expression "iVar7 = iVar1 - param_2[2], iVar7 == 0" (assignment_expression "iVar7 = iVar1 - param_2[2]" identifier = (binary_expression "iVar1 - param_2[2]" identifier - (subscript_expression "param_2[2]" identifier [ number_literal ]))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }" { (expression_statement "iVar5 = param_2[4];" (assignment_expression "iVar5 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = param_2[5];" (assignment_expression "iVar6 = param_2[5]" identifier = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = strcmp(__s1,(char *)param_2[3]);" (assignment_expression "iVar7 = strcmp(__s1,(char *)param_2[3])" identifier = (call_expression "strcmp(__s1,(char *)param_2[3])" identifier (argument_list "(__s1,(char *)param_2[3])" ( identifier , (cast_expression "(char *)param_2[3]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) )))) ;) (if_statement "if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }" if (parenthesized_expression "((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0))" ( (binary_expression "(iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = iVar3 - iVar5, iVar7 == 0)" ( (comma_expression "iVar7 = iVar3 - iVar5, iVar7 == 0" (assignment_expression "iVar7 = iVar3 - iVar5" identifier = (binary_expression "iVar3 - iVar5" identifier - identifier)) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar7 = iVar4 - iVar6;\n    }" { (expression_statement "iVar7 = iVar4 - iVar6;" (assignment_expression "iVar7 = iVar4 - iVar6" identifier = (binary_expression "iVar4 - iVar6" identifier - identifier)) ;) })) })) (if_statement "if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * 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_1[3] = param_2[3];" (assignment_expression "param_1[3] = param_2[3]" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[4] = param_2[4];" (assignment_expression "param_1[4] = param_2[4]" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "param_1[5] = param_2[5];" (assignment_expression "param_1[5] = param_2[5]" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "*param_2 = __s1_00;" (assignment_expression "*param_2 = __s1_00" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = iVar2;" (assignment_expression "param_2[1] = iVar2" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[2] = iVar1;" (assignment_expression "param_2[2] = iVar1" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[3] = __s1;" (assignment_expression "param_2[3] = __s1" (subscript_expression "param_2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[4] = iVar3;" (assignment_expression "param_2[4] = iVar3" (subscript_expression "param_2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[5] = iVar4;" (assignment_expression "param_2[5] = iVar4" (subscript_expression "param_2[5]" identifier [ number_literal ]) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT - IDENT)) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * 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 ]) = (subscript_expression IDENT [ LIT ])) ;) (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) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00047c80(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_1[2];\n  __s1 = (char *)param_1[3];\n  __s1_00 = (char *)*param_1;\n  iVar2 = param_1[1];\n  iVar3 = param_1[4];\n  iVar4 = param_1[5];\n  iVar7 = strcmp(__s1_00,(char *)*param_2);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00047c80(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_00047c80") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  char *__s1;\n  char *__s1_00;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_1[2];\n  __s1 = (char *)param_1[3];\n  __s1_00 = (char *)*param_1;\n  iVar2 = param_1[1];\n  iVar3 = param_1[4];\n  iVar4 = param_1[5];\n  iVar7 = strcmp(__s1_00,(char *)*param_2);\n  if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }\n  if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "char *__s1_00;" (primitive_type "char") (pointer_declarator "*__s1_00" (* "*") (identifier "__s1_00")) (; ";")) (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") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "iVar1 = param_1[2];" (assignment_expression "iVar1 = param_1[2]" (identifier "iVar1") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "__s1 = (char *)param_1[3];" (assignment_expression "__s1 = (char *)param_1[3]" (identifier "__s1") (= "=") (cast_expression "(char *)param_1[3]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "__s1_00 = (char *)*param_1;" (assignment_expression "__s1_00 = (char *)*param_1" (identifier "__s1_00") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" (identifier "iVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar3 = param_1[4];" (assignment_expression "iVar3 = param_1[4]" (identifier "iVar3") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "iVar4 = param_1[5];" (assignment_expression "iVar4 = param_1[5]" (identifier "iVar4") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar7 = strcmp(__s1_00,(char *)*param_2);" (assignment_expression "iVar7 = strcmp(__s1_00,(char *)*param_2)" (identifier "iVar7") (= "=") (call_expression "strcmp(__s1_00,(char *)*param_2)" (identifier "strcmp") (argument_list "(__s1_00,(char *)*param_2)" (( "(") (identifier "__s1_00") (, ",") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")))) (; ";")) (if_statement "if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }" (if "if") (parenthesized_expression "(((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0))" (( "(") (binary_expression "((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&\n     (iVar7 = iVar1 - param_2[2], iVar7 == 0)" (parenthesized_expression "((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0))" (( "(") (binary_expression "(iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = iVar2 - param_2[1], iVar7 == 0)" (( "(") (comma_expression "iVar7 = iVar2 - param_2[1], iVar7 == 0" (assignment_expression "iVar7 = iVar2 - param_2[1]" (identifier "iVar7") (= "=") (binary_expression "iVar2 - param_2[1]" (identifier "iVar2") (- "-") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) (, ",") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = iVar1 - param_2[2], iVar7 == 0)" (( "(") (comma_expression "iVar7 = iVar1 - param_2[2], iVar7 == 0" (assignment_expression "iVar7 = iVar1 - param_2[2]" (identifier "iVar7") (= "=") (binary_expression "iVar1 - param_2[2]" (identifier "iVar1") (- "-") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")))) (, ",") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    iVar5 = param_2[4];\n    iVar6 = param_2[5];\n    iVar7 = strcmp(__s1,(char *)param_2[3]);\n    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }\n  }" ({ "{") (expression_statement "iVar5 = param_2[4];" (assignment_expression "iVar5 = param_2[4]" (identifier "iVar5") (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "iVar6 = param_2[5];" (assignment_expression "iVar6 = param_2[5]" (identifier "iVar6") (= "=") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar7 = strcmp(__s1,(char *)param_2[3]);" (assignment_expression "iVar7 = strcmp(__s1,(char *)param_2[3])" (identifier "iVar7") (= "=") (call_expression "strcmp(__s1,(char *)param_2[3])" (identifier "strcmp") (argument_list "(__s1,(char *)param_2[3])" (( "(") (identifier "__s1") (, ",") (cast_expression "(char *)param_2[3]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) () ")")))) (; ";")) (if_statement "if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {\n      iVar7 = iVar4 - iVar6;\n    }" (if "if") (parenthesized_expression "((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0))" (( "(") (binary_expression "(iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = iVar3 - iVar5, iVar7 == 0)" (( "(") (comma_expression "iVar7 = iVar3 - iVar5, iVar7 == 0" (assignment_expression "iVar7 = iVar3 - iVar5" (identifier "iVar7") (= "=") (binary_expression "iVar3 - iVar5" (identifier "iVar3") (- "-") (identifier "iVar5"))) (, ",") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      iVar7 = iVar4 - iVar6;\n    }" ({ "{") (expression_statement "iVar7 = iVar4 - iVar6;" (assignment_expression "iVar7 = iVar4 - iVar6" (identifier "iVar7") (= "=") (binary_expression "iVar4 - iVar6" (identifier "iVar4") (- "-") (identifier "iVar6"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (0 < iVar7) {\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }" (if "if") (parenthesized_expression "(0 < iVar7)" (( "(") (binary_expression "0 < iVar7" (number_literal "0") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n    *param_1 = *param_2;\n    param_1[1] = param_2[1];\n    param_1[2] = param_2[2];\n    param_1[3] = param_2[3];\n    param_1[4] = param_2[4];\n    param_1[5] = param_2[5];\n    *param_2 = __s1_00;\n    param_2[1] = iVar2;\n    param_2[2] = iVar1;\n    param_2[3] = __s1;\n    param_2[4] = iVar3;\n    param_2[5] = iVar4;\n  }" ({ "{") (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (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_1[3] = param_2[3];" (assignment_expression "param_1[3] = param_2[3]" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_1[4] = param_2[4];" (assignment_expression "param_1[4] = param_2[4]" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "param_1[5] = param_2[5];" (assignment_expression "param_1[5] = param_2[5]" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "*param_2 = __s1_00;" (assignment_expression "*param_2 = __s1_00" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "__s1_00")) (; ";")) (expression_statement "param_2[1] = iVar2;" (assignment_expression "param_2[1] = iVar2" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "param_2[2] = iVar1;" (assignment_expression "param_2[2] = iVar1" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "param_2[3] = __s1;" (assignment_expression "param_2[3] = __s1" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "__s1")) (; ";")) (expression_statement "param_2[4] = iVar3;" (assignment_expression "param_2[4] = iVar3" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "param_2[5] = iVar4;" (assignment_expression "param_2[5] = iVar4" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *first,type_1 *second)

{
  int var_4;
  char *__s1;
  char *__s1_00;
  int var_3;
  int var_5;
  int var_7;
  int var_6;
  int var_8;
  int var_2;
  
  var_4 = (first->start).column;
  __s1 = (first->end).file;
  __s1_00 = (first->start).file;
  var_3 = (first->start).line;
  var_5 = (first->end).line;
  var_7 = (first->end).column;
  var_2 = var_1(__s1_00,(second->start).file);
  if (((var_2 == 0) && (var_2 = var_3 - (second->start).line, var_2 == 0)) &&
     (var_2 = var_4 - (second->start).column, var_2 == 0)) {
    var_6 = (second->end).line;
    var_8 = (second->end).column;
    var_2 = var_1(__s1,(second->end).file);
    if ((var_2 == 0) && (var_2 = var_5 - var_6, var_2 == 0)) {
      var_2 = var_7 - var_8;
    }
  }
  if (0 < var_2) {
    (first->start).file = (second->start).file;
    (first->start).line = (second->start).line;
    (first->start).column = (second->start).column;
    (first->end).file = (second->end).file;
    (first->end).line = (second->end).line;
    (first->end).column = (second->end).column;
    (second->start).file = __s1_00;
    (second->start).line = var_3;
    (second->start).column = var_4;
    (second->end).file = __s1;
    (second->end).line = var_5;
    (second->end).column = var_7;
  }
  return;
}


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

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

void __regparm3 MASKED(undefined4 *param_1,undefined4 *param_2)

{
  int iVar1;
  char *__s1;
  char *__s1_00;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  
  iVar1 = param_1[2];
  __s1 = (char *)param_1[3];
  __s1_00 = (char *)*param_1;
  iVar2 = param_1[1];
  iVar3 = param_1[4];
  iVar4 = param_1[5];
  iVar7 = strcmp(__s1_00,(char *)*param_2);
  if (((iVar7 == 0) && (iVar7 = iVar2 - param_2[1], iVar7 == 0)) &&
     (iVar7 = iVar1 - param_2[2], iVar7 == 0)) {
    iVar5 = param_2[4];
    iVar6 = param_2[5];
    iVar7 = strcmp(__s1,(char *)param_2[3]);
    if ((iVar7 == 0) && (iVar7 = iVar3 - iVar5, iVar7 == 0)) {
      iVar7 = iVar4 - iVar6;
    }
  }
  if (0 < iVar7) {
    *param_1 = *param_2;
    param_1[1] = param_2[1];
    param_1[2] = param_2[2];
    param_1[3] = param_2[3];
    param_1[4] = param_2[4];
    param_1[5] = param_2[5];
    *param_2 = __s1_00;
    param_2[1] = iVar2;
    param_2[2] = iVar1;
    param_2[3] = __s1;
    param_2[4] = iVar3;
    param_2[5] = iVar4;
  }
  return;
}

