
/* WARNING: Unknown calling convention */

int __gmpz_fits_sshort_p(mpz_srcptr z)

{
  int iVar1;
  int iVar2;
  
  iVar1 = z->_mp_size;
  iVar2 = 1;
  if (iVar1 != 0) {
    if (iVar1 == 1) {
      return (uint)(*z->_mp_d < 0x8000);
    }
    iVar2 = 0;
    if (iVar1 == -1) {
      return (uint)(*z->_mp_d < 0x8001);
    }
  }
  return iVar2;
}



bool __gmpz_fits_sshort_p(int param_1)

{
  int iVar1;
  bool bVar2;
  
  iVar1 = *(int *)(param_1 + 4);
  bVar2 = true;
  if (iVar1 != 0) {
    if (iVar1 == 1) {
      return **(uint **)(param_1 + 8) < 0x8000;
    }
    bVar2 = false;
    if (iVar1 == -1) {
      return **(uint **)(param_1 + 8) < 0x8001;
    }
  }
  return bVar2;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EAX + 0x8]
MOV ECX,dword ptr [EAX]
MOV EAX,0x1
TEST EDX,EDX
JZ 0x000294a1
CMP EDX,0x1
JZ 0x000294b8
XOR EAX,EAX
CMP EDX,-0x1
JZ 0x000294a8
RET
XOR EAX,EAX
CMP ECX,0x8000
SETBE AL
RET
XOR EAX,EAX
CMP ECX,0x7fff
SETBE AL
RET
(translation_unit "bool __gmpz_fits_sshort_p(int param_1)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  bVar2 = true;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }\n  return bVar2;\n}\n\n" (function_definition "bool __gmpz_fits_sshort_p(int param_1)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  bVar2 = true;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }\n  return bVar2;\n}" primitive_type (function_declarator "__gmpz_fits_sshort_p(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  bVar2 = true;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }\n  return bVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" identifier = (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) ))))) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (if_statement "if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }" { (if_statement "if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }" { (return_statement "return **(uint **)(param_1 + 8) < 0x8000;" return (binary_expression "**(uint **)(param_1 + 8) < 0x8000" (pointer_expression "**(uint **)(param_1 + 8)" * (pointer_expression "*(uint **)(param_1 + 8)" * (cast_expression "(uint **)(param_1 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) < number_literal) ;) })) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (if_statement "if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }" { (return_statement "return **(uint **)(param_1 + 8) < 0x8001;" return (binary_expression "**(uint **)(param_1 + 8) < 0x8001" (pointer_expression "**(uint **)(param_1 + 8)" * (pointer_expression "*(uint **)(param_1 + 8)" * (cast_expression "(uint **)(param_1 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) < number_literal) ;) })) })) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint __gmpz_fits_sshort_p(mpz_srcptr z)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = z->_mp_size;\n  iVar2 = 1;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return (uint)(*z->_mp_d < 0x8000);\n    }\n    iVar2 = 0;\n    if (iVar1 == -1) {\n      return (uint)(*z->_mp_d < 0x8001);\n    }\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int __gmpz_fits_sshort_p(mpz_srcptr z)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = z->_mp_size;\n  iVar2 = 1;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return (uint)(*z->_mp_d < 0x8000);\n    }\n    iVar2 = 0;\n    if (iVar1 == -1) {\n      return (uint)(*z->_mp_d < 0x8001);\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "__gmpz_fits_sshort_p(mpz_srcptr z)" identifier (parameter_list "(mpz_srcptr z)" ( (parameter_declaration "mpz_srcptr z" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = z->_mp_size;\n  iVar2 = 1;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return (uint)(*z->_mp_d < 0x8000);\n    }\n    iVar2 = 0;\n    if (iVar1 == -1) {\n      return (uint)(*z->_mp_d < 0x8001);\n    }\n  }\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = z->_mp_size;" (assignment_expression "iVar1 = z->_mp_size" identifier = (field_expression "z->_mp_size" identifier -> field_identifier)) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return (uint)(*z->_mp_d < 0x8000);\n    }\n    iVar2 = 0;\n    if (iVar1 == -1) {\n      return (uint)(*z->_mp_d < 0x8001);\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (iVar1 == 1) {\n      return (uint)(*z->_mp_d < 0x8000);\n    }\n    iVar2 = 0;\n    if (iVar1 == -1) {\n      return (uint)(*z->_mp_d < 0x8001);\n    }\n  }" { (if_statement "if (iVar1 == 1) {\n      return (uint)(*z->_mp_d < 0x8000);\n    }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      return (uint)(*z->_mp_d < 0x8000);\n    }" { (return_statement "return (uint)(*z->_mp_d < 0x8000);" return (call_expression "(uint)(*z->_mp_d < 0x8000)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*z->_mp_d < 0x8000)" ( (binary_expression "*z->_mp_d < 0x8000" (pointer_expression "*z->_mp_d" * (field_expression "z->_mp_d" identifier -> field_identifier)) < number_literal) ))) ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar1 == -1) {\n      return (uint)(*z->_mp_d < 0x8001);\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      return (uint)(*z->_mp_d < 0x8001);\n    }" { (return_statement "return (uint)(*z->_mp_d < 0x8001);" return (call_expression "(uint)(*z->_mp_d < 0x8001)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*z->_mp_d < 0x8001)" ( (binary_expression "*z->_mp_d < 0x8001" (pointer_expression "*z->_mp_d" * (field_expression "z->_mp_d" identifier -> field_identifier)) < number_literal) ))) ;) })) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "bool __gmpz_fits_sshort_p(int param_1)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  bVar2 = true;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }\n  return bVar2;\n}\n\n" (function_definition "bool __gmpz_fits_sshort_p(int param_1)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  bVar2 = true;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }\n  return bVar2;\n}" primitive_type (function_declarator "__gmpz_fits_sshort_p(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  bVar2 = true;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }\n  return bVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" identifier = (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) ))))) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (if_statement "if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }" { (if_statement "if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }" { (return_statement "return **(uint **)(param_1 + 8) < 0x8000;" return (binary_expression "**(uint **)(param_1 + 8) < 0x8000" (pointer_expression "**(uint **)(param_1 + 8)" * (pointer_expression "*(uint **)(param_1 + 8)" * (cast_expression "(uint **)(param_1 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) < number_literal) ;) })) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (if_statement "if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }" { (return_statement "return **(uint **)(param_1 + 8) < 0x8001;" return (binary_expression "**(uint **)(param_1 + 8) < 0x8001" (pointer_expression "**(uint **)(param_1 + 8)" * (pointer_expression "*(uint **)(param_1 + 8)" * (cast_expression "(uint **)(param_1 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) < number_literal) ;) })) })) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < LIT) ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < LIT) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "bool __gmpz_fits_sshort_p(int param_1)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  bVar2 = true;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }\n  return bVar2;\n}" (primitive_type "bool") (function_declarator "__gmpz_fits_sshort_p(int param_1)" (identifier "__gmpz_fits_sshort_p") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  bVar2 = true;\n  if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }\n  return bVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" (identifier "iVar1") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" (identifier "bVar2") (= "=") (true "true")) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }\n    bVar2 = false;\n    if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }\n  }" ({ "{") (if_statement "if (iVar1 == 1) {\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }" (if "if") (parenthesized_expression "(iVar1 == 1)" (( "(") (binary_expression "iVar1 == 1" (identifier "iVar1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      return **(uint **)(param_1 + 8) < 0x8000;\n    }" ({ "{") (return_statement "return **(uint **)(param_1 + 8) < 0x8000;" (return "return") (binary_expression "**(uint **)(param_1 + 8) < 0x8000" (pointer_expression "**(uint **)(param_1 + 8)" (* "*") (pointer_expression "*(uint **)(param_1 + 8)" (* "*") (cast_expression "(uint **)(param_1 + 8)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (< "<") (number_literal "0x8000")) (; ";")) (} "}"))) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (if_statement "if (iVar1 == -1) {\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }" (if "if") (parenthesized_expression "(iVar1 == -1)" (( "(") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      return **(uint **)(param_1 + 8) < 0x8001;\n    }" ({ "{") (return_statement "return **(uint **)(param_1 + 8) < 0x8001;" (return "return") (binary_expression "**(uint **)(param_1 + 8) < 0x8001" (pointer_expression "**(uint **)(param_1 + 8)" (* "*") (pointer_expression "*(uint **)(param_1 + 8)" (* "*") (cast_expression "(uint **)(param_1 + 8)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (< "<") (number_literal "0x8001")) (; ";")) (} "}"))) (} "}"))) (return_statement "return bVar2;" (return "return") (identifier "bVar2") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(type_1 z)

{
  int var_1;
  int iVar2;
  
  var_1 = z->_mp_size;
  iVar2 = 1;
  if (var_1 != 0) {
    if (var_1 == 1) {
      return (uint)(*z->_mp_d < 0x8000);
    }
    iVar2 = 0;
    if (var_1 == -1) {
      return (uint)(*z->_mp_d < 0x8001);
    }
  }
  return iVar2;
}


(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)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) 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))))))) (expression_statement (assignment_expression left: (identifier) right: (true))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (false))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))))) (return_statement (identifier)))))

bool MASKED(int param_1)

{
  int iVar1;
  bool bVar2;
  
  iVar1 = *(int *)(param_1 + 4);
  bVar2 = true;
  if (iVar1 != 0) {
    if (iVar1 == 1) {
      return **(uint **)(param_1 + 8) < 0x8000;
    }
    bVar2 = false;
    if (iVar1 == -1) {
      return **(uint **)(param_1 + 8) < 0x8001;
    }
  }
  return bVar2;
}

