
double __gmpf_get_d(mpf_srcptr src)

{
  double dVar1;
  int iVar2;
  int iVar3;
  int in_t9;
  
  iVar3 = src->_mp_size;
  if (iVar3 != 0) {
    iVar2 = iVar3;
    if (iVar3 < 0) {
      iVar2 = -iVar3;
    }
                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    dVar1 = (double)(**(code **)(in_t9 + 0x7f33c))
                              (src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20);
    return dVar1;
  }
  return 0.0;
}



undefined8 __gmpf_get_d(int param_1)

{
  int iVar1;
  int iVar2;
  undefined8 uVar3;
  
  iVar2 = *(int *)(param_1 + 4);
  if (iVar2 != 0) {
    iVar1 = iVar2;
    if (iVar2 < 0) {
      iVar1 = -iVar2;
    }
                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)
                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,
                       (*(int *)(param_1 + 8) - iVar1) * 0x20);
    return uVar3;
  }
  return 0;
}


lui gp,0x8
addiu gp,gp,0x6d80
addu gp,gp,t9
lw a2,0x4(a0)
beq a2,zero,0x0001e300
_nop
bgez a2,0x0001e2e4
_or v0,a2,zero
subu v0,zero,a2
lw a3,0x8(a0)
or a1,v0,zero
lw a0,0xc(a0)
lw t9,-0x7a44(gp)
subu a3,a3,v0
jr t9
_sll a3,a3,0x5
mtc1 zero,f0
jr ra
_mthc1 zero,f0
(translation_unit "undefined8 __gmpf_get_d(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 uVar3;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 __gmpf_get_d(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 uVar3;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }\n  return 0;\n}" type_identifier (function_declarator "__gmpf_get_d(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined8 uVar3;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }" { (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" identifier = identifier) ;) (if_statement "if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar1 = -iVar2;\n    }" { (expression_statement "iVar1 = -iVar2;" (assignment_expression "iVar1 = -iVar2" identifier = (unary_expression "-iVar2" - identifier)) ;) })) comment comment (expression_statement "uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);" (assignment_expression "uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20)" identifier = (call_expression "(*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20)" (parenthesized_expression "(*(code *)PTR___gmpn_get_d_0009d5fc)" ( (pointer_expression "*(code *)PTR___gmpn_get_d_0009d5fc" * (cast_expression "(code *)PTR___gmpn_get_d_0009d5fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier , identifier , (binary_expression "(*(int *)(param_1 + 8) - iVar1) * 0x20" (parenthesized_expression "(*(int *)(param_1 + 8) - iVar1)" ( (binary_expression "*(int *)(param_1 + 8) - iVar1" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) - identifier) )) * number_literal) )))) ;) (return_statement "return uVar3;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "double __gmpf_get_d(mpf_srcptr src)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int in_t9;\n  \n  iVar3 = src->_mp_size;\n  if (iVar3 != 0) {\n    iVar2 = iVar3;\n    if (iVar3 < 0) {\n      iVar2 = -iVar3;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    dVar1 = (double)(**(code **)(in_t9 + 0x7f33c))\n                              (src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20);\n    return dVar1;\n  }\n  return 0.0;\n}\n\n" (function_definition "double __gmpf_get_d(mpf_srcptr src)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int in_t9;\n  \n  iVar3 = src->_mp_size;\n  if (iVar3 != 0) {\n    iVar2 = iVar3;\n    if (iVar3 < 0) {\n      iVar2 = -iVar3;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    dVar1 = (double)(**(code **)(in_t9 + 0x7f33c))\n                              (src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20);\n    return dVar1;\n  }\n  return 0.0;\n}" primitive_type (function_declarator "__gmpf_get_d(mpf_srcptr src)" identifier (parameter_list "(mpf_srcptr src)" ( (parameter_declaration "mpf_srcptr src" type_identifier identifier) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int in_t9;\n  \n  iVar3 = src->_mp_size;\n  if (iVar3 != 0) {\n    iVar2 = iVar3;\n    if (iVar3 < 0) {\n      iVar2 = -iVar3;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    dVar1 = (double)(**(code **)(in_t9 + 0x7f33c))\n                              (src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20);\n    return dVar1;\n  }\n  return 0.0;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (expression_statement "iVar3 = src->_mp_size;" (assignment_expression "iVar3 = src->_mp_size" identifier = (field_expression "src->_mp_size" identifier -> field_identifier)) ;) (if_statement "if (iVar3 != 0) {\n    iVar2 = iVar3;\n    if (iVar3 < 0) {\n      iVar2 = -iVar3;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    dVar1 = (double)(**(code **)(in_t9 + 0x7f33c))\n                              (src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20);\n    return dVar1;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = iVar3;\n    if (iVar3 < 0) {\n      iVar2 = -iVar3;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    dVar1 = (double)(**(code **)(in_t9 + 0x7f33c))\n                              (src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20);\n    return dVar1;\n  }" { (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 < 0) {\n      iVar2 = -iVar3;\n    }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar2 = -iVar3;\n    }" { (expression_statement "iVar2 = -iVar3;" (assignment_expression "iVar2 = -iVar3" identifier = (unary_expression "-iVar3" - identifier)) ;) })) comment comment (expression_statement "dVar1 = (double)(**(code **)(in_t9 + 0x7f33c))\n                              (src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20);" (assignment_expression "dVar1 = (double)(**(code **)(in_t9 + 0x7f33c))\n                              (src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20)" identifier = (cast_expression "(double)(**(code **)(in_t9 + 0x7f33c))\n                              (src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20)" ( (type_descriptor "double" primitive_type) ) (call_expression "(**(code **)(in_t9 + 0x7f33c))\n                              (src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20)" (parenthesized_expression "(**(code **)(in_t9 + 0x7f33c))" ( (pointer_expression "**(code **)(in_t9 + 0x7f33c)" * (pointer_expression "*(code **)(in_t9 + 0x7f33c)" * (cast_expression "(code **)(in_t9 + 0x7f33c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x7f33c)" ( (binary_expression "in_t9 + 0x7f33c" identifier + number_literal) ))))) )) (argument_list "(src->_mp_d,iVar2,iVar3,(src->_mp_exp - iVar2) * 0x20)" ( (field_expression "src->_mp_d" identifier -> field_identifier) , identifier , identifier , (binary_expression "(src->_mp_exp - iVar2) * 0x20" (parenthesized_expression "(src->_mp_exp - iVar2)" ( (binary_expression "src->_mp_exp - iVar2" (field_expression "src->_mp_exp" identifier -> field_identifier) - identifier) )) * number_literal) ))))) ;) (return_statement "return dVar1;" return identifier ;) })) (return_statement "return 0.0;" return number_literal ;) })))
(translation_unit "undefined8 __gmpf_get_d(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 uVar3;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    \n                    \n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 __gmpf_get_d(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 uVar3;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    \n                    \n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }\n  return 0;\n}" type_identifier (function_declarator "__gmpf_get_d(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined8 uVar3;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    \n                    \n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    \n                    \n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    \n                    \n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }" { (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" identifier = identifier) ;) (if_statement "if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar1 = -iVar2;\n    }" { (expression_statement "iVar1 = -iVar2;" (assignment_expression "iVar1 = -iVar2" identifier = (unary_expression "-iVar2" - identifier)) ;) })) (expression_statement "uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);" (assignment_expression "uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20)" identifier = (call_expression "(*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20)" (parenthesized_expression "(*(code *)PTR___gmpn_get_d_0009d5fc)" ( (pointer_expression "*(code *)PTR___gmpn_get_d_0009d5fc" * (cast_expression "(code *)PTR___gmpn_get_d_0009d5fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier , identifier , (binary_expression "(*(int *)(param_1 + 8) - iVar1) * 0x20" (parenthesized_expression "(*(int *)(param_1 + 8) - iVar1)" ( (binary_expression "*(int *)(param_1 + 8) - iVar1" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) - identifier) )) * number_literal) )))) ;) (return_statement "return uVar3;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) )) * LIT) )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined8 __gmpf_get_d(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 uVar3;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    \n                    \n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "__gmpf_get_d(int param_1)" (identifier "__gmpf_get_d") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined8 uVar3;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    \n                    \n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) {\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    \n                    \n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = iVar2;\n    if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }\n                    \n                    \n    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);\n    return uVar3;\n  }" ({ "{") (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" (identifier "iVar1") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (iVar2 < 0) {\n      iVar1 = -iVar2;\n    }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = -iVar2;\n    }" ({ "{") (expression_statement "iVar1 = -iVar2;" (assignment_expression "iVar1 = -iVar2" (identifier "iVar1") (= "=") (unary_expression "-iVar2" (- "-") (identifier "iVar2"))) (; ";")) (} "}"))) (expression_statement "uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20);" (assignment_expression "uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR___gmpn_get_d_0009d5fc)\n                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20)" (parenthesized_expression "(*(code *)PTR___gmpn_get_d_0009d5fc)" (( "(") (pointer_expression "*(code *)PTR___gmpn_get_d_0009d5fc" (* "*") (cast_expression "(code *)PTR___gmpn_get_d_0009d5fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_get_d_0009d5fc"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,\n                       (*(int *)(param_1 + 8) - iVar1) * 0x20)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "iVar1") (, ",") (identifier "iVar2") (, ",") (binary_expression "(*(int *)(param_1 + 8) - iVar1) * 0x20" (parenthesized_expression "(*(int *)(param_1 + 8) - iVar1)" (( "(") (binary_expression "*(int *)(param_1 + 8) - iVar1" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (- "-") (identifier "iVar1")) () ")")) (* "*") (number_literal "0x20")) () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

double function_1(type_1 src)

{
  double dVar1;
  int var_3;
  int var_1;
  int var_2;
  
  var_1 = src->_mp_size;
  if (var_1 != 0) {
    var_3 = var_1;
    if (var_1 < 0) {
      var_3 = -var_1;
    }
                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    dVar1 = (double)(**(type_2 **)(var_2 + 0x7f33c))
                              (src->_mp_d,var_3,var_1,(src->_mp_exp - var_3) * 0x20);
    return dVar1;
  }
  return 0.0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (identifier) right: (unary_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (identifier) (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) right: (number_literal)))))) (return_statement (identifier)))) (return_statement (number_literal)))))

undefined8 MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  undefined8 uVar3;
  
  iVar2 = *(int *)(param_1 + 4);
  if (iVar2 != 0) {
    iVar1 = iVar2;
    if (iVar2 < 0) {
      iVar1 = -iVar2;
    }
                    /* WARNING: Could not recover jumptable at 0x0001e2f8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar3 = (*(code *)PTR___gmpn_get_d_0009d5fc)
                      (*(undefined4 *)(param_1 + 0xc),iVar1,iVar2,
                       (*(int *)(param_1 + 8) - iVar1) * 0x20);
    return uVar3;
  }
  return 0;
}

