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

void __gmpn_bsqrt(mp_ptr rp,mp_srcptr ap,mp_bitcnt_t nb,mp_ptr tp)

{
  __gmpn_bsqrtinv(tp,ap,nb,tp + (nb >> 5));
  __gmpn_mullo_n(rp,tp,ap,nb >> 5);
  return;
}



void __regparm2
__gmpn_bsqrt(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)

{
  undefined4 unaff_retaddr;
  
  entry(param_2,0x71c89);
  __gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);
  __gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001c340
ADD EBX,0x27377
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x28]
MOV ESI,dword ptr [ESP + 0x2c]
MOV EDI,dword ptr [ESP + 0x24]
MOV EBP,EAX
SHR EBP,0x5
LEA EDX,[ESI + EBP*0x4]
PUSH EDX
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x0001b7a0
PUSH EBP
PUSH EDI
PUSH ESI
PUSH dword ptr [ESP + 0x3c]
CALL 0x0001bd80
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void __regparm2\n__gmpn_bsqrt(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x71c89);\n  __gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);\n  __gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);\n  return;\n}\n\n" (function_definition "void __regparm2\n__gmpn_bsqrt(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x71c89);\n  __gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);\n  __gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "__gmpn_bsqrt(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x71c89);\n  __gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);\n  __gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);\n  return;\n}" { (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (expression_statement "entry(param_2,0x71c89);" (call_expression "entry(param_2,0x71c89)" identifier (argument_list "(param_2,0x71c89)" ( identifier , number_literal ))) ;) (expression_statement "__gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);" (call_expression "__gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4)" identifier (argument_list "(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4)" ( identifier , identifier , identifier , (binary_expression "param_5 + (param_4 >> 5) * 4" identifier + (binary_expression "(param_4 >> 5) * 4" (parenthesized_expression "(param_4 >> 5)" ( (binary_expression "param_4 >> 5" identifier >> number_literal) )) * number_literal)) ))) ;) (expression_statement "__gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);" (call_expression "__gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5)" identifier (argument_list "(unaff_retaddr,param_5,param_3,param_4 >> 5)" ( identifier , identifier , identifier , (binary_expression "param_4 >> 5" 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 __gmpn_bsqrt(mp_ptr rp,mp_srcptr ap,mp_bitcnt_t nb,mp_ptr tp)\n\n{\n  __gmpn_bsqrtinv(tp,ap,nb,tp + (nb >> 5));\n  __gmpn_mullo_n(rp,tp,ap,nb >> 5);\n  return;\n}\n\n" comment comment (function_definition "void __gmpn_bsqrt(mp_ptr rp,mp_srcptr ap,mp_bitcnt_t nb,mp_ptr tp)\n\n{\n  __gmpn_bsqrtinv(tp,ap,nb,tp + (nb >> 5));\n  __gmpn_mullo_n(rp,tp,ap,nb >> 5);\n  return;\n}" primitive_type (function_declarator "__gmpn_bsqrt(mp_ptr rp,mp_srcptr ap,mp_bitcnt_t nb,mp_ptr tp)" identifier (parameter_list "(mp_ptr rp,mp_srcptr ap,mp_bitcnt_t nb,mp_ptr tp)" ( (parameter_declaration "mp_ptr rp" type_identifier identifier) , (parameter_declaration "mp_srcptr ap" type_identifier identifier) , (parameter_declaration "mp_bitcnt_t nb" type_identifier identifier) , (parameter_declaration "mp_ptr tp" type_identifier identifier) ))) (compound_statement "{\n  __gmpn_bsqrtinv(tp,ap,nb,tp + (nb >> 5));\n  __gmpn_mullo_n(rp,tp,ap,nb >> 5);\n  return;\n}" { (expression_statement "__gmpn_bsqrtinv(tp,ap,nb,tp + (nb >> 5));" (call_expression "__gmpn_bsqrtinv(tp,ap,nb,tp + (nb >> 5))" identifier (argument_list "(tp,ap,nb,tp + (nb >> 5))" ( identifier , identifier , identifier , (binary_expression "tp + (nb >> 5)" identifier + (parenthesized_expression "(nb >> 5)" ( (binary_expression "nb >> 5" identifier >> number_literal) ))) ))) ;) (expression_statement "__gmpn_mullo_n(rp,tp,ap,nb >> 5);" (call_expression "__gmpn_mullo_n(rp,tp,ap,nb >> 5)" identifier (argument_list "(rp,tp,ap,nb >> 5)" ( identifier , identifier , identifier , (binary_expression "nb >> 5" identifier >> number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm2\n__gmpn_bsqrt(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x71c89);\n  __gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);\n  __gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);\n  return;\n}\n\n" (function_definition "void __regparm2\n__gmpn_bsqrt(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x71c89);\n  __gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);\n  __gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "__gmpn_bsqrt(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x71c89);\n  __gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);\n  __gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);\n  return;\n}" { (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (expression_statement "entry(param_2,0x71c89);" (call_expression "entry(param_2,0x71c89)" identifier (argument_list "(param_2,0x71c89)" ( identifier , number_literal ))) ;) (expression_statement "__gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);" (call_expression "__gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4)" identifier (argument_list "(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4)" ( identifier , identifier , identifier , (binary_expression "param_5 + (param_4 >> 5) * 4" identifier + (binary_expression "(param_4 >> 5) * 4" (parenthesized_expression "(param_4 >> 5)" ( (binary_expression "param_4 >> 5" identifier >> number_literal) )) * number_literal)) ))) ;) (expression_statement "__gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);" (call_expression "__gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5)" identifier (argument_list "(unaff_retaddr,param_5,param_3,param_4 >> 5)" ( identifier , identifier , identifier , (binary_expression "param_4 >> 5" 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) , (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 , IDENT , (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) * LIT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT >> LIT) ))) ;) (return_statement return ;) })))
(function_definition "void __regparm2\n__gmpn_bsqrt(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x71c89);\n  __gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);\n  __gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "__gmpn_bsqrt(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" (identifier "__gmpn_bsqrt") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x71c89);\n  __gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);\n  __gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);\n  return;\n}" ({ "{") (declaration "undefined4 unaff_retaddr;" (type_identifier "undefined4") (identifier "unaff_retaddr") (; ";")) (expression_statement "entry(param_2,0x71c89);" (call_expression "entry(param_2,0x71c89)" (identifier "entry") (argument_list "(param_2,0x71c89)" (( "(") (identifier "param_2") (, ",") (number_literal "0x71c89") () ")"))) (; ";")) (expression_statement "__gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);" (call_expression "__gmpn_bsqrtinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4)" (identifier "__gmpn_bsqrtinv") (argument_list "(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4)" (( "(") (identifier "param_5") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (binary_expression "param_5 + (param_4 >> 5) * 4" (identifier "param_5") (+ "+") (binary_expression "(param_4 >> 5) * 4" (parenthesized_expression "(param_4 >> 5)" (( "(") (binary_expression "param_4 >> 5" (identifier "param_4") (>> ">>") (number_literal "5")) () ")")) (* "*") (number_literal "4"))) () ")"))) (; ";")) (expression_statement "__gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);" (call_expression "__gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5)" (identifier "__gmpn_mullo_n") (argument_list "(unaff_retaddr,param_5,param_3,param_4 >> 5)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "param_5") (, ",") (identifier "param_3") (, ",") (binary_expression "param_4 >> 5" (identifier "param_4") (>> ">>") (number_literal "5")) () ")"))) (; ";")) (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 rp,type_2 ap,type_3 var_3,type_1 var_2)

{
  var_1(var_2,ap,var_3,var_2 + (var_3 >> 5));
  var_4(rp,var_2,ap,var_3 >> 5);
  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: (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) (identifier) (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void __regparm2
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)

{
  undefined4 unaff_retaddr;
  
  entry(param_2,0x71c89);
  MASKEDinv(param_5,param_3,param_4,param_5 + (param_4 >> 5) * 4);
  __gmpn_mullo_n(unaff_retaddr,param_5,param_3,param_4 >> 5);
  return;
}

