
void __gmpf_div_2exp(mpf_ptr r,mpf_srcptr u,mp_bitcnt_t exp)

{
  mp_limb_t mVar1;
  int iVar2;
  mp_limb_t *pmVar3;
  mp_limb_t *pmVar4;
  int iVar5;
  int iVar6;
  mp_limb_t *pmVar7;
  int iVar8;
  
  iVar6 = u->_mp_size;
  pmVar7 = r->_mp_d;
  iVar5 = r->_mp_prec;
  iVar8 = u->_mp_exp;
  if (iVar6 == 0) {
    r->_mp_size = 0;
    r->_mp_exp = 0;
    return;
  }
  iVar2 = iVar6;
  if (iVar6 < 0) {
    iVar2 = -iVar6;
  }
  pmVar4 = u->_mp_d;
  if ((exp & 0x1f) != 0) {
    if (iVar5 < iVar2) {
      mVar1 = (*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5);
      *pmVar7 = mVar1;
      mVar1 = pmVar7[iVar5];
      iVar2 = iVar5;
    }
    else {
      mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f));
      pmVar7[iVar2] = mVar1;
    }
    iVar2 = iVar2 + (uint)(mVar1 != 0);
    r->_mp_exp = ~(exp >> 5) + iVar8 + (uint)(mVar1 != 0);
    goto joined_r0x0001dc48;
  }
  iVar5 = iVar5 + 1;
  if (iVar5 < iVar2) {
    pmVar4 = pmVar4 + (iVar2 - iVar5);
    iVar2 = iVar5;
    if ((pmVar7 != pmVar4) && (iVar5 != 0)) {
LAB_0001dc60:
      iVar5 = iVar2 + -1;
      mVar1 = *pmVar4;
      pmVar3 = pmVar7;
      if (iVar5 != 0) {
        do {
          pmVar4 = pmVar4 + 1;
          *pmVar3 = mVar1;
          iVar5 = iVar5 + -1;
          mVar1 = *pmVar4;
          pmVar3 = pmVar3 + 1;
        } while (iVar5 != 0);
        pmVar7 = pmVar7 + iVar2 + -1;
      }
      *pmVar7 = mVar1;
      r->_mp_exp = iVar8 - (exp >> 5);
      goto joined_r0x0001dc48;
    }
  }
  else if (pmVar7 != pmVar4) goto LAB_0001dc60;
  r->_mp_exp = iVar8 - (exp >> 5);
joined_r0x0001dc48:
  if (iVar6 < 0) {
    iVar2 = -iVar2;
  }
  r->_mp_size = iVar2;
  return;
}



void __gmpf_div_2exp(int *param_1,int param_2,uint param_3)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  int iVar6;
  int iVar7;
  undefined4 *puVar8;
  int iVar9;
  
  iVar7 = *(int *)(param_2 + 4);
  puVar8 = (undefined4 *)param_1[3];
  iVar6 = *param_1;
  iVar9 = *(int *)(param_2 + 8);
  if (iVar7 == 0) {
    param_1[1] = 0;
    param_1[2] = 0;
    return;
  }
  iVar2 = iVar7;
  if (iVar7 < 0) {
    iVar2 = -iVar7;
  }
  puVar5 = *(undefined4 **)(param_2 + 0xc);
  if ((param_3 & 0x1f) != 0) {
    if (iVar6 < iVar2) {
      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);
      *puVar8 = uVar1;
      iVar3 = puVar8[iVar6];
      iVar2 = iVar6;
    }
    else {
      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));
      puVar8[iVar2] = iVar3;
    }
    iVar2 = iVar2 + (uint)(iVar3 != 0);
    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);
    goto joined_r0x0001dc48;
  }
  iVar6 = iVar6 + 1;
  if (iVar6 < iVar2) {
    puVar5 = puVar5 + (iVar2 - iVar6);
    iVar2 = iVar6;
    if ((puVar8 != puVar5) && (iVar6 != 0)) {
LAB_0001dc60:
      iVar6 = iVar2 + -1;
      uVar1 = *puVar5;
      puVar4 = puVar8;
      if (iVar6 != 0) {
        do {
          puVar5 = puVar5 + 1;
          *puVar4 = uVar1;
          iVar6 = iVar6 + -1;
          uVar1 = *puVar5;
          puVar4 = puVar4 + 1;
        } while (iVar6 != 0);
        puVar8 = puVar8 + iVar2 + -1;
      }
      *puVar8 = uVar1;
      param_1[2] = iVar9 - (param_3 >> 5);
      goto joined_r0x0001dc48;
    }
  }
  else if (puVar8 != puVar5) goto LAB_0001dc60;
  param_1[2] = iVar9 - (param_3 >> 5);
joined_r0x0001dc48:
  if (iVar7 < 0) {
    iVar2 = -iVar2;
  }
  param_1[1] = iVar2;
  return;
}


