
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void __gmpz_set_q(mpz_ptr __gmp_w,mpq_srcptr __gmp_u)

{
  __gmpz_tdiv_q(__gmp_w,&__gmp_u->_mp_num,&__gmp_u->_mp_den);
  return;
}



void __regparm2 __gmpz_set_q(undefined4 param_1,undefined4 param_2,int param_3)

{
  undefined4 unaff_retaddr;
  
  entry(param_2,0x320d6);
  __gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);
  return;
}


PUSH EBX
CALL 0x0001c340
ADD EBX,0x6bf2a
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x18]
LEA EDX,[EAX + 0xc]
PUSH EDX
PUSH EAX
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001b160
ADD ESP,0x18
POP EBX
RET
(translation_unit "void __regparm2 __gmpz_set_q(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x320d6);\n  __gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);\n  return;\n}\n\n" (function_definition "void __regparm2 __gmpz_set_q(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x320d6);\n  __gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "__gmpz_set_q(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x320d6);\n  __gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);\n  return;\n}" { (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (expression_statement "entry(param_2,0x320d6);" (call_expression "entry(param_2,0x320d6)" identifier (argument_list "(param_2,0x320d6)" ( identifier , number_literal ))) ;) (expression_statement "__gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);" (call_expression "__gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc)" identifier (argument_list "(unaff_retaddr,param_3,param_3 + 0xc)" ( identifier , identifier , (binary_expression "param_3 + 0xc" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid __gmpz_set_q(mpz_ptr __gmp_w,mpq_srcptr __gmp_u)\n\n{\n  __gmpz_tdiv_q(__gmp_w,&__gmp_u->_mp_num,&__gmp_u->_mp_den);\n  return;\n}\n\n" comment comment (function_definition "void __gmpz_set_q(mpz_ptr __gmp_w,mpq_srcptr __gmp_u)\n\n{\n  __gmpz_tdiv_q(__gmp_w,&__gmp_u->_mp_num,&__gmp_u->_mp_den);\n  return;\n}" primitive_type (function_declarator "__gmpz_set_q(mpz_ptr __gmp_w,mpq_srcptr __gmp_u)" identifier (parameter_list "(mpz_ptr __gmp_w,mpq_srcptr __gmp_u)" ( (parameter_declaration "mpz_ptr __gmp_w" type_identifier identifier) , (parameter_declaration "mpq_srcptr __gmp_u" type_identifier identifier) ))) (compound_statement "{\n  __gmpz_tdiv_q(__gmp_w,&__gmp_u->_mp_num,&__gmp_u->_mp_den);\n  return;\n}" { (expression_statement "__gmpz_tdiv_q(__gmp_w,&__gmp_u->_mp_num,&__gmp_u->_mp_den);" (call_expression "__gmpz_tdiv_q(__gmp_w,&__gmp_u->_mp_num,&__gmp_u->_mp_den)" identifier (argument_list "(__gmp_w,&__gmp_u->_mp_num,&__gmp_u->_mp_den)" ( identifier , (pointer_expression "&__gmp_u->_mp_num" & (field_expression "__gmp_u->_mp_num" identifier -> field_identifier)) , (pointer_expression "&__gmp_u->_mp_den" & (field_expression "__gmp_u->_mp_den" identifier -> field_identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm2 __gmpz_set_q(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x320d6);\n  __gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);\n  return;\n}\n\n" (function_definition "void __regparm2 __gmpz_set_q(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x320d6);\n  __gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "__gmpz_set_q(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x320d6);\n  __gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);\n  return;\n}" { (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (expression_statement "entry(param_2,0x320d6);" (call_expression "entry(param_2,0x320d6)" identifier (argument_list "(param_2,0x320d6)" ( identifier , number_literal ))) ;) (expression_statement "__gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);" (call_expression "__gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc)" identifier (argument_list "(unaff_retaddr,param_3,param_3 + 0xc)" ( identifier , identifier , (binary_expression "param_3 + 0xc" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void __regparm2 __gmpz_set_q(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x320d6);\n  __gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "__gmpz_set_q(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "__gmpz_set_q") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x320d6);\n  __gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);\n  return;\n}" ({ "{") (declaration "undefined4 unaff_retaddr;" (type_identifier "undefined4") (identifier "unaff_retaddr") (; ";")) (expression_statement "entry(param_2,0x320d6);" (call_expression "entry(param_2,0x320d6)" (identifier "entry") (argument_list "(param_2,0x320d6)" (( "(") (identifier "param_2") (, ",") (number_literal "0x320d6") () ")"))) (; ";")) (expression_statement "__gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);" (call_expression "__gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc)" (identifier "__gmpz_tdiv_q") (argument_list "(unaff_retaddr,param_3,param_3 + 0xc)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "param_3") (, ",") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 __gmp_w,type_2 __gmp_u)

{
  var_1(__gmp_w,&__gmp_u->_mp_num,&__gmp_u->_mp_den);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void __regparm2 MASKED(undefined4 param_1,undefined4 param_2,int param_3)

{
  undefined4 unaff_retaddr;
  
  entry(param_2,0x320d6);
  __gmpz_tdiv_q(unaff_retaddr,param_3,param_3 + 0xc);
  return;
}

