
void __gmpz_set(mpz_ptr w,mpz_srcptr u)

{
  mp_limb_t *pmVar1;
  mp_limb_t *pmVar2;
  int iVar3;
  mp_limb_t *pmVar4;
  mp_limb_t mVar5;
  int iVar6;
  int iVar7;
  
  iVar6 = u->_mp_size;
  if (iVar6 < 0) {
    iVar7 = -iVar6;
    if (w->_mp_alloc < iVar7) goto LAB_0003315c;
  }
  else {
    iVar7 = iVar6;
    if (w->_mp_alloc < iVar6) {
LAB_0003315c:
      pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);
      goto LAB_000330e0;
    }
  }
  pmVar1 = w->_mp_d;
LAB_000330e0:
  if (iVar6 != 0) {
    pmVar2 = u->_mp_d;
    iVar3 = iVar7 + -1;
    mVar5 = *pmVar2;
    pmVar4 = pmVar1;
    if (iVar3 != 0) {
      do {
        pmVar2 = pmVar2 + 1;
        *pmVar4 = mVar5;
        iVar3 = iVar3 + -1;
        mVar5 = *pmVar2;
        pmVar4 = pmVar4 + 1;
      } while (iVar3 != 0);
      pmVar1 = pmVar1 + iVar7 + -1;
    }
    *pmVar1 = mVar5;
  }
  w->_mp_size = iVar6;
  return;
}



void __gmpz_set(int *param_1,int param_2)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  
  iVar6 = *(int *)(param_2 + 4);
  if (iVar6 < 0) {
    iVar7 = -iVar6;
    if (*param_1 < iVar7) goto LAB_0003315c;
  }
  else {
    iVar7 = iVar6;
    if (*param_1 < iVar6) {
LAB_0003315c:
      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);
      goto LAB_000330e0;
    }
  }
  puVar1 = (undefined4 *)param_1[2];
LAB_000330e0:
  if (iVar6 != 0) {
    puVar2 = *(undefined4 **)(param_2 + 8);
    iVar3 = iVar7 + -1;
    uVar5 = *puVar2;
    puVar4 = puVar1;
    if (iVar3 != 0) {
      do {
        puVar2 = puVar2 + 1;
        *puVar4 = uVar5;
        iVar3 = iVar3 + -1;
        uVar5 = *puVar2;
        puVar4 = puVar4 + 1;
      } while (iVar3 != 0);
      puVar1 = puVar1 + iVar7 + -1;
    }
    *puVar1 = uVar5;
  }
  param_1[1] = iVar6;
  return;
}


