
void __gmpz_fib2_ui(mpz_ptr fn,mpz_ptr fnsub1,ulong n)

{
  mp_limb_t mVar1;
  undefined *puVar2;
  mp_size_t mVar3;
  mp_ptr f1p;
  mp_limb_t *fp;
  long new_alloc;
  
  puVar2 = PTR___gmp_fib_table_00181ef0;
  if (0x5d < n) {
    new_alloc = ((n >> 5) * 0x17 >> 6) + 4;
    if (fn->_mp_alloc < new_alloc) {
      fp = (mp_limb_t *)__gmpz_realloc(fn,new_alloc);
    }
    else {
      fp = fn->_mp_d;
    }
    if (fnsub1->_mp_alloc < new_alloc) {
      f1p = (mp_ptr)__gmpz_realloc(fnsub1,new_alloc);
    }
    else {
      f1p = fnsub1->_mp_d;
    }
    mVar3 = __gmpn_fib2_ui(fp,f1p,n);
    mVar1 = f1p[mVar3 + -1];
    fn->_mp_size = (int)mVar3;
    fnsub1->_mp_size = (int)mVar3 - (uint)(mVar1 == 0);
    return;
  }
  *fn->_mp_d = *(mp_limb_t *)(PTR___gmp_fib_table_00181ef0 + n * 8 + 8);
  fn->_mp_size = (uint)(n != 0);
  *fnsub1->_mp_d = *(mp_limb_t *)(puVar2 + (long)(int)n * 8);
  fnsub1->_mp_size = (uint)(n != 1);
  return;
}



void __gmpz_fib2_ui(int *param_1,int *param_2,ulong param_3)

{
  undefined *puVar1;
  long lVar2;
  undefined8 uVar3;
  long lVar4;
  
  puVar1 = PTR___gmp_fib_table_00181ef0;
  if (0x5d < param_3) {
    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;
    if (*param_1 < lVar4) {
      uVar3 = __gmpz_realloc(param_1,lVar4);
    }
    else {
      uVar3 = *(undefined8 *)(param_1 + 2);
    }
    if (*param_2 < lVar4) {
      lVar4 = __gmpz_realloc(param_2,lVar4);
    }
    else {
      lVar4 = *(long *)(param_2 + 2);
    }
    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);
    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);
    param_1[1] = (int)lVar2;
    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);
    return;
  }
  **(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);
  param_1[1] = (uint)(param_3 != 0);
  **(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);
  param_2[1] = (uint)(param_3 != 1);
  return;
}


