
/* WARNING: Unknown calling convention */

int fts_compare_ino(_ftsent **a,_ftsent **b)

{
  ulong uVar1;
  ulong uVar2;
  uint uVar3;
  
  uVar1 = (*a)->fts_statp[0].st_ino;
  uVar2 = (*b)->fts_statp[0].st_ino;
  uVar3 = 0xffffffff;
  if (uVar2 <= uVar1) {
    uVar3 = (uint)(uVar2 < uVar1);
  }
  return uVar3;
}



ulong FUN_0010dce3(long *param_1,long *param_2)

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


MOV RAX,qword ptr [RDI]
MOV RCX,qword ptr [RAX + 0x80]
MOV RAX,qword ptr [RSI]
MOV RDX,qword ptr [RAX + 0x80]
MOV EAX,0xffffffff
CMP RCX,RDX
JC 0x0010dd07
SETA AL
MOVZX EAX,AL
RET
(translation_unit "ulong FUN_0010dce3(long *param_1,long *param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }\n  return uVar1;\n}\n\n" (function_definition "ulong FUN_0010dce3(long *param_1,long *param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0010dce3(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\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 (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }" if (parenthesized_expression "(*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80))" ( (binary_expression "*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)" (pointer_expression "*(ulong *)(*param_2 + 0x80)" * (cast_expression "(ulong *)(*param_2 + 0x80)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x80)" ( (binary_expression "*param_2 + 0x80" (pointer_expression "*param_2" * identifier) + number_literal) )))) <= (pointer_expression "*(ulong *)(*param_1 + 0x80)" * (cast_expression "(ulong *)(*param_1 + 0x80)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x80)" ( (binary_expression "*param_1 + 0x80" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (compound_statement "{\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }" { (expression_statement "uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));" (assignment_expression "uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80))" identifier = (call_expression "(ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80))" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80))" ( (binary_expression "*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80)" (pointer_expression "*(ulong *)(*param_2 + 0x80)" * (cast_expression "(ulong *)(*param_2 + 0x80)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x80)" ( (binary_expression "*param_2 + 0x80" (pointer_expression "*param_2" * identifier) + number_literal) )))) < (pointer_expression "*(ulong *)(*param_1 + 0x80)" * (cast_expression "(ulong *)(*param_1 + 0x80)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x80)" ( (binary_expression "*param_1 + 0x80" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint fts_compare_ino(_ftsent **a,_ftsent **b)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  \n  uVar1 = (*a)->fts_statp[0].st_ino;\n  uVar2 = (*b)->fts_statp[0].st_ino;\n  uVar3 = 0xffffffff;\n  if (uVar2 <= uVar1) {\n    uVar3 = (uint)(uVar2 < uVar1);\n  }\n  return uVar3;\n}\n\n" comment (function_definition "int fts_compare_ino(_ftsent **a,_ftsent **b)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  \n  uVar1 = (*a)->fts_statp[0].st_ino;\n  uVar2 = (*b)->fts_statp[0].st_ino;\n  uVar3 = 0xffffffff;\n  if (uVar2 <= uVar1) {\n    uVar3 = (uint)(uVar2 < uVar1);\n  }\n  return uVar3;\n}" primitive_type (function_declarator "fts_compare_ino(_ftsent **a,_ftsent **b)" identifier (parameter_list "(_ftsent **a,_ftsent **b)" ( (parameter_declaration "_ftsent **a" type_identifier (pointer_declarator "**a" * (pointer_declarator "*a" * identifier))) , (parameter_declaration "_ftsent **b" type_identifier (pointer_declarator "**b" * (pointer_declarator "*b" * identifier))) ))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  \n  uVar1 = (*a)->fts_statp[0].st_ino;\n  uVar2 = (*b)->fts_statp[0].st_ino;\n  uVar3 = 0xffffffff;\n  if (uVar2 <= uVar1) {\n    uVar3 = (uint)(uVar2 < uVar1);\n  }\n  return uVar3;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "uVar1 = (*a)->fts_statp[0].st_ino;" (assignment_expression "uVar1 = (*a)->fts_statp[0].st_ino" identifier = (field_expression "(*a)->fts_statp[0].st_ino" (subscript_expression "(*a)->fts_statp[0]" (field_expression "(*a)->fts_statp" (parenthesized_expression "(*a)" ( (pointer_expression "*a" * identifier) )) -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "uVar2 = (*b)->fts_statp[0].st_ino;" (assignment_expression "uVar2 = (*b)->fts_statp[0].st_ino" identifier = (field_expression "(*b)->fts_statp[0].st_ino" (subscript_expression "(*b)->fts_statp[0]" (field_expression "(*b)->fts_statp" (parenthesized_expression "(*b)" ( (pointer_expression "*b" * identifier) )) -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (uVar2 <= uVar1) {\n    uVar3 = (uint)(uVar2 < uVar1);\n  }" if (parenthesized_expression "(uVar2 <= uVar1)" ( (binary_expression "uVar2 <= uVar1" identifier <= identifier) )) (compound_statement "{\n    uVar3 = (uint)(uVar2 < uVar1);\n  }" { (expression_statement "uVar3 = (uint)(uVar2 < uVar1);" (assignment_expression "uVar3 = (uint)(uVar2 < uVar1)" identifier = (call_expression "(uint)(uVar2 < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < uVar1)" ( (binary_expression "uVar2 < uVar1" identifier < identifier) )))) ;) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "ulong FUN_0010dce3(long *param_1,long *param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }\n  return uVar1;\n}\n\n" (function_definition "ulong FUN_0010dce3(long *param_1,long *param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0010dce3(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\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 (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }" if (parenthesized_expression "(*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80))" ( (binary_expression "*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)" (pointer_expression "*(ulong *)(*param_2 + 0x80)" * (cast_expression "(ulong *)(*param_2 + 0x80)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x80)" ( (binary_expression "*param_2 + 0x80" (pointer_expression "*param_2" * identifier) + number_literal) )))) <= (pointer_expression "*(ulong *)(*param_1 + 0x80)" * (cast_expression "(ulong *)(*param_1 + 0x80)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x80)" ( (binary_expression "*param_1 + 0x80" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (compound_statement "{\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }" { (expression_statement "uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));" (assignment_expression "uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80))" identifier = (call_expression "(ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80))" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80))" ( (binary_expression "*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80)" (pointer_expression "*(ulong *)(*param_2 + 0x80)" * (cast_expression "(ulong *)(*param_2 + 0x80)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x80)" ( (binary_expression "*param_2 + 0x80" (pointer_expression "*param_2" * identifier) + number_literal) )))) < (pointer_expression "*(ulong *)(*param_1 + 0x80)" * (cast_expression "(ulong *)(*param_1 + 0x80)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x80)" ( (binary_expression "*param_1 + 0x80" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "ulong FUN_0010dce3(long *param_1,long *param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }\n  return uVar1;\n}" (type_identifier "ulong") (function_declarator "FUN_0010dce3(long *param_1,long *param_2)" (identifier "FUN_0010dce3") (parameter_list "(long *param_1,long *param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  ulong uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\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 (*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)) {\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }" (if "if") (parenthesized_expression "(*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80))" (( "(") (binary_expression "*(ulong *)(*param_2 + 0x80) <= *(ulong *)(*param_1 + 0x80)" (pointer_expression "*(ulong *)(*param_2 + 0x80)" (* "*") (cast_expression "(ulong *)(*param_2 + 0x80)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 0x80)" (( "(") (binary_expression "*param_2 + 0x80" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x80")) () ")")))) (<= "<=") (pointer_expression "*(ulong *)(*param_1 + 0x80)" (* "*") (cast_expression "(ulong *)(*param_1 + 0x80)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x80)" (( "(") (binary_expression "*param_1 + 0x80" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x80")) () ")"))))) () ")")) (compound_statement "{\n    uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));\n  }" ({ "{") (expression_statement "uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80));" (assignment_expression "uVar1 = (ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80))" (identifier "uVar1") (= "=") (call_expression "(ulong)(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80))" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80))" (( "(") (binary_expression "*(ulong *)(*param_2 + 0x80) < *(ulong *)(*param_1 + 0x80)" (pointer_expression "*(ulong *)(*param_2 + 0x80)" (* "*") (cast_expression "(ulong *)(*param_2 + 0x80)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 0x80)" (( "(") (binary_expression "*param_2 + 0x80" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x80")) () ")")))) (< "<") (pointer_expression "*(ulong *)(*param_1 + 0x80)" (* "*") (cast_expression "(ulong *)(*param_1 + 0x80)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x80)" (( "(") (binary_expression "*param_1 + 0x80" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x80")) () ")"))))) () ")")))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(type_1 **a,type_1 **b)

{
  type_2 var_2;
  type_2 var_1;
  type_3 uVar3;
  
  var_2 = (*a)->fts_statp[0].st_ino;
  var_1 = (*b)->fts_statp[0].st_ino;
  uVar3 = 0xffffffff;
  if (var_1 <= var_2) {
    uVar3 = (type_3)(var_1 < var_2);
  }
  return uVar3;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (number_literal)))))))))))) (return_statement (identifier)))))

ulong MASKED(long *param_1,long *param_2)

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

