
void __gmpf_set_prec_raw(mpf_ptr x,mp_bitcnt_t prec_in_bits)

{
  if (prec_in_bits < 0x35) {
    prec_in_bits = 0x35;
  }
  x->_mp_prec = (int)(prec_in_bits + 0x7f >> 6);
  return;
}



void __gmpf_set_prec_raw(undefined4 *param_1,ulong param_2)

{
  if (param_2 < 0x35) {
    param_2 = 0x35;
  }
  *param_1 = (int)(param_2 + 0x7f >> 6);
  return;
}


CMP RSI,0x35
MOV EAX,0x35
CMOVC RSI,RAX
ADD RSI,0x7f
SHR RSI,0x6
MOV dword ptr [RDI],ESI
RET
(translation_unit "void __gmpf_set_prec_raw(undefined4 *param_1,ulong param_2)\n\n{\n  if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }\n  *param_1 = (int)(param_2 + 0x7f >> 6);\n  return;\n}\n\n" (function_definition "void __gmpf_set_prec_raw(undefined4 *param_1,ulong param_2)\n\n{\n  if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }\n  *param_1 = (int)(param_2 + 0x7f >> 6);\n  return;\n}" primitive_type (function_declarator "__gmpf_set_prec_raw(undefined4 *param_1,ulong param_2)" identifier (parameter_list "(undefined4 *param_1,ulong param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }\n  *param_1 = (int)(param_2 + 0x7f >> 6);\n  return;\n}" { (if_statement "if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }" if (parenthesized_expression "(param_2 < 0x35)" ( (binary_expression "param_2 < 0x35" identifier < number_literal) )) (compound_statement "{\n    param_2 = 0x35;\n  }" { (expression_statement "param_2 = 0x35;" (assignment_expression "param_2 = 0x35" identifier = number_literal) ;) })) (expression_statement "*param_1 = (int)(param_2 + 0x7f >> 6);" (assignment_expression "*param_1 = (int)(param_2 + 0x7f >> 6)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_2 + 0x7f >> 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_2 + 0x7f >> 6)" ( (binary_expression "param_2 + 0x7f >> 6" (binary_expression "param_2 + 0x7f" identifier + number_literal) >> number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpf_set_prec_raw(mpf_ptr x,mp_bitcnt_t prec_in_bits)\n\n{\n  if (prec_in_bits < 0x35) {\n    prec_in_bits = 0x35;\n  }\n  x->_mp_prec = (int)(prec_in_bits + 0x7f >> 6);\n  return;\n}\n\n" (function_definition "void __gmpf_set_prec_raw(mpf_ptr x,mp_bitcnt_t prec_in_bits)\n\n{\n  if (prec_in_bits < 0x35) {\n    prec_in_bits = 0x35;\n  }\n  x->_mp_prec = (int)(prec_in_bits + 0x7f >> 6);\n  return;\n}" primitive_type (function_declarator "__gmpf_set_prec_raw(mpf_ptr x,mp_bitcnt_t prec_in_bits)" identifier (parameter_list "(mpf_ptr x,mp_bitcnt_t prec_in_bits)" ( (parameter_declaration "mpf_ptr x" type_identifier identifier) , (parameter_declaration "mp_bitcnt_t prec_in_bits" type_identifier identifier) ))) (compound_statement "{\n  if (prec_in_bits < 0x35) {\n    prec_in_bits = 0x35;\n  }\n  x->_mp_prec = (int)(prec_in_bits + 0x7f >> 6);\n  return;\n}" { (if_statement "if (prec_in_bits < 0x35) {\n    prec_in_bits = 0x35;\n  }" if (parenthesized_expression "(prec_in_bits < 0x35)" ( (binary_expression "prec_in_bits < 0x35" identifier < number_literal) )) (compound_statement "{\n    prec_in_bits = 0x35;\n  }" { (expression_statement "prec_in_bits = 0x35;" (assignment_expression "prec_in_bits = 0x35" identifier = number_literal) ;) })) (expression_statement "x->_mp_prec = (int)(prec_in_bits + 0x7f >> 6);" (assignment_expression "x->_mp_prec = (int)(prec_in_bits + 0x7f >> 6)" (field_expression "x->_mp_prec" identifier -> field_identifier) = (cast_expression "(int)(prec_in_bits + 0x7f >> 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(prec_in_bits + 0x7f >> 6)" ( (binary_expression "prec_in_bits + 0x7f >> 6" (binary_expression "prec_in_bits + 0x7f" identifier + number_literal) >> number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpf_set_prec_raw(undefined4 *param_1,ulong param_2)\n\n{\n  if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }\n  *param_1 = (int)(param_2 + 0x7f >> 6);\n  return;\n}\n\n" (function_definition "void __gmpf_set_prec_raw(undefined4 *param_1,ulong param_2)\n\n{\n  if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }\n  *param_1 = (int)(param_2 + 0x7f >> 6);\n  return;\n}" primitive_type (function_declarator "__gmpf_set_prec_raw(undefined4 *param_1,ulong param_2)" identifier (parameter_list "(undefined4 *param_1,ulong param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }\n  *param_1 = (int)(param_2 + 0x7f >> 6);\n  return;\n}" { (if_statement "if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }" if (parenthesized_expression "(param_2 < 0x35)" ( (binary_expression "param_2 < 0x35" identifier < number_literal) )) (compound_statement "{\n    param_2 = 0x35;\n  }" { (expression_statement "param_2 = 0x35;" (assignment_expression "param_2 = 0x35" identifier = number_literal) ;) })) (expression_statement "*param_1 = (int)(param_2 + 0x7f >> 6);" (assignment_expression "*param_1 = (int)(param_2 + 0x7f >> 6)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_2 + 0x7f >> 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_2 + 0x7f >> 6)" ( (binary_expression "param_2 + 0x7f >> 6" (binary_expression "param_2 + 0x7f" identifier + number_literal) >> number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) >> LIT) )))) ;) (return_statement return ;) })))
(function_definition "void __gmpf_set_prec_raw(undefined4 *param_1,ulong param_2)\n\n{\n  if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }\n  *param_1 = (int)(param_2 + 0x7f >> 6);\n  return;\n}" (primitive_type "void") (function_declarator "__gmpf_set_prec_raw(undefined4 *param_1,ulong param_2)" (identifier "__gmpf_set_prec_raw") (parameter_list "(undefined4 *param_1,ulong param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }\n  *param_1 = (int)(param_2 + 0x7f >> 6);\n  return;\n}" ({ "{") (if_statement "if (param_2 < 0x35) {\n    param_2 = 0x35;\n  }" (if "if") (parenthesized_expression "(param_2 < 0x35)" (( "(") (binary_expression "param_2 < 0x35" (identifier "param_2") (< "<") (number_literal "0x35")) () ")")) (compound_statement "{\n    param_2 = 0x35;\n  }" ({ "{") (expression_statement "param_2 = 0x35;" (assignment_expression "param_2 = 0x35" (identifier "param_2") (= "=") (number_literal "0x35")) (; ";")) (} "}"))) (expression_statement "*param_1 = (int)(param_2 + 0x7f >> 6);" (assignment_expression "*param_1 = (int)(param_2 + 0x7f >> 6)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_2 + 0x7f >> 6)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_2 + 0x7f >> 6)" (( "(") (binary_expression "param_2 + 0x7f >> 6" (binary_expression "param_2 + 0x7f" (identifier "param_2") (+ "+") (number_literal "0x7f")) (>> ">>") (number_literal "6")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 x,type_2 var_1)

{
  if (var_1 < 0x35) {
    var_1 = 0x35;
  }
  x->_mp_prec = (int)(var_1 + 0x7f >> 6);
  return;
}


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

void MASKED(undefined4 *param_1,ulong param_2)

{
  if (param_2 < 0x35) {
    param_2 = 0x35;
  }
  *param_1 = (int)(param_2 + 0x7f >> 6);
  return;
}

