
mp_limb_t __gmpn_div_qr_2(mp_ptr qp,mp_ptr rp,mp_srcptr np,mp_size_t nn,mp_srcptr dp)

{
  uint uVar1;
  mp_limb_t mVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  
  uVar1 = dp[1];
  uVar7 = *dp;
  if ((int)uVar1 < 0) {
    if (uVar1 >> 0x10 == 0) {
      trap(7);
    }
    if (nn == -1) {
      uVar3 = np[-2];
      uVar4 = np[-3];
      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {
        mVar2 = 0;
        rp[1] = uVar3;
        *rp = uVar4;
      }
      else {
        mVar2 = 1;
        *rp = uVar4 - uVar7;
        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);
      }
    }
    else {
      if (uVar1 >> 0x10 == 0) {
        trap(7);
      }
      mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();
    }
  }
  else {
    if (uVar1 < 0x10000) {
      iVar6 = 0;
      if (0xff < uVar1) {
        iVar6 = 0x18;
      }
      iVar5 = 9;
      if (0xff >= uVar1) {
        iVar5 = 1;
      }
    }
    else {
      iVar6 = 0x10;
      if (0xffffff < uVar1) {
        iVar6 = 8;
      }
      iVar5 = 0x19;
      if (0xffffff >= uVar1) {
        iVar5 = 0x11;
      }
    }
    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |
        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10
        == 0) {
      trap(7);
      trap(7);
    }
    mVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();
  }
  return mVar2;
}



undefined4 __gmpn_div_qr_2(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)

{
  uint uVar1;
  undefined4 uVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  
  uVar1 = param_5[1];
  uVar7 = *param_5;
  if ((int)uVar1 < 0) {
    if (uVar1 >> 0x10 == 0) {
      trap(7);
    }
    if (param_4 == -1) {
      uVar3 = *(uint *)(param_3 + -8);
      uVar4 = *(uint *)(param_3 + -0xc);
      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {
        uVar2 = 0;
        param_2[1] = uVar3;
        *param_2 = uVar4;
      }
      else {
        uVar2 = 1;
        *param_2 = uVar4 - uVar7;
        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);
      }
    }
    else {
      if (uVar1 >> 0x10 == 0) {
        trap(7);
      }
      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();
    }
  }
  else {
    if (uVar1 < 0x10000) {
      iVar6 = 0;
      if (0xff < uVar1) {
        iVar6 = 0x18;
      }
      iVar5 = 9;
      if (0xff >= uVar1) {
        iVar5 = 1;
      }
    }
    else {
      iVar6 = 0x10;
      if (0xffffff < uVar1) {
        iVar6 = 8;
      }
      iVar5 = 0x19;
      if (0xffffff >= uVar1) {
        iVar5 = 0x11;
      }
    }
    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |
        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10
        == 0) {
      trap(7);
      trap(7);
    }
    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();
  }
  return uVar2;
}


