
int sort_sections_by_lma(void *arg1,void *arg2)

{
  uint uVar1;
  uint uVar2;
  ulong uVar3;
  ulong uVar4;
  uint uVar5;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  uVar5 = 0xffffffff;
  uVar3 = *(ulong *)(*arg2 + 0x30);
  uVar4 = *(ulong *)(*arg1 + 0x30);
  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {
    uVar5 = 0xffffffff;
    uVar1 = *(uint *)(*arg2 + 8);
    uVar2 = *(uint *)(*arg1 + 8);
    if (uVar1 <= uVar2) {
      uVar5 = (uint)(uVar1 < uVar2);
    }
  }
  return uVar5;
}



ulong FUN_00112330(long *param_1,long *param_2)

{
  uint uVar1;
  uint uVar2;
  ulong uVar3;
  ulong uVar4;
  ulong uVar5;
  
  uVar5 = 0xffffffff;
  uVar3 = *(ulong *)(*param_2 + 0x30);
  uVar4 = *(ulong *)(*param_1 + 0x30);
  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {
    uVar5 = 0xffffffff;
    uVar1 = *(uint *)(*param_2 + 8);
    uVar2 = *(uint *)(*param_1 + 8);
    if (uVar1 <= uVar2) {
      uVar5 = (ulong)(uVar1 < uVar2);
    }
  }
  return uVar5;
}


