
/* WARNING: Unknown calling convention */

int __gmpf_fits_ushort_p(mpf_srcptr f)

{
  uint uVar1;
  
  uVar1 = 1;
  if (0 < f->_mp_exp) {
    uVar1 = 0;
    if ((-1 < f->_mp_size) && (f->_mp_exp == 1)) {
      uVar1 = (uint)(f->_mp_d[f->_mp_size + -1] < 0x10000);
    }
  }
  return uVar1;
}



bool __gmpf_fits_ushort_p(int param_1)

{
  bool bVar1;
  
  bVar1 = true;
  if (0 < *(int *)(param_1 + 8)) {
    bVar1 = false;
    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {
      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;
    }
  }
  return bVar1;
}


PUSH EBX
MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,0x1
MOV ECX,dword ptr [EDX + 0x8]
TEST ECX,ECX
JLE 0x000226f0
MOV EBX,dword ptr [EDX + 0x4]
XOR EAX,EAX
TEST EBX,EBX
JS 0x000226f0
CMP ECX,0x1
JNZ 0x000226f0
MOV EAX,dword ptr [EDX + 0xc]
CMP dword ptr [EAX + EBX*0x4 + -0x4],0xffff
SETBE AL
MOVZX EAX,AL
POP EBX
RET
(translation_unit "bool __gmpf_fits_ushort_p(int param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }\n  return bVar1;\n}\n\n" (function_definition "bool __gmpf_fits_ushort_p(int param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }\n  return bVar1;\n}" primitive_type (function_declarator "__gmpf_fits_ushort_p(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 8))" ( (binary_expression "0 < *(int *)(param_1 + 8)" number_literal < (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (if_statement "if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }" if (parenthesized_expression "((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1))" ( (binary_expression "(-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)" (parenthesized_expression "(-1 < *(int *)(param_1 + 4))" ( (binary_expression "-1 < *(int *)(param_1 + 4)" number_literal < (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) && (parenthesized_expression "(*(int *)(param_1 + 8) == 1)" ( (binary_expression "*(int *)(param_1 + 8) == 1" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }" { (expression_statement "bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;" (assignment_expression "bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000" identifier = (binary_expression "*(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000" (pointer_expression "*(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4)" * (cast_expression "(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4" (binary_expression "*(int *)(param_1 + 0xc) + -4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) + (binary_expression "*(int *)(param_1 + 4) * 4" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) * number_literal)) )))) < number_literal)) ;) })) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint __gmpf_fits_ushort_p(mpf_srcptr f)\n\n{\n  uint uVar1;\n  \n  uVar1 = 1;\n  if (0 < f->_mp_exp) {\n    uVar1 = 0;\n    if ((-1 < f->_mp_size) && (f->_mp_exp == 1)) {\n      uVar1 = (uint)(f->_mp_d[f->_mp_size + -1] < 0x10000);\n    }\n  }\n  return uVar1;\n}\n\n" comment (function_definition "int __gmpf_fits_ushort_p(mpf_srcptr f)\n\n{\n  uint uVar1;\n  \n  uVar1 = 1;\n  if (0 < f->_mp_exp) {\n    uVar1 = 0;\n    if ((-1 < f->_mp_size) && (f->_mp_exp == 1)) {\n      uVar1 = (uint)(f->_mp_d[f->_mp_size + -1] < 0x10000);\n    }\n  }\n  return uVar1;\n}" primitive_type (function_declarator "__gmpf_fits_ushort_p(mpf_srcptr f)" identifier (parameter_list "(mpf_srcptr f)" ( (parameter_declaration "mpf_srcptr f" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 1;\n  if (0 < f->_mp_exp) {\n    uVar1 = 0;\n    if ((-1 < f->_mp_size) && (f->_mp_exp == 1)) {\n      uVar1 = (uint)(f->_mp_d[f->_mp_size + -1] < 0x10000);\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (0 < f->_mp_exp) {\n    uVar1 = 0;\n    if ((-1 < f->_mp_size) && (f->_mp_exp == 1)) {\n      uVar1 = (uint)(f->_mp_d[f->_mp_size + -1] < 0x10000);\n    }\n  }" if (parenthesized_expression "(0 < f->_mp_exp)" ( (binary_expression "0 < f->_mp_exp" number_literal < (field_expression "f->_mp_exp" identifier -> field_identifier)) )) (compound_statement "{\n    uVar1 = 0;\n    if ((-1 < f->_mp_size) && (f->_mp_exp == 1)) {\n      uVar1 = (uint)(f->_mp_d[f->_mp_size + -1] < 0x10000);\n    }\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if ((-1 < f->_mp_size) && (f->_mp_exp == 1)) {\n      uVar1 = (uint)(f->_mp_d[f->_mp_size + -1] < 0x10000);\n    }" if (parenthesized_expression "((-1 < f->_mp_size) && (f->_mp_exp == 1))" ( (binary_expression "(-1 < f->_mp_size) && (f->_mp_exp == 1)" (parenthesized_expression "(-1 < f->_mp_size)" ( (binary_expression "-1 < f->_mp_size" number_literal < (field_expression "f->_mp_size" identifier -> field_identifier)) )) && (parenthesized_expression "(f->_mp_exp == 1)" ( (binary_expression "f->_mp_exp == 1" (field_expression "f->_mp_exp" identifier -> field_identifier) == number_literal) ))) )) (compound_statement "{\n      uVar1 = (uint)(f->_mp_d[f->_mp_size + -1] < 0x10000);\n    }" { (expression_statement "uVar1 = (uint)(f->_mp_d[f->_mp_size + -1] < 0x10000);" (assignment_expression "uVar1 = (uint)(f->_mp_d[f->_mp_size + -1] < 0x10000)" identifier = (call_expression "(uint)(f->_mp_d[f->_mp_size + -1] < 0x10000)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(f->_mp_d[f->_mp_size + -1] < 0x10000)" ( (binary_expression "f->_mp_d[f->_mp_size + -1] < 0x10000" (subscript_expression "f->_mp_d[f->_mp_size + -1]" (field_expression "f->_mp_d" identifier -> field_identifier) [ (binary_expression "f->_mp_size + -1" (field_expression "f->_mp_size" identifier -> field_identifier) + number_literal) ]) < number_literal) )))) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "bool __gmpf_fits_ushort_p(int param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }\n  return bVar1;\n}\n\n" (function_definition "bool __gmpf_fits_ushort_p(int param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }\n  return bVar1;\n}" primitive_type (function_declarator "__gmpf_fits_ushort_p(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 8))" ( (binary_expression "0 < *(int *)(param_1 + 8)" number_literal < (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (if_statement "if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }" if (parenthesized_expression "((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1))" ( (binary_expression "(-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)" (parenthesized_expression "(-1 < *(int *)(param_1 + 4))" ( (binary_expression "-1 < *(int *)(param_1 + 4)" number_literal < (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) && (parenthesized_expression "(*(int *)(param_1 + 8) == 1)" ( (binary_expression "*(int *)(param_1 + 8) == 1" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }" { (expression_statement "bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;" (assignment_expression "bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000" identifier = (binary_expression "*(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000" (pointer_expression "*(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4)" * (cast_expression "(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4" (binary_expression "*(int *)(param_1 + 0xc) + -4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) + (binary_expression "*(int *)(param_1 + 4) * 4" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) * number_literal)) )))) < number_literal)) ;) })) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) < LIT)) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "bool __gmpf_fits_ushort_p(int param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }\n  return bVar1;\n}" (primitive_type "bool") (function_declarator "__gmpf_fits_ushort_p(int param_1)" (identifier "__gmpf_fits_ushort_p") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }\n  return bVar1;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (if_statement "if (0 < *(int *)(param_1 + 8)) {\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 8))" (( "(") (binary_expression "0 < *(int *)(param_1 + 8)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n    bVar1 = false;\n    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }\n  }" ({ "{") (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (if_statement "if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }" (if "if") (parenthesized_expression "((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1))" (( "(") (binary_expression "(-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)" (parenthesized_expression "(-1 < *(int *)(param_1 + 4))" (( "(") (binary_expression "-1 < *(int *)(param_1 + 4)" (number_literal "-1") (< "<") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 8) == 1)" (( "(") (binary_expression "*(int *)(param_1 + 8) == 1" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;\n    }" ({ "{") (expression_statement "bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;" (assignment_expression "bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000" (identifier "bVar1") (= "=") (binary_expression "*(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000" (pointer_expression "*(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4)" (* "*") (cast_expression "(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4" (binary_expression "*(int *)(param_1 + 0xc) + -4" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "-4")) (+ "+") (binary_expression "*(int *)(param_1 + 4) * 4" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (< "<") (number_literal "0x10000"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return bVar1;" (return "return") (identifier "bVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(type_1 f)

{
  type_2 uVar1;
  
  uVar1 = 1;
  if (0 < f->_mp_exp) {
    uVar1 = 0;
    if ((-1 < f->_mp_size) && (f->_mp_exp == 1)) {
      uVar1 = (type_2)(f->_mp_d[f->_mp_size + -1] < 0x10000);
    }
  }
  return uVar1;
}


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

bool MASKED(int param_1)

{
  bool bVar1;
  
  bVar1 = true;
  if (0 < *(int *)(param_1 + 8)) {
    bVar1 = false;
    if ((-1 < *(int *)(param_1 + 4)) && (*(int *)(param_1 + 8) == 1)) {
      bVar1 = *(uint *)(*(int *)(param_1 + 0xc) + -4 + *(int *)(param_1 + 4) * 4) < 0x10000;
    }
  }
  return bVar1;
}

