
void __gmpf_set_z(mpf_ptr r,mpz_srcptr u)

{
  int iVar1;
  mp_limb_t *pmVar2;
  mp_limb_t *pmVar3;
  int iVar4;
  mp_limb_t mVar5;
  int iVar6;
  mp_limb_t *pmVar7;
  
  iVar6 = u->_mp_size;
  iVar4 = r->_mp_prec + 1;
  iVar1 = iVar6;
  if (iVar6 < 0) {
    iVar1 = -iVar6;
  }
  pmVar2 = u->_mp_d;
  pmVar7 = r->_mp_d;
  r->_mp_exp = iVar1;
  if (iVar4 < iVar1) {
    pmVar2 = pmVar2 + (iVar1 - iVar4);
    iVar1 = iVar4;
  }
  iVar4 = -iVar1;
  if (-1 < iVar6) {
    iVar4 = iVar1;
  }
  r->_mp_size = iVar4;
  if (iVar1 != 0) {
    iVar4 = iVar1 + -1;
    mVar5 = *pmVar2;
    pmVar3 = pmVar7;
    if (iVar4 != 0) {
      do {
        pmVar2 = pmVar2 + 1;
        *pmVar3 = mVar5;
        iVar4 = iVar4 + -1;
        mVar5 = *pmVar2;
        pmVar3 = pmVar3 + 1;
      } while (iVar4 != 0);
      pmVar7 = pmVar7 + iVar1 + -1;
    }
    *pmVar7 = mVar5;
  }
  return;
}



void __gmpf_set_z(int *param_1,int param_2)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  undefined4 *puVar7;
  
  iVar6 = *(int *)(param_2 + 4);
  iVar4 = *param_1 + 1;
  iVar1 = iVar6;
  if (iVar6 < 0) {
    iVar1 = -iVar6;
  }
  puVar2 = *(undefined4 **)(param_2 + 8);
  puVar7 = (undefined4 *)param_1[3];
  param_1[2] = iVar1;
  if (iVar4 < iVar1) {
    puVar2 = puVar2 + (iVar1 - iVar4);
    iVar1 = iVar4;
  }
  iVar4 = -iVar1;
  if (-1 < iVar6) {
    iVar4 = iVar1;
  }
  param_1[1] = iVar4;
  if (iVar1 != 0) {
    iVar4 = iVar1 + -1;
    uVar5 = *puVar2;
    puVar3 = puVar7;
    if (iVar4 != 0) {
      do {
        puVar2 = puVar2 + 1;
        *puVar3 = uVar5;
        iVar4 = iVar4 + -1;
        uVar5 = *puVar2;
        puVar3 = puVar3 + 1;
      } while (iVar4 != 0);
      puVar7 = puVar7 + iVar1 + -1;
    }
    *puVar7 = uVar5;
  }
  return;
}


