
int rev_xstrcoll_atime(V a,V b)

{
  int iVar1;
  
  if (*(int *)((int)a + 0x50) < *(int *)((int)b + 0x50)) {
    return -1;
  }
  if (*(int *)((int)a + 0x50) <= *(int *)((int)b + 0x50)) {
    iVar1 = *(int *)((int)a + 0x54) - *(int *)((int)b + 0x54);
    if (iVar1 == 0) {
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
      iVar1 = xstrcoll(*b,*a);
      return iVar1;
    }
    return iVar1;
  }
  return 1;
}



int FUN_00018330(undefined4 *param_1,undefined4 *param_2)

{
  int iVar1;
  
  if ((int)param_1[0x14] < (int)param_2[0x14]) {
    return -1;
  }
  if ((int)param_1[0x14] <= (int)param_2[0x14]) {
    if (param_1[0x15] - param_2[0x15] == 0) {
      iVar1 = FUN_0001508c(*param_2,*param_1);
      return iVar1;
    }
    return param_1[0x15] - param_2[0x15];
  }
  return 1;
}


lui gp,0x4
addiu gp,gp,-0x6150
addu gp,gp,t9
lw v0,0x50(a0)
lw v1,0x50(a1)
slt a2,v0,v1
bne a2,zero,0x000183a4
_nop
slt v0,v1,v0
bne v0,zero,0x000183ac
_nop
lw v0,0x54(a0)
lw v1,0x54(a1)
subu v0,v0,v1
bne v0,zero,0x000183b4
_lw t9,-0x7fcc(gp)
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
or v0,a1,zero
lw a1,0x0(a0)
lw a0,0x0(v0)
addiu t9,t9,0x508c
bal 0x0001508c
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
jr ra
_li v0,-0x1
jr ra
_li v0,0x1
jr ra
_nop
(translation_unit "int FUN_00018330(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  \n  if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }\n  if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }\n  return 1;\n}\n\n" (function_definition "int FUN_00018330(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  \n  if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }\n  if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }\n  return 1;\n}" primitive_type (function_declarator "FUN_00018330(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  \n  if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }\n  if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }" if (parenthesized_expression "((int)param_1[0x14] < (int)param_2[0x14])" ( (binary_expression "(int)param_1[0x14] < (int)param_2[0x14]" (cast_expression "(int)param_1[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0x14]" identifier [ number_literal ])) < (cast_expression "(int)param_2[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_2[0x14]" identifier [ number_literal ]))) )) (compound_statement "{\n    return -1;\n  }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }" if (parenthesized_expression "((int)param_1[0x14] <= (int)param_2[0x14])" ( (binary_expression "(int)param_1[0x14] <= (int)param_2[0x14]" (cast_expression "(int)param_1[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0x14]" identifier [ number_literal ])) <= (cast_expression "(int)param_2[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_2[0x14]" identifier [ number_literal ]))) )) (compound_statement "{\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }" { (if_statement "if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }" if (parenthesized_expression "(param_1[0x15] - param_2[0x15] == 0)" ( (binary_expression "param_1[0x15] - param_2[0x15] == 0" (binary_expression "param_1[0x15] - param_2[0x15]" (subscript_expression "param_1[0x15]" identifier [ number_literal ]) - (subscript_expression "param_2[0x15]" identifier [ number_literal ])) == number_literal) )) (compound_statement "{\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }" { (expression_statement "iVar1 = FUN_0001508c(*param_2,*param_1);" (assignment_expression "iVar1 = FUN_0001508c(*param_2,*param_1)" identifier = (call_expression "FUN_0001508c(*param_2,*param_1)" identifier (argument_list "(*param_2,*param_1)" ( (pointer_expression "*param_2" * identifier) , (pointer_expression "*param_1" * identifier) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return param_1[0x15] - param_2[0x15];" return (binary_expression "param_1[0x15] - param_2[0x15]" (subscript_expression "param_1[0x15]" identifier [ number_literal ]) - (subscript_expression "param_2[0x15]" identifier [ number_literal ])) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int rev_xstrcoll_atime(V a,V b)\n\n{\n  int iVar1;\n  \n  if (*(int *)((int)a + 0x50) < *(int *)((int)b + 0x50)) {\n    return -1;\n  }\n  if (*(int *)((int)a + 0x50) <= *(int *)((int)b + 0x50)) {\n    iVar1 = *(int *)((int)a + 0x54) - *(int *)((int)b + 0x54);\n    if (iVar1 == 0) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar1 = xstrcoll(*b,*a);\n      return iVar1;\n    }\n    return iVar1;\n  }\n  return 1;\n}\n\n" (function_definition "int rev_xstrcoll_atime(V a,V b)\n\n{\n  int iVar1;\n  \n  if (*(int *)((int)a + 0x50) < *(int *)((int)b + 0x50)) {\n    return -1;\n  }\n  if (*(int *)((int)a + 0x50) <= *(int *)((int)b + 0x50)) {\n    iVar1 = *(int *)((int)a + 0x54) - *(int *)((int)b + 0x54);\n    if (iVar1 == 0) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar1 = xstrcoll(*b,*a);\n      return iVar1;\n    }\n    return iVar1;\n  }\n  return 1;\n}" primitive_type (function_declarator "rev_xstrcoll_atime(V a,V b)" identifier (parameter_list "(V a,V b)" ( (parameter_declaration "V a" type_identifier identifier) , (parameter_declaration "V b" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)((int)a + 0x50) < *(int *)((int)b + 0x50)) {\n    return -1;\n  }\n  if (*(int *)((int)a + 0x50) <= *(int *)((int)b + 0x50)) {\n    iVar1 = *(int *)((int)a + 0x54) - *(int *)((int)b + 0x54);\n    if (iVar1 == 0) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar1 = xstrcoll(*b,*a);\n      return iVar1;\n    }\n    return iVar1;\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)((int)a + 0x50) < *(int *)((int)b + 0x50)) {\n    return -1;\n  }" if (parenthesized_expression "(*(int *)((int)a + 0x50) < *(int *)((int)b + 0x50))" ( (binary_expression "*(int *)((int)a + 0x50) < *(int *)((int)b + 0x50)" (pointer_expression "*(int *)((int)a + 0x50)" * (cast_expression "(int *)((int)a + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 0x50)" ( (binary_expression "(int)a + 0x50" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < (pointer_expression "*(int *)((int)b + 0x50)" * (cast_expression "(int *)((int)b + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 0x50)" ( (binary_expression "(int)b + 0x50" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n    return -1;\n  }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (*(int *)((int)a + 0x50) <= *(int *)((int)b + 0x50)) {\n    iVar1 = *(int *)((int)a + 0x54) - *(int *)((int)b + 0x54);\n    if (iVar1 == 0) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar1 = xstrcoll(*b,*a);\n      return iVar1;\n    }\n    return iVar1;\n  }" if (parenthesized_expression "(*(int *)((int)a + 0x50) <= *(int *)((int)b + 0x50))" ( (binary_expression "*(int *)((int)a + 0x50) <= *(int *)((int)b + 0x50)" (pointer_expression "*(int *)((int)a + 0x50)" * (cast_expression "(int *)((int)a + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 0x50)" ( (binary_expression "(int)a + 0x50" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) <= (pointer_expression "*(int *)((int)b + 0x50)" * (cast_expression "(int *)((int)b + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 0x50)" ( (binary_expression "(int)b + 0x50" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n    iVar1 = *(int *)((int)a + 0x54) - *(int *)((int)b + 0x54);\n    if (iVar1 == 0) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar1 = xstrcoll(*b,*a);\n      return iVar1;\n    }\n    return iVar1;\n  }" { (expression_statement "iVar1 = *(int *)((int)a + 0x54) - *(int *)((int)b + 0x54);" (assignment_expression "iVar1 = *(int *)((int)a + 0x54) - *(int *)((int)b + 0x54)" identifier = (binary_expression "*(int *)((int)a + 0x54) - *(int *)((int)b + 0x54)" (pointer_expression "*(int *)((int)a + 0x54)" * (cast_expression "(int *)((int)a + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 0x54)" ( (binary_expression "(int)a + 0x54" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - (pointer_expression "*(int *)((int)b + 0x54)" * (cast_expression "(int *)((int)b + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 0x54)" ( (binary_expression "(int)b + 0x54" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ;) (if_statement "if (iVar1 == 0) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar1 = xstrcoll(*b,*a);\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar1 = xstrcoll(*b,*a);\n      return iVar1;\n    }" { comment comment (expression_statement "iVar1 = xstrcoll(*b,*a);" (assignment_expression "iVar1 = xstrcoll(*b,*a)" identifier = (call_expression "xstrcoll(*b,*a)" identifier (argument_list "(*b,*a)" ( (pointer_expression "*b" * identifier) , (pointer_expression "*a" * identifier) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int FUN_00018330(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  \n  if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }\n  if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }\n  return 1;\n}\n\n" (function_definition "int FUN_00018330(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  \n  if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }\n  if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }\n  return 1;\n}" primitive_type (function_declarator "FUN_00018330(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  \n  if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }\n  if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }" if (parenthesized_expression "((int)param_1[0x14] < (int)param_2[0x14])" ( (binary_expression "(int)param_1[0x14] < (int)param_2[0x14]" (cast_expression "(int)param_1[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0x14]" identifier [ number_literal ])) < (cast_expression "(int)param_2[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_2[0x14]" identifier [ number_literal ]))) )) (compound_statement "{\n    return -1;\n  }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }" if (parenthesized_expression "((int)param_1[0x14] <= (int)param_2[0x14])" ( (binary_expression "(int)param_1[0x14] <= (int)param_2[0x14]" (cast_expression "(int)param_1[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0x14]" identifier [ number_literal ])) <= (cast_expression "(int)param_2[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_2[0x14]" identifier [ number_literal ]))) )) (compound_statement "{\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }" { (if_statement "if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }" if (parenthesized_expression "(param_1[0x15] - param_2[0x15] == 0)" ( (binary_expression "param_1[0x15] - param_2[0x15] == 0" (binary_expression "param_1[0x15] - param_2[0x15]" (subscript_expression "param_1[0x15]" identifier [ number_literal ]) - (subscript_expression "param_2[0x15]" identifier [ number_literal ])) == number_literal) )) (compound_statement "{\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }" { (expression_statement "iVar1 = FUN_0001508c(*param_2,*param_1);" (assignment_expression "iVar1 = FUN_0001508c(*param_2,*param_1)" identifier = (call_expression "FUN_0001508c(*param_2,*param_1)" identifier (argument_list "(*param_2,*param_1)" ( (pointer_expression "*param_2" * identifier) , (pointer_expression "*param_1" * identifier) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return param_1[0x15] - param_2[0x15];" return (binary_expression "param_1[0x15] - param_2[0x15]" (subscript_expression "param_1[0x15]" identifier [ number_literal ]) - (subscript_expression "param_2[0x15]" identifier [ number_literal ])) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ])) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) ;) (return_statement return IDENT ;) })) (return_statement return (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ])) ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_00018330(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  \n  if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }\n  if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }\n  return 1;\n}" (primitive_type "int") (function_declarator "FUN_00018330(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_00018330") (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  \n  if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }\n  if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if ((int)param_1[0x14] < (int)param_2[0x14]) {\n    return -1;\n  }" (if "if") (parenthesized_expression "((int)param_1[0x14] < (int)param_2[0x14])" (( "(") (binary_expression "(int)param_1[0x14] < (int)param_2[0x14]" (cast_expression "(int)param_1[0x14]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]"))) (< "<") (cast_expression "(int)param_2[0x14]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]")))) () ")")) (compound_statement "{\n    return -1;\n  }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (if_statement "if ((int)param_1[0x14] <= (int)param_2[0x14]) {\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }" (if "if") (parenthesized_expression "((int)param_1[0x14] <= (int)param_2[0x14])" (( "(") (binary_expression "(int)param_1[0x14] <= (int)param_2[0x14]" (cast_expression "(int)param_1[0x14]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]"))) (<= "<=") (cast_expression "(int)param_2[0x14]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]")))) () ")")) (compound_statement "{\n    if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }\n    return param_1[0x15] - param_2[0x15];\n  }" ({ "{") (if_statement "if (param_1[0x15] - param_2[0x15] == 0) {\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(param_1[0x15] - param_2[0x15] == 0)" (( "(") (binary_expression "param_1[0x15] - param_2[0x15] == 0" (binary_expression "param_1[0x15] - param_2[0x15]" (subscript_expression "param_1[0x15]" (identifier "param_1") ([ "[") (number_literal "0x15") (] "]")) (- "-") (subscript_expression "param_2[0x15]" (identifier "param_2") ([ "[") (number_literal "0x15") (] "]"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = FUN_0001508c(*param_2,*param_1);\n      return iVar1;\n    }" ({ "{") (expression_statement "iVar1 = FUN_0001508c(*param_2,*param_1);" (assignment_expression "iVar1 = FUN_0001508c(*param_2,*param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_0001508c(*param_2,*param_1)" (identifier "FUN_0001508c") (argument_list "(*param_2,*param_1)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (return_statement "return param_1[0x15] - param_2[0x15];" (return "return") (binary_expression "param_1[0x15] - param_2[0x15]" (subscript_expression "param_1[0x15]" (identifier "param_1") ([ "[") (number_literal "0x15") (] "]")) (- "-") (subscript_expression "param_2[0x15]" (identifier "param_2") ([ "[") (number_literal "0x15") (] "]"))) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (return_statement (identifier)))) (return_statement (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (return_statement (number_literal)))))

int MASKED(undefined4 *param_1,undefined4 *param_2)

{
  int iVar1;
  
  if ((int)param_1[0x14] < (int)param_2[0x14]) {
    return -1;
  }
  if ((int)param_1[0x14] <= (int)param_2[0x14]) {
    if (param_1[0x15] - param_2[0x15] == 0) {
      iVar1 = FUN_0001508c(*param_2,*param_1);
      return iVar1;
    }
    return param_1[0x15] - param_2[0x15];
  }
  return 1;
}