lui gp,0x8
addiu gp,gp,0x1520
addu gp,gp,t9
addiu sp,sp,-0x38
sw s4,0x28(sp)
sw gp,0x10(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s1,0x1c(sp)
sw ra,0x34(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s0,0x18(sp)
lw s4,0x4(a1)
lw s5,0xc(a0)
lw s1,0x0(a0)
beq s4,zero,0x0001dcdc
_lw s6,0x8(a1)
bgez s4,0x0001db74
_or s2,s4,zero
subu s2,zero,s4
andi a3,a2,0x1f
lw a1,0xc(a1)
or s0,a2,zero
or s3,a0,zero
beq a3,zero,0x0001dc10
_or v1,s2,zero
slt v0,s1,s2
beq v0,zero,0x0001dcb0
_li v0,0x20
subu s2,s2,s1
lw t9,-0x7ae0(gp)
addiu a0,s5,0x4
sll s2,s2,0x2
or a2,s1,zero
jalr t9
_addu a1,a1,s2
sll v1,s1,0x2
sw v0,0x0(s5)
addu s5,s5,v1
lw v1,0x0(s5)
sltu v1,zero,v1
srl s0,s0,0x5
addu v0,s1,v1
nor s0,zero,s0
addu s0,s0,s6
addu s0,s0,v1
bltz s4,0x0001dc50
_sw s0,0x8(s3)
sw v0,0x4(s3)
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
addiu v0,s1,0x1
slt a0,v0,s2
beq a0,zero,0x0001dc58
_nop
subu v1,s2,v0
sll v1,v1,0x2
addu a1,a1,v1
beq s5,a1,0x0001dc3c
_nop
bne v0,zero,0x0001dc60
_or v1,v0,zero
srl s0,s0,0x5
subu s0,s6,s0
sw s0,0x8(s3)
bgez s4,0x0001dbe4
_nop
b 0x0001dbe4
_subu v0,zero,v0
beq s5,a1,0x0001dc3c
_or v0,s2,zero
addiu v0,v1,-0x1
beq v0,zero,0x0001dc98
_lw a2,0x0(a1)
addiu a1,a1,0x4
or a0,s5,zero
addiu a0,a0,0x4
sw a2,-0x4(a0)
addiu a1,a1,0x4
addiu v0,v0,-0x1
bne v0,zero,0x0001dc74
_lw a2,-0x4(a1)
sll v0,v1,0x2
addiu v0,v0,-0x4
addu s5,s5,v0
srl s0,s0,0x5
sw a2,0x0(s5)
or v0,v1,zero
subu s0,s6,s0
b 0x0001dc48
_sw s0,0x8(s3)
lw t9,-0x7ad4(gp)
or a0,s5,zero
subu a3,v0,a3
jalr t9
_or a2,s2,zero
sll v1,s2,0x2
or s1,s2,zero
addu s5,s5,v1
sltu v1,zero,v0
b 0x0001dbc8
_sw v0,0x0(s5)
sw zero,0x4(a0)
b 0x0001dbe8
_sw zero,0x8(a0)
(translation_unit "void __gmpf_div_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar7 = *(int *)(param_2 + 4);\n  puVar8 = (undefined4 *)param_1[3];\n  iVar6 = *param_1;\n  iVar9 = *(int *)(param_2 + 8);\n  if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }\n  iVar2 = iVar7;\n  if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }\n  puVar5 = *(undefined4 **)(param_2 + 0xc);\n  if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar6 = iVar6 + 1;\n  if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;\n  param_1[2] = iVar9 - (param_3 >> 5);\njoined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }\n  param_1[1] = iVar2;\n  return;\n}\n\n" (function_definition "void __gmpf_div_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar7 = *(int *)(param_2 + 4);\n  puVar8 = (undefined4 *)param_1[3];\n  iVar6 = *param_1;\n  iVar9 = *(int *)(param_2 + 8);\n  if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }\n  iVar2 = iVar7;\n  if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }\n  puVar5 = *(undefined4 **)(param_2 + 0xc);\n  if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar6 = iVar6 + 1;\n  if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;\n  param_1[2] = iVar9 - (param_3 >> 5);\njoined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }\n  param_1[1] = iVar2;\n  return;\n}" primitive_type (function_declarator "__gmpf_div_2exp(int *param_1,int param_2,uint param_3)" identifier (parameter_list "(int *param_1,int param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar7 = *(int *)(param_2 + 4);\n  puVar8 = (undefined4 *)param_1[3];\n  iVar6 = *param_1;\n  iVar9 = *(int *)(param_2 + 8);\n  if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }\n  iVar2 = iVar7;\n  if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }\n  puVar5 = *(undefined4 **)(param_2 + 0xc);\n  if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar6 = iVar6 + 1;\n  if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;\n  param_1[2] = iVar9 - (param_3 >> 5);\njoined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }\n  param_1[1] = iVar2;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "iVar7 = *(int *)(param_2 + 4);" (assignment_expression "iVar7 = *(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 "puVar8 = (undefined4 *)param_1[3];" (assignment_expression "puVar8 = (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 "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar9 = *(int *)(param_2 + 8);" (assignment_expression "iVar9 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = iVar7;" (assignment_expression "iVar2 = iVar7" identifier = identifier) ;) (if_statement "if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar2 = -iVar7;\n  }" { (expression_statement "iVar2 = -iVar7;" (assignment_expression "iVar2 = -iVar7" identifier = (unary_expression "-iVar7" - identifier)) ;) })) (expression_statement "puVar5 = *(undefined4 **)(param_2 + 0xc);" (assignment_expression "puVar5 = *(undefined4 **)(param_2 + 0xc)" identifier = (pointer_expression "*(undefined4 **)(param_2 + 0xc)" * (cast_expression "(undefined4 **)(param_2 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }" if (parenthesized_expression "((param_3 & 0x1f) != 0)" ( (binary_expression "(param_3 & 0x1f) != 0" (parenthesized_expression "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }" { (if_statement "if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }" if (parenthesized_expression "(iVar6 < iVar2)" ( (binary_expression "iVar6 < iVar2" identifier < identifier) )) (compound_statement "{\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }" { (expression_statement "uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);" (assignment_expression "uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6)" identifier = (call_expression "(*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6)" (parenthesized_expression "(*(code *)PTR___gmpn_rshift_00097560)" ( (pointer_expression "*(code *)PTR___gmpn_rshift_00097560" * (cast_expression "(code *)PTR___gmpn_rshift_00097560" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6)" ( (binary_expression "puVar8 + 1" identifier + number_literal) , (binary_expression "puVar5 + (iVar2 - iVar6)" identifier + (parenthesized_expression "(iVar2 - iVar6)" ( (binary_expression "iVar2 - iVar6" identifier - identifier) ))) , identifier )))) ;) (expression_statement "*puVar8 = uVar1;" (assignment_expression "*puVar8 = uVar1" (pointer_expression "*puVar8" * identifier) = identifier) ;) (expression_statement "iVar3 = puVar8[iVar6];" (assignment_expression "iVar3 = puVar8[iVar6]" identifier = (subscript_expression "puVar8[iVar6]" identifier [ identifier ])) ;) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" identifier = identifier) ;) }) (else_clause "else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }" else (compound_statement "{\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }" { (expression_statement "iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));" (assignment_expression "iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f))" identifier = (call_expression "(*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f))" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009756c)" ( (pointer_expression "*(code *)PTR___gmpn_lshift_0009756c" * (cast_expression "(code *)PTR___gmpn_lshift_0009756c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f))" ( identifier , identifier , identifier , (binary_expression "0x20 - (param_3 & 0x1f)" number_literal - (parenthesized_expression "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) ))) )))) ;) (expression_statement "puVar8[iVar2] = iVar3;" (assignment_expression "puVar8[iVar2] = iVar3" (subscript_expression "puVar8[iVar2]" identifier [ identifier ]) = identifier) ;) }))) (expression_statement "iVar2 = iVar2 + (uint)(iVar3 != 0);" (assignment_expression "iVar2 = iVar2 + (uint)(iVar3 != 0)" identifier = (binary_expression "iVar2 + (uint)(iVar3 != 0)" identifier + (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) ))))) ;) (expression_statement "param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);" (assignment_expression "param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0)" (binary_expression "~(param_3 >> 5) + iVar9" (unary_expression "~(param_3 >> 5)" ~ (parenthesized_expression "(param_3 >> 5)" ( (binary_expression "param_3 >> 5" identifier >> number_literal) ))) + identifier) + (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) ))))) ;) (goto_statement "goto joined_r0x0001dc48;" goto statement_identifier ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;" if (parenthesized_expression "(iVar6 < iVar2)" ( (binary_expression "iVar6 < iVar2" identifier < identifier) )) (compound_statement "{\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }" { (expression_statement "puVar5 = puVar5 + (iVar2 - iVar6);" (assignment_expression "puVar5 = puVar5 + (iVar2 - iVar6)" identifier = (binary_expression "puVar5 + (iVar2 - iVar6)" identifier + (parenthesized_expression "(iVar2 - iVar6)" ( (binary_expression "iVar2 - iVar6" identifier - identifier) )))) ;) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" identifier = identifier) ;) (if_statement "if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }" if (parenthesized_expression "((puVar8 != puVar5) && (iVar6 != 0))" ( (binary_expression "(puVar8 != puVar5) && (iVar6 != 0)" (parenthesized_expression "(puVar8 != puVar5)" ( (binary_expression "puVar8 != puVar5" identifier != identifier) )) && (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) ))) )) (compound_statement "{\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }" { (labeled_statement "LAB_0001dc60:\n      iVar6 = iVar2 + -1;" statement_identifier : (expression_statement "iVar6 = iVar2 + -1;" (assignment_expression "iVar6 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;)) (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar4 = puVar8;" (assignment_expression "puVar4 = puVar8" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }" { (do_statement "do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);" do (compound_statement "{\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = uVar1;" (assignment_expression "*puVar4 = uVar1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "puVar8 = puVar8 + iVar2 + -1;" (assignment_expression "puVar8 = puVar8 + iVar2 + -1" identifier = (binary_expression "puVar8 + iVar2 + -1" (binary_expression "puVar8 + iVar2" identifier + identifier) + number_literal)) ;) })) (expression_statement "*puVar8 = uVar1;" (assignment_expression "*puVar8 = uVar1" (pointer_expression "*puVar8" * identifier) = identifier) ;) (expression_statement "param_1[2] = iVar9 - (param_3 >> 5);" (assignment_expression "param_1[2] = iVar9 - (param_3 >> 5)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "iVar9 - (param_3 >> 5)" identifier - (parenthesized_expression "(param_3 >> 5)" ( (binary_expression "param_3 >> 5" identifier >> number_literal) )))) ;) (goto_statement "goto joined_r0x0001dc48;" goto statement_identifier ;) })) }) (else_clause "else if (puVar8 != puVar5) goto LAB_0001dc60;" else (if_statement "if (puVar8 != puVar5) goto LAB_0001dc60;" if (parenthesized_expression "(puVar8 != puVar5)" ( (binary_expression "puVar8 != puVar5" identifier != identifier) )) (goto_statement "goto LAB_0001dc60;" goto statement_identifier ;)))) (expression_statement "param_1[2] = iVar9 - (param_3 >> 5);" (assignment_expression "param_1[2] = iVar9 - (param_3 >> 5)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "iVar9 - (param_3 >> 5)" identifier - (parenthesized_expression "(param_3 >> 5)" ( (binary_expression "param_3 >> 5" identifier >> number_literal) )))) ;) (labeled_statement "joined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }" statement_identifier : (if_statement "if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar2 = -iVar2;\n  }" { (expression_statement "iVar2 = -iVar2;" (assignment_expression "iVar2 = -iVar2" identifier = (unary_expression "-iVar2" - identifier)) ;) }))) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpf_div_2exp(mpf_ptr r,mpf_srcptr u,mp_bitcnt_t exp)\n\n{\n  mp_limb_t mVar1;\n  int iVar2;\n  mp_limb_t *pmVar3;\n  mp_limb_t *pmVar4;\n  int iVar5;\n  int iVar6;\n  mp_limb_t *pmVar7;\n  int iVar8;\n  \n  iVar6 = u->_mp_size;\n  pmVar7 = r->_mp_d;\n  iVar5 = r->_mp_prec;\n  iVar8 = u->_mp_exp;\n  if (iVar6 == 0) {\n    r->_mp_size = 0;\n    r->_mp_exp = 0;\n    return;\n  }\n  iVar2 = iVar6;\n  if (iVar6 < 0) {\n    iVar2 = -iVar6;\n  }\n  pmVar4 = u->_mp_d;\n  if ((exp & 0x1f) != 0) {\n    if (iVar5 < iVar2) {\n      mVar1 = (*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5);\n      *pmVar7 = mVar1;\n      mVar1 = pmVar7[iVar5];\n      iVar2 = iVar5;\n    }\n    else {\n      mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f));\n      pmVar7[iVar2] = mVar1;\n    }\n    iVar2 = iVar2 + (uint)(mVar1 != 0);\n    r->_mp_exp = ~(exp >> 5) + iVar8 + (uint)(mVar1 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar5 = iVar5 + 1;\n  if (iVar5 < iVar2) {\n    pmVar4 = pmVar4 + (iVar2 - iVar5);\n    iVar2 = iVar5;\n    if ((pmVar7 != pmVar4) && (iVar5 != 0)) {\nLAB_0001dc60:\n      iVar5 = iVar2 + -1;\n      mVar1 = *pmVar4;\n      pmVar3 = pmVar7;\n      if (iVar5 != 0) {\n        do {\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        } while (iVar5 != 0);\n        pmVar7 = pmVar7 + iVar2 + -1;\n      }\n      *pmVar7 = mVar1;\n      r->_mp_exp = iVar8 - (exp >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (pmVar7 != pmVar4) goto LAB_0001dc60;\n  r->_mp_exp = iVar8 - (exp >> 5);\njoined_r0x0001dc48:\n  if (iVar6 < 0) {\n    iVar2 = -iVar2;\n  }\n  r->_mp_size = iVar2;\n  return;\n}\n\n" (function_definition "void __gmpf_div_2exp(mpf_ptr r,mpf_srcptr u,mp_bitcnt_t exp)\n\n{\n  mp_limb_t mVar1;\n  int iVar2;\n  mp_limb_t *pmVar3;\n  mp_limb_t *pmVar4;\n  int iVar5;\n  int iVar6;\n  mp_limb_t *pmVar7;\n  int iVar8;\n  \n  iVar6 = u->_mp_size;\n  pmVar7 = r->_mp_d;\n  iVar5 = r->_mp_prec;\n  iVar8 = u->_mp_exp;\n  if (iVar6 == 0) {\n    r->_mp_size = 0;\n    r->_mp_exp = 0;\n    return;\n  }\n  iVar2 = iVar6;\n  if (iVar6 < 0) {\n    iVar2 = -iVar6;\n  }\n  pmVar4 = u->_mp_d;\n  if ((exp & 0x1f) != 0) {\n    if (iVar5 < iVar2) {\n      mVar1 = (*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5);\n      *pmVar7 = mVar1;\n      mVar1 = pmVar7[iVar5];\n      iVar2 = iVar5;\n    }\n    else {\n      mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f));\n      pmVar7[iVar2] = mVar1;\n    }\n    iVar2 = iVar2 + (uint)(mVar1 != 0);\n    r->_mp_exp = ~(exp >> 5) + iVar8 + (uint)(mVar1 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar5 = iVar5 + 1;\n  if (iVar5 < iVar2) {\n    pmVar4 = pmVar4 + (iVar2 - iVar5);\n    iVar2 = iVar5;\n    if ((pmVar7 != pmVar4) && (iVar5 != 0)) {\nLAB_0001dc60:\n      iVar5 = iVar2 + -1;\n      mVar1 = *pmVar4;\n      pmVar3 = pmVar7;\n      if (iVar5 != 0) {\n        do {\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        } while (iVar5 != 0);\n        pmVar7 = pmVar7 + iVar2 + -1;\n      }\n      *pmVar7 = mVar1;\n      r->_mp_exp = iVar8 - (exp >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (pmVar7 != pmVar4) goto LAB_0001dc60;\n  r->_mp_exp = iVar8 - (exp >> 5);\njoined_r0x0001dc48:\n  if (iVar6 < 0) {\n    iVar2 = -iVar2;\n  }\n  r->_mp_size = iVar2;\n  return;\n}" primitive_type (function_declarator "__gmpf_div_2exp(mpf_ptr r,mpf_srcptr u,mp_bitcnt_t exp)" identifier (parameter_list "(mpf_ptr r,mpf_srcptr u,mp_bitcnt_t exp)" ( (parameter_declaration "mpf_ptr r" type_identifier identifier) , (parameter_declaration "mpf_srcptr u" type_identifier identifier) , (parameter_declaration "mp_bitcnt_t exp" type_identifier identifier) ))) (compound_statement "{\n  mp_limb_t mVar1;\n  int iVar2;\n  mp_limb_t *pmVar3;\n  mp_limb_t *pmVar4;\n  int iVar5;\n  int iVar6;\n  mp_limb_t *pmVar7;\n  int iVar8;\n  \n  iVar6 = u->_mp_size;\n  pmVar7 = r->_mp_d;\n  iVar5 = r->_mp_prec;\n  iVar8 = u->_mp_exp;\n  if (iVar6 == 0) {\n    r->_mp_size = 0;\n    r->_mp_exp = 0;\n    return;\n  }\n  iVar2 = iVar6;\n  if (iVar6 < 0) {\n    iVar2 = -iVar6;\n  }\n  pmVar4 = u->_mp_d;\n  if ((exp & 0x1f) != 0) {\n    if (iVar5 < iVar2) {\n      mVar1 = (*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5);\n      *pmVar7 = mVar1;\n      mVar1 = pmVar7[iVar5];\n      iVar2 = iVar5;\n    }\n    else {\n      mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f));\n      pmVar7[iVar2] = mVar1;\n    }\n    iVar2 = iVar2 + (uint)(mVar1 != 0);\n    r->_mp_exp = ~(exp >> 5) + iVar8 + (uint)(mVar1 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar5 = iVar5 + 1;\n  if (iVar5 < iVar2) {\n    pmVar4 = pmVar4 + (iVar2 - iVar5);\n    iVar2 = iVar5;\n    if ((pmVar7 != pmVar4) && (iVar5 != 0)) {\nLAB_0001dc60:\n      iVar5 = iVar2 + -1;\n      mVar1 = *pmVar4;\n      pmVar3 = pmVar7;\n      if (iVar5 != 0) {\n        do {\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        } while (iVar5 != 0);\n        pmVar7 = pmVar7 + iVar2 + -1;\n      }\n      *pmVar7 = mVar1;\n      r->_mp_exp = iVar8 - (exp >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (pmVar7 != pmVar4) goto LAB_0001dc60;\n  r->_mp_exp = iVar8 - (exp >> 5);\njoined_r0x0001dc48:\n  if (iVar6 < 0) {\n    iVar2 = -iVar2;\n  }\n  r->_mp_size = iVar2;\n  return;\n}" { (declaration "mp_limb_t mVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "mp_limb_t *pmVar3;" type_identifier (pointer_declarator "*pmVar3" * identifier) ;) (declaration "mp_limb_t *pmVar4;" type_identifier (pointer_declarator "*pmVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "mp_limb_t *pmVar7;" type_identifier (pointer_declarator "*pmVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (expression_statement "iVar6 = u->_mp_size;" (assignment_expression "iVar6 = u->_mp_size" identifier = (field_expression "u->_mp_size" 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 "iVar5 = r->_mp_prec;" (assignment_expression "iVar5 = r->_mp_prec" identifier = (field_expression "r->_mp_prec" identifier -> field_identifier)) ;) (expression_statement "iVar8 = u->_mp_exp;" (assignment_expression "iVar8 = u->_mp_exp" identifier = (field_expression "u->_mp_exp" identifier -> field_identifier)) ;) (if_statement "if (iVar6 == 0) {\n    r->_mp_size = 0;\n    r->_mp_exp = 0;\n    return;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    r->_mp_size = 0;\n    r->_mp_exp = 0;\n    return;\n  }" { (expression_statement "r->_mp_size = 0;" (assignment_expression "r->_mp_size = 0" (field_expression "r->_mp_size" identifier -> field_identifier) = number_literal) ;) (expression_statement "r->_mp_exp = 0;" (assignment_expression "r->_mp_exp = 0" (field_expression "r->_mp_exp" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" identifier = identifier) ;) (if_statement "if (iVar6 < 0) {\n    iVar2 = -iVar6;\n  }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar2 = -iVar6;\n  }" { (expression_statement "iVar2 = -iVar6;" (assignment_expression "iVar2 = -iVar6" identifier = (unary_expression "-iVar6" - identifier)) ;) })) (expression_statement "pmVar4 = u->_mp_d;" (assignment_expression "pmVar4 = u->_mp_d" identifier = (field_expression "u->_mp_d" identifier -> field_identifier)) ;) (if_statement "if ((exp & 0x1f) != 0) {\n    if (iVar5 < iVar2) {\n      mVar1 = (*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5);\n      *pmVar7 = mVar1;\n      mVar1 = pmVar7[iVar5];\n      iVar2 = iVar5;\n    }\n    else {\n      mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f));\n      pmVar7[iVar2] = mVar1;\n    }\n    iVar2 = iVar2 + (uint)(mVar1 != 0);\n    r->_mp_exp = ~(exp >> 5) + iVar8 + (uint)(mVar1 != 0);\n    goto joined_r0x0001dc48;\n  }" if (parenthesized_expression "((exp & 0x1f) != 0)" ( (binary_expression "(exp & 0x1f) != 0" (parenthesized_expression "(exp & 0x1f)" ( (binary_expression "exp & 0x1f" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (iVar5 < iVar2) {\n      mVar1 = (*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5);\n      *pmVar7 = mVar1;\n      mVar1 = pmVar7[iVar5];\n      iVar2 = iVar5;\n    }\n    else {\n      mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f));\n      pmVar7[iVar2] = mVar1;\n    }\n    iVar2 = iVar2 + (uint)(mVar1 != 0);\n    r->_mp_exp = ~(exp >> 5) + iVar8 + (uint)(mVar1 != 0);\n    goto joined_r0x0001dc48;\n  }" { (if_statement "if (iVar5 < iVar2) {\n      mVar1 = (*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5);\n      *pmVar7 = mVar1;\n      mVar1 = pmVar7[iVar5];\n      iVar2 = iVar5;\n    }\n    else {\n      mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f));\n      pmVar7[iVar2] = mVar1;\n    }" if (parenthesized_expression "(iVar5 < iVar2)" ( (binary_expression "iVar5 < iVar2" identifier < identifier) )) (compound_statement "{\n      mVar1 = (*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5);\n      *pmVar7 = mVar1;\n      mVar1 = pmVar7[iVar5];\n      iVar2 = iVar5;\n    }" { (expression_statement "mVar1 = (*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5);" (assignment_expression "mVar1 = (*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5)" identifier = (call_expression "(*(code *)PTR___gmpn_rshift_00097560)(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5)" (parenthesized_expression "(*(code *)PTR___gmpn_rshift_00097560)" ( (pointer_expression "*(code *)PTR___gmpn_rshift_00097560" * (cast_expression "(code *)PTR___gmpn_rshift_00097560" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pmVar7 + 1,pmVar4 + (iVar2 - iVar5),iVar5)" ( (binary_expression "pmVar7 + 1" identifier + number_literal) , (binary_expression "pmVar4 + (iVar2 - iVar5)" identifier + (parenthesized_expression "(iVar2 - iVar5)" ( (binary_expression "iVar2 - iVar5" identifier - identifier) ))) , identifier )))) ;) (expression_statement "*pmVar7 = mVar1;" (assignment_expression "*pmVar7 = mVar1" (pointer_expression "*pmVar7" * identifier) = identifier) ;) (expression_statement "mVar1 = pmVar7[iVar5];" (assignment_expression "mVar1 = pmVar7[iVar5]" identifier = (subscript_expression "pmVar7[iVar5]" identifier [ identifier ])) ;) (expression_statement "iVar2 = iVar5;" (assignment_expression "iVar2 = iVar5" identifier = identifier) ;) }) (else_clause "else {\n      mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f));\n      pmVar7[iVar2] = mVar1;\n    }" else (compound_statement "{\n      mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f));\n      pmVar7[iVar2] = mVar1;\n    }" { (expression_statement "mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f));" (assignment_expression "mVar1 = (*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f))" identifier = (call_expression "(*(code *)PTR___gmpn_lshift_0009756c)(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f))" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009756c)" ( (pointer_expression "*(code *)PTR___gmpn_lshift_0009756c" * (cast_expression "(code *)PTR___gmpn_lshift_0009756c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pmVar7,pmVar4,iVar2,0x20 - (exp & 0x1f))" ( identifier , identifier , identifier , (binary_expression "0x20 - (exp & 0x1f)" number_literal - (parenthesized_expression "(exp & 0x1f)" ( (binary_expression "exp & 0x1f" identifier & number_literal) ))) )))) ;) (expression_statement "pmVar7[iVar2] = mVar1;" (assignment_expression "pmVar7[iVar2] = mVar1" (subscript_expression "pmVar7[iVar2]" identifier [ identifier ]) = identifier) ;) }))) (expression_statement "iVar2 = iVar2 + (uint)(mVar1 != 0);" (assignment_expression "iVar2 = iVar2 + (uint)(mVar1 != 0)" identifier = (binary_expression "iVar2 + (uint)(mVar1 != 0)" identifier + (call_expression "(uint)(mVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(mVar1 != 0)" ( (binary_expression "mVar1 != 0" identifier != number_literal) ))))) ;) (expression_statement "r->_mp_exp = ~(exp >> 5) + iVar8 + (uint)(mVar1 != 0);" (assignment_expression "r->_mp_exp = ~(exp >> 5) + iVar8 + (uint)(mVar1 != 0)" (field_expression "r->_mp_exp" identifier -> field_identifier) = (binary_expression "~(exp >> 5) + iVar8 + (uint)(mVar1 != 0)" (binary_expression "~(exp >> 5) + iVar8" (unary_expression "~(exp >> 5)" ~ (parenthesized_expression "(exp >> 5)" ( (binary_expression "exp >> 5" identifier >> number_literal) ))) + identifier) + (call_expression "(uint)(mVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(mVar1 != 0)" ( (binary_expression "mVar1 != 0" identifier != number_literal) ))))) ;) (goto_statement "goto joined_r0x0001dc48;" goto statement_identifier ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 < iVar2) {\n    pmVar4 = pmVar4 + (iVar2 - iVar5);\n    iVar2 = iVar5;\n    if ((pmVar7 != pmVar4) && (iVar5 != 0)) {\nLAB_0001dc60:\n      iVar5 = iVar2 + -1;\n      mVar1 = *pmVar4;\n      pmVar3 = pmVar7;\n      if (iVar5 != 0) {\n        do {\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        } while (iVar5 != 0);\n        pmVar7 = pmVar7 + iVar2 + -1;\n      }\n      *pmVar7 = mVar1;\n      r->_mp_exp = iVar8 - (exp >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (pmVar7 != pmVar4) goto LAB_0001dc60;" if (parenthesized_expression "(iVar5 < iVar2)" ( (binary_expression "iVar5 < iVar2" identifier < identifier) )) (compound_statement "{\n    pmVar4 = pmVar4 + (iVar2 - iVar5);\n    iVar2 = iVar5;\n    if ((pmVar7 != pmVar4) && (iVar5 != 0)) {\nLAB_0001dc60:\n      iVar5 = iVar2 + -1;\n      mVar1 = *pmVar4;\n      pmVar3 = pmVar7;\n      if (iVar5 != 0) {\n        do {\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        } while (iVar5 != 0);\n        pmVar7 = pmVar7 + iVar2 + -1;\n      }\n      *pmVar7 = mVar1;\n      r->_mp_exp = iVar8 - (exp >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }" { (expression_statement "pmVar4 = pmVar4 + (iVar2 - iVar5);" (assignment_expression "pmVar4 = pmVar4 + (iVar2 - iVar5)" identifier = (binary_expression "pmVar4 + (iVar2 - iVar5)" identifier + (parenthesized_expression "(iVar2 - iVar5)" ( (binary_expression "iVar2 - iVar5" identifier - identifier) )))) ;) (expression_statement "iVar2 = iVar5;" (assignment_expression "iVar2 = iVar5" identifier = identifier) ;) (if_statement "if ((pmVar7 != pmVar4) && (iVar5 != 0)) {\nLAB_0001dc60:\n      iVar5 = iVar2 + -1;\n      mVar1 = *pmVar4;\n      pmVar3 = pmVar7;\n      if (iVar5 != 0) {\n        do {\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        } while (iVar5 != 0);\n        pmVar7 = pmVar7 + iVar2 + -1;\n      }\n      *pmVar7 = mVar1;\n      r->_mp_exp = iVar8 - (exp >> 5);\n      goto joined_r0x0001dc48;\n    }" if (parenthesized_expression "((pmVar7 != pmVar4) && (iVar5 != 0))" ( (binary_expression "(pmVar7 != pmVar4) && (iVar5 != 0)" (parenthesized_expression "(pmVar7 != pmVar4)" ( (binary_expression "pmVar7 != pmVar4" identifier != identifier) )) && (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) ))) )) (compound_statement "{\nLAB_0001dc60:\n      iVar5 = iVar2 + -1;\n      mVar1 = *pmVar4;\n      pmVar3 = pmVar7;\n      if (iVar5 != 0) {\n        do {\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        } while (iVar5 != 0);\n        pmVar7 = pmVar7 + iVar2 + -1;\n      }\n      *pmVar7 = mVar1;\n      r->_mp_exp = iVar8 - (exp >> 5);\n      goto joined_r0x0001dc48;\n    }" { (labeled_statement "LAB_0001dc60:\n      iVar5 = iVar2 + -1;" statement_identifier : (expression_statement "iVar5 = iVar2 + -1;" (assignment_expression "iVar5 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;)) (expression_statement "mVar1 = *pmVar4;" (assignment_expression "mVar1 = *pmVar4" identifier = (pointer_expression "*pmVar4" * identifier)) ;) (expression_statement "pmVar3 = pmVar7;" (assignment_expression "pmVar3 = pmVar7" identifier = identifier) ;) (if_statement "if (iVar5 != 0) {\n        do {\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        } while (iVar5 != 0);\n        pmVar7 = pmVar7 + iVar2 + -1;\n      }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        } while (iVar5 != 0);\n        pmVar7 = pmVar7 + iVar2 + -1;\n      }" { (do_statement "do {\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        } while (iVar5 != 0);" do (compound_statement "{\n          pmVar4 = pmVar4 + 1;\n          *pmVar3 = mVar1;\n          iVar5 = iVar5 + -1;\n          mVar1 = *pmVar4;\n          pmVar3 = pmVar3 + 1;\n        }" { (expression_statement "pmVar4 = pmVar4 + 1;" (assignment_expression "pmVar4 = pmVar4 + 1" identifier = (binary_expression "pmVar4 + 1" identifier + number_literal)) ;) (expression_statement "*pmVar3 = mVar1;" (assignment_expression "*pmVar3 = mVar1" (pointer_expression "*pmVar3" * identifier) = identifier) ;) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "mVar1 = *pmVar4;" (assignment_expression "mVar1 = *pmVar4" identifier = (pointer_expression "*pmVar4" * identifier)) ;) (expression_statement "pmVar3 = pmVar3 + 1;" (assignment_expression "pmVar3 = pmVar3 + 1" identifier = (binary_expression "pmVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (expression_statement "pmVar7 = pmVar7 + iVar2 + -1;" (assignment_expression "pmVar7 = pmVar7 + iVar2 + -1" identifier = (binary_expression "pmVar7 + iVar2 + -1" (binary_expression "pmVar7 + iVar2" identifier + identifier) + number_literal)) ;) })) (expression_statement "*pmVar7 = mVar1;" (assignment_expression "*pmVar7 = mVar1" (pointer_expression "*pmVar7" * identifier) = identifier) ;) (expression_statement "r->_mp_exp = iVar8 - (exp >> 5);" (assignment_expression "r->_mp_exp = iVar8 - (exp >> 5)" (field_expression "r->_mp_exp" identifier -> field_identifier) = (binary_expression "iVar8 - (exp >> 5)" identifier - (parenthesized_expression "(exp >> 5)" ( (binary_expression "exp >> 5" identifier >> number_literal) )))) ;) (goto_statement "goto joined_r0x0001dc48;" goto statement_identifier ;) })) }) (else_clause "else if (pmVar7 != pmVar4) goto LAB_0001dc60;" else (if_statement "if (pmVar7 != pmVar4) goto LAB_0001dc60;" if (parenthesized_expression "(pmVar7 != pmVar4)" ( (binary_expression "pmVar7 != pmVar4" identifier != identifier) )) (goto_statement "goto LAB_0001dc60;" goto statement_identifier ;)))) (expression_statement "r->_mp_exp = iVar8 - (exp >> 5);" (assignment_expression "r->_mp_exp = iVar8 - (exp >> 5)" (field_expression "r->_mp_exp" identifier -> field_identifier) = (binary_expression "iVar8 - (exp >> 5)" identifier - (parenthesized_expression "(exp >> 5)" ( (binary_expression "exp >> 5" identifier >> number_literal) )))) ;) (labeled_statement "joined_r0x0001dc48:\n  if (iVar6 < 0) {\n    iVar2 = -iVar2;\n  }" statement_identifier : (if_statement "if (iVar6 < 0) {\n    iVar2 = -iVar2;\n  }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar2 = -iVar2;\n  }" { (expression_statement "iVar2 = -iVar2;" (assignment_expression "iVar2 = -iVar2" identifier = (unary_expression "-iVar2" - identifier)) ;) }))) (expression_statement "r->_mp_size = iVar2;" (assignment_expression "r->_mp_size = iVar2" (field_expression "r->_mp_size" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpf_div_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar7 = *(int *)(param_2 + 4);\n  puVar8 = (undefined4 *)param_1[3];\n  iVar6 = *param_1;\n  iVar9 = *(int *)(param_2 + 8);\n  if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }\n  iVar2 = iVar7;\n  if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }\n  puVar5 = *(undefined4 **)(param_2 + 0xc);\n  if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar6 = iVar6 + 1;\n  if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;\n  param_1[2] = iVar9 - (param_3 >> 5);\njoined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }\n  param_1[1] = iVar2;\n  return;\n}\n\n" (function_definition "void __gmpf_div_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar7 = *(int *)(param_2 + 4);\n  puVar8 = (undefined4 *)param_1[3];\n  iVar6 = *param_1;\n  iVar9 = *(int *)(param_2 + 8);\n  if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }\n  iVar2 = iVar7;\n  if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }\n  puVar5 = *(undefined4 **)(param_2 + 0xc);\n  if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar6 = iVar6 + 1;\n  if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;\n  param_1[2] = iVar9 - (param_3 >> 5);\njoined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }\n  param_1[1] = iVar2;\n  return;\n}" primitive_type (function_declarator "__gmpf_div_2exp(int *param_1,int param_2,uint param_3)" identifier (parameter_list "(int *param_1,int param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar7 = *(int *)(param_2 + 4);\n  puVar8 = (undefined4 *)param_1[3];\n  iVar6 = *param_1;\n  iVar9 = *(int *)(param_2 + 8);\n  if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }\n  iVar2 = iVar7;\n  if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }\n  puVar5 = *(undefined4 **)(param_2 + 0xc);\n  if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar6 = iVar6 + 1;\n  if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;\n  param_1[2] = iVar9 - (param_3 >> 5);\njoined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }\n  param_1[1] = iVar2;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "iVar7 = *(int *)(param_2 + 4);" (assignment_expression "iVar7 = *(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 "puVar8 = (undefined4 *)param_1[3];" (assignment_expression "puVar8 = (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 "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar9 = *(int *)(param_2 + 8);" (assignment_expression "iVar9 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = iVar7;" (assignment_expression "iVar2 = iVar7" identifier = identifier) ;) (if_statement "if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar2 = -iVar7;\n  }" { (expression_statement "iVar2 = -iVar7;" (assignment_expression "iVar2 = -iVar7" identifier = (unary_expression "-iVar7" - identifier)) ;) })) (expression_statement "puVar5 = *(undefined4 **)(param_2 + 0xc);" (assignment_expression "puVar5 = *(undefined4 **)(param_2 + 0xc)" identifier = (pointer_expression "*(undefined4 **)(param_2 + 0xc)" * (cast_expression "(undefined4 **)(param_2 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }" if (parenthesized_expression "((param_3 & 0x1f) != 0)" ( (binary_expression "(param_3 & 0x1f) != 0" (parenthesized_expression "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }" { (if_statement "if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }" if (parenthesized_expression "(iVar6 < iVar2)" ( (binary_expression "iVar6 < iVar2" identifier < identifier) )) (compound_statement "{\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }" { (expression_statement "uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);" (assignment_expression "uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6)" identifier = (call_expression "(*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6)" (parenthesized_expression "(*(code *)PTR___gmpn_rshift_00097560)" ( (pointer_expression "*(code *)PTR___gmpn_rshift_00097560" * (cast_expression "(code *)PTR___gmpn_rshift_00097560" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6)" ( (binary_expression "puVar8 + 1" identifier + number_literal) , (binary_expression "puVar5 + (iVar2 - iVar6)" identifier + (parenthesized_expression "(iVar2 - iVar6)" ( (binary_expression "iVar2 - iVar6" identifier - identifier) ))) , identifier )))) ;) (expression_statement "*puVar8 = uVar1;" (assignment_expression "*puVar8 = uVar1" (pointer_expression "*puVar8" * identifier) = identifier) ;) (expression_statement "iVar3 = puVar8[iVar6];" (assignment_expression "iVar3 = puVar8[iVar6]" identifier = (subscript_expression "puVar8[iVar6]" identifier [ identifier ])) ;) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" identifier = identifier) ;) }) (else_clause "else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }" else (compound_statement "{\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }" { (expression_statement "iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));" (assignment_expression "iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f))" identifier = (call_expression "(*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f))" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009756c)" ( (pointer_expression "*(code *)PTR___gmpn_lshift_0009756c" * (cast_expression "(code *)PTR___gmpn_lshift_0009756c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f))" ( identifier , identifier , identifier , (binary_expression "0x20 - (param_3 & 0x1f)" number_literal - (parenthesized_expression "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) ))) )))) ;) (expression_statement "puVar8[iVar2] = iVar3;" (assignment_expression "puVar8[iVar2] = iVar3" (subscript_expression "puVar8[iVar2]" identifier [ identifier ]) = identifier) ;) }))) (expression_statement "iVar2 = iVar2 + (uint)(iVar3 != 0);" (assignment_expression "iVar2 = iVar2 + (uint)(iVar3 != 0)" identifier = (binary_expression "iVar2 + (uint)(iVar3 != 0)" identifier + (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) ))))) ;) (expression_statement "param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);" (assignment_expression "param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0)" (binary_expression "~(param_3 >> 5) + iVar9" (unary_expression "~(param_3 >> 5)" ~ (parenthesized_expression "(param_3 >> 5)" ( (binary_expression "param_3 >> 5" identifier >> number_literal) ))) + identifier) + (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) ))))) ;) (goto_statement "goto joined_r0x0001dc48;" goto statement_identifier ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;" if (parenthesized_expression "(iVar6 < iVar2)" ( (binary_expression "iVar6 < iVar2" identifier < identifier) )) (compound_statement "{\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }" { (expression_statement "puVar5 = puVar5 + (iVar2 - iVar6);" (assignment_expression "puVar5 = puVar5 + (iVar2 - iVar6)" identifier = (binary_expression "puVar5 + (iVar2 - iVar6)" identifier + (parenthesized_expression "(iVar2 - iVar6)" ( (binary_expression "iVar2 - iVar6" identifier - identifier) )))) ;) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" identifier = identifier) ;) (if_statement "if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }" if (parenthesized_expression "((puVar8 != puVar5) && (iVar6 != 0))" ( (binary_expression "(puVar8 != puVar5) && (iVar6 != 0)" (parenthesized_expression "(puVar8 != puVar5)" ( (binary_expression "puVar8 != puVar5" identifier != identifier) )) && (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) ))) )) (compound_statement "{\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }" { (labeled_statement "LAB_0001dc60:\n      iVar6 = iVar2 + -1;" statement_identifier : (expression_statement "iVar6 = iVar2 + -1;" (assignment_expression "iVar6 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;)) (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar4 = puVar8;" (assignment_expression "puVar4 = puVar8" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }" { (do_statement "do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);" do (compound_statement "{\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = uVar1;" (assignment_expression "*puVar4 = uVar1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "puVar8 = puVar8 + iVar2 + -1;" (assignment_expression "puVar8 = puVar8 + iVar2 + -1" identifier = (binary_expression "puVar8 + iVar2 + -1" (binary_expression "puVar8 + iVar2" identifier + identifier) + number_literal)) ;) })) (expression_statement "*puVar8 = uVar1;" (assignment_expression "*puVar8 = uVar1" (pointer_expression "*puVar8" * identifier) = identifier) ;) (expression_statement "param_1[2] = iVar9 - (param_3 >> 5);" (assignment_expression "param_1[2] = iVar9 - (param_3 >> 5)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "iVar9 - (param_3 >> 5)" identifier - (parenthesized_expression "(param_3 >> 5)" ( (binary_expression "param_3 >> 5" identifier >> number_literal) )))) ;) (goto_statement "goto joined_r0x0001dc48;" goto statement_identifier ;) })) }) (else_clause "else if (puVar8 != puVar5) goto LAB_0001dc60;" else (if_statement "if (puVar8 != puVar5) goto LAB_0001dc60;" if (parenthesized_expression "(puVar8 != puVar5)" ( (binary_expression "puVar8 != puVar5" identifier != identifier) )) (goto_statement "goto LAB_0001dc60;" goto statement_identifier ;)))) (expression_statement "param_1[2] = iVar9 - (param_3 >> 5);" (assignment_expression "param_1[2] = iVar9 - (param_3 >> 5)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "iVar9 - (param_3 >> 5)" identifier - (parenthesized_expression "(param_3 >> 5)" ( (binary_expression "param_3 >> 5" identifier >> number_literal) )))) ;) (labeled_statement "joined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }" statement_identifier : (if_statement "if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar2 = -iVar2;\n  }" { (expression_statement "iVar2 = -iVar2;" (assignment_expression "iVar2 = -iVar2" identifier = (unary_expression "-iVar2" - identifier)) ;) }))) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , (binary_expression LIT - (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (unary_expression ~ (parenthesized_expression ( (binary_expression IDENT >> LIT) ))) + IDENT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (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 ]) = (binary_expression IDENT - (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __gmpf_div_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar7 = *(int *)(param_2 + 4);\n  puVar8 = (undefined4 *)param_1[3];\n  iVar6 = *param_1;\n  iVar9 = *(int *)(param_2 + 8);\n  if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }\n  iVar2 = iVar7;\n  if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }\n  puVar5 = *(undefined4 **)(param_2 + 0xc);\n  if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar6 = iVar6 + 1;\n  if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;\n  param_1[2] = iVar9 - (param_3 >> 5);\njoined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }\n  param_1[1] = iVar2;\n  return;\n}" (primitive_type "void") (function_declarator "__gmpf_div_2exp(int *param_1,int param_2,uint param_3)" (identifier "__gmpf_div_2exp") (parameter_list "(int *param_1,int param_2,uint param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar7 = *(int *)(param_2 + 4);\n  puVar8 = (undefined4 *)param_1[3];\n  iVar6 = *param_1;\n  iVar9 = *(int *)(param_2 + 8);\n  if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }\n  iVar2 = iVar7;\n  if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }\n  puVar5 = *(undefined4 **)(param_2 + 0xc);\n  if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }\n  iVar6 = iVar6 + 1;\n  if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;\n  param_1[2] = iVar9 - (param_3 >> 5);\njoined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }\n  param_1[1] = iVar2;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (expression_statement "iVar7 = *(int *)(param_2 + 4);" (assignment_expression "iVar7 = *(int *)(param_2 + 4)" (identifier "iVar7") (= "=") (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 "puVar8 = (undefined4 *)param_1[3];" (assignment_expression "puVar8 = (undefined4 *)param_1[3]" (identifier "puVar8") (= "=") (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 "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" (identifier "iVar6") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar9 = *(int *)(param_2 + 8);" (assignment_expression "iVar9 = *(int *)(param_2 + 8)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar7 == 0) {\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_1[1] = 0;\n    param_1[2] = 0;\n    return;\n  }" ({ "{") (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = iVar7;" (assignment_expression "iVar2 = iVar7" (identifier "iVar2") (= "=") (identifier "iVar7")) (; ";")) (if_statement "if (iVar7 < 0) {\n    iVar2 = -iVar7;\n  }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = -iVar7;\n  }" ({ "{") (expression_statement "iVar2 = -iVar7;" (assignment_expression "iVar2 = -iVar7" (identifier "iVar2") (= "=") (unary_expression "-iVar7" (- "-") (identifier "iVar7"))) (; ";")) (} "}"))) (expression_statement "puVar5 = *(undefined4 **)(param_2 + 0xc);" (assignment_expression "puVar5 = *(undefined4 **)(param_2 + 0xc)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(param_2 + 0xc)" (* "*") (cast_expression "(undefined4 **)(param_2 + 0xc)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if ((param_3 & 0x1f) != 0) {\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }" (if "if") (parenthesized_expression "((param_3 & 0x1f) != 0)" (( "(") (binary_expression "(param_3 & 0x1f) != 0" (parenthesized_expression "(param_3 & 0x1f)" (( "(") (binary_expression "param_3 & 0x1f" (identifier "param_3") (& "&") (number_literal "0x1f")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }\n    iVar2 = iVar2 + (uint)(iVar3 != 0);\n    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);\n    goto joined_r0x0001dc48;\n  }" ({ "{") (if_statement "if (iVar6 < iVar2) {\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }\n    else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }" (if "if") (parenthesized_expression "(iVar6 < iVar2)" (( "(") (binary_expression "iVar6 < iVar2" (identifier "iVar6") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);\n      *puVar8 = uVar1;\n      iVar3 = puVar8[iVar6];\n      iVar2 = iVar6;\n    }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);" (assignment_expression "uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6)" (parenthesized_expression "(*(code *)PTR___gmpn_rshift_00097560)" (( "(") (pointer_expression "*(code *)PTR___gmpn_rshift_00097560" (* "*") (cast_expression "(code *)PTR___gmpn_rshift_00097560" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_rshift_00097560"))) () ")")) (argument_list "(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6)" (( "(") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1")) (, ",") (binary_expression "puVar5 + (iVar2 - iVar6)" (identifier "puVar5") (+ "+") (parenthesized_expression "(iVar2 - iVar6)" (( "(") (binary_expression "iVar2 - iVar6" (identifier "iVar2") (- "-") (identifier "iVar6")) () ")"))) (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*puVar8 = uVar1;" (assignment_expression "*puVar8 = uVar1" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar3 = puVar8[iVar6];" (assignment_expression "iVar3 = puVar8[iVar6]" (identifier "iVar3") (= "=") (subscript_expression "puVar8[iVar6]" (identifier "puVar8") ([ "[") (identifier "iVar6") (] "]"))) (; ";")) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" (identifier "iVar2") (= "=") (identifier "iVar6")) (; ";")) (} "}")) (else_clause "else {\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }" (else "else") (compound_statement "{\n      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));\n      puVar8[iVar2] = iVar3;\n    }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));" (assignment_expression "iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f))" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f))" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009756c)" (( "(") (pointer_expression "*(code *)PTR___gmpn_lshift_0009756c" (* "*") (cast_expression "(code *)PTR___gmpn_lshift_0009756c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_lshift_0009756c"))) () ")")) (argument_list "(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f))" (( "(") (identifier "puVar8") (, ",") (identifier "puVar5") (, ",") (identifier "iVar2") (, ",") (binary_expression "0x20 - (param_3 & 0x1f)" (number_literal "0x20") (- "-") (parenthesized_expression "(param_3 & 0x1f)" (( "(") (binary_expression "param_3 & 0x1f" (identifier "param_3") (& "&") (number_literal "0x1f")) () ")"))) () ")")))) (; ";")) (expression_statement "puVar8[iVar2] = iVar3;" (assignment_expression "puVar8[iVar2] = iVar3" (subscript_expression "puVar8[iVar2]" (identifier "puVar8") ([ "[") (identifier "iVar2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (} "}")))) (expression_statement "iVar2 = iVar2 + (uint)(iVar3 != 0);" (assignment_expression "iVar2 = iVar2 + (uint)(iVar3 != 0)" (identifier "iVar2") (= "=") (binary_expression "iVar2 + (uint)(iVar3 != 0)" (identifier "iVar2") (+ "+") (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")"))))) (; ";")) (expression_statement "param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);" (assignment_expression "param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0)" (binary_expression "~(param_3 >> 5) + iVar9" (unary_expression "~(param_3 >> 5)" (~ "~") (parenthesized_expression "(param_3 >> 5)" (( "(") (binary_expression "param_3 >> 5" (identifier "param_3") (>> ">>") (number_literal "5")) () ")"))) (+ "+") (identifier "iVar9")) (+ "+") (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")"))))) (; ";")) (goto_statement "goto joined_r0x0001dc48;" (goto "goto") (statement_identifier "joined_r0x0001dc48") (; ";")) (} "}"))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar6 < iVar2) {\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }\n  else if (puVar8 != puVar5) goto LAB_0001dc60;" (if "if") (parenthesized_expression "(iVar6 < iVar2)" (( "(") (binary_expression "iVar6 < iVar2" (identifier "iVar6") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n    puVar5 = puVar5 + (iVar2 - iVar6);\n    iVar2 = iVar6;\n    if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }\n  }" ({ "{") (expression_statement "puVar5 = puVar5 + (iVar2 - iVar6);" (assignment_expression "puVar5 = puVar5 + (iVar2 - iVar6)" (identifier "puVar5") (= "=") (binary_expression "puVar5 + (iVar2 - iVar6)" (identifier "puVar5") (+ "+") (parenthesized_expression "(iVar2 - iVar6)" (( "(") (binary_expression "iVar2 - iVar6" (identifier "iVar2") (- "-") (identifier "iVar6")) () ")")))) (; ";")) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" (identifier "iVar2") (= "=") (identifier "iVar6")) (; ";")) (if_statement "if ((puVar8 != puVar5) && (iVar6 != 0)) {\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }" (if "if") (parenthesized_expression "((puVar8 != puVar5) && (iVar6 != 0))" (( "(") (binary_expression "(puVar8 != puVar5) && (iVar6 != 0)" (parenthesized_expression "(puVar8 != puVar5)" (( "(") (binary_expression "puVar8 != puVar5" (identifier "puVar8") (!= "!=") (identifier "puVar5")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_0001dc60:\n      iVar6 = iVar2 + -1;\n      uVar1 = *puVar5;\n      puVar4 = puVar8;\n      if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }\n      *puVar8 = uVar1;\n      param_1[2] = iVar9 - (param_3 >> 5);\n      goto joined_r0x0001dc48;\n    }" ({ "{") (labeled_statement "LAB_0001dc60:\n      iVar6 = iVar2 + -1;" (statement_identifier "LAB_0001dc60") (: ":") (expression_statement "iVar6 = iVar2 + -1;" (assignment_expression "iVar6 = iVar2 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";"))) (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" (identifier "uVar1") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar4 = puVar8;" (assignment_expression "puVar4 = puVar8" (identifier "puVar4") (= "=") (identifier "puVar8")) (; ";")) (if_statement "if (iVar6 != 0) {\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);\n        puVar8 = puVar8 + iVar2 + -1;\n      }" ({ "{") (do_statement "do {\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        } while (iVar6 != 0);" (do "do") (compound_statement "{\n          puVar5 = puVar5 + 1;\n          *puVar4 = uVar1;\n          iVar6 = iVar6 + -1;\n          uVar1 = *puVar5;\n          puVar4 = puVar4 + 1;\n        }" ({ "{") (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar4 = uVar1;" (assignment_expression "*puVar4 = uVar1" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" (identifier "uVar1") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (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 "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar8 = puVar8 + iVar2 + -1;" (assignment_expression "puVar8 = puVar8 + iVar2 + -1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + iVar2 + -1" (binary_expression "puVar8 + iVar2" (identifier "puVar8") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "*puVar8 = uVar1;" (assignment_expression "*puVar8 = uVar1" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "param_1[2] = iVar9 - (param_3 >> 5);" (assignment_expression "param_1[2] = iVar9 - (param_3 >> 5)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "iVar9 - (param_3 >> 5)" (identifier "iVar9") (- "-") (parenthesized_expression "(param_3 >> 5)" (( "(") (binary_expression "param_3 >> 5" (identifier "param_3") (>> ">>") (number_literal "5")) () ")")))) (; ";")) (goto_statement "goto joined_r0x0001dc48;" (goto "goto") (statement_identifier "joined_r0x0001dc48") (; ";")) (} "}"))) (} "}")) (else_clause "else if (puVar8 != puVar5) goto LAB_0001dc60;" (else "else") (if_statement "if (puVar8 != puVar5) goto LAB_0001dc60;" (if "if") (parenthesized_expression "(puVar8 != puVar5)" (( "(") (binary_expression "puVar8 != puVar5" (identifier "puVar8") (!= "!=") (identifier "puVar5")) () ")")) (goto_statement "goto LAB_0001dc60;" (goto "goto") (statement_identifier "LAB_0001dc60") (; ";"))))) (expression_statement "param_1[2] = iVar9 - (param_3 >> 5);" (assignment_expression "param_1[2] = iVar9 - (param_3 >> 5)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "iVar9 - (param_3 >> 5)" (identifier "iVar9") (- "-") (parenthesized_expression "(param_3 >> 5)" (( "(") (binary_expression "param_3 >> 5" (identifier "param_3") (>> ">>") (number_literal "5")) () ")")))) (; ";")) (labeled_statement "joined_r0x0001dc48:\n  if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }" (statement_identifier "joined_r0x0001dc48") (: ":") (if_statement "if (iVar7 < 0) {\n    iVar2 = -iVar2;\n  }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = -iVar2;\n  }" ({ "{") (expression_statement "iVar2 = -iVar2;" (assignment_expression "iVar2 = -iVar2" (identifier "iVar2") (= "=") (unary_expression "-iVar2" (- "-") (identifier "iVar2"))) (; ";")) (} "}")))) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 r,type_2 u,type_3 var_2)

{
  type_4 var_7;
  int var_4;
  type_4 *var_9;
  type_4 *var_6;
  int var_3;
  int var_1;
  type_4 *var_5;
  int var_8;
  
  var_1 = u->_mp_size;
  var_5 = r->_mp_d;
  var_3 = r->_mp_prec;
  var_8 = u->_mp_exp;
  if (var_1 == 0) {
    r->_mp_size = 0;
    r->_mp_exp = 0;
    return;
  }
  var_4 = var_1;
  if (var_1 < 0) {
    var_4 = -var_1;
  }
  var_6 = u->_mp_d;
  if ((var_2 & 0x1f) != 0) {
    if (var_3 < var_4) {
      var_7 = (*(type_5 *)PTR___gmpn_rshift_00097560)(var_5 + 1,var_6 + (var_4 - var_3),var_3);
      *var_5 = var_7;
      var_7 = var_5[var_3];
      var_4 = var_3;
    }
    else {
      var_7 = (*(type_5 *)PTR___gmpn_lshift_0009756c)(var_5,var_6,var_4,0x20 - (var_2 & 0x1f));
      var_5[var_4] = var_7;
    }
    var_4 = var_4 + (uint)(var_7 != 0);
    r->_mp_exp = ~(var_2 >> 5) + var_8 + (uint)(var_7 != 0);
    goto joined_r0x0001dc48;
  }
  var_3 = var_3 + 1;
  if (var_3 < var_4) {
    var_6 = var_6 + (var_4 - var_3);
    var_4 = var_3;
    if ((var_5 != var_6) && (var_3 != 0)) {
LAB_0001dc60:
      var_3 = var_4 + -1;
      var_7 = *var_6;
      var_9 = var_5;
      if (var_3 != 0) {
        do {
          var_6 = var_6 + 1;
          *var_9 = var_7;
          var_3 = var_3 + -1;
          var_7 = *var_6;
          var_9 = var_9 + 1;
        } while (var_3 != 0);
        var_5 = var_5 + var_4 + -1;
      }
      *var_5 = var_7;
      r->_mp_exp = var_8 - (var_2 >> 5);
      goto joined_r0x0001dc48;
    }
  }
  else if (var_5 != var_6) goto LAB_0001dc60;
  r->_mp_exp = var_8 - (var_2 >> 5);
joined_r0x0001dc48:
  if (var_1 < 0) {
    var_4 = -var_4;
  }
  r->_mp_size = var_4;
  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)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator 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))))))) (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: (identifier) right: (pointer_expression argument: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (unary_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (labeled_statement label: (statement_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: (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: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (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: (unary_expression argument: (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,uint param_3)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  int iVar6;
  int iVar7;
  undefined4 *puVar8;
  int iVar9;
  
  iVar7 = *(int *)(param_2 + 4);
  puVar8 = (undefined4 *)param_1[3];
  iVar6 = *param_1;
  iVar9 = *(int *)(param_2 + 8);
  if (iVar7 == 0) {
    param_1[1] = 0;
    param_1[2] = 0;
    return;
  }
  iVar2 = iVar7;
  if (iVar7 < 0) {
    iVar2 = -iVar7;
  }
  puVar5 = *(undefined4 **)(param_2 + 0xc);
  if ((param_3 & 0x1f) != 0) {
    if (iVar6 < iVar2) {
      uVar1 = (*(code *)PTR___gmpn_rshift_00097560)(puVar8 + 1,puVar5 + (iVar2 - iVar6),iVar6);
      *puVar8 = uVar1;
      iVar3 = puVar8[iVar6];
      iVar2 = iVar6;
    }
    else {
      iVar3 = (*(code *)PTR___gmpn_lshift_0009756c)(puVar8,puVar5,iVar2,0x20 - (param_3 & 0x1f));
      puVar8[iVar2] = iVar3;
    }
    iVar2 = iVar2 + (uint)(iVar3 != 0);
    param_1[2] = ~(param_3 >> 5) + iVar9 + (uint)(iVar3 != 0);
    goto joined_r0x0001dc48;
  }
  iVar6 = iVar6 + 1;
  if (iVar6 < iVar2) {
    puVar5 = puVar5 + (iVar2 - iVar6);
    iVar2 = iVar6;
    if ((puVar8 != puVar5) && (iVar6 != 0)) {
LAB_0001dc60:
      iVar6 = iVar2 + -1;
      uVar1 = *puVar5;
      puVar4 = puVar8;
      if (iVar6 != 0) {
        do {
          puVar5 = puVar5 + 1;
          *puVar4 = uVar1;
          iVar6 = iVar6 + -1;
          uVar1 = *puVar5;
          puVar4 = puVar4 + 1;
        } while (iVar6 != 0);
        puVar8 = puVar8 + iVar2 + -1;
      }
      *puVar8 = uVar1;
      param_1[2] = iVar9 - (param_3 >> 5);
      goto joined_r0x0001dc48;
    }
  }
  else if (puVar8 != puVar5) goto LAB_0001dc60;
  param_1[2] = iVar9 - (param_3 >> 5);
joined_r0x0001dc48:
  if (iVar7 < 0) {
    iVar2 = -iVar2;
  }
  param_1[1] = iVar2;
  return;
}

