
void __gmp_set_memory_functions
               (_func_void_ptr_size_t *alloc_func,
               _func_void_ptr_void_ptr_size_t_size_t *realloc_func,
               _func_void_void_ptr_size_t *free_func)

{
  _func_void_ptr_size_t *p_Var1;
  _func_void_ptr_void_ptr_size_t_size_t *p_Var2;
  undefined *puVar3;
  
  puVar3 = PTR___gmp_default_free_000971b0;
  p_Var1 = (_func_void_ptr_size_t *)PTR___gmp_default_allocate_000971ec;
  if (alloc_func != (_func_void_ptr_size_t *)0x0) {
    p_Var1 = alloc_func;
  }
  p_Var2 = (_func_void_ptr_void_ptr_size_t_size_t *)PTR___gmp_default_reallocate_00097398;
  if (realloc_func != (_func_void_ptr_void_ptr_size_t_size_t *)0x0) {
    p_Var2 = realloc_func;
  }
  if (free_func == (_func_void_void_ptr_size_t *)0x0) {
    *(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;
    *(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;
    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;
    return;
  }
  *(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;
  *(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;
  *(_func_void_void_ptr_size_t **)PTR___gmp_free_func_000971d0 = free_func;
  return;
}



void __gmp_set_memory_functions(undefined *param_1,undefined *param_2,int param_3)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  
  puVar3 = PTR___gmp_default_free_000971b0;
  puVar1 = PTR___gmp_default_allocate_000971ec;
  if (param_1 != (undefined *)0x0) {
    puVar1 = param_1;
  }
  puVar2 = PTR___gmp_default_reallocate_00097398;
  if (param_2 != (undefined *)0x0) {
    puVar2 = param_2;
  }
  if (param_3 == 0) {
    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;
    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;
    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;
    return;
  }
  *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;
  *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;
  *(int *)PTR___gmp_free_func_000971d0 = param_3;
  return;
}


lui gp,0x8
addiu gp,gp,0x7b00
addu gp,gp,t9
beq a0,zero,0x00017580
_nop
beq a1,zero,0x00017588
_nop
beq a2,zero,0x00017594
_lw v0,-0x7b34(gp)
lw v0,-0x7b34(gp)
sw a0,0x0(v0)
lw v0,-0x7aa0(gp)
sw a1,0x0(v0)
lw v0,-0x7e70(gp)
jr ra
_sw a2,0x0(v0)
bne a1,zero,0x0001755c
_lw a0,-0x7e54(gp)
bne a2,zero,0x00017564
_lw a1,-0x7ca8(gp)
lw v0,-0x7b34(gp)
lw a2,-0x7e90(gp)
sw a0,0x0(v0)
lw v0,-0x7aa0(gp)
sw a1,0x0(v0)
lw v0,-0x7e70(gp)
jr ra
_sw a2,0x0(v0)
(translation_unit "void __gmp_set_memory_functions(undefined *param_1,undefined *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  puVar1 = PTR___gmp_default_allocate_000971ec;\n  if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }\n  puVar2 = PTR___gmp_default_reallocate_00097398;\n  if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }\n  if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n  *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n  *(int *)PTR___gmp_free_func_000971d0 = param_3;\n  return;\n}\n\n" (function_definition "void __gmp_set_memory_functions(undefined *param_1,undefined *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  puVar1 = PTR___gmp_default_allocate_000971ec;\n  if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }\n  puVar2 = PTR___gmp_default_reallocate_00097398;\n  if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }\n  if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n  *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n  *(int *)PTR___gmp_free_func_000971d0 = param_3;\n  return;\n}" primitive_type (function_declarator "__gmp_set_memory_functions(undefined *param_1,undefined *param_2,int param_3)" identifier (parameter_list "(undefined *param_1,undefined *param_2,int param_3)" ( (parameter_declaration "undefined *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  puVar1 = PTR___gmp_default_allocate_000971ec;\n  if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }\n  puVar2 = PTR___gmp_default_reallocate_00097398;\n  if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }\n  if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n  *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n  *(int *)PTR___gmp_free_func_000971d0 = param_3;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = PTR___gmp_default_free_000971b0;" (assignment_expression "puVar3 = PTR___gmp_default_free_000971b0" identifier = identifier) ;) (expression_statement "puVar1 = PTR___gmp_default_allocate_000971ec;" (assignment_expression "puVar1 = PTR___gmp_default_allocate_000971ec" identifier = identifier) ;) (if_statement "if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }" if (parenthesized_expression "(param_1 != (undefined *)0x0)" ( (binary_expression "param_1 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar1 = param_1;\n  }" { (expression_statement "puVar1 = param_1;" (assignment_expression "puVar1 = param_1" identifier = identifier) ;) })) (expression_statement "puVar2 = PTR___gmp_default_reallocate_00097398;" (assignment_expression "puVar2 = PTR___gmp_default_reallocate_00097398" identifier = identifier) ;) (if_statement "if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }" if (parenthesized_expression "(param_2 != (undefined *)0x0)" ( (binary_expression "param_2 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = param_2;\n  }" { (expression_statement "puVar2 = param_2;" (assignment_expression "puVar2 = param_2" identifier = identifier) ;) })) (if_statement "if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }" { (expression_statement "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;" (assignment_expression "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1" (pointer_expression "*(undefined **)PTR___gmp_allocate_func_0009750c" * (cast_expression "(undefined **)PTR___gmp_allocate_func_0009750c" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;" (assignment_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2" (pointer_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0" * (cast_expression "(undefined **)PTR___gmp_reallocate_func_000975a0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined **)PTR___gmp_free_func_000971d0 = puVar3;" (assignment_expression "*(undefined **)PTR___gmp_free_func_000971d0 = puVar3" (pointer_expression "*(undefined **)PTR___gmp_free_func_000971d0" * (cast_expression "(undefined **)PTR___gmp_free_func_000971d0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;" (assignment_expression "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1" (pointer_expression "*(undefined **)PTR___gmp_allocate_func_0009750c" * (cast_expression "(undefined **)PTR___gmp_allocate_func_0009750c" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;" (assignment_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2" (pointer_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0" * (cast_expression "(undefined **)PTR___gmp_reallocate_func_000975a0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(int *)PTR___gmp_free_func_000971d0 = param_3;" (assignment_expression "*(int *)PTR___gmp_free_func_000971d0 = param_3" (pointer_expression "*(int *)PTR___gmp_free_func_000971d0" * (cast_expression "(int *)PTR___gmp_free_func_000971d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmp_set_memory_functions\n               (_func_void_ptr_size_t *alloc_func,\n               _func_void_ptr_void_ptr_size_t_size_t *realloc_func,\n               _func_void_void_ptr_size_t *free_func)\n\n{\n  _func_void_ptr_size_t *p_Var1;\n  _func_void_ptr_void_ptr_size_t_size_t *p_Var2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  p_Var1 = (_func_void_ptr_size_t *)PTR___gmp_default_allocate_000971ec;\n  if (alloc_func != (_func_void_ptr_size_t *)0x0) {\n    p_Var1 = alloc_func;\n  }\n  p_Var2 = (_func_void_ptr_void_ptr_size_t_size_t *)PTR___gmp_default_reallocate_00097398;\n  if (realloc_func != (_func_void_ptr_void_ptr_size_t_size_t *)0x0) {\n    p_Var2 = realloc_func;\n  }\n  if (free_func == (_func_void_void_ptr_size_t *)0x0) {\n    *(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;\n    *(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;\n  *(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;\n  *(_func_void_void_ptr_size_t **)PTR___gmp_free_func_000971d0 = free_func;\n  return;\n}\n\n" (function_definition "void __gmp_set_memory_functions\n               (_func_void_ptr_size_t *alloc_func,\n               _func_void_ptr_void_ptr_size_t_size_t *realloc_func,\n               _func_void_void_ptr_size_t *free_func)\n\n{\n  _func_void_ptr_size_t *p_Var1;\n  _func_void_ptr_void_ptr_size_t_size_t *p_Var2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  p_Var1 = (_func_void_ptr_size_t *)PTR___gmp_default_allocate_000971ec;\n  if (alloc_func != (_func_void_ptr_size_t *)0x0) {\n    p_Var1 = alloc_func;\n  }\n  p_Var2 = (_func_void_ptr_void_ptr_size_t_size_t *)PTR___gmp_default_reallocate_00097398;\n  if (realloc_func != (_func_void_ptr_void_ptr_size_t_size_t *)0x0) {\n    p_Var2 = realloc_func;\n  }\n  if (free_func == (_func_void_void_ptr_size_t *)0x0) {\n    *(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;\n    *(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;\n  *(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;\n  *(_func_void_void_ptr_size_t **)PTR___gmp_free_func_000971d0 = free_func;\n  return;\n}" primitive_type (function_declarator "__gmp_set_memory_functions\n               (_func_void_ptr_size_t *alloc_func,\n               _func_void_ptr_void_ptr_size_t_size_t *realloc_func,\n               _func_void_void_ptr_size_t *free_func)" identifier (parameter_list "(_func_void_ptr_size_t *alloc_func,\n               _func_void_ptr_void_ptr_size_t_size_t *realloc_func,\n               _func_void_void_ptr_size_t *free_func)" ( (parameter_declaration "_func_void_ptr_size_t *alloc_func" type_identifier (pointer_declarator "*alloc_func" * identifier)) , (parameter_declaration "_func_void_ptr_void_ptr_size_t_size_t *realloc_func" type_identifier (pointer_declarator "*realloc_func" * identifier)) , (parameter_declaration "_func_void_void_ptr_size_t *free_func" type_identifier (pointer_declarator "*free_func" * identifier)) ))) (compound_statement "{\n  _func_void_ptr_size_t *p_Var1;\n  _func_void_ptr_void_ptr_size_t_size_t *p_Var2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  p_Var1 = (_func_void_ptr_size_t *)PTR___gmp_default_allocate_000971ec;\n  if (alloc_func != (_func_void_ptr_size_t *)0x0) {\n    p_Var1 = alloc_func;\n  }\n  p_Var2 = (_func_void_ptr_void_ptr_size_t_size_t *)PTR___gmp_default_reallocate_00097398;\n  if (realloc_func != (_func_void_ptr_void_ptr_size_t_size_t *)0x0) {\n    p_Var2 = realloc_func;\n  }\n  if (free_func == (_func_void_void_ptr_size_t *)0x0) {\n    *(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;\n    *(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;\n  *(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;\n  *(_func_void_void_ptr_size_t **)PTR___gmp_free_func_000971d0 = free_func;\n  return;\n}" { (declaration "_func_void_ptr_size_t *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "_func_void_ptr_void_ptr_size_t_size_t *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = PTR___gmp_default_free_000971b0;" (assignment_expression "puVar3 = PTR___gmp_default_free_000971b0" identifier = identifier) ;) (expression_statement "p_Var1 = (_func_void_ptr_size_t *)PTR___gmp_default_allocate_000971ec;" (assignment_expression "p_Var1 = (_func_void_ptr_size_t *)PTR___gmp_default_allocate_000971ec" identifier = (cast_expression "(_func_void_ptr_size_t *)PTR___gmp_default_allocate_000971ec" ( (type_descriptor "_func_void_ptr_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (alloc_func != (_func_void_ptr_size_t *)0x0) {\n    p_Var1 = alloc_func;\n  }" if (parenthesized_expression "(alloc_func != (_func_void_ptr_size_t *)0x0)" ( (binary_expression "alloc_func != (_func_void_ptr_size_t *)0x0" identifier != (cast_expression "(_func_void_ptr_size_t *)0x0" ( (type_descriptor "_func_void_ptr_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p_Var1 = alloc_func;\n  }" { (expression_statement "p_Var1 = alloc_func;" (assignment_expression "p_Var1 = alloc_func" identifier = identifier) ;) })) (expression_statement "p_Var2 = (_func_void_ptr_void_ptr_size_t_size_t *)PTR___gmp_default_reallocate_00097398;" (assignment_expression "p_Var2 = (_func_void_ptr_void_ptr_size_t_size_t *)PTR___gmp_default_reallocate_00097398" identifier = (cast_expression "(_func_void_ptr_void_ptr_size_t_size_t *)PTR___gmp_default_reallocate_00097398" ( (type_descriptor "_func_void_ptr_void_ptr_size_t_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (realloc_func != (_func_void_ptr_void_ptr_size_t_size_t *)0x0) {\n    p_Var2 = realloc_func;\n  }" if (parenthesized_expression "(realloc_func != (_func_void_ptr_void_ptr_size_t_size_t *)0x0)" ( (binary_expression "realloc_func != (_func_void_ptr_void_ptr_size_t_size_t *)0x0" identifier != (cast_expression "(_func_void_ptr_void_ptr_size_t_size_t *)0x0" ( (type_descriptor "_func_void_ptr_void_ptr_size_t_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p_Var2 = realloc_func;\n  }" { (expression_statement "p_Var2 = realloc_func;" (assignment_expression "p_Var2 = realloc_func" identifier = identifier) ;) })) (if_statement "if (free_func == (_func_void_void_ptr_size_t *)0x0) {\n    *(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;\n    *(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }" if (parenthesized_expression "(free_func == (_func_void_void_ptr_size_t *)0x0)" ( (binary_expression "free_func == (_func_void_void_ptr_size_t *)0x0" identifier == (cast_expression "(_func_void_void_ptr_size_t *)0x0" ( (type_descriptor "_func_void_void_ptr_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;\n    *(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }" { (expression_statement "*(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;" (assignment_expression "*(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1" (pointer_expression "*(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c" * (cast_expression "(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c" ( (type_descriptor "_func_void_ptr_size_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;" (assignment_expression "*(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2" (pointer_expression "*(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0" * (cast_expression "(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0" ( (type_descriptor "_func_void_ptr_void_ptr_size_t_size_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined **)PTR___gmp_free_func_000971d0 = puVar3;" (assignment_expression "*(undefined **)PTR___gmp_free_func_000971d0 = puVar3" (pointer_expression "*(undefined **)PTR___gmp_free_func_000971d0" * (cast_expression "(undefined **)PTR___gmp_free_func_000971d0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "*(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1;" (assignment_expression "*(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c = p_Var1" (pointer_expression "*(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c" * (cast_expression "(_func_void_ptr_size_t **)PTR___gmp_allocate_func_0009750c" ( (type_descriptor "_func_void_ptr_size_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2;" (assignment_expression "*(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0 = p_Var2" (pointer_expression "*(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0" * (cast_expression "(_func_void_ptr_void_ptr_size_t_size_t **)PTR___gmp_reallocate_func_000975a0" ( (type_descriptor "_func_void_ptr_void_ptr_size_t_size_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(_func_void_void_ptr_size_t **)PTR___gmp_free_func_000971d0 = free_func;" (assignment_expression "*(_func_void_void_ptr_size_t **)PTR___gmp_free_func_000971d0 = free_func" (pointer_expression "*(_func_void_void_ptr_size_t **)PTR___gmp_free_func_000971d0" * (cast_expression "(_func_void_void_ptr_size_t **)PTR___gmp_free_func_000971d0" ( (type_descriptor "_func_void_void_ptr_size_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmp_set_memory_functions(undefined *param_1,undefined *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  puVar1 = PTR___gmp_default_allocate_000971ec;\n  if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }\n  puVar2 = PTR___gmp_default_reallocate_00097398;\n  if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }\n  if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n  *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n  *(int *)PTR___gmp_free_func_000971d0 = param_3;\n  return;\n}\n\n" (function_definition "void __gmp_set_memory_functions(undefined *param_1,undefined *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  puVar1 = PTR___gmp_default_allocate_000971ec;\n  if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }\n  puVar2 = PTR___gmp_default_reallocate_00097398;\n  if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }\n  if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n  *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n  *(int *)PTR___gmp_free_func_000971d0 = param_3;\n  return;\n}" primitive_type (function_declarator "__gmp_set_memory_functions(undefined *param_1,undefined *param_2,int param_3)" identifier (parameter_list "(undefined *param_1,undefined *param_2,int param_3)" ( (parameter_declaration "undefined *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  puVar1 = PTR___gmp_default_allocate_000971ec;\n  if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }\n  puVar2 = PTR___gmp_default_reallocate_00097398;\n  if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }\n  if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n  *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n  *(int *)PTR___gmp_free_func_000971d0 = param_3;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = PTR___gmp_default_free_000971b0;" (assignment_expression "puVar3 = PTR___gmp_default_free_000971b0" identifier = identifier) ;) (expression_statement "puVar1 = PTR___gmp_default_allocate_000971ec;" (assignment_expression "puVar1 = PTR___gmp_default_allocate_000971ec" identifier = identifier) ;) (if_statement "if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }" if (parenthesized_expression "(param_1 != (undefined *)0x0)" ( (binary_expression "param_1 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar1 = param_1;\n  }" { (expression_statement "puVar1 = param_1;" (assignment_expression "puVar1 = param_1" identifier = identifier) ;) })) (expression_statement "puVar2 = PTR___gmp_default_reallocate_00097398;" (assignment_expression "puVar2 = PTR___gmp_default_reallocate_00097398" identifier = identifier) ;) (if_statement "if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }" if (parenthesized_expression "(param_2 != (undefined *)0x0)" ( (binary_expression "param_2 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = param_2;\n  }" { (expression_statement "puVar2 = param_2;" (assignment_expression "puVar2 = param_2" identifier = identifier) ;) })) (if_statement "if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }" { (expression_statement "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;" (assignment_expression "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1" (pointer_expression "*(undefined **)PTR___gmp_allocate_func_0009750c" * (cast_expression "(undefined **)PTR___gmp_allocate_func_0009750c" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;" (assignment_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2" (pointer_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0" * (cast_expression "(undefined **)PTR___gmp_reallocate_func_000975a0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined **)PTR___gmp_free_func_000971d0 = puVar3;" (assignment_expression "*(undefined **)PTR___gmp_free_func_000971d0 = puVar3" (pointer_expression "*(undefined **)PTR___gmp_free_func_000971d0" * (cast_expression "(undefined **)PTR___gmp_free_func_000971d0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;" (assignment_expression "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1" (pointer_expression "*(undefined **)PTR___gmp_allocate_func_0009750c" * (cast_expression "(undefined **)PTR___gmp_allocate_func_0009750c" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;" (assignment_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2" (pointer_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0" * (cast_expression "(undefined **)PTR___gmp_reallocate_func_000975a0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(int *)PTR___gmp_free_func_000971d0 = param_3;" (assignment_expression "*(int *)PTR___gmp_free_func_000971d0 = param_3" (pointer_expression "*(int *)PTR___gmp_free_func_000971d0" * (cast_expression "(int *)PTR___gmp_free_func_000971d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __gmp_set_memory_functions(undefined *param_1,undefined *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  puVar1 = PTR___gmp_default_allocate_000971ec;\n  if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }\n  puVar2 = PTR___gmp_default_reallocate_00097398;\n  if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }\n  if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n  *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n  *(int *)PTR___gmp_free_func_000971d0 = param_3;\n  return;\n}" (primitive_type "void") (function_declarator "__gmp_set_memory_functions(undefined *param_1,undefined *param_2,int param_3)" (identifier "__gmp_set_memory_functions") (parameter_list "(undefined *param_1,undefined *param_2,int param_3)" (( "(") (parameter_declaration "undefined *param_1" (type_identifier "undefined") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined *param_2" (type_identifier "undefined") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR___gmp_default_free_000971b0;\n  puVar1 = PTR___gmp_default_allocate_000971ec;\n  if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }\n  puVar2 = PTR___gmp_default_reallocate_00097398;\n  if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }\n  if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }\n  *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n  *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n  *(int *)PTR___gmp_free_func_000971d0 = param_3;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "puVar3 = PTR___gmp_default_free_000971b0;" (assignment_expression "puVar3 = PTR___gmp_default_free_000971b0" (identifier "puVar3") (= "=") (identifier "PTR___gmp_default_free_000971b0")) (; ";")) (expression_statement "puVar1 = PTR___gmp_default_allocate_000971ec;" (assignment_expression "puVar1 = PTR___gmp_default_allocate_000971ec" (identifier "puVar1") (= "=") (identifier "PTR___gmp_default_allocate_000971ec")) (; ";")) (if_statement "if (param_1 != (undefined *)0x0) {\n    puVar1 = param_1;\n  }" (if "if") (parenthesized_expression "(param_1 != (undefined *)0x0)" (( "(") (binary_expression "param_1 != (undefined *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar1 = param_1;\n  }" ({ "{") (expression_statement "puVar1 = param_1;" (assignment_expression "puVar1 = param_1" (identifier "puVar1") (= "=") (identifier "param_1")) (; ";")) (} "}"))) (expression_statement "puVar2 = PTR___gmp_default_reallocate_00097398;" (assignment_expression "puVar2 = PTR___gmp_default_reallocate_00097398" (identifier "puVar2") (= "=") (identifier "PTR___gmp_default_reallocate_00097398")) (; ";")) (if_statement "if (param_2 != (undefined *)0x0) {\n    puVar2 = param_2;\n  }" (if "if") (parenthesized_expression "(param_2 != (undefined *)0x0)" (( "(") (binary_expression "param_2 != (undefined *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar2 = param_2;\n  }" ({ "{") (expression_statement "puVar2 = param_2;" (assignment_expression "puVar2 = param_2" (identifier "puVar2") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (if_statement "if (param_3 == 0) {\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;\n    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;\n    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;\n    return;\n  }" ({ "{") (expression_statement "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;" (assignment_expression "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1" (pointer_expression "*(undefined **)PTR___gmp_allocate_func_0009750c" (* "*") (cast_expression "(undefined **)PTR___gmp_allocate_func_0009750c" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___gmp_allocate_func_0009750c"))) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;" (assignment_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2" (pointer_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0" (* "*") (cast_expression "(undefined **)PTR___gmp_reallocate_func_000975a0" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___gmp_reallocate_func_000975a0"))) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "*(undefined **)PTR___gmp_free_func_000971d0 = puVar3;" (assignment_expression "*(undefined **)PTR___gmp_free_func_000971d0 = puVar3" (pointer_expression "*(undefined **)PTR___gmp_free_func_000971d0" (* "*") (cast_expression "(undefined **)PTR___gmp_free_func_000971d0" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___gmp_free_func_000971d0"))) (= "=") (identifier "puVar3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;" (assignment_expression "*(undefined **)PTR___gmp_allocate_func_0009750c = puVar1" (pointer_expression "*(undefined **)PTR___gmp_allocate_func_0009750c" (* "*") (cast_expression "(undefined **)PTR___gmp_allocate_func_0009750c" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___gmp_allocate_func_0009750c"))) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;" (assignment_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2" (pointer_expression "*(undefined **)PTR___gmp_reallocate_func_000975a0" (* "*") (cast_expression "(undefined **)PTR___gmp_reallocate_func_000975a0" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___gmp_reallocate_func_000975a0"))) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "*(int *)PTR___gmp_free_func_000971d0 = param_3;" (assignment_expression "*(int *)PTR___gmp_free_func_000971d0 = param_3" (pointer_expression "*(int *)PTR___gmp_free_func_000971d0" (* "*") (cast_expression "(int *)PTR___gmp_free_func_000971d0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_free_func_000971d0"))) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (return_statement))))

void MASKED(undefined *param_1,undefined *param_2,int param_3)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  
  puVar3 = PTR___gmp_default_free_000971b0;
  puVar1 = PTR___gmp_default_allocate_000971ec;
  if (param_1 != (undefined *)0x0) {
    puVar1 = param_1;
  }
  puVar2 = PTR___gmp_default_reallocate_00097398;
  if (param_2 != (undefined *)0x0) {
    puVar2 = param_2;
  }
  if (param_3 == 0) {
    *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;
    *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;
    *(undefined **)PTR___gmp_free_func_000971d0 = puVar3;
    return;
  }
  *(undefined **)PTR___gmp_allocate_func_0009750c = puVar1;
  *(undefined **)PTR___gmp_reallocate_func_000975a0 = puVar2;
  *(int *)PTR___gmp_free_func_000971d0 = param_3;
  return;
}

