
/* WARNING: Unknown calling convention */

int direntry_cmp_inode(void *a,void *b)

{
  uint uVar1;
  uint uVar2;
  uint uVar3;
  
  uVar1 = *(uint *)((int)b + 8);
  uVar2 = *(uint *)((int)a + 8);
  uVar3 = 0xffffffff;
  if (uVar1 <= uVar2 && (uint)(*(uint *)((int)a + 4) < *(uint *)((int)b + 4)) <= uVar2 - uVar1) {
    uVar3 = (uint)(uVar1 < uVar2 ||
                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4)));
  }
  return uVar3;
}



uint FUN_00021560(int param_1,int param_2)

{
  uint uVar1;
  uint uVar2;
  uint uVar3;
  
  uVar1 = *(uint *)(param_2 + 8);
  uVar2 = *(uint *)(param_1 + 8);
  uVar3 = 0xffffffff;
  if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {
    uVar3 = (uint)(uVar1 < uVar2 ||
                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));
  }
  return uVar3;
}


PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [EAX + 0x4]
MOV ECX,dword ptr [EAX + 0x8]
MOV EBX,dword ptr [EDX + 0x4]
MOV EDX,dword ptr [EDX + 0x8]
CMP EBX,ESI
MOV EAX,EDX
SBB EAX,ECX
MOV EAX,0xffffffff
JC 0x0002158c
XOR EAX,EAX
CMP ESI,EBX
SBB ECX,EDX
SETC AL
POP EBX
POP ESI
RET
(translation_unit "uint FUN_00021560(int param_1,int param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)(param_2 + 8);\n  uVar2 = *(uint *)(param_1 + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }\n  return uVar3;\n}\n\n" (function_definition "uint FUN_00021560(int param_1,int param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)(param_2 + 8);\n  uVar2 = *(uint *)(param_1 + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00021560(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)(param_2 + 8);\n  uVar2 = *(uint *)(param_1 + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }\n  return uVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_2 + 8);" (assignment_expression "uVar1 = *(uint *)(param_2 + 8)" identifier = (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 8);" (assignment_expression "uVar2 = *(uint *)(param_1 + 8)" identifier = (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }" if (parenthesized_expression "(uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1)" ( (binary_expression "uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1" (binary_expression "uVar1 <= uVar2" identifier <= identifier) && (binary_expression "(uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1" (call_expression "(uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4))" ( (binary_expression "*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ))) <= (binary_expression "uVar2 - uVar1" identifier - identifier))) )) (compound_statement "{\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }" { (expression_statement "uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));" (assignment_expression "uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" identifier = (call_expression "(uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" ( (binary_expression "uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (binary_expression "uVar1 < uVar2" identifier < identifier) || (binary_expression "uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (binary_expression "uVar1 - uVar2" identifier - identifier) < (call_expression "(uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" ( (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ))))) )))) ;) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint direntry_cmp_inode(void *a,void *b)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)((int)b + 8);\n  uVar2 = *(uint *)((int)a + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)((int)a + 4) < *(uint *)((int)b + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4)));\n  }\n  return uVar3;\n}\n\n" comment (function_definition "int direntry_cmp_inode(void *a,void *b)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)((int)b + 8);\n  uVar2 = *(uint *)((int)a + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)((int)a + 4) < *(uint *)((int)b + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4)));\n  }\n  return uVar3;\n}" primitive_type (function_declarator "direntry_cmp_inode(void *a,void *b)" identifier (parameter_list "(void *a,void *b)" ( (parameter_declaration "void *a" primitive_type (pointer_declarator "*a" * identifier)) , (parameter_declaration "void *b" primitive_type (pointer_declarator "*b" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)((int)b + 8);\n  uVar2 = *(uint *)((int)a + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)((int)a + 4) < *(uint *)((int)b + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4)));\n  }\n  return uVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)((int)b + 8);" (assignment_expression "uVar1 = *(uint *)((int)b + 8)" identifier = (pointer_expression "*(uint *)((int)b + 8)" * (cast_expression "(uint *)((int)b + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 8)" ( (binary_expression "(int)b + 8" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)((int)a + 8);" (assignment_expression "uVar2 = *(uint *)((int)a + 8)" identifier = (pointer_expression "*(uint *)((int)a + 8)" * (cast_expression "(uint *)((int)a + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 8)" ( (binary_expression "(int)a + 8" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (uVar1 <= uVar2 && (uint)(*(uint *)((int)a + 4) < *(uint *)((int)b + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4)));\n  }" if (parenthesized_expression "(uVar1 <= uVar2 && (uint)(*(uint *)((int)a + 4) < *(uint *)((int)b + 4)) <= uVar2 - uVar1)" ( (binary_expression "uVar1 <= uVar2 && (uint)(*(uint *)((int)a + 4) < *(uint *)((int)b + 4)) <= uVar2 - uVar1" (binary_expression "uVar1 <= uVar2" identifier <= identifier) && (binary_expression "(uint)(*(uint *)((int)a + 4) < *(uint *)((int)b + 4)) <= uVar2 - uVar1" (call_expression "(uint)(*(uint *)((int)a + 4) < *(uint *)((int)b + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)((int)a + 4) < *(uint *)((int)b + 4))" ( (binary_expression "*(uint *)((int)a + 4) < *(uint *)((int)b + 4)" (pointer_expression "*(uint *)((int)a + 4)" * (cast_expression "(uint *)((int)a + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 4)" ( (binary_expression "(int)a + 4" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < (pointer_expression "*(uint *)((int)b + 4)" * (cast_expression "(uint *)((int)b + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 4)" ( (binary_expression "(int)b + 4" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ))) <= (binary_expression "uVar2 - uVar1" identifier - identifier))) )) (compound_statement "{\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4)));\n  }" { (expression_statement "uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4)));" (assignment_expression "uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4)))" identifier = (call_expression "(uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4)))" ( (binary_expression "uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4))" (binary_expression "uVar1 < uVar2" identifier < identifier) || (binary_expression "uVar1 - uVar2 < (uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4))" (binary_expression "uVar1 - uVar2" identifier - identifier) < (call_expression "(uint)(*(uint *)((int)b + 4) < *(uint *)((int)a + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)((int)b + 4) < *(uint *)((int)a + 4))" ( (binary_expression "*(uint *)((int)b + 4) < *(uint *)((int)a + 4)" (pointer_expression "*(uint *)((int)b + 4)" * (cast_expression "(uint *)((int)b + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 4)" ( (binary_expression "(int)b + 4" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < (pointer_expression "*(uint *)((int)a + 4)" * (cast_expression "(uint *)((int)a + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 4)" ( (binary_expression "(int)a + 4" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ))))) )))) ;) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "uint FUN_00021560(int param_1,int param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)(param_2 + 8);\n  uVar2 = *(uint *)(param_1 + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }\n  return uVar3;\n}\n\n" (function_definition "uint FUN_00021560(int param_1,int param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)(param_2 + 8);\n  uVar2 = *(uint *)(param_1 + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00021560(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)(param_2 + 8);\n  uVar2 = *(uint *)(param_1 + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }\n  return uVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_2 + 8);" (assignment_expression "uVar1 = *(uint *)(param_2 + 8)" identifier = (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 8);" (assignment_expression "uVar2 = *(uint *)(param_1 + 8)" identifier = (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }" if (parenthesized_expression "(uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1)" ( (binary_expression "uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1" (binary_expression "uVar1 <= uVar2" identifier <= identifier) && (binary_expression "(uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1" (call_expression "(uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4))" ( (binary_expression "*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ))) <= (binary_expression "uVar2 - uVar1" identifier - identifier))) )) (compound_statement "{\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }" { (expression_statement "uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));" (assignment_expression "uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" identifier = (call_expression "(uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" ( (binary_expression "uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (binary_expression "uVar1 < uVar2" identifier < identifier) || (binary_expression "uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (binary_expression "uVar1 - uVar2" identifier - identifier) < (call_expression "(uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" ( (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ))))) )))) ;) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) <= (binary_expression IDENT - IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))))) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00021560(int param_1,int param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)(param_2 + 8);\n  uVar2 = *(uint *)(param_1 + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }\n  return uVar3;\n}" (type_identifier "uint") (function_declarator "FUN_00021560(int param_1,int param_2)" (identifier "FUN_00021560") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar1 = *(uint *)(param_2 + 8);\n  uVar2 = *(uint *)(param_1 + 8);\n  uVar3 = 0xffffffff;\n  if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }\n  return uVar3;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (expression_statement "uVar1 = *(uint *)(param_2 + 8);" (assignment_expression "uVar1 = *(uint *)(param_2 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 8)" (* "*") (cast_expression "(uint *)(param_2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(uint *)(param_1 + 8);" (assignment_expression "uVar2 = *(uint *)(param_1 + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" (identifier "uVar3") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }" (if "if") (parenthesized_expression "(uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1)" (( "(") (binary_expression "uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1" (binary_expression "uVar1 <= uVar2" (identifier "uVar1") (<= "<=") (identifier "uVar2")) (&& "&&") (binary_expression "(uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1" (call_expression "(uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4))" (( "(") (binary_expression "*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) () ")"))) (<= "<=") (binary_expression "uVar2 - uVar1" (identifier "uVar2") (- "-") (identifier "uVar1")))) () ")")) (compound_statement "{\n    uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));\n  }" ({ "{") (expression_statement "uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));" (assignment_expression "uVar3 = (uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" (identifier "uVar3") (= "=") (call_expression "(uint)(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" (( "(") (binary_expression "uVar1 < uVar2 ||\n                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (binary_expression "uVar1 < uVar2" (identifier "uVar1") (< "<") (identifier "uVar2")) (|| "||") (binary_expression "uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (binary_expression "uVar1 - uVar2" (identifier "uVar1") (- "-") (identifier "uVar2")) (< "<") (call_expression "(uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (( "(") (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) () ")"))))) () ")")))) (; ";")) (} "}"))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void *a,void *b)

{
  type_1 var_1;
  type_1 var_2;
  type_1 uVar3;
  
  var_1 = *(type_1 *)((int)b + 8);
  var_2 = *(type_1 *)((int)a + 8);
  uVar3 = 0xffffffff;
  if (var_1 <= var_2 && (type_1)(*(type_1 *)((int)a + 4) < *(type_1 *)((int)b + 4)) <= var_2 - var_1) {
    uVar3 = (type_1)(var_1 < var_2 ||
                  var_1 - var_2 < (type_1)(*(type_1 *)((int)b + 4) < *(type_1 *)((int)a + 4)));
  }
  return uVar3;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) right: (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))))))) (return_statement (identifier)))))

uint MASKED(int param_1,int param_2)

{
  uint uVar1;
  uint uVar2;
  uint uVar3;
  
  uVar1 = *(uint *)(param_2 + 8);
  uVar2 = *(uint *)(param_1 + 8);
  uVar3 = 0xffffffff;
  if (uVar1 <= uVar2 && (uint)(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) <= uVar2 - uVar1) {
    uVar3 = (uint)(uVar1 < uVar2 ||
                  uVar1 - uVar2 < (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)));
  }
  return uVar3;
}