lw a2,0x0(a0)
lw a3,0x4(a1)
addiu a2,a2,0x1
bgez a3,0x00018fc8
_or v0,a3,zero
subu v0,zero,a3
lw v1,0x8(a1)
slt a1,a2,v0
lw t0,0xc(a0)
beq a1,zero,0x00018fec
_sw v0,0x8(a0)
subu a1,v0,a2
or v0,a2,zero
sll a1,a1,0x2
addu v1,v1,a1
bltz a3,0x00018ff8
_subu a1,zero,v0
or a1,v0,zero
beq v0,zero,0x0001903c
_sw a1,0x4(a0)
addiu a0,v0,-0x1
beq a0,zero,0x00019038
_lw a2,0x0(v1)
addiu v1,v1,0x4
or a1,t0,zero
addiu a1,a1,0x4
sw a2,-0x4(a1)
addiu v1,v1,0x4
addiu a0,a0,-0x1
bne a0,zero,0x00019014
_lw a2,-0x4(v1)
sll v0,v0,0x2
addiu v0,v0,-0x4
addu t0,t0,v0
sw a2,0x0(t0)
jr ra
_nop
(translation_unit "void __gmpf_set_z(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  iVar4 = *param_1 + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  puVar2 = *(undefined4 **)(param_2 + 8);\n  puVar7 = (undefined4 *)param_1[3];\n  param_1[2] = iVar1;\n  if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  param_1[1] = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }\n  return;\n}\n\n" (function_definition "void __gmpf_set_z(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  iVar4 = *param_1 + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  puVar2 = *(undefined4 **)(param_2 + 8);\n  puVar7 = (undefined4 *)param_1[3];\n  param_1[2] = iVar1;\n  if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  param_1[1] = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }\n  return;\n}" primitive_type (function_declarator "__gmpf_set_z(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  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  iVar4 = *param_1 + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  puVar2 = *(undefined4 **)(param_2 + 8);\n  puVar7 = (undefined4 *)param_1[3];\n  param_1[2] = iVar1;\n  if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  param_1[1] = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * 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) ))))) ;) (expression_statement "iVar4 = *param_1 + 1;" (assignment_expression "iVar4 = *param_1 + 1" identifier = (binary_expression "*param_1 + 1" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (expression_statement "iVar1 = iVar6;" (assignment_expression "iVar1 = iVar6" identifier = identifier) ;) (if_statement "if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar1 = -iVar6;\n  }" { (expression_statement "iVar1 = -iVar6;" (assignment_expression "iVar1 = -iVar6" identifier = (unary_expression "-iVar6" - identifier)) ;) })) (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 "puVar7 = (undefined4 *)param_1[3];" (assignment_expression "puVar7 = (undefined4 *)param_1[3]" identifier = (cast_expression "(undefined4 *)param_1[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "param_1[2] = iVar1;" (assignment_expression "param_1[2] = iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }" if (parenthesized_expression "(iVar4 < iVar1)" ( (binary_expression "iVar4 < iVar1" identifier < identifier) )) (compound_statement "{\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }" { (expression_statement "puVar2 = puVar2 + (iVar1 - iVar4);" (assignment_expression "puVar2 = puVar2 + (iVar1 - iVar4)" identifier = (binary_expression "puVar2 + (iVar1 - iVar4)" identifier + (parenthesized_expression "(iVar1 - iVar4)" ( (binary_expression "iVar1 - iVar4" identifier - identifier) )))) ;) (expression_statement "iVar1 = iVar4;" (assignment_expression "iVar1 = iVar4" identifier = identifier) ;) })) (expression_statement "iVar4 = -iVar1;" (assignment_expression "iVar4 = -iVar1" identifier = (unary_expression "-iVar1" - identifier)) ;) (if_statement "if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (compound_statement "{\n    iVar4 = iVar1;\n  }" { (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" identifier = identifier) ;) })) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }" { (expression_statement "iVar4 = iVar1 + -1;" (assignment_expression "iVar4 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar3 = puVar7;" (assignment_expression "puVar3 = puVar7" identifier = identifier) ;) (if_statement "if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }" { (do_statement "do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);" do (compound_statement "{\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      }" { (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = uVar5;" (assignment_expression "*puVar3 = uVar5" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "puVar7 = puVar7 + iVar1 + -1;" (assignment_expression "puVar7 = puVar7 + iVar1 + -1" identifier = (binary_expression "puVar7 + iVar1 + -1" (binary_expression "puVar7 + iVar1" identifier + identifier) + number_literal)) ;) })) (expression_statement "*puVar7 = uVar5;" (assignment_expression "*puVar7 = uVar5" (pointer_expression "*puVar7" * identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __gmpf_set_z(mpf_ptr r,mpz_srcptr u)\n\n{\n  int iVar1;\n  mp_limb_t *pmVar2;\n  mp_limb_t *pmVar3;\n  int iVar4;\n  mp_limb_t mVar5;\n  int iVar6;\n  mp_limb_t *pmVar7;\n  \n  iVar6 = u->_mp_size;\n  iVar4 = r->_mp_prec + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  pmVar2 = u->_mp_d;\n  pmVar7 = r->_mp_d;\n  r->_mp_exp = iVar1;\n  if (iVar4 < iVar1) {\n    pmVar2 = pmVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  r->_mp_size = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    mVar5 = *pmVar2;\n    pmVar3 = pmVar7;\n    if (iVar4 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar3 = mVar5;\n        iVar4 = iVar4 + -1;\n        mVar5 = *pmVar2;\n        pmVar3 = pmVar3 + 1;\n      } while (iVar4 != 0);\n      pmVar7 = pmVar7 + iVar1 + -1;\n    }\n    *pmVar7 = mVar5;\n  }\n  return;\n}\n\n" (function_definition "void __gmpf_set_z(mpf_ptr r,mpz_srcptr u)\n\n{\n  int iVar1;\n  mp_limb_t *pmVar2;\n  mp_limb_t *pmVar3;\n  int iVar4;\n  mp_limb_t mVar5;\n  int iVar6;\n  mp_limb_t *pmVar7;\n  \n  iVar6 = u->_mp_size;\n  iVar4 = r->_mp_prec + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  pmVar2 = u->_mp_d;\n  pmVar7 = r->_mp_d;\n  r->_mp_exp = iVar1;\n  if (iVar4 < iVar1) {\n    pmVar2 = pmVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  r->_mp_size = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    mVar5 = *pmVar2;\n    pmVar3 = pmVar7;\n    if (iVar4 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar3 = mVar5;\n        iVar4 = iVar4 + -1;\n        mVar5 = *pmVar2;\n        pmVar3 = pmVar3 + 1;\n      } while (iVar4 != 0);\n      pmVar7 = pmVar7 + iVar1 + -1;\n    }\n    *pmVar7 = mVar5;\n  }\n  return;\n}" primitive_type (function_declarator "__gmpf_set_z(mpf_ptr r,mpz_srcptr u)" identifier (parameter_list "(mpf_ptr r,mpz_srcptr u)" ( (parameter_declaration "mpf_ptr r" type_identifier identifier) , (parameter_declaration "mpz_srcptr u" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  mp_limb_t *pmVar2;\n  mp_limb_t *pmVar3;\n  int iVar4;\n  mp_limb_t mVar5;\n  int iVar6;\n  mp_limb_t *pmVar7;\n  \n  iVar6 = u->_mp_size;\n  iVar4 = r->_mp_prec + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  pmVar2 = u->_mp_d;\n  pmVar7 = r->_mp_d;\n  r->_mp_exp = iVar1;\n  if (iVar4 < iVar1) {\n    pmVar2 = pmVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  r->_mp_size = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    mVar5 = *pmVar2;\n    pmVar3 = pmVar7;\n    if (iVar4 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar3 = mVar5;\n        iVar4 = iVar4 + -1;\n        mVar5 = *pmVar2;\n        pmVar3 = pmVar3 + 1;\n      } while (iVar4 != 0);\n      pmVar7 = pmVar7 + iVar1 + -1;\n    }\n    *pmVar7 = mVar5;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "mp_limb_t *pmVar2;" type_identifier (pointer_declarator "*pmVar2" * identifier) ;) (declaration "mp_limb_t *pmVar3;" type_identifier (pointer_declarator "*pmVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "mp_limb_t mVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "mp_limb_t *pmVar7;" type_identifier (pointer_declarator "*pmVar7" * identifier) ;) (expression_statement "iVar6 = u->_mp_size;" (assignment_expression "iVar6 = u->_mp_size" identifier = (field_expression "u->_mp_size" identifier -> field_identifier)) ;) (expression_statement "iVar4 = r->_mp_prec + 1;" (assignment_expression "iVar4 = r->_mp_prec + 1" identifier = (binary_expression "r->_mp_prec + 1" (field_expression "r->_mp_prec" identifier -> field_identifier) + number_literal)) ;) (expression_statement "iVar1 = iVar6;" (assignment_expression "iVar1 = iVar6" identifier = identifier) ;) (if_statement "if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar1 = -iVar6;\n  }" { (expression_statement "iVar1 = -iVar6;" (assignment_expression "iVar1 = -iVar6" identifier = (unary_expression "-iVar6" - identifier)) ;) })) (expression_statement "pmVar2 = u->_mp_d;" (assignment_expression "pmVar2 = u->_mp_d" identifier = (field_expression "u->_mp_d" identifier -> field_identifier)) ;) (expression_statement "pmVar7 = r->_mp_d;" (assignment_expression "pmVar7 = r->_mp_d" identifier = (field_expression "r->_mp_d" identifier -> field_identifier)) ;) (expression_statement "r->_mp_exp = iVar1;" (assignment_expression "r->_mp_exp = iVar1" (field_expression "r->_mp_exp" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar4 < iVar1) {\n    pmVar2 = pmVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }" if (parenthesized_expression "(iVar4 < iVar1)" ( (binary_expression "iVar4 < iVar1" identifier < identifier) )) (compound_statement "{\n    pmVar2 = pmVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }" { (expression_statement "pmVar2 = pmVar2 + (iVar1 - iVar4);" (assignment_expression "pmVar2 = pmVar2 + (iVar1 - iVar4)" identifier = (binary_expression "pmVar2 + (iVar1 - iVar4)" identifier + (parenthesized_expression "(iVar1 - iVar4)" ( (binary_expression "iVar1 - iVar4" identifier - identifier) )))) ;) (expression_statement "iVar1 = iVar4;" (assignment_expression "iVar1 = iVar4" identifier = identifier) ;) })) (expression_statement "iVar4 = -iVar1;" (assignment_expression "iVar4 = -iVar1" identifier = (unary_expression "-iVar1" - identifier)) ;) (if_statement "if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (compound_statement "{\n    iVar4 = iVar1;\n  }" { (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" identifier = identifier) ;) })) (expression_statement "r->_mp_size = iVar4;" (assignment_expression "r->_mp_size = iVar4" (field_expression "r->_mp_size" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    mVar5 = *pmVar2;\n    pmVar3 = pmVar7;\n    if (iVar4 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar3 = mVar5;\n        iVar4 = iVar4 + -1;\n        mVar5 = *pmVar2;\n        pmVar3 = pmVar3 + 1;\n      } while (iVar4 != 0);\n      pmVar7 = pmVar7 + iVar1 + -1;\n    }\n    *pmVar7 = mVar5;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = iVar1 + -1;\n    mVar5 = *pmVar2;\n    pmVar3 = pmVar7;\n    if (iVar4 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar3 = mVar5;\n        iVar4 = iVar4 + -1;\n        mVar5 = *pmVar2;\n        pmVar3 = pmVar3 + 1;\n      } while (iVar4 != 0);\n      pmVar7 = pmVar7 + iVar1 + -1;\n    }\n    *pmVar7 = mVar5;\n  }" { (expression_statement "iVar4 = iVar1 + -1;" (assignment_expression "iVar4 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "mVar5 = *pmVar2;" (assignment_expression "mVar5 = *pmVar2" identifier = (pointer_expression "*pmVar2" * identifier)) ;) (expression_statement "pmVar3 = pmVar7;" (assignment_expression "pmVar3 = pmVar7" identifier = identifier) ;) (if_statement "if (iVar4 != 0) {\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar3 = mVar5;\n        iVar4 = iVar4 + -1;\n        mVar5 = *pmVar2;\n        pmVar3 = pmVar3 + 1;\n      } while (iVar4 != 0);\n      pmVar7 = pmVar7 + iVar1 + -1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar3 = mVar5;\n        iVar4 = iVar4 + -1;\n        mVar5 = *pmVar2;\n        pmVar3 = pmVar3 + 1;\n      } while (iVar4 != 0);\n      pmVar7 = pmVar7 + iVar1 + -1;\n    }" { (do_statement "do {\n        pmVar2 = pmVar2 + 1;\n        *pmVar3 = mVar5;\n        iVar4 = iVar4 + -1;\n        mVar5 = *pmVar2;\n        pmVar3 = pmVar3 + 1;\n      } while (iVar4 != 0);" do (compound_statement "{\n        pmVar2 = pmVar2 + 1;\n        *pmVar3 = mVar5;\n        iVar4 = iVar4 + -1;\n        mVar5 = *pmVar2;\n        pmVar3 = pmVar3 + 1;\n      }" { (expression_statement "pmVar2 = pmVar2 + 1;" (assignment_expression "pmVar2 = pmVar2 + 1" identifier = (binary_expression "pmVar2 + 1" identifier + number_literal)) ;) (expression_statement "*pmVar3 = mVar5;" (assignment_expression "*pmVar3 = mVar5" (pointer_expression "*pmVar3" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "mVar5 = *pmVar2;" (assignment_expression "mVar5 = *pmVar2" identifier = (pointer_expression "*pmVar2" * identifier)) ;) (expression_statement "pmVar3 = pmVar3 + 1;" (assignment_expression "pmVar3 = pmVar3 + 1" identifier = (binary_expression "pmVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "pmVar7 = pmVar7 + iVar1 + -1;" (assignment_expression "pmVar7 = pmVar7 + iVar1 + -1" identifier = (binary_expression "pmVar7 + iVar1 + -1" (binary_expression "pmVar7 + iVar1" identifier + identifier) + number_literal)) ;) })) (expression_statement "*pmVar7 = mVar5;" (assignment_expression "*pmVar7 = mVar5" (pointer_expression "*pmVar7" * identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __gmpf_set_z(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  iVar4 = *param_1 + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  puVar2 = *(undefined4 **)(param_2 + 8);\n  puVar7 = (undefined4 *)param_1[3];\n  param_1[2] = iVar1;\n  if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  param_1[1] = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }\n  return;\n}\n\n" (function_definition "void __gmpf_set_z(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  iVar4 = *param_1 + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  puVar2 = *(undefined4 **)(param_2 + 8);\n  puVar7 = (undefined4 *)param_1[3];\n  param_1[2] = iVar1;\n  if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  param_1[1] = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }\n  return;\n}" primitive_type (function_declarator "__gmpf_set_z(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  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  iVar4 = *param_1 + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  puVar2 = *(undefined4 **)(param_2 + 8);\n  puVar7 = (undefined4 *)param_1[3];\n  param_1[2] = iVar1;\n  if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  param_1[1] = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * 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) ))))) ;) (expression_statement "iVar4 = *param_1 + 1;" (assignment_expression "iVar4 = *param_1 + 1" identifier = (binary_expression "*param_1 + 1" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (expression_statement "iVar1 = iVar6;" (assignment_expression "iVar1 = iVar6" identifier = identifier) ;) (if_statement "if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar1 = -iVar6;\n  }" { (expression_statement "iVar1 = -iVar6;" (assignment_expression "iVar1 = -iVar6" identifier = (unary_expression "-iVar6" - identifier)) ;) })) (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 "puVar7 = (undefined4 *)param_1[3];" (assignment_expression "puVar7 = (undefined4 *)param_1[3]" identifier = (cast_expression "(undefined4 *)param_1[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "param_1[2] = iVar1;" (assignment_expression "param_1[2] = iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }" if (parenthesized_expression "(iVar4 < iVar1)" ( (binary_expression "iVar4 < iVar1" identifier < identifier) )) (compound_statement "{\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }" { (expression_statement "puVar2 = puVar2 + (iVar1 - iVar4);" (assignment_expression "puVar2 = puVar2 + (iVar1 - iVar4)" identifier = (binary_expression "puVar2 + (iVar1 - iVar4)" identifier + (parenthesized_expression "(iVar1 - iVar4)" ( (binary_expression "iVar1 - iVar4" identifier - identifier) )))) ;) (expression_statement "iVar1 = iVar4;" (assignment_expression "iVar1 = iVar4" identifier = identifier) ;) })) (expression_statement "iVar4 = -iVar1;" (assignment_expression "iVar4 = -iVar1" identifier = (unary_expression "-iVar1" - identifier)) ;) (if_statement "if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (compound_statement "{\n    iVar4 = iVar1;\n  }" { (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" identifier = identifier) ;) })) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }" { (expression_statement "iVar4 = iVar1 + -1;" (assignment_expression "iVar4 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar3 = puVar7;" (assignment_expression "puVar3 = puVar7" identifier = identifier) ;) (if_statement "if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }" { (do_statement "do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);" do (compound_statement "{\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      }" { (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = uVar5;" (assignment_expression "*puVar3 = uVar5" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "puVar7 = puVar7 + iVar1 + -1;" (assignment_expression "puVar7 = puVar7 + iVar1 + -1" identifier = (binary_expression "puVar7 + iVar1 + -1" (binary_expression "puVar7 + iVar1" identifier + identifier) + number_literal)) ;) })) (expression_statement "*puVar7 = uVar5;" (assignment_expression "*puVar7 = uVar5" (pointer_expression "*puVar7" * identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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) ;) })) (return_statement return ;) })))
(function_definition "void __gmpf_set_z(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  iVar4 = *param_1 + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  puVar2 = *(undefined4 **)(param_2 + 8);\n  puVar7 = (undefined4 *)param_1[3];\n  param_1[2] = iVar1;\n  if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  param_1[1] = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "__gmpf_set_z(int *param_1,int param_2)" (identifier "__gmpf_set_z") (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  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  \n  iVar6 = *(int *)(param_2 + 4);\n  iVar4 = *param_1 + 1;\n  iVar1 = iVar6;\n  if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }\n  puVar2 = *(undefined4 **)(param_2 + 8);\n  puVar7 = (undefined4 *)param_1[3];\n  param_1[2] = iVar1;\n  if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }\n  iVar4 = -iVar1;\n  if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }\n  param_1[1] = iVar4;\n  if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (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")) () ")"))))) (; ";")) (expression_statement "iVar4 = *param_1 + 1;" (assignment_expression "iVar4 = *param_1 + 1" (identifier "iVar4") (= "=") (binary_expression "*param_1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = iVar6;" (assignment_expression "iVar1 = iVar6" (identifier "iVar1") (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (iVar6 < 0) {\n    iVar1 = -iVar6;\n  }" (if "if") (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = -iVar6;\n  }" ({ "{") (expression_statement "iVar1 = -iVar6;" (assignment_expression "iVar1 = -iVar6" (identifier "iVar1") (= "=") (unary_expression "-iVar6" (- "-") (identifier "iVar6"))) (; ";")) (} "}"))) (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 "puVar7 = (undefined4 *)param_1[3];" (assignment_expression "puVar7 = (undefined4 *)param_1[3]" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)param_1[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "param_1[2] = iVar1;" (assignment_expression "param_1[2] = iVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (iVar4 < iVar1) {\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }" (if "if") (parenthesized_expression "(iVar4 < iVar1)" (( "(") (binary_expression "iVar4 < iVar1" (identifier "iVar4") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n    puVar2 = puVar2 + (iVar1 - iVar4);\n    iVar1 = iVar4;\n  }" ({ "{") (expression_statement "puVar2 = puVar2 + (iVar1 - iVar4);" (assignment_expression "puVar2 = puVar2 + (iVar1 - iVar4)" (identifier "puVar2") (= "=") (binary_expression "puVar2 + (iVar1 - iVar4)" (identifier "puVar2") (+ "+") (parenthesized_expression "(iVar1 - iVar4)" (( "(") (binary_expression "iVar1 - iVar4" (identifier "iVar1") (- "-") (identifier "iVar4")) () ")")))) (; ";")) (expression_statement "iVar1 = iVar4;" (assignment_expression "iVar1 = iVar4" (identifier "iVar1") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (expression_statement "iVar4 = -iVar1;" (assignment_expression "iVar4 = -iVar1" (identifier "iVar4") (= "=") (unary_expression "-iVar1" (- "-") (identifier "iVar1"))) (; ";")) (if_statement "if (-1 < iVar6) {\n    iVar4 = iVar1;\n  }" (if "if") (parenthesized_expression "(-1 < iVar6)" (( "(") (binary_expression "-1 < iVar6" (number_literal "-1") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n    iVar4 = iVar1;\n  }" ({ "{") (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" (identifier "iVar4") (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar1 != 0) {\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = iVar1 + -1;\n    uVar5 = *puVar2;\n    puVar3 = puVar7;\n    if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }\n    *puVar7 = uVar5;\n  }" ({ "{") (expression_statement "iVar4 = iVar1 + -1;" (assignment_expression "iVar4 = iVar1 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" (identifier "uVar5") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "puVar3 = puVar7;" (assignment_expression "puVar3 = puVar7" (identifier "puVar3") (= "=") (identifier "puVar7")) (; ";")) (if_statement "if (iVar4 != 0) {\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);\n      puVar7 = puVar7 + iVar1 + -1;\n    }" ({ "{") (do_statement "do {\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 1;\n      } while (iVar4 != 0);" (do "do") (compound_statement "{\n        puVar2 = puVar2 + 1;\n        *puVar3 = uVar5;\n        iVar4 = iVar4 + -1;\n        uVar5 = *puVar2;\n        puVar3 = puVar3 + 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 "*puVar3 = uVar5;" (assignment_expression "*puVar3 = uVar5" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" (identifier "uVar5") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar7 = puVar7 + iVar1 + -1;" (assignment_expression "puVar7 = puVar7 + iVar1 + -1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + iVar1 + -1" (binary_expression "puVar7 + iVar1" (identifier "puVar7") (+ "+") (identifier "iVar1")) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "*puVar7 = uVar5;" (assignment_expression "*puVar7 = uVar5" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar5")) (; ";")) (} "}"))) (return_statement "return;" (return "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: (primitive_type) declarator: (identifier)) (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: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator 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))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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))))) (return_statement))))

void MASKED(int *param_1,int param_2)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  undefined4 *puVar7;
  
  iVar6 = *(int *)(param_2 + 4);
  iVar4 = *param_1 + 1;
  iVar1 = iVar6;
  if (iVar6 < 0) {
    iVar1 = -iVar6;
  }
  puVar2 = *(undefined4 **)(param_2 + 8);
  puVar7 = (undefined4 *)param_1[3];
  param_1[2] = iVar1;
  if (iVar4 < iVar1) {
    puVar2 = puVar2 + (iVar1 - iVar4);
    iVar1 = iVar4;
  }
  iVar4 = -iVar1;
  if (-1 < iVar6) {
    iVar4 = iVar1;
  }
  param_1[1] = iVar4;
  if (iVar1 != 0) {
    iVar4 = iVar1 + -1;
    uVar5 = *puVar2;
    puVar3 = puVar7;
    if (iVar4 != 0) {
      do {
        puVar2 = puVar2 + 1;
        *puVar3 = uVar5;
        iVar4 = iVar4 + -1;
        uVar5 = *puVar2;
        puVar3 = puVar3 + 1;
      } while (iVar4 != 0);
      puVar7 = puVar7 + iVar1 + -1;
    }
    *puVar7 = uVar5;
  }
  return;
}