lui gp,0x7
addiu gp,gp,-0x4050
addu gp,gp,t9
addiu sp,sp,-0x30
sw s0,0x1c(sp)
sw gp,0x10(sp)
sw s3,0x28(sp)
or s3,a1,zero
sw s2,0x24(sp)
sw ra,0x2c(sp)
sw s1,0x20(sp)
lw s0,0x4(a1)
bltz s0,0x00033148
_or s2,a0,zero
lw v0,0x0(s2)
or s1,s0,zero
slt v0,v0,s1
bne v0,zero,0x0003315c
_lw t9,-0x7a84(gp)
lw v0,0x8(s2)
beq s0,zero,0x0003312c
_lw ra,0x2c(sp)
lw v1,0x8(s3)
addiu a0,s1,-0x1
beq a0,zero,0x00033124
_lw a2,0x0(v1)
addiu v1,v1,0x4
or a1,v0,zero
addiu a1,a1,0x4
sw a2,-0x4(a1)
addiu v1,v1,0x4
addiu a0,a0,-0x1
bne a0,zero,0x00033100
_lw a2,-0x4(v1)
sll s1,s1,0x2
addiu s1,s1,-0x4
addu v0,v0,s1
sw a2,0x0(v0)
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s1,0x20(sp)
sw s0,0x4(s2)
lw s2,0x24(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw v0,0x0(s2)
subu s1,zero,s0
slt v0,v0,s1
beq v0,zero,0x000330dc
_lw t9,-0x7a84(gp)
or a1,s1,zero
jalr t9
_or a0,s2,zero
b 0x000330e0
_nop
(translation_unit "void __gmpz_set(int *param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  puVar1 = (undefined4 *)param_1[2];\nLAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }\n  param_1[1] = iVar6;\n  return;\n}\n\n" (function_definition "void __gmpz_set(int *param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  puVar1 = (undefined4 *)param_1[2];\nLAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }\n  param_1[1] = iVar6;\n  return;\n}" primitive_type (function_declarator "__gmpz_set(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  puVar1 = (undefined4 *)param_1[2];\nLAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }\n  param_1[1] = iVar6;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_expression "iVar6 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }" { (expression_statement "iVar7 = -iVar6;" (assignment_expression "iVar7 = -iVar6" identifier = (unary_expression "-iVar6" - identifier)) ;) (if_statement "if (*param_1 < iVar7) goto LAB_0003315c;" if (parenthesized_expression "(*param_1 < iVar7)" ( (binary_expression "*param_1 < iVar7" (pointer_expression "*param_1" * identifier) < identifier) )) (goto_statement "goto LAB_0003315c;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }" else (compound_statement "{\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }" { (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" identifier = identifier) ;) (if_statement "if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }" if (parenthesized_expression "(*param_1 < iVar6)" ( (binary_expression "*param_1 < iVar6" (pointer_expression "*param_1" * identifier) < identifier) )) (compound_statement "{\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }" { (labeled_statement "LAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);" statement_identifier : (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_000975bc)" ( (pointer_expression "*(code *)PTR___gmpz_realloc_000975bc" * (cast_expression "(code *)PTR___gmpz_realloc_000975bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar7)" ( identifier , identifier ))))) ;)) (goto_statement "goto LAB_000330e0;" goto statement_identifier ;) })) }))) (expression_statement "puVar1 = (undefined4 *)param_1[2];" (assignment_expression "puVar1 = (undefined4 *)param_1[2]" identifier = (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (labeled_statement "LAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }" statement_identifier : (if_statement "if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }" { (expression_statement "puVar2 = *(undefined4 **)(param_2 + 8);" (assignment_expression "puVar2 = *(undefined4 **)(param_2 + 8)" identifier = (pointer_expression "*(undefined4 **)(param_2 + 8)" * (cast_expression "(undefined4 **)(param_2 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar7 + -1;" (assignment_expression "iVar3 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (if_statement "if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }" { (do_statement "do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);" do (compound_statement "{\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      }" { (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = uVar5;" (assignment_expression "*puVar4 = uVar5" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) (expression_statement "puVar1 = puVar1 + iVar7 + -1;" (assignment_expression "puVar1 = puVar1 + iVar7 + -1" identifier = (binary_expression "puVar1 + iVar7 + -1" (binary_expression "puVar1 + iVar7" identifier + identifier) + number_literal)) ;) })) (expression_statement "*puVar1 = uVar5;" (assignment_expression "*puVar1 = uVar5" (pointer_expression "*puVar1" * identifier) = identifier) ;) }))) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpz_set(mpz_ptr w,mpz_srcptr u)\n\n{\n  mp_limb_t *pmVar1;\n  mp_limb_t *pmVar2;\n  int iVar3;\n  mp_limb_t *pmVar4;\n  mp_limb_t mVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = u->_mp_size;\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (w->_mp_alloc < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (w->_mp_alloc < iVar6) {\nLAB_0003315c:\n      pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  pmVar1 = w->_mp_d;\nLAB_000330e0:\n  if (iVar6 != 0) {\n    pmVar2 = u->_mp_d;\n    iVar3 = iVar7 + -1;\n    mVar5 = *pmVar2;\n    pmVar4 = pmVar1;\n    if (iVar3 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar4 = mVar5;\n        iVar3 = iVar3 + -1;\n        mVar5 = *pmVar2;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar3 != 0);\n      pmVar1 = pmVar1 + iVar7 + -1;\n    }\n    *pmVar1 = mVar5;\n  }\n  w->_mp_size = iVar6;\n  return;\n}\n\n" (function_definition "void __gmpz_set(mpz_ptr w,mpz_srcptr u)\n\n{\n  mp_limb_t *pmVar1;\n  mp_limb_t *pmVar2;\n  int iVar3;\n  mp_limb_t *pmVar4;\n  mp_limb_t mVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = u->_mp_size;\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (w->_mp_alloc < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (w->_mp_alloc < iVar6) {\nLAB_0003315c:\n      pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  pmVar1 = w->_mp_d;\nLAB_000330e0:\n  if (iVar6 != 0) {\n    pmVar2 = u->_mp_d;\n    iVar3 = iVar7 + -1;\n    mVar5 = *pmVar2;\n    pmVar4 = pmVar1;\n    if (iVar3 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar4 = mVar5;\n        iVar3 = iVar3 + -1;\n        mVar5 = *pmVar2;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar3 != 0);\n      pmVar1 = pmVar1 + iVar7 + -1;\n    }\n    *pmVar1 = mVar5;\n  }\n  w->_mp_size = iVar6;\n  return;\n}" primitive_type (function_declarator "__gmpz_set(mpz_ptr w,mpz_srcptr u)" identifier (parameter_list "(mpz_ptr w,mpz_srcptr u)" ( (parameter_declaration "mpz_ptr w" type_identifier identifier) , (parameter_declaration "mpz_srcptr u" type_identifier identifier) ))) (compound_statement "{\n  mp_limb_t *pmVar1;\n  mp_limb_t *pmVar2;\n  int iVar3;\n  mp_limb_t *pmVar4;\n  mp_limb_t mVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = u->_mp_size;\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (w->_mp_alloc < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (w->_mp_alloc < iVar6) {\nLAB_0003315c:\n      pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  pmVar1 = w->_mp_d;\nLAB_000330e0:\n  if (iVar6 != 0) {\n    pmVar2 = u->_mp_d;\n    iVar3 = iVar7 + -1;\n    mVar5 = *pmVar2;\n    pmVar4 = pmVar1;\n    if (iVar3 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar4 = mVar5;\n        iVar3 = iVar3 + -1;\n        mVar5 = *pmVar2;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar3 != 0);\n      pmVar1 = pmVar1 + iVar7 + -1;\n    }\n    *pmVar1 = mVar5;\n  }\n  w->_mp_size = iVar6;\n  return;\n}" { (declaration "mp_limb_t *pmVar1;" type_identifier (pointer_declarator "*pmVar1" * identifier) ;) (declaration "mp_limb_t *pmVar2;" type_identifier (pointer_declarator "*pmVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "mp_limb_t *pmVar4;" type_identifier (pointer_declarator "*pmVar4" * identifier) ;) (declaration "mp_limb_t mVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar6 = u->_mp_size;" (assignment_expression "iVar6 = u->_mp_size" identifier = (field_expression "u->_mp_size" identifier -> field_identifier)) ;) (if_statement "if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (w->_mp_alloc < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (w->_mp_alloc < iVar6) {\nLAB_0003315c:\n      pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);\n      goto LAB_000330e0;\n    }\n  }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar7 = -iVar6;\n    if (w->_mp_alloc < iVar7) goto LAB_0003315c;\n  }" { (expression_statement "iVar7 = -iVar6;" (assignment_expression "iVar7 = -iVar6" identifier = (unary_expression "-iVar6" - identifier)) ;) (if_statement "if (w->_mp_alloc < iVar7) goto LAB_0003315c;" if (parenthesized_expression "(w->_mp_alloc < iVar7)" ( (binary_expression "w->_mp_alloc < iVar7" (field_expression "w->_mp_alloc" identifier -> field_identifier) < identifier) )) (goto_statement "goto LAB_0003315c;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar7 = iVar6;\n    if (w->_mp_alloc < iVar6) {\nLAB_0003315c:\n      pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);\n      goto LAB_000330e0;\n    }\n  }" else (compound_statement "{\n    iVar7 = iVar6;\n    if (w->_mp_alloc < iVar6) {\nLAB_0003315c:\n      pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);\n      goto LAB_000330e0;\n    }\n  }" { (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" identifier = identifier) ;) (if_statement "if (w->_mp_alloc < iVar6) {\nLAB_0003315c:\n      pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);\n      goto LAB_000330e0;\n    }" if (parenthesized_expression "(w->_mp_alloc < iVar6)" ( (binary_expression "w->_mp_alloc < iVar6" (field_expression "w->_mp_alloc" identifier -> field_identifier) < identifier) )) (compound_statement "{\nLAB_0003315c:\n      pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);\n      goto LAB_000330e0;\n    }" { (labeled_statement "LAB_0003315c:\n      pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);" statement_identifier : (expression_statement "pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7);" (assignment_expression "pmVar1 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7)" identifier = (cast_expression "(mp_limb_t *)(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmpz_realloc_000975bc)(w,iVar7)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_000975bc)" ( (pointer_expression "*(code *)PTR___gmpz_realloc_000975bc" * (cast_expression "(code *)PTR___gmpz_realloc_000975bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(w,iVar7)" ( identifier , identifier ))))) ;)) (goto_statement "goto LAB_000330e0;" goto statement_identifier ;) })) }))) (expression_statement "pmVar1 = w->_mp_d;" (assignment_expression "pmVar1 = w->_mp_d" identifier = (field_expression "w->_mp_d" identifier -> field_identifier)) ;) (labeled_statement "LAB_000330e0:\n  if (iVar6 != 0) {\n    pmVar2 = u->_mp_d;\n    iVar3 = iVar7 + -1;\n    mVar5 = *pmVar2;\n    pmVar4 = pmVar1;\n    if (iVar3 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar4 = mVar5;\n        iVar3 = iVar3 + -1;\n        mVar5 = *pmVar2;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar3 != 0);\n      pmVar1 = pmVar1 + iVar7 + -1;\n    }\n    *pmVar1 = mVar5;\n  }" statement_identifier : (if_statement "if (iVar6 != 0) {\n    pmVar2 = u->_mp_d;\n    iVar3 = iVar7 + -1;\n    mVar5 = *pmVar2;\n    pmVar4 = pmVar1;\n    if (iVar3 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar4 = mVar5;\n        iVar3 = iVar3 + -1;\n        mVar5 = *pmVar2;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar3 != 0);\n      pmVar1 = pmVar1 + iVar7 + -1;\n    }\n    *pmVar1 = mVar5;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    pmVar2 = u->_mp_d;\n    iVar3 = iVar7 + -1;\n    mVar5 = *pmVar2;\n    pmVar4 = pmVar1;\n    if (iVar3 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar4 = mVar5;\n        iVar3 = iVar3 + -1;\n        mVar5 = *pmVar2;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar3 != 0);\n      pmVar1 = pmVar1 + iVar7 + -1;\n    }\n    *pmVar1 = mVar5;\n  }" { (expression_statement "pmVar2 = u->_mp_d;" (assignment_expression "pmVar2 = u->_mp_d" identifier = (field_expression "u->_mp_d" identifier -> field_identifier)) ;) (expression_statement "iVar3 = iVar7 + -1;" (assignment_expression "iVar3 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "mVar5 = *pmVar2;" (assignment_expression "mVar5 = *pmVar2" identifier = (pointer_expression "*pmVar2" * identifier)) ;) (expression_statement "pmVar4 = pmVar1;" (assignment_expression "pmVar4 = pmVar1" identifier = identifier) ;) (if_statement "if (iVar3 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar4 = mVar5;\n        iVar3 = iVar3 + -1;\n        mVar5 = *pmVar2;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar3 != 0);\n      pmVar1 = pmVar1 + iVar7 + -1;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar4 = mVar5;\n        iVar3 = iVar3 + -1;\n        mVar5 = *pmVar2;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar3 != 0);\n      pmVar1 = pmVar1 + iVar7 + -1;\n    }" { (do_statement "do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar4 = mVar5;\n        iVar3 = iVar3 + -1;\n        mVar5 = *pmVar2;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar3 != 0);" do (compound_statement "{\n        pmVar2 = pmVar2 + 1;\n        *pmVar4 = mVar5;\n        iVar3 = iVar3 + -1;\n        mVar5 = *pmVar2;\n        pmVar4 = pmVar4 + 1;\n      }" { (expression_statement "pmVar2 = pmVar2 + 1;" (assignment_expression "pmVar2 = pmVar2 + 1" identifier = (binary_expression "pmVar2 + 1" identifier + number_literal)) ;) (expression_statement "*pmVar4 = mVar5;" (assignment_expression "*pmVar4 = mVar5" (pointer_expression "*pmVar4" * identifier) = identifier) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "mVar5 = *pmVar2;" (assignment_expression "mVar5 = *pmVar2" identifier = (pointer_expression "*pmVar2" * identifier)) ;) (expression_statement "pmVar4 = pmVar4 + 1;" (assignment_expression "pmVar4 = pmVar4 + 1" identifier = (binary_expression "pmVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) (expression_statement "pmVar1 = pmVar1 + iVar7 + -1;" (assignment_expression "pmVar1 = pmVar1 + iVar7 + -1" identifier = (binary_expression "pmVar1 + iVar7 + -1" (binary_expression "pmVar1 + iVar7" identifier + identifier) + number_literal)) ;) })) (expression_statement "*pmVar1 = mVar5;" (assignment_expression "*pmVar1 = mVar5" (pointer_expression "*pmVar1" * identifier) = identifier) ;) }))) (expression_statement "w->_mp_size = iVar6;" (assignment_expression "w->_mp_size = iVar6" (field_expression "w->_mp_size" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpz_set(int *param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  puVar1 = (undefined4 *)param_1[2];\nLAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }\n  param_1[1] = iVar6;\n  return;\n}\n\n" (function_definition "void __gmpz_set(int *param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  puVar1 = (undefined4 *)param_1[2];\nLAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }\n  param_1[1] = iVar6;\n  return;\n}" primitive_type (function_declarator "__gmpz_set(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  puVar1 = (undefined4 *)param_1[2];\nLAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }\n  param_1[1] = iVar6;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_expression "iVar6 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }" { (expression_statement "iVar7 = -iVar6;" (assignment_expression "iVar7 = -iVar6" identifier = (unary_expression "-iVar6" - identifier)) ;) (if_statement "if (*param_1 < iVar7) goto LAB_0003315c;" if (parenthesized_expression "(*param_1 < iVar7)" ( (binary_expression "*param_1 < iVar7" (pointer_expression "*param_1" * identifier) < identifier) )) (goto_statement "goto LAB_0003315c;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }" else (compound_statement "{\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }" { (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" identifier = identifier) ;) (if_statement "if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }" if (parenthesized_expression "(*param_1 < iVar6)" ( (binary_expression "*param_1 < iVar6" (pointer_expression "*param_1" * identifier) < identifier) )) (compound_statement "{\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }" { (labeled_statement "LAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);" statement_identifier : (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_000975bc)" ( (pointer_expression "*(code *)PTR___gmpz_realloc_000975bc" * (cast_expression "(code *)PTR___gmpz_realloc_000975bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar7)" ( identifier , identifier ))))) ;)) (goto_statement "goto LAB_000330e0;" goto statement_identifier ;) })) }))) (expression_statement "puVar1 = (undefined4 *)param_1[2];" (assignment_expression "puVar1 = (undefined4 *)param_1[2]" identifier = (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (labeled_statement "LAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }" statement_identifier : (if_statement "if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }" { (expression_statement "puVar2 = *(undefined4 **)(param_2 + 8);" (assignment_expression "puVar2 = *(undefined4 **)(param_2 + 8)" identifier = (pointer_expression "*(undefined4 **)(param_2 + 8)" * (cast_expression "(undefined4 **)(param_2 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar7 + -1;" (assignment_expression "iVar3 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (if_statement "if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }" { (do_statement "do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);" do (compound_statement "{\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      }" { (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = uVar5;" (assignment_expression "*puVar4 = uVar5" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) (expression_statement "puVar1 = puVar1 + iVar7 + -1;" (assignment_expression "puVar1 = puVar1 + iVar7 + -1" identifier = (binary_expression "puVar1 + iVar7 + -1" (binary_expression "puVar1 + iVar7" identifier + identifier) + number_literal)) ;) })) (expression_statement "*puVar1 = uVar5;" (assignment_expression "*puVar1 = uVar5" (pointer_expression "*puVar1" * identifier) = identifier) ;) }))) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 = (unary_expression - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;)) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __gmpz_set(int *param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  puVar1 = (undefined4 *)param_1[2];\nLAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }\n  param_1[1] = iVar6;\n  return;\n}" (primitive_type "void") (function_declarator "__gmpz_set(int *param_1,int param_2)" (identifier "__gmpz_set") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }\n  puVar1 = (undefined4 *)param_1[2];\nLAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }\n  param_1[1] = iVar6;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_expression "iVar6 = *(int *)(param_2 + 4)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar6 < 0) {\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }\n  else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar7 = -iVar6;\n    if (*param_1 < iVar7) goto LAB_0003315c;\n  }" ({ "{") (expression_statement "iVar7 = -iVar6;" (assignment_expression "iVar7 = -iVar6" (identifier "iVar7") (= "=") (unary_expression "-iVar6" (- "-") (identifier "iVar6"))) (; ";")) (if_statement "if (*param_1 < iVar7) goto LAB_0003315c;" (if "if") (parenthesized_expression "(*param_1 < iVar7)" (( "(") (binary_expression "*param_1 < iVar7" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (< "<") (identifier "iVar7")) () ")")) (goto_statement "goto LAB_0003315c;" (goto "goto") (statement_identifier "LAB_0003315c") (; ";"))) (} "}")) (else_clause "else {\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }" (else "else") (compound_statement "{\n    iVar7 = iVar6;\n    if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }\n  }" ({ "{") (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" (identifier "iVar7") (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (*param_1 < iVar6) {\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }" (if "if") (parenthesized_expression "(*param_1 < iVar6)" (( "(") (binary_expression "*param_1 < iVar6" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\nLAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);\n      goto LAB_000330e0;\n    }" ({ "{") (labeled_statement "LAB_0003315c:\n      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);" (statement_identifier "LAB_0003315c") (: ":") (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_000975bc)" (( "(") (pointer_expression "*(code *)PTR___gmpz_realloc_000975bc" (* "*") (cast_expression "(code *)PTR___gmpz_realloc_000975bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpz_realloc_000975bc"))) () ")")) (argument_list "(param_1,iVar7)" (( "(") (identifier "param_1") (, ",") (identifier "iVar7") () ")"))))) (; ";"))) (goto_statement "goto LAB_000330e0;" (goto "goto") (statement_identifier "LAB_000330e0") (; ";")) (} "}"))) (} "}")))) (expression_statement "puVar1 = (undefined4 *)param_1[2];" (assignment_expression "puVar1 = (undefined4 *)param_1[2]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)param_1[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (labeled_statement "LAB_000330e0:\n  if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }" (statement_identifier "LAB_000330e0") (: ":") (if_statement "if (iVar6 != 0) {\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar2 = *(undefined4 **)(param_2 + 8);\n    iVar3 = iVar7 + -1;\n    uVar5 = *puVar2;\n    puVar4 = puVar1;\n    if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }\n    *puVar1 = uVar5;\n  }" ({ "{") (expression_statement "puVar2 = *(undefined4 **)(param_2 + 8);" (assignment_expression "puVar2 = *(undefined4 **)(param_2 + 8)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_2 + 8)" (* "*") (cast_expression "(undefined4 **)(param_2 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar7 + -1;" (assignment_expression "iVar3 = iVar7 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" (identifier "uVar5") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" (identifier "puVar4") (= "=") (identifier "puVar1")) (; ";")) (if_statement "if (iVar3 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);\n      puVar1 = puVar1 + iVar7 + -1;\n    }" ({ "{") (do_statement "do {\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      } while (iVar3 != 0);" (do "do") (compound_statement "{\n        puVar2 = puVar2 + 1;\n        *puVar4 = uVar5;\n        iVar3 = iVar3 + -1;\n        uVar5 = *puVar2;\n        puVar4 = puVar4 + 1;\n      }" ({ "{") (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar4 = uVar5;" (assignment_expression "*puVar4 = uVar5" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" (identifier "uVar5") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar1 = puVar1 + iVar7 + -1;" (assignment_expression "puVar1 = puVar1 + iVar7 + -1" (identifier "puVar1") (= "=") (binary_expression "puVar1 + iVar7 + -1" (binary_expression "puVar1 + iVar7" (identifier "puVar1") (+ "+") (identifier "iVar7")) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "*puVar1 = uVar5;" (assignment_expression "*puVar1 = uVar5" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar5")) (; ";")) (} "}")))) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 w,type_2 u)

{
  type_3 *var_6;
  type_3 *var_4;
  int var_3;
  type_3 *var_5;
  type_3 mVar5;
  int var_1;
  int var_2;
  
  var_1 = u->_mp_size;
  if (var_1 < 0) {
    var_2 = -var_1;
    if (w->_mp_alloc < var_2) goto LAB_0003315c;
  }
  else {
    var_2 = var_1;
    if (w->_mp_alloc < var_1) {
LAB_0003315c:
      var_6 = (type_3 *)(*(type_4 *)PTR___gmpz_realloc_000975bc)(w,var_2);
      goto LAB_000330e0;
    }
  }
  var_6 = w->_mp_d;
LAB_000330e0:
  if (var_1 != 0) {
    var_4 = u->_mp_d;
    var_3 = var_2 + -1;
    mVar5 = *var_4;
    var_5 = var_6;
    if (var_3 != 0) {
      do {
        var_4 = var_4 + 1;
        *var_5 = mVar5;
        var_3 = var_3 + -1;
        mVar5 = *var_4;
        var_5 = var_5 + 1;
      } while (var_3 != 0);
      var_6 = var_6 + var_2 + -1;
    }
    *var_6 = mVar5;
  }
  w->_mp_size = var_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: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (unary_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (identifier) (identifier))))))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

void MASKED(int *param_1,int param_2)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  
  iVar6 = *(int *)(param_2 + 4);
  if (iVar6 < 0) {
    iVar7 = -iVar6;
    if (*param_1 < iVar7) goto LAB_0003315c;
  }
  else {
    iVar7 = iVar6;
    if (*param_1 < iVar6) {
LAB_0003315c:
      puVar1 = (undefined4 *)(*(code *)PTR___gmpz_realloc_000975bc)(param_1,iVar7);
      goto LAB_000330e0;
    }
  }
  puVar1 = (undefined4 *)param_1[2];
LAB_000330e0:
  if (iVar6 != 0) {
    puVar2 = *(undefined4 **)(param_2 + 8);
    iVar3 = iVar7 + -1;
    uVar5 = *puVar2;
    puVar4 = puVar1;
    if (iVar3 != 0) {
      do {
        puVar2 = puVar2 + 1;
        *puVar4 = uVar5;
        iVar3 = iVar3 + -1;
        uVar5 = *puVar2;
        puVar4 = puVar4 + 1;
      } while (iVar3 != 0);
      puVar1 = puVar1 + iVar7 + -1;
    }
    *puVar1 = uVar5;
  }
  param_1[1] = iVar6;
  return;
}