MOV RDX,qword ptr [RSI]
MOV RCX,qword ptr [RDI]
MOV EAX,0xffffffff
MOV RSI,qword ptr [RDX + 0x30]
CMP qword ptr [RCX + 0x30],RSI
JC 0x0011235f
MOV EAX,0x1
JA 0x0011235f
MOV EAX,0xffffffff
MOV EDX,dword ptr [RDX + 0x8]
CMP dword ptr [RCX + 0x8],EDX
JC 0x0011235f
SETA AL
MOVZX EAX,AL
RET
(translation_unit "ulong FUN_00112330(long *param_1,long *param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*param_2 + 0x30);\n  uVar4 = *(ulong *)(*param_1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}\n\n" (function_definition "ulong FUN_00112330(long *param_1,long *param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*param_2 + 0x30);\n  uVar4 = *(ulong *)(*param_1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_00112330(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  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*param_2 + 0x30);\n  uVar4 = *(ulong *)(*param_1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar3 = *(ulong *)(*param_2 + 0x30);" (assignment_expression "uVar3 = *(ulong *)(*param_2 + 0x30)" identifier = (pointer_expression "*(ulong *)(*param_2 + 0x30)" * (cast_expression "(ulong *)(*param_2 + 0x30)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x30)" ( (binary_expression "*param_2 + 0x30" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "uVar4 = *(ulong *)(*param_1 + 0x30);" (assignment_expression "uVar4 = *(ulong *)(*param_1 + 0x30)" identifier = (pointer_expression "*(ulong *)(*param_1 + 0x30)" * (cast_expression "(ulong *)(*param_1 + 0x30)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x30)" ( (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }" if (parenthesized_expression "((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3))" ( (binary_expression "(uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)" (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) && (parenthesized_expression "(uVar5 = 1, uVar4 <= uVar3)" ( (comma_expression "uVar5 = 1, uVar4 <= uVar3" (assignment_expression "uVar5 = 1" identifier = number_literal) , (binary_expression "uVar4 <= uVar3" identifier <= identifier)) ))) )) (compound_statement "{\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }" { (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (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" (pointer_expression "*param_2" * 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" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }" if (parenthesized_expression "(uVar1 <= uVar2)" ( (binary_expression "uVar1 <= uVar2" identifier <= identifier) )) (compound_statement "{\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }" { (expression_statement "uVar5 = (ulong)(uVar1 < uVar2);" (assignment_expression "uVar5 = (ulong)(uVar1 < uVar2)" identifier = (call_expression "(ulong)(uVar1 < uVar2)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) )))) ;) })) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "int sort_sections_by_lma(void *arg1,void *arg2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  uint uVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*arg2 + 0x30);\n  uVar4 = *(ulong *)(*arg1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*arg2 + 8);\n    uVar2 = *(uint *)(*arg1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (uint)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}\n\n" (function_definition "int sort_sections_by_lma(void *arg1,void *arg2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  uint uVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*arg2 + 0x30);\n  uVar4 = *(ulong *)(*arg1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*arg2 + 8);\n    uVar2 = *(uint *)(*arg1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (uint)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}" primitive_type (function_declarator "sort_sections_by_lma(void *arg1,void *arg2)" identifier (parameter_list "(void *arg1,void *arg2)" ( (parameter_declaration "void *arg1" primitive_type (pointer_declarator "*arg1" * identifier)) , (parameter_declaration "void *arg2" primitive_type (pointer_declarator "*arg2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  uint uVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*arg2 + 0x30);\n  uVar4 = *(ulong *)(*arg1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*arg2 + 8);\n    uVar2 = *(uint *)(*arg1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (uint)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) comment comment (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar3 = *(ulong *)(*arg2 + 0x30);" (assignment_expression "uVar3 = *(ulong *)(*arg2 + 0x30)" identifier = (pointer_expression "*(ulong *)(*arg2 + 0x30)" * (cast_expression "(ulong *)(*arg2 + 0x30)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*arg2 + 0x30)" ( (binary_expression "*arg2 + 0x30" (pointer_expression "*arg2" * identifier) + number_literal) ))))) ;) (expression_statement "uVar4 = *(ulong *)(*arg1 + 0x30);" (assignment_expression "uVar4 = *(ulong *)(*arg1 + 0x30)" identifier = (pointer_expression "*(ulong *)(*arg1 + 0x30)" * (cast_expression "(ulong *)(*arg1 + 0x30)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*arg1 + 0x30)" ( (binary_expression "*arg1 + 0x30" (pointer_expression "*arg1" * identifier) + number_literal) ))))) ;) (if_statement "if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*arg2 + 8);\n    uVar2 = *(uint *)(*arg1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (uint)(uVar1 < uVar2);\n    }\n  }" if (parenthesized_expression "((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3))" ( (binary_expression "(uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)" (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) && (parenthesized_expression "(uVar5 = 1, uVar4 <= uVar3)" ( (comma_expression "uVar5 = 1, uVar4 <= uVar3" (assignment_expression "uVar5 = 1" identifier = number_literal) , (binary_expression "uVar4 <= uVar3" identifier <= identifier)) ))) )) (compound_statement "{\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*arg2 + 8);\n    uVar2 = *(uint *)(*arg1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (uint)(uVar1 < uVar2);\n    }\n  }" { (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar1 = *(uint *)(*arg2 + 8);" (assignment_expression "uVar1 = *(uint *)(*arg2 + 8)" identifier = (pointer_expression "*(uint *)(*arg2 + 8)" * (cast_expression "(uint *)(*arg2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*arg2 + 8)" ( (binary_expression "*arg2 + 8" (pointer_expression "*arg2" * identifier) + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(*arg1 + 8);" (assignment_expression "uVar2 = *(uint *)(*arg1 + 8)" identifier = (pointer_expression "*(uint *)(*arg1 + 8)" * (cast_expression "(uint *)(*arg1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*arg1 + 8)" ( (binary_expression "*arg1 + 8" (pointer_expression "*arg1" * identifier) + number_literal) ))))) ;) (if_statement "if (uVar1 <= uVar2) {\n      uVar5 = (uint)(uVar1 < uVar2);\n    }" if (parenthesized_expression "(uVar1 <= uVar2)" ( (binary_expression "uVar1 <= uVar2" identifier <= identifier) )) (compound_statement "{\n      uVar5 = (uint)(uVar1 < uVar2);\n    }" { (expression_statement "uVar5 = (uint)(uVar1 < uVar2);" (assignment_expression "uVar5 = (uint)(uVar1 < uVar2)" identifier = (call_expression "(uint)(uVar1 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) )))) ;) })) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "ulong FUN_00112330(long *param_1,long *param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*param_2 + 0x30);\n  uVar4 = *(ulong *)(*param_1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}\n\n" (function_definition "ulong FUN_00112330(long *param_1,long *param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*param_2 + 0x30);\n  uVar4 = *(ulong *)(*param_1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_00112330(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  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*param_2 + 0x30);\n  uVar4 = *(ulong *)(*param_1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar3 = *(ulong *)(*param_2 + 0x30);" (assignment_expression "uVar3 = *(ulong *)(*param_2 + 0x30)" identifier = (pointer_expression "*(ulong *)(*param_2 + 0x30)" * (cast_expression "(ulong *)(*param_2 + 0x30)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x30)" ( (binary_expression "*param_2 + 0x30" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "uVar4 = *(ulong *)(*param_1 + 0x30);" (assignment_expression "uVar4 = *(ulong *)(*param_1 + 0x30)" identifier = (pointer_expression "*(ulong *)(*param_1 + 0x30)" * (cast_expression "(ulong *)(*param_1 + 0x30)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x30)" ( (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }" if (parenthesized_expression "((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3))" ( (binary_expression "(uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)" (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) && (parenthesized_expression "(uVar5 = 1, uVar4 <= uVar3)" ( (comma_expression "uVar5 = 1, uVar4 <= uVar3" (assignment_expression "uVar5 = 1" identifier = number_literal) , (binary_expression "uVar4 <= uVar3" identifier <= identifier)) ))) )) (compound_statement "{\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }" { (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (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" (pointer_expression "*param_2" * 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" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }" if (parenthesized_expression "(uVar1 <= uVar2)" ( (binary_expression "uVar1 <= uVar2" identifier <= identifier) )) (compound_statement "{\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }" { (expression_statement "uVar5 = (ulong)(uVar1 < uVar2);" (assignment_expression "uVar5 = (ulong)(uVar1 < uVar2)" identifier = (call_expression "(ulong)(uVar1 < uVar2)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) )))) ;) })) })) (return_statement "return uVar5;" 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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT <= IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "ulong FUN_00112330(long *param_1,long *param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*param_2 + 0x30);\n  uVar4 = *(ulong *)(*param_1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}" (type_identifier "ulong") (function_declarator "FUN_00112330(long *param_1,long *param_2)" (identifier "FUN_00112330") (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  uint uVar1;\n  uint uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = 0xffffffff;\n  uVar3 = *(ulong *)(*param_2 + 0x30);\n  uVar4 = *(ulong *)(*param_1 + 0x30);\n  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }\n  return uVar5;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" (identifier "uVar5") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "uVar3 = *(ulong *)(*param_2 + 0x30);" (assignment_expression "uVar3 = *(ulong *)(*param_2 + 0x30)" (identifier "uVar3") (= "=") (pointer_expression "*(ulong *)(*param_2 + 0x30)" (* "*") (cast_expression "(ulong *)(*param_2 + 0x30)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 0x30)" (( "(") (binary_expression "*param_2 + 0x30" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(ulong *)(*param_1 + 0x30);" (assignment_expression "uVar4 = *(ulong *)(*param_1 + 0x30)" (identifier "uVar4") (= "=") (pointer_expression "*(ulong *)(*param_1 + 0x30)" (* "*") (cast_expression "(ulong *)(*param_1 + 0x30)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x30)" (( "(") (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }" (if "if") (parenthesized_expression "((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3))" (( "(") (binary_expression "(uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)" (parenthesized_expression "(uVar3 <= uVar4)" (( "(") (binary_expression "uVar3 <= uVar4" (identifier "uVar3") (<= "<=") (identifier "uVar4")) () ")")) (&& "&&") (parenthesized_expression "(uVar5 = 1, uVar4 <= uVar3)" (( "(") (comma_expression "uVar5 = 1, uVar4 <= uVar3" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (, ",") (binary_expression "uVar4 <= uVar3" (identifier "uVar4") (<= "<=") (identifier "uVar3"))) () ")"))) () ")")) (compound_statement "{\n    uVar5 = 0xffffffff;\n    uVar1 = *(uint *)(*param_2 + 8);\n    uVar2 = *(uint *)(*param_1 + 8);\n    if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }\n  }" ({ "{") (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" (identifier "uVar5") (= "=") (number_literal "0xffffffff")) (; ";")) (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" (pointer_expression "*param_2" (* "*") (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" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (uVar1 <= uVar2) {\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }" (if "if") (parenthesized_expression "(uVar1 <= uVar2)" (( "(") (binary_expression "uVar1 <= uVar2" (identifier "uVar1") (<= "<=") (identifier "uVar2")) () ")")) (compound_statement "{\n      uVar5 = (ulong)(uVar1 < uVar2);\n    }" ({ "{") (expression_statement "uVar5 = (ulong)(uVar1 < uVar2);" (assignment_expression "uVar5 = (ulong)(uVar1 < uVar2)" (identifier "uVar5") (= "=") (call_expression "(ulong)(uVar1 < uVar2)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(uVar1 < uVar2)" (( "(") (binary_expression "uVar1 < uVar2" (identifier "uVar1") (< "<") (identifier "uVar2")) () ")")))) (; ";")) (} "}"))) (} "}"))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

int function_1(void *arg1,void *arg2)

{
  type_1 var_3;
  type_1 var_4;
  type_2 var_1;
  type_2 var_2;
  type_1 uVar5;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  uVar5 = 0xffffffff;
  var_1 = *(type_2 *)(*arg2 + 0x30);
  var_2 = *(type_2 *)(*arg1 + 0x30);
  if ((var_1 <= var_2) && (uVar5 = 1, var_2 <= var_1)) {
    uVar5 = 0xffffffff;
    var_3 = *(type_1 *)(*arg2 + 8);
    var_4 = *(type_1 *)(*arg1 + 8);
    if (var_3 <= var_4) {
      uVar5 = (type_1)(var_3 < var_4);
    }
  }
  return uVar5;
}


(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)) (declaration type: (type_identifier) declarator: (identifier)) (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: (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: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_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: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (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: (identifier) right: (identifier)))))))))) (return_statement (identifier)))))

ulong MASKED(long *param_1,long *param_2)

{
  uint uVar1;
  uint uVar2;
  ulong uVar3;
  ulong uVar4;
  ulong uVar5;
  
  uVar5 = 0xffffffff;
  uVar3 = *(ulong *)(*param_2 + 0x30);
  uVar4 = *(ulong *)(*param_1 + 0x30);
  if ((uVar3 <= uVar4) && (uVar5 = 1, uVar4 <= uVar3)) {
    uVar5 = 0xffffffff;
    uVar1 = *(uint *)(*param_2 + 8);
    uVar2 = *(uint *)(*param_1 + 8);
    if (uVar1 <= uVar2) {
      uVar5 = (ulong)(uVar1 < uVar2);
    }
  }
  return uVar5;
}

