
/* WARNING: Unknown calling convention */

int compare_ranges(void *a,void *b)

{
  uint uVar1;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  uVar1 = 0xffffffff;
  if ((int)*b <= (int)*a) {
    uVar1 = (uint)((int)*b < (int)*a);
  }
  return uVar1;
}



ulong FUN_00105465(undefined8 *param_1,undefined8 *param_2)

{
  ulong uVar1;
  
  uVar1 = 0xffffffff;
  if ((int)*param_2 <= (int)*param_1) {
    uVar1 = (ulong)((int)*param_2 < (int)*param_1);
  }
  return uVar1;
}


MOV RCX,qword ptr [RDI]
MOV RDX,qword ptr [RSI]
MOV EAX,0xffffffff
CMP ECX,EDX
JL 0x0010547a
SETG AL
MOVZX EAX,AL
RET
(translation_unit "ulong FUN_00105465(undefined8 *param_1,undefined8 *param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }\n  return uVar1;\n}\n\n" (function_definition "ulong FUN_00105465(undefined8 *param_1,undefined8 *param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00105465(undefined8 *param_1,undefined8 *param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }\n  return uVar1;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }" if (parenthesized_expression "((int)*param_2 <= (int)*param_1)" ( (binary_expression "(int)*param_2 <= (int)*param_1" (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier)) <= (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) )) (compound_statement "{\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }" { (expression_statement "uVar1 = (ulong)((int)*param_2 < (int)*param_1);" (assignment_expression "uVar1 = (ulong)((int)*param_2 < (int)*param_1)" identifier = (call_expression "(ulong)((int)*param_2 < (int)*param_1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((int)*param_2 < (int)*param_1)" ( (binary_expression "(int)*param_2 < (int)*param_1" (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier)) < (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint compare_ranges(void *a,void *b)\n\n{\n  uint uVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  uVar1 = 0xffffffff;\n  if ((int)*b <= (int)*a) {\n    uVar1 = (uint)((int)*b < (int)*a);\n  }\n  return uVar1;\n}\n\n" comment (function_definition "int compare_ranges(void *a,void *b)\n\n{\n  uint uVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  uVar1 = 0xffffffff;\n  if ((int)*b <= (int)*a) {\n    uVar1 = (uint)((int)*b < (int)*a);\n  }\n  return uVar1;\n}" primitive_type (function_declarator "compare_ranges(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  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  uVar1 = 0xffffffff;\n  if ((int)*b <= (int)*a) {\n    uVar1 = (uint)((int)*b < (int)*a);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) comment comment (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((int)*b <= (int)*a) {\n    uVar1 = (uint)((int)*b < (int)*a);\n  }" if (parenthesized_expression "((int)*b <= (int)*a)" ( (binary_expression "(int)*b <= (int)*a" (cast_expression "(int)*b" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*b" * identifier)) <= (cast_expression "(int)*a" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*a" * identifier))) )) (compound_statement "{\n    uVar1 = (uint)((int)*b < (int)*a);\n  }" { (expression_statement "uVar1 = (uint)((int)*b < (int)*a);" (assignment_expression "uVar1 = (uint)((int)*b < (int)*a)" identifier = (call_expression "(uint)((int)*b < (int)*a)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)*b < (int)*a)" ( (binary_expression "(int)*b < (int)*a" (cast_expression "(int)*b" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*b" * identifier)) < (cast_expression "(int)*a" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*a" * identifier))) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "ulong FUN_00105465(undefined8 *param_1,undefined8 *param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }\n  return uVar1;\n}\n\n" (function_definition "ulong FUN_00105465(undefined8 *param_1,undefined8 *param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00105465(undefined8 *param_1,undefined8 *param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }\n  return uVar1;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }" if (parenthesized_expression "((int)*param_2 <= (int)*param_1)" ( (binary_expression "(int)*param_2 <= (int)*param_1" (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier)) <= (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) )) (compound_statement "{\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }" { (expression_statement "uVar1 = (ulong)((int)*param_2 < (int)*param_1);" (assignment_expression "uVar1 = (ulong)((int)*param_2 < (int)*param_1)" identifier = (call_expression "(ulong)((int)*param_2 < (int)*param_1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((int)*param_2 < (int)*param_1)" ( (binary_expression "(int)*param_2 < (int)*param_1" (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier)) < (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(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 ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) <= (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) < (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "ulong FUN_00105465(undefined8 *param_1,undefined8 *param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }\n  return uVar1;\n}" (type_identifier "ulong") (function_declarator "FUN_00105465(undefined8 *param_1,undefined8 *param_2)" (identifier "FUN_00105465") (parameter_list "(undefined8 *param_1,undefined8 *param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }\n  return uVar1;\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" (identifier "uVar1") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if ((int)*param_2 <= (int)*param_1) {\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }" (if "if") (parenthesized_expression "((int)*param_2 <= (int)*param_1)" (( "(") (binary_expression "(int)*param_2 <= (int)*param_1" (cast_expression "(int)*param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (<= "<=") (cast_expression "(int)*param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (compound_statement "{\n    uVar1 = (ulong)((int)*param_2 < (int)*param_1);\n  }" ({ "{") (expression_statement "uVar1 = (ulong)((int)*param_2 < (int)*param_1);" (assignment_expression "uVar1 = (ulong)((int)*param_2 < (int)*param_1)" (identifier "uVar1") (= "=") (call_expression "(ulong)((int)*param_2 < (int)*param_1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((int)*param_2 < (int)*param_1)" (( "(") (binary_expression "(int)*param_2 < (int)*param_1" (cast_expression "(int)*param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (< "<") (cast_expression "(int)*param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void *a,void *b)

{
  type_1 uVar1;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  uVar1 = 0xffffffff;
  if ((int)*b <= (int)*a) {
    uVar1 = (type_1)((int)*b < (int)*a);
  }
  return uVar1;
}


(translation_unit (function_definition type: (type_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: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier)))))))))) (return_statement (identifier)))))

ulong MASKED(undefined8 *param_1,undefined8 *param_2)

{
  ulong uVar1;
  
  uVar1 = 0xffffffff;
  if ((int)*param_2 <= (int)*param_1) {
    uVar1 = (ulong)((int)*param_2 < (int)*param_1);
  }
  return uVar1;
}