lui gp,0x3
addiu gp,gp,0x4ec0
addu gp,gp,t9
addiu sp,sp,-0x30
lw v1,0x40(sp)
sw gp,0x20(sp)
sw ra,0x2c(sp)
lw v0,0x4(v1)
bltz v0,0x0007034c
_lw t4,0x0(v1)
lui v1,0x1
sltu v1,v0,v1
bne v1,zero,0x00070324
_li t0,0x18
lui v1,0x100
li t0,0x8
li t3,0x10
sltu v1,v0,v1
movz t3,t0,v1
li t1,0x11
li t0,0x19
movn t0,t1,v1
or v1,t0,zero
lw t0,-0x7eb4(gp)
srlv v1,v0,v1
addu v1,t0,v1
lbu v1,0x0(v1)
subu t3,t3,v1
subu t1,zero,t3
sllv v0,v0,t3
srlv t1,t4,t1
or t1,t1,v0
srl t2,t1,0x10
nor v1,zero,t1
teq t2,zero
divu v1,t2
andi t5,t1,0xffff
mflo v1
mfhi t0
mul t6,t5,v1
sll t0,t0,0x10
ori v0,t0,0xffff
sltu t0,v0,t6
beq t0,zero,0x00070254
_sllv t4,t4,t3
addu v0,v0,t1
sltu t0,v0,t1
bne t0,zero,0x00070250
_addiu t7,v1,-0x1
sltu t0,v0,t6
bne t0,zero,0x00070344
_addiu v1,v1,-0x2
or v1,t7,zero
subu v0,v0,t6
teq t2,zero
divu v0,t2
mflo v0
mfhi t2
mul t5,t5,v0
sll t2,t2,0x10
ori t2,t2,0xffff
sltu t0,t2,t5
beq t0,zero,0x0007029c
_addu t2,t1,t2
sltu t0,t2,t1
bne t0,zero,0x00070298
_addiu t6,v0,-0x1
sltu t2,t2,t5
bne t2,zero,0x0007029c
_addiu v0,v0,-0x2
or v0,t6,zero
sll v1,v1,0x10
or v0,v1,v0
mul t0,t1,v0
addu v1,t0,t4
sltu t0,v1,t4
beq t0,zero,0x000702dc
_multu t4,v0
sltu t0,v1,t1
xori t0,t0,0x1
or t2,t1,zero
movz t2,zero,t0
subu v1,v1,t1
addiu v0,v0,-0x1
subu v0,v0,t0
subu v1,v1,t2
multu t4,v0
mfhi t6
addu v1,v1,t6
sltu t0,v1,t6
beq t0,zero,0x00070300
_mflo t7
sltu t0,v1,t1
beq t0,zero,0x00070474
_addiu t2,v0,-0x1
or v0,t2,zero
lw t9,-0x7e2c(gp)
sw v0,0x1c(sp)
sw t3,0x18(sp)
sw t4,0x14(sp)
jalr t9
_sw t1,0x10(sp)
lw ra,0x2c(sp)
jr ra
_addiu sp,sp,0x30
li t3,0x20
sltiu v1,v0,0x100
movz t3,t0,v1
li t1,0x1
li t0,0x9
movn t0,t1,v1
b 0x000701dc
_or v1,t0,zero
b 0x00070254
_addu v0,v0,t1
srl t2,v0,0x10
nor t0,zero,v0
teq t2,zero
divu t0,t2
li t6,-0x1
andi t3,v0,0xffff
mfhi t1
mflo t0
sll t1,t1,0x10
mul t5,t3,t0
beq a3,t6,0x000704bc
_ori v1,t1,0xffff
sltu t1,v1,t5
beq t1,zero,0x000703ac
_nop
addu v1,v1,v0
sltu t1,v1,v0
bne t1,zero,0x000704ac
_addiu t6,t0,-0x1
sltu t1,v1,t5
beq t1,zero,0x000704ac
_nop
addiu t0,t0,-0x2
addu v1,v1,v0
subu v1,v1,t5
teq t2,zero
divu v1,t2
mflo v1
mfhi t2
mul t3,v1,t3
sll t2,t2,0x10
ori t2,t2,0xffff
sltu t1,t2,t3
beq t1,zero,0x000703f4
_addu t2,v0,t2
sltu t1,t2,v0
bne t1,zero,0x000704b4
_addiu t5,v1,-0x1
sltu t2,t2,t3
beq t2,zero,0x000704b4
_nop
addiu v1,v1,-0x2
sll t0,t0,0x10
or v1,t0,v1
mul t1,v0,v1
addu t0,t1,t4
sltu t1,t0,t4
beq t1,zero,0x00070434
_multu t4,v1
sltu t1,t0,v0
xori t1,t1,0x1
or t2,v0,zero
movz t2,zero,t1
subu t0,t0,v0
addiu v1,v1,-0x1
subu v1,v1,t1
subu t0,t0,t2
multu t4,v1
mfhi t2
addu t0,t0,t2
sltu t1,t0,t2
beq t1,zero,0x00070458
_mflo t3
sltu t1,t0,v0
beq t1,zero,0x00070490
_addiu t5,v1,-0x1
or v1,t5,zero
lw t9,-0x7cbc(gp)
sw v1,0x18(sp)
sw t4,0x14(sp)
jalr t9
_sw v0,0x10(sp)
b 0x0007031c
_lw ra,0x2c(sp)
sltu v1,t1,v1
bne v1,zero,0x00070488
_sltu v1,t7,t4
bne v1,zero,0x000702fc
_nop
b 0x00070300
_addiu v0,v0,-0x2
sltu t0,v0,t0
bne t0,zero,0x000704a4
_sltu t0,t3,t4
bne t0,zero,0x00070454
_nop
b 0x00070458
_addiu v1,v1,-0x2
b 0x000703ac
_or t0,t6,zero
b 0x000703f4
_or v1,t5,zero
lw v1,-0x8(a2)
lw a0,-0xc(a2)
sltu a2,v1,v0
bne a2,zero,0x00070500
_nop
sltu a2,v0,v1
beq a2,zero,0x000704f8
_sltu a2,a0,t4
subu v1,v1,v0
subu a0,a0,t4
subu v1,v1,a2
li v0,0x1
sw a0,0x0(a1)
b 0x00070318
_sw v1,0x4(a1)
beq a2,zero,0x000704dc
_nop
or v0,zero,zero
sw v1,0x4(a1)
b 0x00070318
_sw a0,0x0(a1)
(translation_unit "undefined4 __gmpn_div_qr_2(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = param_5[1];\n  uVar7 = *param_5;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 __gmpn_div_qr_2(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = param_5[1];\n  uVar7 = *param_5;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return uVar2;\n}" type_identifier (function_declarator "__gmpn_div_qr_2(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)" identifier (parameter_list "(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = param_5[1];\n  uVar7 = *param_5;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return uVar2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "uVar1 = param_5[1];" (assignment_expression "uVar1 = param_5[1]" identifier = (subscript_expression "param_5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = *param_5;" (assignment_expression "uVar7 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (if_statement "if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }" { (if_statement "if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar1 >> 0x10 == 0)" ( (binary_expression "uVar1 >> 0x10 == 0" (binary_expression "uVar1 >> 0x10" identifier >> number_literal) == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (if_statement "if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" if (parenthesized_expression "(param_4 == -1)" ( (binary_expression "param_4 == -1" identifier == number_literal) )) (compound_statement "{\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }" { (expression_statement "uVar3 = *(uint *)(param_3 + -8);" (assignment_expression "uVar3 = *(uint *)(param_3 + -8)" identifier = (pointer_expression "*(uint *)(param_3 + -8)" * (cast_expression "(uint *)(param_3 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + -8)" ( (binary_expression "param_3 + -8" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(param_3 + -0xc);" (assignment_expression "uVar4 = *(uint *)(param_3 + -0xc)" identifier = (pointer_expression "*(uint *)(param_3 + -0xc)" * (cast_expression "(uint *)(param_3 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + -0xc)" ( (binary_expression "param_3 + -0xc" identifier + number_literal) ))))) ;) (if_statement "if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" if (parenthesized_expression "((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0))))" ( (binary_expression "(uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))" (parenthesized_expression "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) )) || (parenthesized_expression "((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))" ( (parenthesized_expression "(uVar3 <= uVar1 && (uVar4 < uVar7 != 0))" ( (binary_expression "uVar3 <= uVar1 && (uVar4 < uVar7 != 0)" (binary_expression "uVar3 <= uVar1" identifier <= identifier) && (parenthesized_expression "(uVar4 < uVar7 != 0)" ( (binary_expression "uVar4 < uVar7 != 0" (binary_expression "uVar4 < uVar7" identifier < identifier) != number_literal) ))) )) ))) )) (compound_statement "{\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "param_2[1] = uVar3;" (assignment_expression "param_2[1] = uVar3" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_2 = uVar4;" (assignment_expression "*param_2 = uVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) }) (else_clause "else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" else (compound_statement "{\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (expression_statement "*param_2 = uVar4 - uVar7;" (assignment_expression "*param_2 = uVar4 - uVar7" (pointer_expression "*param_2" * identifier) = (binary_expression "uVar4 - uVar7" identifier - identifier)) ;) (expression_statement "param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);" (assignment_expression "param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "(uVar3 - uVar1) - (uint)(uVar4 < uVar7)" (parenthesized_expression "(uVar3 - uVar1)" ( (binary_expression "uVar3 - uVar1" identifier - identifier) )) - (call_expression "(uint)(uVar4 < uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar7)" ( (binary_expression "uVar4 < uVar7" identifier < identifier) ))))) ;) }))) }) (else_clause "else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" else (compound_statement "{\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" { (if_statement "if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar1 >> 0x10 == 0)" ( (binary_expression "uVar1 >> 0x10 == 0" (binary_expression "uVar1 >> 0x10" identifier >> number_literal) == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();" (assignment_expression "uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)()" identifier = (call_expression "(*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)()" (parenthesized_expression "(*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)" ( (pointer_expression "*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384" * (cast_expression "(code *)PTR___gmpn_div_qr_2n_pi1_0009d384" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) }) (else_clause "else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" else (compound_statement "{\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" { (if_statement "if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" if (parenthesized_expression "(uVar1 < 0x10000)" ( (binary_expression "uVar1 < 0x10000" identifier < number_literal) )) (compound_statement "{\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }" if (parenthesized_expression "(0xff < uVar1)" ( (binary_expression "0xff < uVar1" number_literal < identifier) )) (compound_statement "{\n        iVar6 = 0x18;\n      }" { (expression_statement "iVar6 = 0x18;" (assignment_expression "iVar6 = 0x18" identifier = number_literal) ;) })) (expression_statement "iVar5 = 9;" (assignment_expression "iVar5 = 9" identifier = number_literal) ;) (if_statement "if (0xff >= uVar1) {\n        iVar5 = 1;\n      }" if (parenthesized_expression "(0xff >= uVar1)" ( (binary_expression "0xff >= uVar1" number_literal >= identifier) )) (compound_statement "{\n        iVar5 = 1;\n      }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" else (compound_statement "{\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" { (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" identifier = number_literal) ;) (if_statement "if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }" if (parenthesized_expression "(0xffffff < uVar1)" ( (binary_expression "0xffffff < uVar1" number_literal < identifier) )) (compound_statement "{\n        iVar6 = 8;\n      }" { (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" identifier = number_literal) ;) })) (expression_statement "iVar5 = 0x19;" (assignment_expression "iVar5 = 0x19" identifier = number_literal) ;) (if_statement "if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }" if (parenthesized_expression "(0xffffff >= uVar1)" ( (binary_expression "0xffffff >= uVar1" number_literal >= identifier) )) (compound_statement "{\n        iVar5 = 0x11;\n      }" { (expression_statement "iVar5 = 0x11;" (assignment_expression "iVar5 = 0x11" identifier = number_literal) ;) })) }))) (if_statement "if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }" if (parenthesized_expression "((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0)" ( (binary_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0" (binary_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10" (parenthesized_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f))" ( (binary_expression "uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" (binary_expression "uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f)" identifier >> (parenthesized_expression "(-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f)" ( (binary_expression "-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f" (unary_expression "-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5])" - (parenthesized_expression "(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5])" ( (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier - (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier [ (binary_expression "uVar1 >> iVar5" identifier >> identifier) ])))) ))) & number_literal) ))) | (binary_expression "uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" identifier << (parenthesized_expression "(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" ( (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f" (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier - (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier [ (binary_expression "uVar1 >> iVar5" identifier >> identifier) ])))) & number_literal) )))) )) >> number_literal) == number_literal) )) (compound_statement "{\n      trap(7);\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();" (assignment_expression "uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)()" identifier = (call_expression "(*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)()" (parenthesized_expression "(*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)" ( (pointer_expression "*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214" * (cast_expression "(code *)PTR___gmpn_div_qr_2u_pi1_0009d214" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "mp_limb_t __gmpn_div_qr_2(mp_ptr qp,mp_ptr rp,mp_srcptr np,mp_size_t nn,mp_srcptr dp)\n\n{\n  uint uVar1;\n  mp_limb_t mVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = dp[1];\n  uVar7 = *dp;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (nn == -1) {\n      uVar3 = np[-2];\n      uVar4 = np[-3];\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        mVar2 = 0;\n        rp[1] = uVar3;\n        *rp = uVar4;\n      }\n      else {\n        mVar2 = 1;\n        *rp = uVar4 - uVar7;\n        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    mVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return mVar2;\n}\n\n" (function_definition "mp_limb_t __gmpn_div_qr_2(mp_ptr qp,mp_ptr rp,mp_srcptr np,mp_size_t nn,mp_srcptr dp)\n\n{\n  uint uVar1;\n  mp_limb_t mVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = dp[1];\n  uVar7 = *dp;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (nn == -1) {\n      uVar3 = np[-2];\n      uVar4 = np[-3];\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        mVar2 = 0;\n        rp[1] = uVar3;\n        *rp = uVar4;\n      }\n      else {\n        mVar2 = 1;\n        *rp = uVar4 - uVar7;\n        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    mVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return mVar2;\n}" type_identifier (function_declarator "__gmpn_div_qr_2(mp_ptr qp,mp_ptr rp,mp_srcptr np,mp_size_t nn,mp_srcptr dp)" identifier (parameter_list "(mp_ptr qp,mp_ptr rp,mp_srcptr np,mp_size_t nn,mp_srcptr dp)" ( (parameter_declaration "mp_ptr qp" type_identifier identifier) , (parameter_declaration "mp_ptr rp" type_identifier identifier) , (parameter_declaration "mp_srcptr np" type_identifier identifier) , (parameter_declaration "mp_size_t nn" type_identifier identifier) , (parameter_declaration "mp_srcptr dp" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  mp_limb_t mVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = dp[1];\n  uVar7 = *dp;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (nn == -1) {\n      uVar3 = np[-2];\n      uVar4 = np[-3];\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        mVar2 = 0;\n        rp[1] = uVar3;\n        *rp = uVar4;\n      }\n      else {\n        mVar2 = 1;\n        *rp = uVar4 - uVar7;\n        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    mVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return mVar2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "mp_limb_t mVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "uVar1 = dp[1];" (assignment_expression "uVar1 = dp[1]" identifier = (subscript_expression "dp[1]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = *dp;" (assignment_expression "uVar7 = *dp" identifier = (pointer_expression "*dp" * identifier)) ;) (if_statement "if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (nn == -1) {\n      uVar3 = np[-2];\n      uVar4 = np[-3];\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        mVar2 = 0;\n        rp[1] = uVar3;\n        *rp = uVar4;\n      }\n      else {\n        mVar2 = 1;\n        *rp = uVar4 - uVar7;\n        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    mVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (nn == -1) {\n      uVar3 = np[-2];\n      uVar4 = np[-3];\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        mVar2 = 0;\n        rp[1] = uVar3;\n        *rp = uVar4;\n      }\n      else {\n        mVar2 = 1;\n        *rp = uVar4 - uVar7;\n        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }" { (if_statement "if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar1 >> 0x10 == 0)" ( (binary_expression "uVar1 >> 0x10 == 0" (binary_expression "uVar1 >> 0x10" identifier >> number_literal) == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (if_statement "if (nn == -1) {\n      uVar3 = np[-2];\n      uVar4 = np[-3];\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        mVar2 = 0;\n        rp[1] = uVar3;\n        *rp = uVar4;\n      }\n      else {\n        mVar2 = 1;\n        *rp = uVar4 - uVar7;\n        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" if (parenthesized_expression "(nn == -1)" ( (binary_expression "nn == -1" identifier == number_literal) )) (compound_statement "{\n      uVar3 = np[-2];\n      uVar4 = np[-3];\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        mVar2 = 0;\n        rp[1] = uVar3;\n        *rp = uVar4;\n      }\n      else {\n        mVar2 = 1;\n        *rp = uVar4 - uVar7;\n        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }" { (expression_statement "uVar3 = np[-2];" (assignment_expression "uVar3 = np[-2]" identifier = (subscript_expression "np[-2]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = np[-3];" (assignment_expression "uVar4 = np[-3]" identifier = (subscript_expression "np[-3]" identifier [ number_literal ])) ;) (if_statement "if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        mVar2 = 0;\n        rp[1] = uVar3;\n        *rp = uVar4;\n      }\n      else {\n        mVar2 = 1;\n        *rp = uVar4 - uVar7;\n        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" if (parenthesized_expression "((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0))))" ( (binary_expression "(uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))" (parenthesized_expression "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) )) || (parenthesized_expression "((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))" ( (parenthesized_expression "(uVar3 <= uVar1 && (uVar4 < uVar7 != 0))" ( (binary_expression "uVar3 <= uVar1 && (uVar4 < uVar7 != 0)" (binary_expression "uVar3 <= uVar1" identifier <= identifier) && (parenthesized_expression "(uVar4 < uVar7 != 0)" ( (binary_expression "uVar4 < uVar7 != 0" (binary_expression "uVar4 < uVar7" identifier < identifier) != number_literal) ))) )) ))) )) (compound_statement "{\n        mVar2 = 0;\n        rp[1] = uVar3;\n        *rp = uVar4;\n      }" { (expression_statement "mVar2 = 0;" (assignment_expression "mVar2 = 0" identifier = number_literal) ;) (expression_statement "rp[1] = uVar3;" (assignment_expression "rp[1] = uVar3" (subscript_expression "rp[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*rp = uVar4;" (assignment_expression "*rp = uVar4" (pointer_expression "*rp" * identifier) = identifier) ;) }) (else_clause "else {\n        mVar2 = 1;\n        *rp = uVar4 - uVar7;\n        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" else (compound_statement "{\n        mVar2 = 1;\n        *rp = uVar4 - uVar7;\n        rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" { (expression_statement "mVar2 = 1;" (assignment_expression "mVar2 = 1" identifier = number_literal) ;) (expression_statement "*rp = uVar4 - uVar7;" (assignment_expression "*rp = uVar4 - uVar7" (pointer_expression "*rp" * identifier) = (binary_expression "uVar4 - uVar7" identifier - identifier)) ;) (expression_statement "rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);" (assignment_expression "rp[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7)" (subscript_expression "rp[1]" identifier [ number_literal ]) = (binary_expression "(uVar3 - uVar1) - (uint)(uVar4 < uVar7)" (parenthesized_expression "(uVar3 - uVar1)" ( (binary_expression "uVar3 - uVar1" identifier - identifier) )) - (call_expression "(uint)(uVar4 < uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar7)" ( (binary_expression "uVar4 < uVar7" identifier < identifier) ))))) ;) }))) }) (else_clause "else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" else (compound_statement "{\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" { (if_statement "if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar1 >> 0x10 == 0)" ( (binary_expression "uVar1 >> 0x10 == 0" (binary_expression "uVar1 >> 0x10" identifier >> number_literal) == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();" (assignment_expression "mVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)()" identifier = (call_expression "(*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)()" (parenthesized_expression "(*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)" ( (pointer_expression "*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384" * (cast_expression "(code *)PTR___gmpn_div_qr_2n_pi1_0009d384" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) }) (else_clause "else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    mVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" else (compound_statement "{\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    mVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" { (if_statement "if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" if (parenthesized_expression "(uVar1 < 0x10000)" ( (binary_expression "uVar1 < 0x10000" identifier < number_literal) )) (compound_statement "{\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }" if (parenthesized_expression "(0xff < uVar1)" ( (binary_expression "0xff < uVar1" number_literal < identifier) )) (compound_statement "{\n        iVar6 = 0x18;\n      }" { (expression_statement "iVar6 = 0x18;" (assignment_expression "iVar6 = 0x18" identifier = number_literal) ;) })) (expression_statement "iVar5 = 9;" (assignment_expression "iVar5 = 9" identifier = number_literal) ;) (if_statement "if (0xff >= uVar1) {\n        iVar5 = 1;\n      }" if (parenthesized_expression "(0xff >= uVar1)" ( (binary_expression "0xff >= uVar1" number_literal >= identifier) )) (compound_statement "{\n        iVar5 = 1;\n      }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" else (compound_statement "{\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" { (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" identifier = number_literal) ;) (if_statement "if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }" if (parenthesized_expression "(0xffffff < uVar1)" ( (binary_expression "0xffffff < uVar1" number_literal < identifier) )) (compound_statement "{\n        iVar6 = 8;\n      }" { (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" identifier = number_literal) ;) })) (expression_statement "iVar5 = 0x19;" (assignment_expression "iVar5 = 0x19" identifier = number_literal) ;) (if_statement "if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }" if (parenthesized_expression "(0xffffff >= uVar1)" ( (binary_expression "0xffffff >= uVar1" number_literal >= identifier) )) (compound_statement "{\n        iVar5 = 0x11;\n      }" { (expression_statement "iVar5 = 0x11;" (assignment_expression "iVar5 = 0x11" identifier = number_literal) ;) })) }))) (if_statement "if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }" if (parenthesized_expression "((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0)" ( (binary_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0" (binary_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10" (parenthesized_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f))" ( (binary_expression "uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" (binary_expression "uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f)" identifier >> (parenthesized_expression "(-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f)" ( (binary_expression "-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f" (unary_expression "-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5])" - (parenthesized_expression "(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5])" ( (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier - (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier [ (binary_expression "uVar1 >> iVar5" identifier >> identifier) ])))) ))) & number_literal) ))) | (binary_expression "uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" identifier << (parenthesized_expression "(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" ( (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f" (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier - (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier [ (binary_expression "uVar1 >> iVar5" identifier >> identifier) ])))) & number_literal) )))) )) >> number_literal) == number_literal) )) (compound_statement "{\n      trap(7);\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "mVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();" (assignment_expression "mVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)()" identifier = (call_expression "(*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)()" (parenthesized_expression "(*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)" ( (pointer_expression "*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214" * (cast_expression "(code *)PTR___gmpn_div_qr_2u_pi1_0009d214" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) (return_statement "return mVar2;" return identifier ;) })))
(translation_unit "undefined4 __gmpn_div_qr_2(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = param_5[1];\n  uVar7 = *param_5;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 __gmpn_div_qr_2(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = param_5[1];\n  uVar7 = *param_5;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return uVar2;\n}" type_identifier (function_declarator "__gmpn_div_qr_2(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)" identifier (parameter_list "(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = param_5[1];\n  uVar7 = *param_5;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return uVar2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "uVar1 = param_5[1];" (assignment_expression "uVar1 = param_5[1]" identifier = (subscript_expression "param_5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = *param_5;" (assignment_expression "uVar7 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (if_statement "if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }" { (if_statement "if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar1 >> 0x10 == 0)" ( (binary_expression "uVar1 >> 0x10 == 0" (binary_expression "uVar1 >> 0x10" identifier >> number_literal) == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (if_statement "if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" if (parenthesized_expression "(param_4 == -1)" ( (binary_expression "param_4 == -1" identifier == number_literal) )) (compound_statement "{\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }" { (expression_statement "uVar3 = *(uint *)(param_3 + -8);" (assignment_expression "uVar3 = *(uint *)(param_3 + -8)" identifier = (pointer_expression "*(uint *)(param_3 + -8)" * (cast_expression "(uint *)(param_3 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + -8)" ( (binary_expression "param_3 + -8" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(param_3 + -0xc);" (assignment_expression "uVar4 = *(uint *)(param_3 + -0xc)" identifier = (pointer_expression "*(uint *)(param_3 + -0xc)" * (cast_expression "(uint *)(param_3 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + -0xc)" ( (binary_expression "param_3 + -0xc" identifier + number_literal) ))))) ;) (if_statement "if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" if (parenthesized_expression "((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0))))" ( (binary_expression "(uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))" (parenthesized_expression "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) )) || (parenthesized_expression "((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))" ( (parenthesized_expression "(uVar3 <= uVar1 && (uVar4 < uVar7 != 0))" ( (binary_expression "uVar3 <= uVar1 && (uVar4 < uVar7 != 0)" (binary_expression "uVar3 <= uVar1" identifier <= identifier) && (parenthesized_expression "(uVar4 < uVar7 != 0)" ( (binary_expression "uVar4 < uVar7 != 0" (binary_expression "uVar4 < uVar7" identifier < identifier) != number_literal) ))) )) ))) )) (compound_statement "{\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "param_2[1] = uVar3;" (assignment_expression "param_2[1] = uVar3" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_2 = uVar4;" (assignment_expression "*param_2 = uVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) }) (else_clause "else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" else (compound_statement "{\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (expression_statement "*param_2 = uVar4 - uVar7;" (assignment_expression "*param_2 = uVar4 - uVar7" (pointer_expression "*param_2" * identifier) = (binary_expression "uVar4 - uVar7" identifier - identifier)) ;) (expression_statement "param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);" (assignment_expression "param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "(uVar3 - uVar1) - (uint)(uVar4 < uVar7)" (parenthesized_expression "(uVar3 - uVar1)" ( (binary_expression "uVar3 - uVar1" identifier - identifier) )) - (call_expression "(uint)(uVar4 < uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar7)" ( (binary_expression "uVar4 < uVar7" identifier < identifier) ))))) ;) }))) }) (else_clause "else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" else (compound_statement "{\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" { (if_statement "if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar1 >> 0x10 == 0)" ( (binary_expression "uVar1 >> 0x10 == 0" (binary_expression "uVar1 >> 0x10" identifier >> number_literal) == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();" (assignment_expression "uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)()" identifier = (call_expression "(*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)()" (parenthesized_expression "(*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)" ( (pointer_expression "*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384" * (cast_expression "(code *)PTR___gmpn_div_qr_2n_pi1_0009d384" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) }) (else_clause "else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" else (compound_statement "{\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" { (if_statement "if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" if (parenthesized_expression "(uVar1 < 0x10000)" ( (binary_expression "uVar1 < 0x10000" identifier < number_literal) )) (compound_statement "{\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }" if (parenthesized_expression "(0xff < uVar1)" ( (binary_expression "0xff < uVar1" number_literal < identifier) )) (compound_statement "{\n        iVar6 = 0x18;\n      }" { (expression_statement "iVar6 = 0x18;" (assignment_expression "iVar6 = 0x18" identifier = number_literal) ;) })) (expression_statement "iVar5 = 9;" (assignment_expression "iVar5 = 9" identifier = number_literal) ;) (if_statement "if (0xff >= uVar1) {\n        iVar5 = 1;\n      }" if (parenthesized_expression "(0xff >= uVar1)" ( (binary_expression "0xff >= uVar1" number_literal >= identifier) )) (compound_statement "{\n        iVar5 = 1;\n      }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" else (compound_statement "{\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" { (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" identifier = number_literal) ;) (if_statement "if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }" if (parenthesized_expression "(0xffffff < uVar1)" ( (binary_expression "0xffffff < uVar1" number_literal < identifier) )) (compound_statement "{\n        iVar6 = 8;\n      }" { (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" identifier = number_literal) ;) })) (expression_statement "iVar5 = 0x19;" (assignment_expression "iVar5 = 0x19" identifier = number_literal) ;) (if_statement "if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }" if (parenthesized_expression "(0xffffff >= uVar1)" ( (binary_expression "0xffffff >= uVar1" number_literal >= identifier) )) (compound_statement "{\n        iVar5 = 0x11;\n      }" { (expression_statement "iVar5 = 0x11;" (assignment_expression "iVar5 = 0x11" identifier = number_literal) ;) })) }))) (if_statement "if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }" if (parenthesized_expression "((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0)" ( (binary_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0" (binary_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10" (parenthesized_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f))" ( (binary_expression "uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" (binary_expression "uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f)" identifier >> (parenthesized_expression "(-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f)" ( (binary_expression "-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f" (unary_expression "-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5])" - (parenthesized_expression "(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5])" ( (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier - (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier [ (binary_expression "uVar1 >> iVar5" identifier >> identifier) ])))) ))) & number_literal) ))) | (binary_expression "uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" identifier << (parenthesized_expression "(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" ( (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f" (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier - (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" identifier [ (binary_expression "uVar1 >> iVar5" identifier >> identifier) ])))) & number_literal) )))) )) >> number_literal) == number_literal) )) (compound_statement "{\n      trap(7);\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();" (assignment_expression "uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)()" identifier = (call_expression "(*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)()" (parenthesized_expression "(*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)" ( (pointer_expression "*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214" * (cast_expression "(code *)PTR___gmpn_div_qr_2u_pi1_0009d214" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) && (parenthesized_expression ( (binary_expression (binary_expression IDENT < IDENT) != LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT >= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT >= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (unary_expression - (parenthesized_expression ( (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT >> IDENT) ])))) ))) & LIT) ))) | (binary_expression IDENT << (parenthesized_expression ( (binary_expression (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT >> IDENT) ])))) & LIT) )))) )) >> LIT) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 __gmpn_div_qr_2(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = param_5[1];\n  uVar7 = *param_5;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "__gmpn_div_qr_2(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)" (identifier "__gmpn_div_qr_2") (parameter_list "(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "uint *param_5" (type_identifier "uint") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  \n  uVar1 = param_5[1];\n  uVar7 = *param_5;\n  if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }\n  return uVar2;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (expression_statement "uVar1 = param_5[1];" (assignment_expression "uVar1 = param_5[1]" (identifier "uVar1") (= "=") (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar7 = *param_5;" (assignment_expression "uVar7 = *param_5" (identifier "uVar7") (= "=") (pointer_expression "*param_5" (* "*") (identifier "param_5"))) (; ";")) (if_statement "if ((int)uVar1 < 0) {\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }\n  else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" (if "if") (parenthesized_expression "((int)uVar1 < 0)" (( "(") (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }\n    if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }\n  }" ({ "{") (if_statement "if (uVar1 >> 0x10 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(uVar1 >> 0x10 == 0)" (( "(") (binary_expression "uVar1 >> 0x10 == 0" (binary_expression "uVar1 >> 0x10" (identifier "uVar1") (>> ">>") (number_literal "0x10")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_4 == -1) {\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }\n    else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" (if "if") (parenthesized_expression "(param_4 == -1)" (( "(") (binary_expression "param_4 == -1" (identifier "param_4") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      uVar3 = *(uint *)(param_3 + -8);\n      uVar4 = *(uint *)(param_3 + -0xc);\n      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }\n    }" ({ "{") (expression_statement "uVar3 = *(uint *)(param_3 + -8);" (assignment_expression "uVar3 = *(uint *)(param_3 + -8)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_3 + -8)" (* "*") (cast_expression "(uint *)(param_3 + -8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + -8)" (( "(") (binary_expression "param_3 + -8" (identifier "param_3") (+ "+") (number_literal "-8")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(uint *)(param_3 + -0xc);" (assignment_expression "uVar4 = *(uint *)(param_3 + -0xc)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(param_3 + -0xc)" (* "*") (cast_expression "(uint *)(param_3 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + -0xc)" (( "(") (binary_expression "param_3 + -0xc" (identifier "param_3") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (if_statement "if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }\n      else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" (if "if") (parenthesized_expression "((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0))))" (( "(") (binary_expression "(uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))" (parenthesized_expression "(uVar3 < uVar1)" (( "(") (binary_expression "uVar3 < uVar1" (identifier "uVar3") (< "<") (identifier "uVar1")) () ")")) (|| "||") (parenthesized_expression "((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))" (( "(") (parenthesized_expression "(uVar3 <= uVar1 && (uVar4 < uVar7 != 0))" (( "(") (binary_expression "uVar3 <= uVar1 && (uVar4 < uVar7 != 0)" (binary_expression "uVar3 <= uVar1" (identifier "uVar3") (<= "<=") (identifier "uVar1")) (&& "&&") (parenthesized_expression "(uVar4 < uVar7 != 0)" (( "(") (binary_expression "uVar4 < uVar7 != 0" (binary_expression "uVar4 < uVar7" (identifier "uVar4") (< "<") (identifier "uVar7")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        uVar2 = 0;\n        param_2[1] = uVar3;\n        *param_2 = uVar4;\n      }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[1] = uVar3;" (assignment_expression "param_2[1] = uVar3" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*param_2 = uVar4;" (assignment_expression "*param_2 = uVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar4")) (; ";")) (} "}")) (else_clause "else {\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" (else "else") (compound_statement "{\n        uVar2 = 1;\n        *param_2 = uVar4 - uVar7;\n        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);\n      }" ({ "{") (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "*param_2 = uVar4 - uVar7;" (assignment_expression "*param_2 = uVar4 - uVar7" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "uVar4 - uVar7" (identifier "uVar4") (- "-") (identifier "uVar7"))) (; ";")) (expression_statement "param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);" (assignment_expression "param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7)" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(uVar3 - uVar1) - (uint)(uVar4 < uVar7)" (parenthesized_expression "(uVar3 - uVar1)" (( "(") (binary_expression "uVar3 - uVar1" (identifier "uVar3") (- "-") (identifier "uVar1")) () ")")) (- "-") (call_expression "(uint)(uVar4 < uVar7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar4 < uVar7)" (( "(") (binary_expression "uVar4 < uVar7" (identifier "uVar4") (< "<") (identifier "uVar7")) () ")"))))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" (else "else") (compound_statement "{\n      if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }\n      uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();\n    }" ({ "{") (if_statement "if (uVar1 >> 0x10 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(uVar1 >> 0x10 == 0)" (( "(") (binary_expression "uVar1 >> 0x10 == 0" (binary_expression "uVar1 >> 0x10" (identifier "uVar1") (>> ">>") (number_literal "0x10")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)();" (assignment_expression "uVar2 = (*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)()" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)()" (parenthesized_expression "(*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384)" (( "(") (pointer_expression "*(code *)PTR___gmpn_div_qr_2n_pi1_0009d384" (* "*") (cast_expression "(code *)PTR___gmpn_div_qr_2n_pi1_0009d384" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_div_qr_2n_pi1_0009d384"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" (else "else") (compound_statement "{\n    if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }\n    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }\n    uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();\n  }" ({ "{") (if_statement "if (uVar1 < 0x10000) {\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }\n    else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" (if "if") (parenthesized_expression "(uVar1 < 0x10000)" (( "(") (binary_expression "uVar1 < 0x10000" (identifier "uVar1") (< "<") (number_literal "0x10000")) () ")")) (compound_statement "{\n      iVar6 = 0;\n      if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }\n      iVar5 = 9;\n      if (0xff >= uVar1) {\n        iVar5 = 1;\n      }\n    }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0xff < uVar1) {\n        iVar6 = 0x18;\n      }" (if "if") (parenthesized_expression "(0xff < uVar1)" (( "(") (binary_expression "0xff < uVar1" (number_literal "0xff") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n        iVar6 = 0x18;\n      }" ({ "{") (expression_statement "iVar6 = 0x18;" (assignment_expression "iVar6 = 0x18" (identifier "iVar6") (= "=") (number_literal "0x18")) (; ";")) (} "}"))) (expression_statement "iVar5 = 9;" (assignment_expression "iVar5 = 9" (identifier "iVar5") (= "=") (number_literal "9")) (; ";")) (if_statement "if (0xff >= uVar1) {\n        iVar5 = 1;\n      }" (if "if") (parenthesized_expression "(0xff >= uVar1)" (( "(") (binary_expression "0xff >= uVar1" (number_literal "0xff") (>= ">=") (identifier "uVar1")) () ")")) (compound_statement "{\n        iVar5 = 1;\n      }" ({ "{") (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" (identifier "iVar5") (= "=") (number_literal "1")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" (else "else") (compound_statement "{\n      iVar6 = 0x10;\n      if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }\n      iVar5 = 0x19;\n      if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }\n    }" ({ "{") (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" (identifier "iVar6") (= "=") (number_literal "0x10")) (; ";")) (if_statement "if (0xffffff < uVar1) {\n        iVar6 = 8;\n      }" (if "if") (parenthesized_expression "(0xffffff < uVar1)" (( "(") (binary_expression "0xffffff < uVar1" (number_literal "0xffffff") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n        iVar6 = 8;\n      }" ({ "{") (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" (identifier "iVar6") (= "=") (number_literal "8")) (; ";")) (} "}"))) (expression_statement "iVar5 = 0x19;" (assignment_expression "iVar5 = 0x19" (identifier "iVar5") (= "=") (number_literal "0x19")) (; ";")) (if_statement "if (0xffffff >= uVar1) {\n        iVar5 = 0x11;\n      }" (if "if") (parenthesized_expression "(0xffffff >= uVar1)" (( "(") (binary_expression "0xffffff >= uVar1" (number_literal "0xffffff") (>= ">=") (identifier "uVar1")) () ")")) (compound_statement "{\n        iVar5 = 0x11;\n      }" ({ "{") (expression_statement "iVar5 = 0x11;" (assignment_expression "iVar5 = 0x11" (identifier "iVar5") (= "=") (number_literal "0x11")) (; ";")) (} "}"))) (} "}")))) (if_statement "if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0) {\n      trap(7);\n      trap(7);\n    }" (if "if") (parenthesized_expression "((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0)" (( "(") (binary_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10\n        == 0" (binary_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10" (parenthesized_expression "(uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f))" (( "(") (binary_expression "uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |\n        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" (binary_expression "uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f)" (identifier "uVar7") (>> ">>") (parenthesized_expression "(-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f)" (( "(") (binary_expression "-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f" (unary_expression "-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5])" (- "-") (parenthesized_expression "(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5])" (( "(") (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" (identifier "iVar6") (- "-") (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" (identifier "PTR___gmpn_clz_tab_0009d18c") ([ "[") (binary_expression "uVar1 >> iVar5" (identifier "uVar1") (>> ">>") (identifier "iVar5")) (] "]"))))) () ")"))) (& "&") (number_literal "0x1f")) () ")"))) (| "|") (binary_expression "uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" (identifier "uVar1") (<< "<<") (parenthesized_expression "(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)" (( "(") (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f" (binary_expression "iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" (identifier "iVar6") (- "-") (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]" (identifier "PTR___gmpn_clz_tab_0009d18c") ([ "[") (binary_expression "uVar1 >> iVar5" (identifier "uVar1") (>> ">>") (identifier "iVar5")) (] "]"))))) (& "&") (number_literal "0x1f")) () ")")))) () ")")) (>> ">>") (number_literal "0x10")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)();" (assignment_expression "uVar2 = (*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)()" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)()" (parenthesized_expression "(*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214)" (( "(") (pointer_expression "*(code *)PTR___gmpn_div_qr_2u_pi1_0009d214" (* "*") (cast_expression "(code *)PTR___gmpn_div_qr_2u_pi1_0009d214" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_div_qr_2u_pi1_0009d214"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (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)))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (unary_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (identifier)))))))) right: (number_literal)))) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (identifier)))))) right: (number_literal)))))) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (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))))))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1,uint *param_2,int param_3,int param_4,uint *param_5)

{
  uint uVar1;
  undefined4 uVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  
  uVar1 = param_5[1];
  uVar7 = *param_5;
  if ((int)uVar1 < 0) {
    if (uVar1 >> 0x10 == 0) {
      trap(7);
    }
    if (param_4 == -1) {
      uVar3 = *(uint *)(param_3 + -8);
      uVar4 = *(uint *)(param_3 + -0xc);
      if ((uVar3 < uVar1) || ((uVar3 <= uVar1 && (uVar4 < uVar7 != 0)))) {
        uVar2 = 0;
        param_2[1] = uVar3;
        *param_2 = uVar4;
      }
      else {
        uVar2 = 1;
        *param_2 = uVar4 - uVar7;
        param_2[1] = (uVar3 - uVar1) - (uint)(uVar4 < uVar7);
      }
    }
    else {
      if (uVar1 >> 0x10 == 0) {
        trap(7);
      }
      uVar2 = (*(code *)PTR_MASKEDn_pi1_0009d384)();
    }
  }
  else {
    if (uVar1 < 0x10000) {
      iVar6 = 0;
      if (0xff < uVar1) {
        iVar6 = 0x18;
      }
      iVar5 = 9;
      if (0xff >= uVar1) {
        iVar5 = 1;
      }
    }
    else {
      iVar6 = 0x10;
      if (0xffffff < uVar1) {
        iVar6 = 8;
      }
      iVar5 = 0x19;
      if (0xffffff >= uVar1) {
        iVar5 = 0x11;
      }
    }
    if ((uVar7 >> (-(iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5]) & 0x1f) |
        uVar1 << (iVar6 - (uint)(byte)PTR___gmpn_clz_tab_0009d18c[uVar1 >> iVar5] & 0x1f)) >> 0x10
        == 0) {
      trap(7);
      trap(7);
    }
    uVar2 = (*(code *)PTR_MASKEDu_pi1_0009d214)();
  }
  return uVar2;
}

