
void __gmpz_init_set_ui(mpz_ptr dest,ulong val)

{
  mp_limb_t *pmVar1;
  
  dest->_mp_alloc = 1;
  pmVar1 = (mp_limb_t *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);
  dest->_mp_d = pmVar1;
  *pmVar1 = val;
  dest->_mp_size = (uint)(val != 0);
  return;
}



void __gmpz_init_set_ui(undefined4 *param_1,int param_2)

{
  int *piVar1;
  
  *param_1 = 1;
  piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);
  param_1[2] = piVar1;
  *piVar1 = param_2;
  param_1[1] = (uint)(param_2 != 0);
  return;
}


lui gp,0x8
addiu gp,gp,-0x6f40
addu gp,gp,t9
addiu sp,sp,-0x28
li v0,0x1
sw s0,0x1c(sp)
or s0,a0,zero
sw gp,0x10(sp)
li a0,0x4
sw s1,0x20(sp)
sw ra,0x24(sp)
sw v0,0x0(s0)
lw v0,-0x7b34(gp)
lw t9,0x0(v0)
jalr t9
_or s1,a1,zero
sltu v1,zero,s1
lw ra,0x24(sp)
sw v0,0x8(s0)
sw s1,0x0(v0)
sw v1,0x4(s0)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void __gmpz_init_set_ui(undefined4 *param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  *param_1 = 1;\n  piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  param_1[2] = piVar1;\n  *piVar1 = param_2;\n  param_1[1] = (uint)(param_2 != 0);\n  return;\n}\n\n" (function_definition "void __gmpz_init_set_ui(undefined4 *param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  *param_1 = 1;\n  piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  param_1[2] = piVar1;\n  *piVar1 = param_2;\n  param_1[1] = (uint)(param_2 != 0);\n  return;\n}" primitive_type (function_declarator "__gmpz_init_set_ui(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  *param_1 = 1;\n  piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  param_1[2] = piVar1;\n  *piVar1 = param_2;\n  param_1[1] = (uint)(param_2 != 0);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);" (assignment_expression "piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" identifier = (cast_expression "(int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" (parenthesized_expression "(**(code **)PTR___gmp_allocate_func_0009d50c)" ( (pointer_expression "**(code **)PTR___gmp_allocate_func_0009d50c" * (pointer_expression "*(code **)PTR___gmp_allocate_func_0009d50c" * (cast_expression "(code **)PTR___gmp_allocate_func_0009d50c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "param_1[2] = piVar1;" (assignment_expression "param_1[2] = piVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = param_2;" (assignment_expression "*piVar1 = param_2" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "param_1[1] = (uint)(param_2 != 0);" (assignment_expression "param_1[1] = (uint)(param_2 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpz_init_set_ui(mpz_ptr dest,ulong val)\n\n{\n  mp_limb_t *pmVar1;\n  \n  dest->_mp_alloc = 1;\n  pmVar1 = (mp_limb_t *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  dest->_mp_d = pmVar1;\n  *pmVar1 = val;\n  dest->_mp_size = (uint)(val != 0);\n  return;\n}\n\n" (function_definition "void __gmpz_init_set_ui(mpz_ptr dest,ulong val)\n\n{\n  mp_limb_t *pmVar1;\n  \n  dest->_mp_alloc = 1;\n  pmVar1 = (mp_limb_t *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  dest->_mp_d = pmVar1;\n  *pmVar1 = val;\n  dest->_mp_size = (uint)(val != 0);\n  return;\n}" primitive_type (function_declarator "__gmpz_init_set_ui(mpz_ptr dest,ulong val)" identifier (parameter_list "(mpz_ptr dest,ulong val)" ( (parameter_declaration "mpz_ptr dest" type_identifier identifier) , (parameter_declaration "ulong val" type_identifier identifier) ))) (compound_statement "{\n  mp_limb_t *pmVar1;\n  \n  dest->_mp_alloc = 1;\n  pmVar1 = (mp_limb_t *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  dest->_mp_d = pmVar1;\n  *pmVar1 = val;\n  dest->_mp_size = (uint)(val != 0);\n  return;\n}" { (declaration "mp_limb_t *pmVar1;" type_identifier (pointer_declarator "*pmVar1" * identifier) ;) (expression_statement "dest->_mp_alloc = 1;" (assignment_expression "dest->_mp_alloc = 1" (field_expression "dest->_mp_alloc" identifier -> field_identifier) = number_literal) ;) (expression_statement "pmVar1 = (mp_limb_t *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);" (assignment_expression "pmVar1 = (mp_limb_t *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" identifier = (cast_expression "(mp_limb_t *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" (parenthesized_expression "(**(code **)PTR___gmp_allocate_func_0009d50c)" ( (pointer_expression "**(code **)PTR___gmp_allocate_func_0009d50c" * (pointer_expression "*(code **)PTR___gmp_allocate_func_0009d50c" * (cast_expression "(code **)PTR___gmp_allocate_func_0009d50c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "dest->_mp_d = pmVar1;" (assignment_expression "dest->_mp_d = pmVar1" (field_expression "dest->_mp_d" identifier -> field_identifier) = identifier) ;) (expression_statement "*pmVar1 = val;" (assignment_expression "*pmVar1 = val" (pointer_expression "*pmVar1" * identifier) = identifier) ;) (expression_statement "dest->_mp_size = (uint)(val != 0);" (assignment_expression "dest->_mp_size = (uint)(val != 0)" (field_expression "dest->_mp_size" identifier -> field_identifier) = (call_expression "(uint)(val != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(val != 0)" ( (binary_expression "val != 0" identifier != number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpz_init_set_ui(undefined4 *param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  *param_1 = 1;\n  piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  param_1[2] = piVar1;\n  *piVar1 = param_2;\n  param_1[1] = (uint)(param_2 != 0);\n  return;\n}\n\n" (function_definition "void __gmpz_init_set_ui(undefined4 *param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  *param_1 = 1;\n  piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  param_1[2] = piVar1;\n  *piVar1 = param_2;\n  param_1[1] = (uint)(param_2 != 0);\n  return;\n}" primitive_type (function_declarator "__gmpz_init_set_ui(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  *param_1 = 1;\n  piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  param_1[2] = piVar1;\n  *piVar1 = param_2;\n  param_1[1] = (uint)(param_2 != 0);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);" (assignment_expression "piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" identifier = (cast_expression "(int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" (parenthesized_expression "(**(code **)PTR___gmp_allocate_func_0009d50c)" ( (pointer_expression "**(code **)PTR___gmp_allocate_func_0009d50c" * (pointer_expression "*(code **)PTR___gmp_allocate_func_0009d50c" * (cast_expression "(code **)PTR___gmp_allocate_func_0009d50c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "param_1[2] = piVar1;" (assignment_expression "param_1[2] = piVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = param_2;" (assignment_expression "*piVar1 = param_2" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "param_1[1] = (uint)(param_2 != 0);" (assignment_expression "param_1[1] = (uint)(param_2 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != 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 { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (return_statement return ;) })))
(function_definition "void __gmpz_init_set_ui(undefined4 *param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  *param_1 = 1;\n  piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  param_1[2] = piVar1;\n  *piVar1 = param_2;\n  param_1[1] = (uint)(param_2 != 0);\n  return;\n}" (primitive_type "void") (function_declarator "__gmpz_init_set_ui(undefined4 *param_1,int param_2)" (identifier "__gmpz_init_set_ui") (parameter_list "(undefined4 *param_1,int param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  \n  *param_1 = 1;\n  piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);\n  param_1[2] = piVar1;\n  *piVar1 = param_2;\n  param_1[1] = (uint)(param_2 != 0);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);" (assignment_expression "piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)PTR___gmp_allocate_func_0009d50c)(4)" (parenthesized_expression "(**(code **)PTR___gmp_allocate_func_0009d50c)" (( "(") (pointer_expression "**(code **)PTR___gmp_allocate_func_0009d50c" (* "*") (pointer_expression "*(code **)PTR___gmp_allocate_func_0009d50c" (* "*") (cast_expression "(code **)PTR___gmp_allocate_func_0009d50c" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___gmp_allocate_func_0009d50c")))) () ")")) (argument_list "(4)" (( "(") (number_literal "4") () ")"))))) (; ";")) (expression_statement "param_1[2] = piVar1;" (assignment_expression "param_1[2] = piVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "piVar1")) (; ";")) (expression_statement "*piVar1 = param_2;" (assignment_expression "*piVar1 = param_2" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[1] = (uint)(param_2 != 0);" (assignment_expression "param_1[1] = (uint)(param_2 != 0)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (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")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 dest,type_2 var_1)

{
  type_3 *pmVar1;
  
  dest->_mp_alloc = 1;
  pmVar1 = (type_3 *)(**(type_4 **)PTR___gmp_allocate_func_0009d50c)(4);
  dest->_mp_d = pmVar1;
  *pmVar1 = var_1;
  dest->_mp_size = (uint)(var_1 != 0);
  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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

void MASKED(undefined4 *param_1,int param_2)

{
  int *piVar1;
  
  *param_1 = 1;
  piVar1 = (int *)(**(code **)PTR___gmp_allocate_func_0009d50c)(4);
  param_1[2] = piVar1;
  *piVar1 = param_2;
  param_1[1] = (uint)(param_2 != 0);
  return;
}