CMP RDX,0x5d
JBE 0x0011ad90
MOV RAX,RDX
PUSH R13
SHR RAX,0x5
PUSH R12
MOV R12,RSI
PUSH RBP
MOV RBP,RDI
PUSH RBX
LEA RBX,[RAX + RAX*0x2]
SHL RBX,0x3
SUB RBX,RAX
SUB RSP,0x18
SHR RBX,0x6
MOVSXD RAX,dword ptr [RDI]
ADD RBX,0x4
CMP RAX,RBX
JL 0x0011adf0
MOV R13,qword ptr [RDI + 0x8]
MOVSXD RAX,dword ptr [R12]
CMP RAX,RBX
JL 0x0011add0
MOV RBX,qword ptr [R12 + 0x8]
MOV RSI,RBX
MOV RDI,R13
CALL 0x0010c180
XOR EDX,EDX
CMP qword ptr [RBX + RAX*0x8 + -0x8],0x0
MOV dword ptr [RBP + 0x4],EAX
SETZ DL
SUB EAX,EDX
MOV dword ptr [R12 + 0x4],EAX
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
MOV RAX,qword ptr [0x00181ef0]
MOV RCX,qword ptr [RDI + 0x8]
MOV R8,qword ptr [RAX + RDX*0x8 + 0x8]
MOV qword ptr [RCX],R8
XOR ECX,ECX
TEST RDX,RDX
SETNZ CL
MOV dword ptr [RDI + 0x4],ECX
MOVSXD RDI,EDX
MOV RCX,qword ptr [RSI + 0x8]
MOV RAX,qword ptr [RAX + RDI*0x8]
MOV qword ptr [RCX],RAX
XOR EAX,EAX
CMP RDX,0x1
SETNZ AL
MOV dword ptr [RSI + 0x4],EAX
RET
MOV RSI,RBX
MOV RDI,R12
MOV qword ptr [RSP + 0x8],RDX
CALL 0x0010b1e0
MOV RDX,qword ptr [RSP + 0x8]
MOV RBX,RAX
JMP 0x0011ad5e
MOV RSI,RBX
MOV qword ptr [RSP + 0x8],RDX
CALL 0x0010b1e0
MOV RDX,qword ptr [RSP + 0x8]
MOV R13,RAX
JMP 0x0011ad50
(translation_unit "void __gmpz_fib2_ui(int *param_1,int *param_2,ulong param_3)\n\n{\n  undefined *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }\n  **(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);\n  param_1[1] = (uint)(param_3 != 0);\n  **(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);\n  param_2[1] = (uint)(param_3 != 1);\n  return;\n}\n\n" (function_definition "void __gmpz_fib2_ui(int *param_1,int *param_2,ulong param_3)\n\n{\n  undefined *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }\n  **(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);\n  param_1[1] = (uint)(param_3 != 0);\n  **(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);\n  param_2[1] = (uint)(param_3 != 1);\n  return;\n}" primitive_type (function_declarator "__gmpz_fib2_ui(int *param_1,int *param_2,ulong param_3)" identifier (parameter_list "(int *param_1,int *param_2,ulong param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "ulong param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }\n  **(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);\n  param_1[1] = (uint)(param_3 != 0);\n  **(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);\n  param_2[1] = (uint)(param_3 != 1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "puVar1 = PTR___gmp_fib_table_00181ef0;" (assignment_expression "puVar1 = PTR___gmp_fib_table_00181ef0" identifier = identifier) ;) (if_statement "if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }" if (parenthesized_expression "(0x5d < param_3)" ( (binary_expression "0x5d < param_3" number_literal < identifier) )) (compound_statement "{\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }" { (expression_statement "lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;" (assignment_expression "lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4" identifier = (binary_expression "((param_3 >> 5) * 0x17 >> 6) + 4" (parenthesized_expression "((param_3 >> 5) * 0x17 >> 6)" ( (binary_expression "(param_3 >> 5) * 0x17 >> 6" (binary_expression "(param_3 >> 5) * 0x17" (parenthesized_expression "(param_3 >> 5)" ( (binary_expression "param_3 >> 5" identifier >> number_literal) )) * number_literal) >> number_literal) )) + number_literal)) ;) (if_statement "if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }" if (parenthesized_expression "(*param_1 < lVar4)" ( (binary_expression "*param_1 < lVar4" (pointer_expression "*param_1" * identifier) < identifier) )) (compound_statement "{\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }" { (expression_statement "uVar3 = __gmpz_realloc(param_1,lVar4);" (assignment_expression "uVar3 = __gmpz_realloc(param_1,lVar4)" identifier = (call_expression "__gmpz_realloc(param_1,lVar4)" identifier (argument_list "(param_1,lVar4)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }" else (compound_statement "{\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }" { (expression_statement "uVar3 = *(undefined8 *)(param_1 + 2);" (assignment_expression "uVar3 = *(undefined8 *)(param_1 + 2)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) }))) (if_statement "if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }" if (parenthesized_expression "(*param_2 < lVar4)" ( (binary_expression "*param_2 < lVar4" (pointer_expression "*param_2" * identifier) < identifier) )) (compound_statement "{\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }" { (expression_statement "lVar4 = __gmpz_realloc(param_2,lVar4);" (assignment_expression "lVar4 = __gmpz_realloc(param_2,lVar4)" identifier = (call_expression "__gmpz_realloc(param_2,lVar4)" identifier (argument_list "(param_2,lVar4)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      lVar4 = *(long *)(param_2 + 2);\n    }" else (compound_statement "{\n      lVar4 = *(long *)(param_2 + 2);\n    }" { (expression_statement "lVar4 = *(long *)(param_2 + 2);" (assignment_expression "lVar4 = *(long *)(param_2 + 2)" identifier = (pointer_expression "*(long *)(param_2 + 2)" * (cast_expression "(long *)(param_2 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) ))))) ;) }))) (expression_statement "lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);" (assignment_expression "lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3)" identifier = (call_expression "__gmpn_fib2_ui(uVar3,lVar4,param_3)" identifier (argument_list "(uVar3,lVar4,param_3)" ( identifier , identifier , identifier )))) ;) (expression_statement "lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);" (assignment_expression "lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8)" identifier = (pointer_expression "*(long *)(lVar4 + -8 + lVar2 * 8)" * (cast_expression "(long *)(lVar4 + -8 + lVar2 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -8 + lVar2 * 8)" ( (binary_expression "lVar4 + -8 + lVar2 * 8" (binary_expression "lVar4 + -8" identifier + number_literal) + (binary_expression "lVar2 * 8" identifier * number_literal)) ))))) ;) (expression_statement "param_1[1] = (int)lVar2;" (assignment_expression "param_1[1] = (int)lVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);" (assignment_expression "param_2[1] = (int)lVar2 - (uint)(lVar4 == 0)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "(int)lVar2 - (uint)(lVar4 == 0)" (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (call_expression "(uint)(lVar4 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) ))))) ;) (return_statement "return;" return ;) })) (expression_statement "**(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);" (assignment_expression "**(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" (pointer_expression "**(undefined8 **)(param_1 + 2)" * (pointer_expression "*(undefined8 **)(param_1 + 2)" * (cast_expression "(undefined8 **)(param_1 + 2)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) = (pointer_expression "*(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" * (cast_expression "(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" ( (binary_expression "PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8" (binary_expression "PTR___gmp_fib_table_00181ef0 + param_3 * 8" identifier + (binary_expression "param_3 * 8" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "param_1[1] = (uint)(param_3 != 0);" (assignment_expression "param_1[1] = (uint)(param_3 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )))) ;) (expression_statement "**(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);" (assignment_expression "**(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8)" (pointer_expression "**(undefined8 **)(param_2 + 2)" * (pointer_expression "*(undefined8 **)(param_2 + 2)" * (cast_expression "(undefined8 **)(param_2 + 2)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) ))))) = (pointer_expression "*(undefined8 *)(puVar1 + (long)(int)param_3 * 8)" * (cast_expression "(undefined8 *)(puVar1 + (long)(int)param_3 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + (long)(int)param_3 * 8)" ( (binary_expression "puVar1 + (long)(int)param_3 * 8" identifier + (binary_expression "(long)(int)param_3 * 8" (cast_expression "(long)(int)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) * number_literal)) ))))) ;) (expression_statement "param_2[1] = (uint)(param_3 != 1);" (assignment_expression "param_2[1] = (uint)(param_3 != 1)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_3 != 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpz_fib2_ui(mpz_ptr fn,mpz_ptr fnsub1,ulong n)\n\n{\n  mp_limb_t mVar1;\n  undefined *puVar2;\n  mp_size_t mVar3;\n  mp_ptr f1p;\n  mp_limb_t *fp;\n  long new_alloc;\n  \n  puVar2 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < n) {\n    new_alloc = ((n >> 5) * 0x17 >> 6) + 4;\n    if (fn->_mp_alloc < new_alloc) {\n      fp = (mp_limb_t *)__gmpz_realloc(fn,new_alloc);\n    }\n    else {\n      fp = fn->_mp_d;\n    }\n    if (fnsub1->_mp_alloc < new_alloc) {\n      f1p = (mp_ptr)__gmpz_realloc(fnsub1,new_alloc);\n    }\n    else {\n      f1p = fnsub1->_mp_d;\n    }\n    mVar3 = __gmpn_fib2_ui(fp,f1p,n);\n    mVar1 = f1p[mVar3 + -1];\n    fn->_mp_size = (int)mVar3;\n    fnsub1->_mp_size = (int)mVar3 - (uint)(mVar1 == 0);\n    return;\n  }\n  *fn->_mp_d = *(mp_limb_t *)(PTR___gmp_fib_table_00181ef0 + n * 8 + 8);\n  fn->_mp_size = (uint)(n != 0);\n  *fnsub1->_mp_d = *(mp_limb_t *)(puVar2 + (long)(int)n * 8);\n  fnsub1->_mp_size = (uint)(n != 1);\n  return;\n}\n\n" (function_definition "void __gmpz_fib2_ui(mpz_ptr fn,mpz_ptr fnsub1,ulong n)\n\n{\n  mp_limb_t mVar1;\n  undefined *puVar2;\n  mp_size_t mVar3;\n  mp_ptr f1p;\n  mp_limb_t *fp;\n  long new_alloc;\n  \n  puVar2 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < n) {\n    new_alloc = ((n >> 5) * 0x17 >> 6) + 4;\n    if (fn->_mp_alloc < new_alloc) {\n      fp = (mp_limb_t *)__gmpz_realloc(fn,new_alloc);\n    }\n    else {\n      fp = fn->_mp_d;\n    }\n    if (fnsub1->_mp_alloc < new_alloc) {\n      f1p = (mp_ptr)__gmpz_realloc(fnsub1,new_alloc);\n    }\n    else {\n      f1p = fnsub1->_mp_d;\n    }\n    mVar3 = __gmpn_fib2_ui(fp,f1p,n);\n    mVar1 = f1p[mVar3 + -1];\n    fn->_mp_size = (int)mVar3;\n    fnsub1->_mp_size = (int)mVar3 - (uint)(mVar1 == 0);\n    return;\n  }\n  *fn->_mp_d = *(mp_limb_t *)(PTR___gmp_fib_table_00181ef0 + n * 8 + 8);\n  fn->_mp_size = (uint)(n != 0);\n  *fnsub1->_mp_d = *(mp_limb_t *)(puVar2 + (long)(int)n * 8);\n  fnsub1->_mp_size = (uint)(n != 1);\n  return;\n}" primitive_type (function_declarator "__gmpz_fib2_ui(mpz_ptr fn,mpz_ptr fnsub1,ulong n)" identifier (parameter_list "(mpz_ptr fn,mpz_ptr fnsub1,ulong n)" ( (parameter_declaration "mpz_ptr fn" type_identifier identifier) , (parameter_declaration "mpz_ptr fnsub1" type_identifier identifier) , (parameter_declaration "ulong n" type_identifier identifier) ))) (compound_statement "{\n  mp_limb_t mVar1;\n  undefined *puVar2;\n  mp_size_t mVar3;\n  mp_ptr f1p;\n  mp_limb_t *fp;\n  long new_alloc;\n  \n  puVar2 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < n) {\n    new_alloc = ((n >> 5) * 0x17 >> 6) + 4;\n    if (fn->_mp_alloc < new_alloc) {\n      fp = (mp_limb_t *)__gmpz_realloc(fn,new_alloc);\n    }\n    else {\n      fp = fn->_mp_d;\n    }\n    if (fnsub1->_mp_alloc < new_alloc) {\n      f1p = (mp_ptr)__gmpz_realloc(fnsub1,new_alloc);\n    }\n    else {\n      f1p = fnsub1->_mp_d;\n    }\n    mVar3 = __gmpn_fib2_ui(fp,f1p,n);\n    mVar1 = f1p[mVar3 + -1];\n    fn->_mp_size = (int)mVar3;\n    fnsub1->_mp_size = (int)mVar3 - (uint)(mVar1 == 0);\n    return;\n  }\n  *fn->_mp_d = *(mp_limb_t *)(PTR___gmp_fib_table_00181ef0 + n * 8 + 8);\n  fn->_mp_size = (uint)(n != 0);\n  *fnsub1->_mp_d = *(mp_limb_t *)(puVar2 + (long)(int)n * 8);\n  fnsub1->_mp_size = (uint)(n != 1);\n  return;\n}" { (declaration "mp_limb_t mVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "mp_size_t mVar3;" type_identifier identifier ;) (declaration "mp_ptr f1p;" type_identifier identifier ;) (declaration "mp_limb_t *fp;" type_identifier (pointer_declarator "*fp" * identifier) ;) (declaration "long new_alloc;" (sized_type_specifier "long" long) identifier ;) (expression_statement "puVar2 = PTR___gmp_fib_table_00181ef0;" (assignment_expression "puVar2 = PTR___gmp_fib_table_00181ef0" identifier = identifier) ;) (if_statement "if (0x5d < n) {\n    new_alloc = ((n >> 5) * 0x17 >> 6) + 4;\n    if (fn->_mp_alloc < new_alloc) {\n      fp = (mp_limb_t *)__gmpz_realloc(fn,new_alloc);\n    }\n    else {\n      fp = fn->_mp_d;\n    }\n    if (fnsub1->_mp_alloc < new_alloc) {\n      f1p = (mp_ptr)__gmpz_realloc(fnsub1,new_alloc);\n    }\n    else {\n      f1p = fnsub1->_mp_d;\n    }\n    mVar3 = __gmpn_fib2_ui(fp,f1p,n);\n    mVar1 = f1p[mVar3 + -1];\n    fn->_mp_size = (int)mVar3;\n    fnsub1->_mp_size = (int)mVar3 - (uint)(mVar1 == 0);\n    return;\n  }" if (parenthesized_expression "(0x5d < n)" ( (binary_expression "0x5d < n" number_literal < identifier) )) (compound_statement "{\n    new_alloc = ((n >> 5) * 0x17 >> 6) + 4;\n    if (fn->_mp_alloc < new_alloc) {\n      fp = (mp_limb_t *)__gmpz_realloc(fn,new_alloc);\n    }\n    else {\n      fp = fn->_mp_d;\n    }\n    if (fnsub1->_mp_alloc < new_alloc) {\n      f1p = (mp_ptr)__gmpz_realloc(fnsub1,new_alloc);\n    }\n    else {\n      f1p = fnsub1->_mp_d;\n    }\n    mVar3 = __gmpn_fib2_ui(fp,f1p,n);\n    mVar1 = f1p[mVar3 + -1];\n    fn->_mp_size = (int)mVar3;\n    fnsub1->_mp_size = (int)mVar3 - (uint)(mVar1 == 0);\n    return;\n  }" { (expression_statement "new_alloc = ((n >> 5) * 0x17 >> 6) + 4;" (assignment_expression "new_alloc = ((n >> 5) * 0x17 >> 6) + 4" identifier = (binary_expression "((n >> 5) * 0x17 >> 6) + 4" (parenthesized_expression "((n >> 5) * 0x17 >> 6)" ( (binary_expression "(n >> 5) * 0x17 >> 6" (binary_expression "(n >> 5) * 0x17" (parenthesized_expression "(n >> 5)" ( (binary_expression "n >> 5" identifier >> number_literal) )) * number_literal) >> number_literal) )) + number_literal)) ;) (if_statement "if (fn->_mp_alloc < new_alloc) {\n      fp = (mp_limb_t *)__gmpz_realloc(fn,new_alloc);\n    }\n    else {\n      fp = fn->_mp_d;\n    }" if (parenthesized_expression "(fn->_mp_alloc < new_alloc)" ( (binary_expression "fn->_mp_alloc < new_alloc" (field_expression "fn->_mp_alloc" identifier -> field_identifier) < identifier) )) (compound_statement "{\n      fp = (mp_limb_t *)__gmpz_realloc(fn,new_alloc);\n    }" { (expression_statement "fp = (mp_limb_t *)__gmpz_realloc(fn,new_alloc);" (assignment_expression "fp = (mp_limb_t *)__gmpz_realloc(fn,new_alloc)" identifier = (cast_expression "(mp_limb_t *)__gmpz_realloc(fn,new_alloc)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmpz_realloc(fn,new_alloc)" identifier (argument_list "(fn,new_alloc)" ( identifier , identifier ))))) ;) }) (else_clause "else {\n      fp = fn->_mp_d;\n    }" else (compound_statement "{\n      fp = fn->_mp_d;\n    }" { (expression_statement "fp = fn->_mp_d;" (assignment_expression "fp = fn->_mp_d" identifier = (field_expression "fn->_mp_d" identifier -> field_identifier)) ;) }))) (if_statement "if (fnsub1->_mp_alloc < new_alloc) {\n      f1p = (mp_ptr)__gmpz_realloc(fnsub1,new_alloc);\n    }\n    else {\n      f1p = fnsub1->_mp_d;\n    }" if (parenthesized_expression "(fnsub1->_mp_alloc < new_alloc)" ( (binary_expression "fnsub1->_mp_alloc < new_alloc" (field_expression "fnsub1->_mp_alloc" identifier -> field_identifier) < identifier) )) (compound_statement "{\n      f1p = (mp_ptr)__gmpz_realloc(fnsub1,new_alloc);\n    }" { (expression_statement "f1p = (mp_ptr)__gmpz_realloc(fnsub1,new_alloc);" (assignment_expression "f1p = (mp_ptr)__gmpz_realloc(fnsub1,new_alloc)" identifier = (cast_expression "(mp_ptr)__gmpz_realloc(fnsub1,new_alloc)" ( (type_descriptor "mp_ptr" type_identifier) ) (call_expression "__gmpz_realloc(fnsub1,new_alloc)" identifier (argument_list "(fnsub1,new_alloc)" ( identifier , identifier ))))) ;) }) (else_clause "else {\n      f1p = fnsub1->_mp_d;\n    }" else (compound_statement "{\n      f1p = fnsub1->_mp_d;\n    }" { (expression_statement "f1p = fnsub1->_mp_d;" (assignment_expression "f1p = fnsub1->_mp_d" identifier = (field_expression "fnsub1->_mp_d" identifier -> field_identifier)) ;) }))) (expression_statement "mVar3 = __gmpn_fib2_ui(fp,f1p,n);" (assignment_expression "mVar3 = __gmpn_fib2_ui(fp,f1p,n)" identifier = (call_expression "__gmpn_fib2_ui(fp,f1p,n)" identifier (argument_list "(fp,f1p,n)" ( identifier , identifier , identifier )))) ;) (expression_statement "mVar1 = f1p[mVar3 + -1];" (assignment_expression "mVar1 = f1p[mVar3 + -1]" identifier = (subscript_expression "f1p[mVar3 + -1]" identifier [ (binary_expression "mVar3 + -1" identifier + number_literal) ])) ;) (expression_statement "fn->_mp_size = (int)mVar3;" (assignment_expression "fn->_mp_size = (int)mVar3" (field_expression "fn->_mp_size" identifier -> field_identifier) = (cast_expression "(int)mVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "fnsub1->_mp_size = (int)mVar3 - (uint)(mVar1 == 0);" (assignment_expression "fnsub1->_mp_size = (int)mVar3 - (uint)(mVar1 == 0)" (field_expression "fnsub1->_mp_size" identifier -> field_identifier) = (binary_expression "(int)mVar3 - (uint)(mVar1 == 0)" (cast_expression "(int)mVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (call_expression "(uint)(mVar1 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(mVar1 == 0)" ( (binary_expression "mVar1 == 0" identifier == number_literal) ))))) ;) (return_statement "return;" return ;) })) (expression_statement "*fn->_mp_d = *(mp_limb_t *)(PTR___gmp_fib_table_00181ef0 + n * 8 + 8);" (assignment_expression "*fn->_mp_d = *(mp_limb_t *)(PTR___gmp_fib_table_00181ef0 + n * 8 + 8)" (pointer_expression "*fn->_mp_d" * (field_expression "fn->_mp_d" identifier -> field_identifier)) = (pointer_expression "*(mp_limb_t *)(PTR___gmp_fib_table_00181ef0 + n * 8 + 8)" * (cast_expression "(mp_limb_t *)(PTR___gmp_fib_table_00181ef0 + n * 8 + 8)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___gmp_fib_table_00181ef0 + n * 8 + 8)" ( (binary_expression "PTR___gmp_fib_table_00181ef0 + n * 8 + 8" (binary_expression "PTR___gmp_fib_table_00181ef0 + n * 8" identifier + (binary_expression "n * 8" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "fn->_mp_size = (uint)(n != 0);" (assignment_expression "fn->_mp_size = (uint)(n != 0)" (field_expression "fn->_mp_size" identifier -> field_identifier) = (call_expression "(uint)(n != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(n != 0)" ( (binary_expression "n != 0" identifier != number_literal) )))) ;) (expression_statement "*fnsub1->_mp_d = *(mp_limb_t *)(puVar2 + (long)(int)n * 8);" (assignment_expression "*fnsub1->_mp_d = *(mp_limb_t *)(puVar2 + (long)(int)n * 8)" (pointer_expression "*fnsub1->_mp_d" * (field_expression "fnsub1->_mp_d" identifier -> field_identifier)) = (pointer_expression "*(mp_limb_t *)(puVar2 + (long)(int)n * 8)" * (cast_expression "(mp_limb_t *)(puVar2 + (long)(int)n * 8)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + (long)(int)n * 8)" ( (binary_expression "puVar2 + (long)(int)n * 8" identifier + (binary_expression "(long)(int)n * 8" (cast_expression "(long)(int)n" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)n" ( (type_descriptor "int" primitive_type) ) identifier)) * number_literal)) ))))) ;) (expression_statement "fnsub1->_mp_size = (uint)(n != 1);" (assignment_expression "fnsub1->_mp_size = (uint)(n != 1)" (field_expression "fnsub1->_mp_size" identifier -> field_identifier) = (call_expression "(uint)(n != 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(n != 1)" ( (binary_expression "n != 1" identifier != number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpz_fib2_ui(int *param_1,int *param_2,ulong param_3)\n\n{\n  undefined *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }\n  **(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);\n  param_1[1] = (uint)(param_3 != 0);\n  **(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);\n  param_2[1] = (uint)(param_3 != 1);\n  return;\n}\n\n" (function_definition "void __gmpz_fib2_ui(int *param_1,int *param_2,ulong param_3)\n\n{\n  undefined *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }\n  **(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);\n  param_1[1] = (uint)(param_3 != 0);\n  **(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);\n  param_2[1] = (uint)(param_3 != 1);\n  return;\n}" primitive_type (function_declarator "__gmpz_fib2_ui(int *param_1,int *param_2,ulong param_3)" identifier (parameter_list "(int *param_1,int *param_2,ulong param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "ulong param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }\n  **(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);\n  param_1[1] = (uint)(param_3 != 0);\n  **(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);\n  param_2[1] = (uint)(param_3 != 1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "puVar1 = PTR___gmp_fib_table_00181ef0;" (assignment_expression "puVar1 = PTR___gmp_fib_table_00181ef0" identifier = identifier) ;) (if_statement "if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }" if (parenthesized_expression "(0x5d < param_3)" ( (binary_expression "0x5d < param_3" number_literal < identifier) )) (compound_statement "{\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }" { (expression_statement "lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;" (assignment_expression "lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4" identifier = (binary_expression "((param_3 >> 5) * 0x17 >> 6) + 4" (parenthesized_expression "((param_3 >> 5) * 0x17 >> 6)" ( (binary_expression "(param_3 >> 5) * 0x17 >> 6" (binary_expression "(param_3 >> 5) * 0x17" (parenthesized_expression "(param_3 >> 5)" ( (binary_expression "param_3 >> 5" identifier >> number_literal) )) * number_literal) >> number_literal) )) + number_literal)) ;) (if_statement "if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }" if (parenthesized_expression "(*param_1 < lVar4)" ( (binary_expression "*param_1 < lVar4" (pointer_expression "*param_1" * identifier) < identifier) )) (compound_statement "{\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }" { (expression_statement "uVar3 = __gmpz_realloc(param_1,lVar4);" (assignment_expression "uVar3 = __gmpz_realloc(param_1,lVar4)" identifier = (call_expression "__gmpz_realloc(param_1,lVar4)" identifier (argument_list "(param_1,lVar4)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }" else (compound_statement "{\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }" { (expression_statement "uVar3 = *(undefined8 *)(param_1 + 2);" (assignment_expression "uVar3 = *(undefined8 *)(param_1 + 2)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) }))) (if_statement "if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }" if (parenthesized_expression "(*param_2 < lVar4)" ( (binary_expression "*param_2 < lVar4" (pointer_expression "*param_2" * identifier) < identifier) )) (compound_statement "{\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }" { (expression_statement "lVar4 = __gmpz_realloc(param_2,lVar4);" (assignment_expression "lVar4 = __gmpz_realloc(param_2,lVar4)" identifier = (call_expression "__gmpz_realloc(param_2,lVar4)" identifier (argument_list "(param_2,lVar4)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      lVar4 = *(long *)(param_2 + 2);\n    }" else (compound_statement "{\n      lVar4 = *(long *)(param_2 + 2);\n    }" { (expression_statement "lVar4 = *(long *)(param_2 + 2);" (assignment_expression "lVar4 = *(long *)(param_2 + 2)" identifier = (pointer_expression "*(long *)(param_2 + 2)" * (cast_expression "(long *)(param_2 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) ))))) ;) }))) (expression_statement "lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);" (assignment_expression "lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3)" identifier = (call_expression "__gmpn_fib2_ui(uVar3,lVar4,param_3)" identifier (argument_list "(uVar3,lVar4,param_3)" ( identifier , identifier , identifier )))) ;) (expression_statement "lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);" (assignment_expression "lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8)" identifier = (pointer_expression "*(long *)(lVar4 + -8 + lVar2 * 8)" * (cast_expression "(long *)(lVar4 + -8 + lVar2 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -8 + lVar2 * 8)" ( (binary_expression "lVar4 + -8 + lVar2 * 8" (binary_expression "lVar4 + -8" identifier + number_literal) + (binary_expression "lVar2 * 8" identifier * number_literal)) ))))) ;) (expression_statement "param_1[1] = (int)lVar2;" (assignment_expression "param_1[1] = (int)lVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);" (assignment_expression "param_2[1] = (int)lVar2 - (uint)(lVar4 == 0)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "(int)lVar2 - (uint)(lVar4 == 0)" (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (call_expression "(uint)(lVar4 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) ))))) ;) (return_statement "return;" return ;) })) (expression_statement "**(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);" (assignment_expression "**(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" (pointer_expression "**(undefined8 **)(param_1 + 2)" * (pointer_expression "*(undefined8 **)(param_1 + 2)" * (cast_expression "(undefined8 **)(param_1 + 2)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) = (pointer_expression "*(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" * (cast_expression "(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" ( (binary_expression "PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8" (binary_expression "PTR___gmp_fib_table_00181ef0 + param_3 * 8" identifier + (binary_expression "param_3 * 8" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "param_1[1] = (uint)(param_3 != 0);" (assignment_expression "param_1[1] = (uint)(param_3 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )))) ;) (expression_statement "**(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);" (assignment_expression "**(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8)" (pointer_expression "**(undefined8 **)(param_2 + 2)" * (pointer_expression "*(undefined8 **)(param_2 + 2)" * (cast_expression "(undefined8 **)(param_2 + 2)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) ))))) = (pointer_expression "*(undefined8 *)(puVar1 + (long)(int)param_3 * 8)" * (cast_expression "(undefined8 *)(puVar1 + (long)(int)param_3 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + (long)(int)param_3 * 8)" ( (binary_expression "puVar1 + (long)(int)param_3 * 8" identifier + (binary_expression "(long)(int)param_3 * 8" (cast_expression "(long)(int)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) * number_literal)) ))))) ;) (expression_statement "param_2[1] = (uint)(param_3 != 1);" (assignment_expression "param_2[1] = (uint)(param_3 != 1)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_3 != 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 1)" ( (binary_expression "param_3 != 1" 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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) * LIT) >> LIT) )) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (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 (pointer_expression * IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))))) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) * LIT)) ))))) ;) (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_fib2_ui(int *param_1,int *param_2,ulong param_3)\n\n{\n  undefined *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }\n  **(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);\n  param_1[1] = (uint)(param_3 != 0);\n  **(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);\n  param_2[1] = (uint)(param_3 != 1);\n  return;\n}" (primitive_type "void") (function_declarator "__gmpz_fib2_ui(int *param_1,int *param_2,ulong param_3)" (identifier "__gmpz_fib2_ui") (parameter_list "(int *param_1,int *param_2,ulong param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "ulong param_3" (type_identifier "ulong") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = PTR___gmp_fib_table_00181ef0;\n  if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }\n  **(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);\n  param_1[1] = (uint)(param_3 != 0);\n  **(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);\n  param_2[1] = (uint)(param_3 != 1);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (expression_statement "puVar1 = PTR___gmp_fib_table_00181ef0;" (assignment_expression "puVar1 = PTR___gmp_fib_table_00181ef0" (identifier "puVar1") (= "=") (identifier "PTR___gmp_fib_table_00181ef0")) (; ";")) (if_statement "if (0x5d < param_3) {\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }" (if "if") (parenthesized_expression "(0x5d < param_3)" (( "(") (binary_expression "0x5d < param_3" (number_literal "0x5d") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;\n    if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }\n    if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }\n    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);\n    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);\n    param_1[1] = (int)lVar2;\n    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);\n    return;\n  }" ({ "{") (expression_statement "lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;" (assignment_expression "lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4" (identifier "lVar4") (= "=") (binary_expression "((param_3 >> 5) * 0x17 >> 6) + 4" (parenthesized_expression "((param_3 >> 5) * 0x17 >> 6)" (( "(") (binary_expression "(param_3 >> 5) * 0x17 >> 6" (binary_expression "(param_3 >> 5) * 0x17" (parenthesized_expression "(param_3 >> 5)" (( "(") (binary_expression "param_3 >> 5" (identifier "param_3") (>> ">>") (number_literal "5")) () ")")) (* "*") (number_literal "0x17")) (>> ">>") (number_literal "6")) () ")")) (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (*param_1 < lVar4) {\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }\n    else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }" (if "if") (parenthesized_expression "(*param_1 < lVar4)" (( "(") (binary_expression "*param_1 < lVar4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (< "<") (identifier "lVar4")) () ")")) (compound_statement "{\n      uVar3 = __gmpz_realloc(param_1,lVar4);\n    }" ({ "{") (expression_statement "uVar3 = __gmpz_realloc(param_1,lVar4);" (assignment_expression "uVar3 = __gmpz_realloc(param_1,lVar4)" (identifier "uVar3") (= "=") (call_expression "__gmpz_realloc(param_1,lVar4)" (identifier "__gmpz_realloc") (argument_list "(param_1,lVar4)" (( "(") (identifier "param_1") (, ",") (identifier "lVar4") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }" (else "else") (compound_statement "{\n      uVar3 = *(undefined8 *)(param_1 + 2);\n    }" ({ "{") (expression_statement "uVar3 = *(undefined8 *)(param_1 + 2);" (assignment_expression "uVar3 = *(undefined8 *)(param_1 + 2)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 2)" (* "*") (cast_expression "(undefined8 *)(param_1 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (*param_2 < lVar4) {\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }\n    else {\n      lVar4 = *(long *)(param_2 + 2);\n    }" (if "if") (parenthesized_expression "(*param_2 < lVar4)" (( "(") (binary_expression "*param_2 < lVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (< "<") (identifier "lVar4")) () ")")) (compound_statement "{\n      lVar4 = __gmpz_realloc(param_2,lVar4);\n    }" ({ "{") (expression_statement "lVar4 = __gmpz_realloc(param_2,lVar4);" (assignment_expression "lVar4 = __gmpz_realloc(param_2,lVar4)" (identifier "lVar4") (= "=") (call_expression "__gmpz_realloc(param_2,lVar4)" (identifier "__gmpz_realloc") (argument_list "(param_2,lVar4)" (( "(") (identifier "param_2") (, ",") (identifier "lVar4") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      lVar4 = *(long *)(param_2 + 2);\n    }" (else "else") (compound_statement "{\n      lVar4 = *(long *)(param_2 + 2);\n    }" ({ "{") (expression_statement "lVar4 = *(long *)(param_2 + 2);" (assignment_expression "lVar4 = *(long *)(param_2 + 2)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(param_2 + 2)" (* "*") (cast_expression "(long *)(param_2 + 2)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (} "}")))) (expression_statement "lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);" (assignment_expression "lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3)" (identifier "lVar2") (= "=") (call_expression "__gmpn_fib2_ui(uVar3,lVar4,param_3)" (identifier "__gmpn_fib2_ui") (argument_list "(uVar3,lVar4,param_3)" (( "(") (identifier "uVar3") (, ",") (identifier "lVar4") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);" (assignment_expression "lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(lVar4 + -8 + lVar2 * 8)" (* "*") (cast_expression "(long *)(lVar4 + -8 + lVar2 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + -8 + lVar2 * 8)" (( "(") (binary_expression "lVar4 + -8 + lVar2 * 8" (binary_expression "lVar4 + -8" (identifier "lVar4") (+ "+") (number_literal "-8")) (+ "+") (binary_expression "lVar2 * 8" (identifier "lVar2") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "param_1[1] = (int)lVar2;" (assignment_expression "param_1[1] = (int)lVar2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)lVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar2"))) (; ";")) (expression_statement "param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);" (assignment_expression "param_2[1] = (int)lVar2 - (uint)(lVar4 == 0)" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(int)lVar2 - (uint)(lVar4 == 0)" (cast_expression "(int)lVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar2")) (- "-") (call_expression "(uint)(lVar4 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(lVar4 == 0)" (( "(") (binary_expression "lVar4 == 0" (identifier "lVar4") (== "==") (number_literal "0")) () ")"))))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "**(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);" (assignment_expression "**(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" (pointer_expression "**(undefined8 **)(param_1 + 2)" (* "*") (pointer_expression "*(undefined8 **)(param_1 + 2)" (* "*") (cast_expression "(undefined8 **)(param_1 + 2)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (= "=") (pointer_expression "*(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" (* "*") (cast_expression "(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8)" (( "(") (binary_expression "PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8" (binary_expression "PTR___gmp_fib_table_00181ef0 + param_3 * 8" (identifier "PTR___gmp_fib_table_00181ef0") (+ "+") (binary_expression "param_3 * 8" (identifier "param_3") (* "*") (number_literal "8"))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "param_1[1] = (uint)(param_3 != 0);" (assignment_expression "param_1[1] = (uint)(param_3 != 0)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (expression_statement "**(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);" (assignment_expression "**(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8)" (pointer_expression "**(undefined8 **)(param_2 + 2)" (* "*") (pointer_expression "*(undefined8 **)(param_2 + 2)" (* "*") (cast_expression "(undefined8 **)(param_2 + 2)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")"))))) (= "=") (pointer_expression "*(undefined8 *)(puVar1 + (long)(int)param_3 * 8)" (* "*") (cast_expression "(undefined8 *)(puVar1 + (long)(int)param_3 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + (long)(int)param_3 * 8)" (( "(") (binary_expression "puVar1 + (long)(int)param_3 * 8" (identifier "puVar1") (+ "+") (binary_expression "(long)(int)param_3 * 8" (cast_expression "(long)(int)param_3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3"))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "param_2[1] = (uint)(param_3 != 1);" (assignment_expression "param_2[1] = (uint)(param_3 != 1)" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (call_expression "(uint)(param_3 != 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_3 != 1)" (( "(") (binary_expression "param_3 != 1" (identifier "param_3") (!= "!=") (number_literal "1")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 fn,type_1 fnsub1,type_2 var_1)

{
  type_3 var_6;
  type_4 *var_8;
  type_5 var_5;
  type_6 f1p;
  type_3 *fp;
  long var_2;
  
  var_8 = var_7;
  if (0x5d < var_1) {
    var_2 = ((var_1 >> 5) * 0x17 >> 6) + 4;
    if (fn->_mp_alloc < var_2) {
      fp = (type_3 *)var_3(fn,var_2);
    }
    else {
      fp = fn->_mp_d;
    }
    if (fnsub1->_mp_alloc < var_2) {
      f1p = (type_6)var_3(fnsub1,var_2);
    }
    else {
      f1p = fnsub1->_mp_d;
    }
    var_5 = var_4(fp,f1p,var_1);
    var_6 = f1p[var_5 + -1];
    fn->_mp_size = (int)var_5;
    fnsub1->_mp_size = (int)var_5 - (uint)(var_6 == 0);
    return;
  }
  *fn->_mp_d = *(type_3 *)(var_7 + var_1 * 8 + 8);
  fn->_mp_size = (uint)(var_1 != 0);
  *fnsub1->_mp_d = *(type_3 *)(var_8 + (long)(int)var_1 * 8);
  fnsub1->_mp_size = (uint)(var_1 != 1);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (number_literal))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (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)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))))))) (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(int *param_1,int *param_2,ulong param_3)

{
  undefined *puVar1;
  long lVar2;
  undefined8 uVar3;
  long lVar4;
  
  puVar1 = PTR___gmp_fib_table_00181ef0;
  if (0x5d < param_3) {
    lVar4 = ((param_3 >> 5) * 0x17 >> 6) + 4;
    if (*param_1 < lVar4) {
      uVar3 = __gmpz_realloc(param_1,lVar4);
    }
    else {
      uVar3 = *(undefined8 *)(param_1 + 2);
    }
    if (*param_2 < lVar4) {
      lVar4 = __gmpz_realloc(param_2,lVar4);
    }
    else {
      lVar4 = *(long *)(param_2 + 2);
    }
    lVar2 = __gmpn_fib2_ui(uVar3,lVar4,param_3);
    lVar4 = *(long *)(lVar4 + -8 + lVar2 * 8);
    param_1[1] = (int)lVar2;
    param_2[1] = (int)lVar2 - (uint)(lVar4 == 0);
    return;
  }
  **(undefined8 **)(param_1 + 2) = *(undefined8 *)(PTR___gmp_fib_table_00181ef0 + param_3 * 8 + 8);
  param_1[1] = (uint)(param_3 != 0);
  **(undefined8 **)(param_2 + 2) = *(undefined8 *)(puVar1 + (long)(int)param_3 * 8);
  param_2[1] = (uint)(param_3 != 1);
  return;
}

