
/* WARNING: Unknown calling convention */

int fontinfo_realname_find(void *av,void *bv)

{
  uint uVar1;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  uVar1 = (uint)(*bv == (char *)0x0) - (uint)(*av == (char *)0x0);
  if (uVar1 == 0) {
    uVar1 = strnullcasecmp(*av,*bv);
    if (uVar1 == 0) {
      uVar1 = (*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7;
      if (uVar1 != 0) {
        return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;
      }
    }
  }
  return uVar1;
}



uint FUN_00052f50(int *param_1,int *param_2)

{
  uint uVar1;
  
  uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);
  if (uVar1 == 0) {
    uVar1 = FUN_00052dd0();
    if (uVar1 == 0) {
      uVar1 = (param_1[1] ^ param_2[6]) & 7;
      if (uVar1 != 0) {
        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;
      }
    }
  }
  return uVar1;
}


PUSH EBP
XOR ECX,ECX
PUSH ESI
PUSH EBX
MOV EBX,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EBX]
MOV EBP,dword ptr [ESI]
TEST EDX,EDX
SETZ CL
XOR EAX,EAX
TEST EBP,EBP
SETZ AL
SUB ECX,EAX
MOV EAX,ECX
JNZ 0x00052f8d
MOV EAX,EBP
CALL 0x00052dd0
TEST EAX,EAX
JNZ 0x00052f8d
MOV ECX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [EBX + 0x18]
MOV EAX,ECX
XOR EAX,EDX
AND EAX,0x7
JNZ 0x00052f98
POP EBX
POP ESI
POP EBP
RET
AND ECX,0x7
AND EDX,0x7
XOR EAX,EAX
POP EBX
CMP ECX,EDX
POP ESI
POP EBP
SETGE AL
LEA EAX,[EAX + EAX*0x1 + -0x1]
RET
(translation_unit "uint FUN_00052f50(int *param_1,int *param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);\n  if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_00052f50(int *param_1,int *param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);\n  if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00052f50(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);\n  if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);" (assignment_expression "uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0)" identifier = (binary_expression "(uint)(*param_2 == 0) - (uint)(*param_1 == 0)" (call_expression "(uint)(*param_2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) ))) - (call_expression "(uint)(*param_1 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) ))))) ;) (if_statement "if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }" { (expression_statement "uVar1 = FUN_00052dd0();" (assignment_expression "uVar1 = FUN_00052dd0()" identifier = (call_expression "FUN_00052dd0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }" { (expression_statement "uVar1 = (param_1[1] ^ param_2[6]) & 7;" (assignment_expression "uVar1 = (param_1[1] ^ param_2[6]) & 7" identifier = (binary_expression "(param_1[1] ^ param_2[6]) & 7" (parenthesized_expression "(param_1[1] ^ param_2[6])" ( (binary_expression "param_1[1] ^ param_2[6]" (subscript_expression "param_1[1]" identifier [ number_literal ]) ^ (subscript_expression "param_2[6]" identifier [ number_literal ])) )) & number_literal)) ;) (if_statement "if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }" { (return_statement "return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;" return (binary_expression "(uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1" (binary_expression "(uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2" (call_expression "(uint)((param_2[6] & 7U) <= (param_1[1] & 7U))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((param_2[6] & 7U) <= (param_1[1] & 7U))" ( (binary_expression "(param_2[6] & 7U) <= (param_1[1] & 7U)" (parenthesized_expression "(param_2[6] & 7U)" ( (binary_expression "param_2[6] & 7U" (subscript_expression "param_2[6]" identifier [ number_literal ]) & number_literal) )) <= (parenthesized_expression "(param_1[1] & 7U)" ( (binary_expression "param_1[1] & 7U" (subscript_expression "param_1[1]" identifier [ number_literal ]) & number_literal) ))) ))) * number_literal) - number_literal) ;) })) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint fontinfo_realname_find(void *av,void *bv)\n\n{\n  uint uVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  uVar1 = (uint)(*bv == (char *)0x0) - (uint)(*av == (char *)0x0);\n  if (uVar1 == 0) {\n    uVar1 = strnullcasecmp(*av,*bv);\n    if (uVar1 == 0) {\n      uVar1 = (*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7;\n      if (uVar1 != 0) {\n        return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;\n      }\n    }\n  }\n  return uVar1;\n}\n\n" comment (function_definition "int fontinfo_realname_find(void *av,void *bv)\n\n{\n  uint uVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  uVar1 = (uint)(*bv == (char *)0x0) - (uint)(*av == (char *)0x0);\n  if (uVar1 == 0) {\n    uVar1 = strnullcasecmp(*av,*bv);\n    if (uVar1 == 0) {\n      uVar1 = (*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7;\n      if (uVar1 != 0) {\n        return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;\n      }\n    }\n  }\n  return uVar1;\n}" primitive_type (function_declarator "fontinfo_realname_find(void *av,void *bv)" identifier (parameter_list "(void *av,void *bv)" ( (parameter_declaration "void *av" primitive_type (pointer_declarator "*av" * identifier)) , (parameter_declaration "void *bv" primitive_type (pointer_declarator "*bv" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  uVar1 = (uint)(*bv == (char *)0x0) - (uint)(*av == (char *)0x0);\n  if (uVar1 == 0) {\n    uVar1 = strnullcasecmp(*av,*bv);\n    if (uVar1 == 0) {\n      uVar1 = (*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7;\n      if (uVar1 != 0) {\n        return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;\n      }\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) comment comment (expression_statement "uVar1 = (uint)(*bv == (char *)0x0) - (uint)(*av == (char *)0x0);" (assignment_expression "uVar1 = (uint)(*bv == (char *)0x0) - (uint)(*av == (char *)0x0)" identifier = (binary_expression "(uint)(*bv == (char *)0x0) - (uint)(*av == (char *)0x0)" (call_expression "(uint)(*bv == (char *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*bv == (char *)0x0)" ( (binary_expression "*bv == (char *)0x0" (pointer_expression "*bv" * identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) - (call_expression "(uint)(*av == (char *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*av == (char *)0x0)" ( (binary_expression "*av == (char *)0x0" (pointer_expression "*av" * identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))))) ;) (if_statement "if (uVar1 == 0) {\n    uVar1 = strnullcasecmp(*av,*bv);\n    if (uVar1 == 0) {\n      uVar1 = (*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7;\n      if (uVar1 != 0) {\n        return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;\n      }\n    }\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = strnullcasecmp(*av,*bv);\n    if (uVar1 == 0) {\n      uVar1 = (*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7;\n      if (uVar1 != 0) {\n        return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;\n      }\n    }\n  }" { (expression_statement "uVar1 = strnullcasecmp(*av,*bv);" (assignment_expression "uVar1 = strnullcasecmp(*av,*bv)" identifier = (call_expression "strnullcasecmp(*av,*bv)" identifier (argument_list "(*av,*bv)" ( (pointer_expression "*av" * identifier) , (pointer_expression "*bv" * identifier) )))) ;) (if_statement "if (uVar1 == 0) {\n      uVar1 = (*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7;\n      if (uVar1 != 0) {\n        return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;\n      }\n    }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = (*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7;\n      if (uVar1 != 0) {\n        return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;\n      }\n    }" { (expression_statement "uVar1 = (*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7;" (assignment_expression "uVar1 = (*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7" identifier = (binary_expression "(*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)) & 7" (parenthesized_expression "(*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18))" ( (binary_expression "*(uint *)((int)av + 4) ^ *(uint *)((int)bv + 0x18)" (pointer_expression "*(uint *)((int)av + 4)" * (cast_expression "(uint *)((int)av + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)av + 4)" ( (binary_expression "(int)av + 4" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ^ (pointer_expression "*(uint *)((int)bv + 0x18)" * (cast_expression "(uint *)((int)bv + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)bv + 0x18)" ( (binary_expression "(int)bv + 0x18" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) & number_literal)) ;) (if_statement "if (uVar1 != 0) {\n        return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;\n      }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;\n      }" { (return_statement "return (uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1;" return (binary_expression "(uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2 + -1" (binary_expression "(uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)) * 2" (call_expression "(uint)((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7))" ( (binary_expression "(*(uint *)((int)bv + 0x18) & 7) <= (*(uint *)((int)av + 4) & 7)" (parenthesized_expression "(*(uint *)((int)bv + 0x18) & 7)" ( (binary_expression "*(uint *)((int)bv + 0x18) & 7" (pointer_expression "*(uint *)((int)bv + 0x18)" * (cast_expression "(uint *)((int)bv + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)bv + 0x18)" ( (binary_expression "(int)bv + 0x18" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) <= (parenthesized_expression "(*(uint *)((int)av + 4) & 7)" ( (binary_expression "*(uint *)((int)av + 4) & 7" (pointer_expression "*(uint *)((int)av + 4)" * (cast_expression "(uint *)((int)av + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)av + 4)" ( (binary_expression "(int)av + 4" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) ))) ))) * number_literal) + number_literal) ;) })) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint FUN_00052f50(int *param_1,int *param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);\n  if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_00052f50(int *param_1,int *param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);\n  if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00052f50(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);\n  if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);" (assignment_expression "uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0)" identifier = (binary_expression "(uint)(*param_2 == 0) - (uint)(*param_1 == 0)" (call_expression "(uint)(*param_2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) ))) - (call_expression "(uint)(*param_1 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) ))))) ;) (if_statement "if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }" { (expression_statement "uVar1 = FUN_00052dd0();" (assignment_expression "uVar1 = FUN_00052dd0()" identifier = (call_expression "FUN_00052dd0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }" { (expression_statement "uVar1 = (param_1[1] ^ param_2[6]) & 7;" (assignment_expression "uVar1 = (param_1[1] ^ param_2[6]) & 7" identifier = (binary_expression "(param_1[1] ^ param_2[6]) & 7" (parenthesized_expression "(param_1[1] ^ param_2[6])" ( (binary_expression "param_1[1] ^ param_2[6]" (subscript_expression "param_1[1]" identifier [ number_literal ]) ^ (subscript_expression "param_2[6]" identifier [ number_literal ])) )) & number_literal)) ;) (if_statement "if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }" { (return_statement "return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;" return (binary_expression "(uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1" (binary_expression "(uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2" (call_expression "(uint)((param_2[6] & 7U) <= (param_1[1] & 7U))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((param_2[6] & 7U) <= (param_1[1] & 7U))" ( (binary_expression "(param_2[6] & 7U) <= (param_1[1] & 7U)" (parenthesized_expression "(param_2[6] & 7U)" ( (binary_expression "param_2[6] & 7U" (subscript_expression "param_2[6]" identifier [ number_literal ]) & number_literal) )) <= (parenthesized_expression "(param_1[1] & 7U)" ( (binary_expression "param_1[1] & 7U" (subscript_expression "param_1[1]" identifier [ number_literal ]) & number_literal) ))) ))) * number_literal) - number_literal) ;) })) })) })) (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 = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) == LIT) ))) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) == LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) ^ (subscript_expression IDENT [ LIT ])) )) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) <= (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) ))) ))) * LIT) - LIT) ;) })) })) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00052f50(int *param_1,int *param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);\n  if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_00052f50(int *param_1,int *param_2)" (identifier "FUN_00052f50") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);\n  if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);" (assignment_expression "uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0)" (identifier "uVar1") (= "=") (binary_expression "(uint)(*param_2 == 0) - (uint)(*param_1 == 0)" (call_expression "(uint)(*param_2 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*param_2 == 0)" (( "(") (binary_expression "*param_2 == 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0")) () ")"))) (- "-") (call_expression "(uint)(*param_1 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")"))))) (; ";")) (if_statement "if (uVar1 == 0) {\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = FUN_00052dd0();\n    if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }\n  }" ({ "{") (expression_statement "uVar1 = FUN_00052dd0();" (assignment_expression "uVar1 = FUN_00052dd0()" (identifier "uVar1") (= "=") (call_expression "FUN_00052dd0()" (identifier "FUN_00052dd0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (uVar1 == 0) {\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = (param_1[1] ^ param_2[6]) & 7;\n      if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }\n    }" ({ "{") (expression_statement "uVar1 = (param_1[1] ^ param_2[6]) & 7;" (assignment_expression "uVar1 = (param_1[1] ^ param_2[6]) & 7" (identifier "uVar1") (= "=") (binary_expression "(param_1[1] ^ param_2[6]) & 7" (parenthesized_expression "(param_1[1] ^ param_2[6])" (( "(") (binary_expression "param_1[1] ^ param_2[6]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (^ "^") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) () ")")) (& "&") (number_literal "7"))) (; ";")) (if_statement "if (uVar1 != 0) {\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }" (if "if") (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;\n      }" ({ "{") (return_statement "return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;" (return "return") (binary_expression "(uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1" (binary_expression "(uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2" (call_expression "(uint)((param_2[6] & 7U) <= (param_1[1] & 7U))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((param_2[6] & 7U) <= (param_1[1] & 7U))" (( "(") (binary_expression "(param_2[6] & 7U) <= (param_1[1] & 7U)" (parenthesized_expression "(param_2[6] & 7U)" (( "(") (binary_expression "param_2[6] & 7U" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (& "&") (number_literal "7U")) () ")")) (<= "<=") (parenthesized_expression "(param_1[1] & 7U)" (( "(") (binary_expression "param_1[1] & 7U" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "7U")) () ")"))) () ")"))) (* "*") (number_literal "2")) (- "-") (number_literal "1")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void *av,void *bv)

{
  type_1 var_1;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  var_1 = (type_1)(*bv == (char *)0x0) - (type_1)(*av == (char *)0x0);
  if (var_1 == 0) {
    var_1 = var_2(*av,*bv);
    if (var_1 == 0) {
      var_1 = (*(type_1 *)((int)av + 4) ^ *(type_1 *)((int)bv + 0x18)) & 7;
      if (var_1 != 0) {
        return (type_1)((*(type_1 *)((int)bv + 0x18) & 7) <= (*(type_1 *)((int)av + 4) & 7)) * 2 + -1;
      }
    }
  }
  return var_1;
}


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

uint MASKED(int *param_1,int *param_2)

{
  uint uVar1;
  
  uVar1 = (uint)(*param_2 == 0) - (uint)(*param_1 == 0);
  if (uVar1 == 0) {
    uVar1 = FUN_00052dd0();
    if (uVar1 == 0) {
      uVar1 = (param_1[1] ^ param_2[6]) & 7;
      if (uVar1 != 0) {
        return (uint)((param_2[6] & 7U) <= (param_1[1] & 7U)) * 2 - 1;
      }
    }
  }
  return uVar1;
}

