
/* WARNING: Switch with 1 destination removed at 0x0001b230 */

int __gmpz_cmpabs_ui(mpz_srcptr u,ulong v_digit)

{
  uint uVar1;
  
  uVar1 = u->_mp_size;
  if (uVar1 == 0) {
    return -(uint)(v_digit != 0);
  }
  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) && (*u->_mp_d <= v_digit)) {
    return -(uint)(*u->_mp_d < v_digit);
  }
  return 1;
}



/* WARNING: Switch with 1 destination removed at 0x0001b230 */

int __gmpz_cmpabs_ui(int param_1,uint param_2)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_1 + 4);
  if (uVar1 == 0) {
    return -(uint)(param_2 != 0);
  }
  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&
     (**(uint **)(param_1 + 8) <= param_2)) {
    return -(uint)(**(uint **)(param_1 + 8) < param_2);
  }
  return 1;
}


JMP dword ptr [EBX + 0x88]
(translation_unit "/* WARNING: Switch with 1 destination removed at 0x0001b230 */\n\nint __gmpz_cmpabs_ui(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }\n  return 1;\n}\n\n" comment (function_definition "int __gmpz_cmpabs_ui(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }\n  return 1;\n}" primitive_type (function_declarator "__gmpz_cmpabs_ui(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }\n  return 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 4);" (assignment_expression "uVar1 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return -(uint)(param_2 != 0);\n  }" { (return_statement "return -(uint)(param_2 != 0);" return (unary_expression "-(uint)(param_2 != 0)" - (call_expression "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )))) ;) })) (if_statement "if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }" if (parenthesized_expression "(((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2))" ( (binary_expression "((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)" (parenthesized_expression "((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1)" ( (binary_expression "(uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1" (binary_expression "(uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f)" (parenthesized_expression "(uVar1 ^ (int)uVar1 >> 0x1f)" ( (binary_expression "uVar1 ^ (int)uVar1 >> 0x1f" identifier ^ (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) - (parenthesized_expression "((int)uVar1 >> 0x1f)" ( (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "(**(uint **)(param_1 + 8) <= param_2)" ( (binary_expression "**(uint **)(param_1 + 8) <= param_2" (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) ))))) <= identifier) ))) )) (compound_statement "{\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }" { (return_statement "return -(uint)(**(uint **)(param_1 + 8) < param_2);" return (unary_expression "-(uint)(**(uint **)(param_1 + 8) < param_2)" - (call_expression "(uint)(**(uint **)(param_1 + 8) < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(**(uint **)(param_1 + 8) < param_2)" ( (binary_expression "**(uint **)(param_1 + 8) < param_2" (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) ))))) < identifier) )))) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Switch with 1 destination removed at 0x0001b230 */\n\nint __gmpz_cmpabs_ui(mpz_srcptr u,ulong v_digit)\n\n{\n  uint uVar1;\n  \n  uVar1 = u->_mp_size;\n  if (uVar1 == 0) {\n    return -(uint)(v_digit != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) && (*u->_mp_d <= v_digit)) {\n    return -(uint)(*u->_mp_d < v_digit);\n  }\n  return 1;\n}\n\n" comment (function_definition "int __gmpz_cmpabs_ui(mpz_srcptr u,ulong v_digit)\n\n{\n  uint uVar1;\n  \n  uVar1 = u->_mp_size;\n  if (uVar1 == 0) {\n    return -(uint)(v_digit != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) && (*u->_mp_d <= v_digit)) {\n    return -(uint)(*u->_mp_d < v_digit);\n  }\n  return 1;\n}" primitive_type (function_declarator "__gmpz_cmpabs_ui(mpz_srcptr u,ulong v_digit)" identifier (parameter_list "(mpz_srcptr u,ulong v_digit)" ( (parameter_declaration "mpz_srcptr u" type_identifier identifier) , (parameter_declaration "ulong v_digit" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = u->_mp_size;\n  if (uVar1 == 0) {\n    return -(uint)(v_digit != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) && (*u->_mp_d <= v_digit)) {\n    return -(uint)(*u->_mp_d < v_digit);\n  }\n  return 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = u->_mp_size;" (assignment_expression "uVar1 = u->_mp_size" identifier = (field_expression "u->_mp_size" identifier -> field_identifier)) ;) (if_statement "if (uVar1 == 0) {\n    return -(uint)(v_digit != 0);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return -(uint)(v_digit != 0);\n  }" { (return_statement "return -(uint)(v_digit != 0);" return (unary_expression "-(uint)(v_digit != 0)" - (call_expression "(uint)(v_digit != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(v_digit != 0)" ( (binary_expression "v_digit != 0" identifier != number_literal) )))) ;) })) (if_statement "if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) && (*u->_mp_d <= v_digit)) {\n    return -(uint)(*u->_mp_d < v_digit);\n  }" if (parenthesized_expression "(((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) && (*u->_mp_d <= v_digit))" ( (binary_expression "((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) && (*u->_mp_d <= v_digit)" (parenthesized_expression "((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1)" ( (binary_expression "(uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1" (binary_expression "(uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f)" (parenthesized_expression "(uVar1 ^ (int)uVar1 >> 0x1f)" ( (binary_expression "uVar1 ^ (int)uVar1 >> 0x1f" identifier ^ (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) - (parenthesized_expression "((int)uVar1 >> 0x1f)" ( (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "(*u->_mp_d <= v_digit)" ( (binary_expression "*u->_mp_d <= v_digit" (pointer_expression "*u->_mp_d" * (field_expression "u->_mp_d" identifier -> field_identifier)) <= identifier) ))) )) (compound_statement "{\n    return -(uint)(*u->_mp_d < v_digit);\n  }" { (return_statement "return -(uint)(*u->_mp_d < v_digit);" return (unary_expression "-(uint)(*u->_mp_d < v_digit)" - (call_expression "(uint)(*u->_mp_d < v_digit)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*u->_mp_d < v_digit)" ( (binary_expression "*u->_mp_d < v_digit" (pointer_expression "*u->_mp_d" * (field_expression "u->_mp_d" identifier -> field_identifier)) < identifier) )))) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int __gmpz_cmpabs_ui(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }\n  return 1;\n}\n\n" (function_definition "int __gmpz_cmpabs_ui(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }\n  return 1;\n}" primitive_type (function_declarator "__gmpz_cmpabs_ui(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }\n  return 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 4);" (assignment_expression "uVar1 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return -(uint)(param_2 != 0);\n  }" { (return_statement "return -(uint)(param_2 != 0);" return (unary_expression "-(uint)(param_2 != 0)" - (call_expression "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )))) ;) })) (if_statement "if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }" if (parenthesized_expression "(((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2))" ( (binary_expression "((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)" (parenthesized_expression "((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1)" ( (binary_expression "(uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1" (binary_expression "(uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f)" (parenthesized_expression "(uVar1 ^ (int)uVar1 >> 0x1f)" ( (binary_expression "uVar1 ^ (int)uVar1 >> 0x1f" identifier ^ (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) - (parenthesized_expression "((int)uVar1 >> 0x1f)" ( (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "(**(uint **)(param_1 + 8) <= param_2)" ( (binary_expression "**(uint **)(param_1 + 8) <= param_2" (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) ))))) <= identifier) ))) )) (compound_statement "{\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }" { (return_statement "return -(uint)(**(uint **)(param_1 + 8) < param_2);" return (unary_expression "-(uint)(**(uint **)(param_1 + 8) < param_2)" - (call_expression "(uint)(**(uint **)(param_1 + 8) < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(**(uint **)(param_1 + 8) < param_2)" ( (binary_expression "**(uint **)(param_1 + 8) < param_2" (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) ))))) < identifier) )))) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) )) - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) <= IDENT) ))) )) (compound_statement { (return_statement return (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < IDENT) )))) ;) })) (return_statement return LIT ;) })))
(function_definition "int __gmpz_cmpabs_ui(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }\n  return 1;\n}" (primitive_type "int") (function_declarator "__gmpz_cmpabs_ui(int param_1,uint param_2)" (identifier "__gmpz_cmpabs_ui") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }\n  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }\n  return 1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 4);" (assignment_expression "uVar1 = *(uint *)(param_1 + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (uVar1 == 0) {\n    return -(uint)(param_2 != 0);\n  }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return -(uint)(param_2 != 0);\n  }" ({ "{") (return_statement "return -(uint)(param_2 != 0);" (return "return") (unary_expression "-(uint)(param_2 != 0)" (- "-") (call_expression "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}"))) (if_statement "if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)) {\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }" (if "if") (parenthesized_expression "(((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2))" (( "(") (binary_expression "((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&\n     (**(uint **)(param_1 + 8) <= param_2)" (parenthesized_expression "((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1)" (( "(") (binary_expression "(uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1" (binary_expression "(uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f)" (parenthesized_expression "(uVar1 ^ (int)uVar1 >> 0x1f)" (( "(") (binary_expression "uVar1 ^ (int)uVar1 >> 0x1f" (identifier "uVar1") (^ "^") (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (>> ">>") (number_literal "0x1f"))) () ")")) (- "-") (parenthesized_expression "((int)uVar1 >> 0x1f)" (( "(") (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (>> ">>") (number_literal "0x1f")) () ")"))) (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(**(uint **)(param_1 + 8) <= param_2)" (( "(") (binary_expression "**(uint **)(param_1 + 8) <= param_2" (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")) () ")"))))) (<= "<=") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n    return -(uint)(**(uint **)(param_1 + 8) < param_2);\n  }" ({ "{") (return_statement "return -(uint)(**(uint **)(param_1 + 8) < param_2);" (return "return") (unary_expression "-(uint)(**(uint **)(param_1 + 8) < param_2)" (- "-") (call_expression "(uint)(**(uint **)(param_1 + 8) < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(**(uint **)(param_1 + 8) < param_2)" (( "(") (binary_expression "**(uint **)(param_1 + 8) < param_2" (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")) () ")"))))) (< "<") (identifier "param_2")) () ")")))) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Switch with 1 destination removed at 0x0001b230 */

int function_1(type_1 u,type_2 var_2)

{
  type_3 var_1;
  
  var_1 = u->_mp_size;
  if (var_1 == 0) {
    return -(type_3)(var_2 != 0);
  }
  if (((var_1 ^ (int)var_1 >> 0x1f) - ((int)var_1 >> 0x1f) == 1) && (*u->_mp_d <= var_2)) {
    return -(type_3)(*u->_mp_d < var_2);
  }
  return 1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (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: (identifier))))) consequence: (compound_statement (return_statement (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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: (identifier)))))))) (return_statement (number_literal)))))

/* WARNING: Switch with 1 destination removed at 0x0001b230 */

int MASKED(int param_1,uint param_2)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_1 + 4);
  if (uVar1 == 0) {
    return -(uint)(param_2 != 0);
  }
  if (((uVar1 ^ (int)uVar1 >> 0x1f) - ((int)uVar1 >> 0x1f) == 1) &&
     (**(uint **)(param_1 + 8) <= param_2)) {
    return -(uint)(**(uint **)(param_1 + 8) < param_2);
  }
  return 1;
}

