
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int decodepoint_ed(char *p,int length,ec_point *point)

{
  Bignum_conflict bn;
  
  bn = bignum_from_bytes_le((uchar *)p,length);
                    /* WARNING: Subroutine does not return */
  point->y = bn;
  bignum_bitcount(bn);
}



undefined4 FUN_00075948(undefined4 param_1,undefined4 param_2,int *param_3)

{
  undefined *puVar1;
  int iVar2;
  uint uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  
  iVar2 = bignum_from_bytes_le();
  param_3[2] = iVar2;
  uVar3 = bignum_bitcount(iVar2);
  puVar1 = PTR_One_00111990;
  if (uVar3 <= *(uint *)(*param_3 + 0xc)) {
    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);
    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);
    bn_restore_invariant(param_3[2]);
    iVar10 = *param_3;
    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));
    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));
    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);
    freebn(uVar5);
    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));
    freebn(uVar6);
    if (iVar7 == 0) {
      freebn(uVar4);
      param_3[1] = 0;
    }
    else {
      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));
      freebn(uVar4);
      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));
      freebn(uVar5);
      freebn(iVar7);
      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);
      uVar6 = bignum_rshift(uVar5,3);
      freebn(uVar5);
      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));
      freebn(uVar6);
      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));
      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));
      freebn(uVar5);
      freebn(uVar4);
      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);
      if (iVar8 == 0) {
        freebn(uVar6);
        iVar9 = bignum_bit(iVar7,0);
      }
      else {
        freebn(uVar6);
        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);
        uVar5 = bignum_rshift(uVar4,2);
        freebn(uVar4);
        uVar4 = bignum_from_long(2);
        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));
        freebn(uVar4);
        freebn(uVar5);
        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));
        freebn(iVar7);
        freebn(uVar6);
        iVar9 = bignum_bit(iVar8,0);
        iVar7 = iVar8;
      }
      iVar8 = iVar7;
      if (iVar9 != 0) {
        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);
        freebn(iVar7);
      }
      param_3[1] = iVar8;
      if (iVar8 != 0) {
        if (iVar2 != 0) {
          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);
          freebn(param_3[1]);
          param_3[1] = iVar2;
        }
        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {
          freebn(param_3[1]);
          param_3[1] = 0;
          freebn(param_3[2]);
          param_3[2] = 0;
          uVar4 = 0;
        }
        else {
          uVar4 = 1;
        }
        return uVar4;
      }
    }
  }
  freebn(param_3[2]);
  param_3[2] = 0;
  return 0;
}


lui gp,0xa
addiu gp,gp,0x3968
addu gp,gp,t9
addiu sp,sp,-0x40
lw t9,-0x78bc(gp)
sw gp,0x10(sp)
sw ra,0x3c(sp)
sw s0,0x20(sp)
or s0,a2,zero
sw s6,0x38(sp)
sw s5,0x34(sp)
sw s4,0x30(sp)
sw s3,0x2c(sp)
sw s2,0x28(sp)
bal 0x000680a8
_sw s1,0x24(sp)
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x7b50(gp)
bal 0x000682a8
_sw v0,0x8(s0)
lw v1,0x0(s0)
lw a1,0xc(v1)
sltu v0,a1,v0
bne v0,zero,0x00075d9c
_lw gp,0x10(sp)
lw t9,-0x78cc(gp)
addiu a1,a1,-0x1
lw s5,-0x7920(gp)
bal 0x00068460
_lw a0,0x8(s0)
or a2,zero,zero
lw v1,0x0(s0)
or s3,v0,zero
lw gp,0x10(sp)
lw a0,0x8(s0)
lw a1,0xc(v1)
lw t9,-0x7a40(gp)
bal 0x000684ac
_addiu a1,a1,-0x1
lw gp,0x10(sp)
lw t9,-0x78b8(gp)
bal 0x00067908
_lw a0,0x8(s0)
lw s1,0x0(s0)
lw gp,0x10(sp)
lw a1,0x8(s0)
lw a2,0x10(s1)
lw t9,-0x7918(gp)
bal 0x00067a14
_or a0,a1,zero
lw gp,0x10(sp)
or a1,v0,zero
lw a2,0x10(s1)
or s2,v0,zero
lw t9,-0x7918(gp)
bal 0x00067a14
_lw a0,0x18(s1)
addiu a2,s1,0x10
lw gp,0x10(sp)
or a0,v0,zero
lw a1,0x0(s5)
lw t9,-0x7910(gp)
addiu t9,t9,0x36d0
bal 0x000736d0
_or s4,v0,zero
or a0,s4,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s4,v0,zero
or a0,s4,zero
lw gp,0x10(sp)
lw t9,-0x791c(gp)
bal 0x0006a16c
_lw a1,0x10(s1)
or a0,s4,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s4,v0,zero
beq s4,zero,0x00075d88
_lw gp,0x10(sp)
lw t9,-0x78c4(gp)
or a0,s2,zero
lw a2,0x10(s1)
bal 0x00069e4c
_lw a1,0x0(s5)
or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s2,v0,zero
or a1,s4,zero
lw gp,0x10(sp)
or a0,s2,zero
lw t9,-0x7918(gp)
bal 0x00067a14
_lw a2,0x10(s1)
or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s6,v0,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or a0,s4,zero
li a1,0x3
lw gp,0x10(sp)
lw t9,-0x78c8(gp)
bal 0x0006959c
_lw a0,0x10(s1)
li a1,0x3
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x78fc(gp)
bal 0x00068a74
_or s2,v0,zero
or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s2,v0,zero
or a1,s2,zero
lw gp,0x10(sp)
or a0,s6,zero
lw t9,-0x78f4(gp)
bal 0x0006a604
_lw a2,0x10(s1)
or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s2,v0,zero
or a1,s2,zero
lw gp,0x10(sp)
or a0,s2,zero
lw t9,-0x7918(gp)
bal 0x00067a14
_lw a2,0x10(s1)
or a1,s6,zero
lw gp,0x10(sp)
or a0,v0,zero
lw a2,0x10(s1)
lw t9,-0x78c4(gp)
bal 0x00069e4c
_or s4,v0,zero
or a0,s4,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s4,v0,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or a0,s6,zero
or a0,s4,zero
lw gp,0x10(sp)
lw v0,-0x7938(gp)
lw t9,-0x7944(gp)
bal 0x000686d8
_lw a1,0x0(v0)
or a0,s4,zero
lw gp,0x10(sp)
bne v0,zero,0x00075c64
_lw t9,-0x7a34(gp)
bal 0x000679c4
_nop
or a1,zero,zero
lw gp,0x10(sp)
lw t9,-0x78cc(gp)
bal 0x00068460
_or a0,s2,zero
bne v0,zero,0x00075d58
_lw gp,0x10(sp)
beq s2,zero,0x00075d9c
_sw s2,0x4(s0)
bne s3,zero,0x00075e08
_or a1,s2,zero
lbu v0,0x10(s0)
bne v0,zero,0x00075c38
_lw t9,-0x7910(gp)
addiu t9,t9,0x55f8
bal 0x000755f8
_or a0,s0,zero
beq v0,zero,0x00075dd8
_lw gp,0x10(sp)
li v0,0x1
lw ra,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x40
bal 0x000679c4
_nop
lw gp,0x10(sp)
lw a2,0x10(s1)
lw a1,0x0(s5)
lw t9,-0x78c4(gp)
bal 0x00069e4c
_or a0,a2,zero
li a1,0x2
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x78fc(gp)
bal 0x00068a74
_or s4,v0,zero
or a0,s4,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s5,v0,zero
lw gp,0x10(sp)
lw t9,-0x792c(gp)
bal 0x000693f0
_li a0,0x2
or a1,s5,zero
lw gp,0x10(sp)
or a0,v0,zero
lw a2,0x10(s1)
lw t9,-0x78f4(gp)
bal 0x0006a604
_or s4,v0,zero
or a0,s4,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s4,v0,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or a0,s5,zero
or a1,s4,zero
lw gp,0x10(sp)
or a0,s2,zero
lw t9,-0x7918(gp)
bal 0x00067a14
_lw a2,0x10(s1)
or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s2,v0,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or a0,s4,zero
or a1,zero,zero
lw gp,0x10(sp)
lw t9,-0x78cc(gp)
bal 0x00068460
_or a0,s2,zero
beq v0,zero,0x00075c08
_lw gp,0x10(sp)
lw a2,0x10(s1)
or a1,s2,zero
lw t9,-0x78c4(gp)
bal 0x00069e4c
_or a0,a2,zero
or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or s2,v0,zero
b 0x00075c08
_lw gp,0x10(sp)
lw t9,-0x7a34(gp)
bal 0x000679c4
_or a0,s2,zero
lw gp,0x10(sp)
sw zero,0x4(s0)
lw t9,-0x7a34(gp)
bal 0x000679c4
_lw a0,0x8(s0)
or v0,zero,zero
lw ra,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
sw zero,0x8(s0)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x7a34(gp)
lw a0,0x4(s0)
bal 0x000679c4
_sw v0,0x1c(sp)
lw gp,0x10(sp)
lw a0,0x8(s0)
lw t9,-0x7a34(gp)
bal 0x000679c4
_sw zero,0x4(s0)
lw v0,0x1c(sp)
b 0x00075c3c
_sw zero,0x8(s0)
lw v0,0x0(s0)
lw t9,-0x78c4(gp)
lw a2,0x10(v0)
bal 0x00069e4c
_or a0,a2,zero
lw gp,0x10(sp)
or s1,v0,zero
lw t9,-0x7a34(gp)
bal 0x000679c4
_lw a0,0x4(s0)
lw gp,0x10(sp)
b 0x00075c18
_sw s1,0x4(s0)
(translation_unit "undefined4 FUN_00075948(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \n  iVar2 = bignum_from_bytes_le();\n  param_3[2] = iVar2;\n  uVar3 = bignum_bitcount(iVar2);\n  puVar1 = PTR_One_00111990;\n  if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }\n  freebn(param_3[2]);\n  param_3[2] = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00075948(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \n  iVar2 = bignum_from_bytes_le();\n  param_3[2] = iVar2;\n  uVar3 = bignum_bitcount(iVar2);\n  puVar1 = PTR_One_00111990;\n  if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }\n  freebn(param_3[2]);\n  param_3[2] = 0;\n  return 0;\n}" type_identifier (function_declarator "FUN_00075948(undefined4 param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \n  iVar2 = bignum_from_bytes_le();\n  param_3[2] = iVar2;\n  uVar3 = bignum_bitcount(iVar2);\n  puVar1 = PTR_One_00111990;\n  if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }\n  freebn(param_3[2]);\n  param_3[2] = 0;\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "iVar2 = bignum_from_bytes_le();" (assignment_expression "iVar2 = bignum_from_bytes_le()" identifier = (call_expression "bignum_from_bytes_le()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_3[2] = iVar2;" (assignment_expression "param_3[2] = iVar2" (subscript_expression "param_3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = bignum_bitcount(iVar2);" (assignment_expression "uVar3 = bignum_bitcount(iVar2)" identifier = (call_expression "bignum_bitcount(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "puVar1 = PTR_One_00111990;" (assignment_expression "puVar1 = PTR_One_00111990" identifier = identifier) ;) (if_statement "if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }" if (parenthesized_expression "(uVar3 <= *(uint *)(*param_3 + 0xc))" ( (binary_expression "uVar3 <= *(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" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (compound_statement "{\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }" { (expression_statement "iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);" (assignment_expression "iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1)" identifier = (call_expression "bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1)" identifier (argument_list "(param_3[2],*(uint *)(*param_3 + 0xc) - 1)" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) , (binary_expression "*(uint *)(*param_3 + 0xc) - 1" (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" (pointer_expression "*param_3" * identifier) + number_literal) )))) - number_literal) )))) ;) (expression_statement "bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);" (call_expression "bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0)" identifier (argument_list "(param_3[2],*(int *)(*param_3 + 0xc) + -1,0)" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) , (binary_expression "*(int *)(*param_3 + 0xc) + -1" (pointer_expression "*(int *)(*param_3 + 0xc)" * (cast_expression "(int *)(*param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0xc)" ( (binary_expression "*param_3 + 0xc" (pointer_expression "*param_3" * identifier) + number_literal) )))) + number_literal) , number_literal ))) ;) (expression_statement "bn_restore_invariant(param_3[2]);" (call_expression "bn_restore_invariant(param_3[2])" identifier (argument_list "(param_3[2])" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar10 = *param_3;" (assignment_expression "iVar10 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10))" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) , (subscript_expression "param_3[2]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x18)" * (cast_expression "(undefined4 *)(iVar10 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);" (assignment_expression "uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10)" identifier = (call_expression "FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10)" identifier (argument_list "(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10)" ( identifier , (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) ;) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modinv(uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar6,*(undefined4 *)(iVar10 + 0x10))" ( identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (if_statement "if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      freebn(uVar4);\n      param_3[1] = 0;\n    }" { (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }" else (compound_statement "{\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }" { (expression_statement "uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10))" ( identifier , (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "freebn(iVar7);" (call_expression "freebn(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);" (assignment_expression "uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3)" identifier = (call_expression "bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3)" identifier (argument_list "(*(undefined4 *)(iVar10 + 0x10),3)" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "uVar6 = bignum_rshift(uVar5,3);" (assignment_expression "uVar6 = bignum_rshift(uVar5,3)" identifier = (call_expression "bignum_rshift(uVar5,3)" identifier (argument_list "(uVar5,3)" ( identifier , number_literal )))) ;) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);" (assignment_expression "iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978)" identifier = (call_expression "bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978)" identifier (argument_list "(uVar6,*(undefined4 *)PTR_Zero_00111978)" ( identifier , (pointer_expression "*(undefined4 *)PTR_Zero_00111978" * (cast_expression "(undefined4 *)PTR_Zero_00111978" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (if_statement "if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }" { (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "iVar9 = bignum_bit(iVar7,0);" (assignment_expression "iVar9 = bignum_bit(iVar7,0)" identifier = (call_expression "bignum_bit(iVar7,0)" identifier (argument_list "(iVar7,0)" ( identifier , number_literal )))) ;) }) (else_clause "else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }" else (compound_statement "{\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }" { (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);" (assignment_expression "uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1)" identifier = (call_expression "modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1)" identifier (argument_list "(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "uVar5 = bignum_rshift(uVar4,2);" (assignment_expression "uVar5 = bignum_rshift(uVar4,2)" identifier = (call_expression "bignum_rshift(uVar4,2)" identifier (argument_list "(uVar4,2)" ( identifier , number_literal )))) ;) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "uVar4 = bignum_from_long(2);" (assignment_expression "uVar4 = bignum_from_long(2)" identifier = (call_expression "bignum_from_long(2)" identifier (argument_list "(2)" ( number_literal )))) ;) (expression_statement "uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(iVar7);" (call_expression "freebn(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "iVar9 = bignum_bit(iVar8,0);" (assignment_expression "iVar9 = bignum_bit(iVar8,0)" identifier = (call_expression "bignum_bit(iVar8,0)" identifier (argument_list "(iVar8,0)" ( identifier , number_literal )))) ;) (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" identifier = identifier) ;) }))) (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" identifier = identifier) ;) (if_statement "if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }" { (expression_statement "iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);" (assignment_expression "iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7)" identifier = (call_expression "modsub(*(undefined4 *)(iVar10 + 0x10),iVar7)" identifier (argument_list "(*(undefined4 *)(iVar10 + 0x10),iVar7)" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "freebn(iVar7);" (call_expression "freebn(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) })) (expression_statement "param_3[1] = iVar8;" (assignment_expression "param_3[1] = iVar8" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }" { (if_statement "if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }" { (expression_statement "iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);" (assignment_expression "iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8)" identifier = (call_expression "modsub(*(undefined4 *)(*param_3 + 0x10),iVar8)" identifier (argument_list "(*(undefined4 *)(*param_3 + 0x10),iVar8)" ( (pointer_expression "*(undefined4 *)(*param_3 + 0x10)" * (cast_expression "(undefined4 *)(*param_3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x10)" ( (binary_expression "*param_3 + 0x10" (pointer_expression "*param_3" * identifier) + number_literal) )))) , identifier )))) ;) (expression_statement "freebn(param_3[1]);" (call_expression "freebn(param_3[1])" identifier (argument_list "(param_3[1])" ( (subscript_expression "param_3[1]" identifier [ number_literal ]) ))) ;) (expression_statement "param_3[1] = iVar2;" (assignment_expression "param_3[1] = iVar2" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }" if (parenthesized_expression "((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0))" ( (binary_expression "(*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)" (parenthesized_expression "(*(char *)(param_3 + 4) == '\0')" ( (binary_expression "*(char *)(param_3 + 4) == '\0'" (pointer_expression "*(char *)(param_3 + 4)" * (cast_expression "(char *)(param_3 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar2 = FUN_000755f8(param_3), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_000755f8(param_3), iVar2 == 0" (assignment_expression "iVar2 = FUN_000755f8(param_3)" identifier = (call_expression "FUN_000755f8(param_3)" identifier (argument_list "(param_3)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }" { (expression_statement "freebn(param_3[1]);" (call_expression "freebn(param_3[1])" identifier (argument_list "(param_3[1])" ( (subscript_expression "param_3[1]" identifier [ number_literal ]) ))) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "freebn(param_3[2]);" (call_expression "freebn(param_3[2])" identifier (argument_list "(param_3[2])" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) ))) ;) (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          uVar4 = 1;\n        }" else (compound_statement "{\n          uVar4 = 1;\n        }" { (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar4;" return identifier ;) })) }))) })) (expression_statement "freebn(param_3[2]);" (call_expression "freebn(param_3[2])" identifier (argument_list "(param_3[2])" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) ))) ;) (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint decodepoint_ed(char *p,int length,ec_point *point)\n\n{\n  Bignum_conflict bn;\n  \n  bn = bignum_from_bytes_le((uchar *)p,length);\n                    /* WARNING: Subroutine does not return */\n  point->y = bn;\n  bignum_bitcount(bn);\n}\n\n" comment (function_definition "int decodepoint_ed(char *p,int length,ec_point *point)\n\n{\n  Bignum_conflict bn;\n  \n  bn = bignum_from_bytes_le((uchar *)p,length);\n                    /* WARNING: Subroutine does not return */\n  point->y = bn;\n  bignum_bitcount(bn);\n}" primitive_type (function_declarator "decodepoint_ed(char *p,int length,ec_point *point)" identifier (parameter_list "(char *p,int length,ec_point *point)" ( (parameter_declaration "char *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "int length" primitive_type identifier) , (parameter_declaration "ec_point *point" type_identifier (pointer_declarator "*point" * identifier)) ))) (compound_statement "{\n  Bignum_conflict bn;\n  \n  bn = bignum_from_bytes_le((uchar *)p,length);\n                    /* WARNING: Subroutine does not return */\n  point->y = bn;\n  bignum_bitcount(bn);\n}" { (declaration "Bignum_conflict bn;" type_identifier identifier ;) (expression_statement "bn = bignum_from_bytes_le((uchar *)p,length);" (assignment_expression "bn = bignum_from_bytes_le((uchar *)p,length)" identifier = (call_expression "bignum_from_bytes_le((uchar *)p,length)" identifier (argument_list "((uchar *)p,length)" ( (cast_expression "(uchar *)p" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) comment (expression_statement "point->y = bn;" (assignment_expression "point->y = bn" (field_expression "point->y" identifier -> field_identifier) = identifier) ;) (expression_statement "bignum_bitcount(bn);" (call_expression "bignum_bitcount(bn)" identifier (argument_list "(bn)" ( identifier ))) ;) })))
(translation_unit "undefined4 FUN_00075948(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \n  iVar2 = bignum_from_bytes_le();\n  param_3[2] = iVar2;\n  uVar3 = bignum_bitcount(iVar2);\n  puVar1 = PTR_One_00111990;\n  if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }\n  freebn(param_3[2]);\n  param_3[2] = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00075948(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \n  iVar2 = bignum_from_bytes_le();\n  param_3[2] = iVar2;\n  uVar3 = bignum_bitcount(iVar2);\n  puVar1 = PTR_One_00111990;\n  if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }\n  freebn(param_3[2]);\n  param_3[2] = 0;\n  return 0;\n}" type_identifier (function_declarator "FUN_00075948(undefined4 param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \n  iVar2 = bignum_from_bytes_le();\n  param_3[2] = iVar2;\n  uVar3 = bignum_bitcount(iVar2);\n  puVar1 = PTR_One_00111990;\n  if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }\n  freebn(param_3[2]);\n  param_3[2] = 0;\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "iVar2 = bignum_from_bytes_le();" (assignment_expression "iVar2 = bignum_from_bytes_le()" identifier = (call_expression "bignum_from_bytes_le()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_3[2] = iVar2;" (assignment_expression "param_3[2] = iVar2" (subscript_expression "param_3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = bignum_bitcount(iVar2);" (assignment_expression "uVar3 = bignum_bitcount(iVar2)" identifier = (call_expression "bignum_bitcount(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "puVar1 = PTR_One_00111990;" (assignment_expression "puVar1 = PTR_One_00111990" identifier = identifier) ;) (if_statement "if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }" if (parenthesized_expression "(uVar3 <= *(uint *)(*param_3 + 0xc))" ( (binary_expression "uVar3 <= *(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" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (compound_statement "{\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }" { (expression_statement "iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);" (assignment_expression "iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1)" identifier = (call_expression "bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1)" identifier (argument_list "(param_3[2],*(uint *)(*param_3 + 0xc) - 1)" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) , (binary_expression "*(uint *)(*param_3 + 0xc) - 1" (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" (pointer_expression "*param_3" * identifier) + number_literal) )))) - number_literal) )))) ;) (expression_statement "bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);" (call_expression "bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0)" identifier (argument_list "(param_3[2],*(int *)(*param_3 + 0xc) + -1,0)" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) , (binary_expression "*(int *)(*param_3 + 0xc) + -1" (pointer_expression "*(int *)(*param_3 + 0xc)" * (cast_expression "(int *)(*param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0xc)" ( (binary_expression "*param_3 + 0xc" (pointer_expression "*param_3" * identifier) + number_literal) )))) + number_literal) , number_literal ))) ;) (expression_statement "bn_restore_invariant(param_3[2]);" (call_expression "bn_restore_invariant(param_3[2])" identifier (argument_list "(param_3[2])" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar10 = *param_3;" (assignment_expression "iVar10 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10))" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) , (subscript_expression "param_3[2]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x18)" * (cast_expression "(undefined4 *)(iVar10 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);" (assignment_expression "uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10)" identifier = (call_expression "FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10)" identifier (argument_list "(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10)" ( identifier , (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) ;) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modinv(uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar6,*(undefined4 *)(iVar10 + 0x10))" ( identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (if_statement "if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      freebn(uVar4);\n      param_3[1] = 0;\n    }" { (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }" else (compound_statement "{\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }" { (expression_statement "uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10))" ( identifier , (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "freebn(iVar7);" (call_expression "freebn(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);" (assignment_expression "uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3)" identifier = (call_expression "bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3)" identifier (argument_list "(*(undefined4 *)(iVar10 + 0x10),3)" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "uVar6 = bignum_rshift(uVar5,3);" (assignment_expression "uVar6 = bignum_rshift(uVar5,3)" identifier = (call_expression "bignum_rshift(uVar5,3)" identifier (argument_list "(uVar5,3)" ( identifier , number_literal )))) ;) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);" (assignment_expression "iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978)" identifier = (call_expression "bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978)" identifier (argument_list "(uVar6,*(undefined4 *)PTR_Zero_00111978)" ( identifier , (pointer_expression "*(undefined4 *)PTR_Zero_00111978" * (cast_expression "(undefined4 *)PTR_Zero_00111978" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (if_statement "if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }" { (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "iVar9 = bignum_bit(iVar7,0);" (assignment_expression "iVar9 = bignum_bit(iVar7,0)" identifier = (call_expression "bignum_bit(iVar7,0)" identifier (argument_list "(iVar7,0)" ( identifier , number_literal )))) ;) }) (else_clause "else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }" else (compound_statement "{\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }" { (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);" (assignment_expression "uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1)" identifier = (call_expression "modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1)" identifier (argument_list "(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "uVar5 = bignum_rshift(uVar4,2);" (assignment_expression "uVar5 = bignum_rshift(uVar4,2)" identifier = (call_expression "bignum_rshift(uVar4,2)" identifier (argument_list "(uVar4,2)" ( identifier , number_literal )))) ;) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "uVar4 = bignum_from_long(2);" (assignment_expression "uVar4 = bignum_from_long(2)" identifier = (call_expression "bignum_from_long(2)" identifier (argument_list "(2)" ( number_literal )))) ;) (expression_statement "uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier = (call_expression "modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10))" identifier (argument_list "(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "freebn(iVar7);" (call_expression "freebn(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "iVar9 = bignum_bit(iVar8,0);" (assignment_expression "iVar9 = bignum_bit(iVar8,0)" identifier = (call_expression "bignum_bit(iVar8,0)" identifier (argument_list "(iVar8,0)" ( identifier , number_literal )))) ;) (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" identifier = identifier) ;) }))) (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" identifier = identifier) ;) (if_statement "if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }" { (expression_statement "iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);" (assignment_expression "iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7)" identifier = (call_expression "modsub(*(undefined4 *)(iVar10 + 0x10),iVar7)" identifier (argument_list "(*(undefined4 *)(iVar10 + 0x10),iVar7)" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" * (cast_expression "(undefined4 *)(iVar10 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "freebn(iVar7);" (call_expression "freebn(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) })) (expression_statement "param_3[1] = iVar8;" (assignment_expression "param_3[1] = iVar8" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }" { (if_statement "if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }" { (expression_statement "iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);" (assignment_expression "iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8)" identifier = (call_expression "modsub(*(undefined4 *)(*param_3 + 0x10),iVar8)" identifier (argument_list "(*(undefined4 *)(*param_3 + 0x10),iVar8)" ( (pointer_expression "*(undefined4 *)(*param_3 + 0x10)" * (cast_expression "(undefined4 *)(*param_3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x10)" ( (binary_expression "*param_3 + 0x10" (pointer_expression "*param_3" * identifier) + number_literal) )))) , identifier )))) ;) (expression_statement "freebn(param_3[1]);" (call_expression "freebn(param_3[1])" identifier (argument_list "(param_3[1])" ( (subscript_expression "param_3[1]" identifier [ number_literal ]) ))) ;) (expression_statement "param_3[1] = iVar2;" (assignment_expression "param_3[1] = iVar2" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }" if (parenthesized_expression "((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0))" ( (binary_expression "(*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)" (parenthesized_expression "(*(char *)(param_3 + 4) == '\0')" ( (binary_expression "*(char *)(param_3 + 4) == '\0'" (pointer_expression "*(char *)(param_3 + 4)" * (cast_expression "(char *)(param_3 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar2 = FUN_000755f8(param_3), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_000755f8(param_3), iVar2 == 0" (assignment_expression "iVar2 = FUN_000755f8(param_3)" identifier = (call_expression "FUN_000755f8(param_3)" identifier (argument_list "(param_3)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }" { (expression_statement "freebn(param_3[1]);" (call_expression "freebn(param_3[1])" identifier (argument_list "(param_3[1])" ( (subscript_expression "param_3[1]" identifier [ number_literal ]) ))) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "freebn(param_3[2]);" (call_expression "freebn(param_3[2])" identifier (argument_list "(param_3[2])" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) ))) ;) (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          uVar4 = 1;\n        }" else (compound_statement "{\n          uVar4 = 1;\n        }" { (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar4;" return identifier ;) })) }))) })) (expression_statement "freebn(param_3[2]);" (call_expression "freebn(param_3[2])" identifier (argument_list "(param_3[2])" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) ))) ;) (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) - LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })) }))) })) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00075948(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \n  iVar2 = bignum_from_bytes_le();\n  param_3[2] = iVar2;\n  uVar3 = bignum_bitcount(iVar2);\n  puVar1 = PTR_One_00111990;\n  if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }\n  freebn(param_3[2]);\n  param_3[2] = 0;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00075948(undefined4 param_1,undefined4 param_2,int *param_3)" (identifier "FUN_00075948") (parameter_list "(undefined4 param_1,undefined4 param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \n  iVar2 = bignum_from_bytes_le();\n  param_3[2] = iVar2;\n  uVar3 = bignum_bitcount(iVar2);\n  puVar1 = PTR_One_00111990;\n  if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }\n  freebn(param_3[2]);\n  param_3[2] = 0;\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (expression_statement "iVar2 = bignum_from_bytes_le();" (assignment_expression "iVar2 = bignum_from_bytes_le()" (identifier "iVar2") (= "=") (call_expression "bignum_from_bytes_le()" (identifier "bignum_from_bytes_le") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_3[2] = iVar2;" (assignment_expression "param_3[2] = iVar2" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "uVar3 = bignum_bitcount(iVar2);" (assignment_expression "uVar3 = bignum_bitcount(iVar2)" (identifier "uVar3") (= "=") (call_expression "bignum_bitcount(iVar2)" (identifier "bignum_bitcount") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_One_00111990;" (assignment_expression "puVar1 = PTR_One_00111990" (identifier "puVar1") (= "=") (identifier "PTR_One_00111990")) (; ";")) (if_statement "if (uVar3 <= *(uint *)(*param_3 + 0xc)) {\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(uVar3 <= *(uint *)(*param_3 + 0xc))" (( "(") (binary_expression "uVar3 <= *(uint *)(*param_3 + 0xc)" (identifier "uVar3") (<= "<=") (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" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (compound_statement "{\n    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);\n    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);\n    bn_restore_invariant(param_3[2]);\n    iVar10 = *param_3;\n    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));\n    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));\n    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);\n    freebn(uVar5);\n    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));\n    freebn(uVar6);\n    if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);" (assignment_expression "iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1)" (identifier "iVar2") (= "=") (call_expression "bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1)" (identifier "bignum_bit") (argument_list "(param_3[2],*(uint *)(*param_3 + 0xc) - 1)" (( "(") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (, ",") (binary_expression "*(uint *)(*param_3 + 0xc) - 1" (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" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0xc")) () ")")))) (- "-") (number_literal "1")) () ")")))) (; ";")) (expression_statement "bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);" (call_expression "bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0)" (identifier "bignum_set_bit") (argument_list "(param_3[2],*(int *)(*param_3 + 0xc) + -1,0)" (( "(") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (, ",") (binary_expression "*(int *)(*param_3 + 0xc) + -1" (pointer_expression "*(int *)(*param_3 + 0xc)" (* "*") (cast_expression "(int *)(*param_3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 0xc)" (( "(") (binary_expression "*param_3 + 0xc" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "-1")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "bn_restore_invariant(param_3[2]);" (call_expression "bn_restore_invariant(param_3[2])" (identifier "bn_restore_invariant") (argument_list "(param_3[2])" (( "(") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "iVar10 = *param_3;" (assignment_expression "iVar10 = *param_3" (identifier "iVar10") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10))" (identifier "uVar4") (= "=") (call_expression "modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10))" (identifier "modmul") (argument_list "(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10))" (( "(") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (, ",") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10))" (identifier "uVar5") (= "=") (call_expression "modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10))" (identifier "modmul") (argument_list "(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x18)" (( "(") (binary_expression "iVar10 + 0x18" (identifier "iVar10") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "uVar4") (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);" (assignment_expression "uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10)" (identifier "uVar6") (= "=") (call_expression "FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10)" (identifier "FUN_000736d0") (argument_list "(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10)" (( "(") (identifier "uVar5") (, ",") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" (identifier "freebn") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10))" (identifier "iVar7") (= "=") (call_expression "modinv(uVar6,*(undefined4 *)(iVar10 + 0x10))" (identifier "modinv") (argument_list "(uVar6,*(undefined4 *)(iVar10 + 0x10))" (( "(") (identifier "uVar6") (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" (identifier "freebn") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (if_statement "if (iVar7 == 0) {\n      freebn(uVar4);\n      param_3[1] = 0;\n    }\n    else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      freebn(uVar4);\n      param_3[1] = 0;\n    }" ({ "{") (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" (identifier "freebn") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }" (else "else") (compound_statement "{\n      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar4);\n      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(iVar7);\n      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);\n      uVar6 = bignum_rshift(uVar5,3);\n      freebn(uVar5);\n      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar6);\n      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));\n      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));\n      freebn(uVar5);\n      freebn(uVar4);\n      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);\n      if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }\n      iVar8 = iVar7;\n      if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }\n      param_3[1] = iVar8;\n      if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }\n    }" ({ "{") (expression_statement "uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10))" (identifier "uVar5") (= "=") (call_expression "modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10))" (identifier "modsub") (argument_list "(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10))" (( "(") (identifier "uVar4") (, ",") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" (identifier "freebn") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10))" (identifier "uVar4") (= "=") (call_expression "modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10))" (identifier "modmul") (argument_list "(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10))" (( "(") (identifier "uVar5") (, ",") (identifier "iVar7") (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" (identifier "freebn") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "freebn(iVar7);" (call_expression "freebn(iVar7)" (identifier "freebn") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);" (assignment_expression "uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3)" (identifier "uVar5") (= "=") (call_expression "bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3)" (identifier "bignum_add_long") (argument_list "(*(undefined4 *)(iVar10 + 0x10),3)" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (number_literal "3") () ")")))) (; ";")) (expression_statement "uVar6 = bignum_rshift(uVar5,3);" (assignment_expression "uVar6 = bignum_rshift(uVar5,3)" (identifier "uVar6") (= "=") (call_expression "bignum_rshift(uVar5,3)" (identifier "bignum_rshift") (argument_list "(uVar5,3)" (( "(") (identifier "uVar5") (, ",") (number_literal "3") () ")")))) (; ";")) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" (identifier "freebn") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10))" (identifier "iVar7") (= "=") (call_expression "modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10))" (identifier "modpow") (argument_list "(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10))" (( "(") (identifier "uVar4") (, ",") (identifier "uVar6") (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" (identifier "freebn") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10))" (identifier "uVar5") (= "=") (call_expression "modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10))" (identifier "modmul") (argument_list "(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10))" (( "(") (identifier "iVar7") (, ",") (identifier "iVar7") (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10))" (identifier "uVar6") (= "=") (call_expression "modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10))" (identifier "modsub") (argument_list "(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10))" (( "(") (identifier "uVar5") (, ",") (identifier "uVar4") (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" (identifier "freebn") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" (identifier "freebn") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);" (assignment_expression "iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978)" (identifier "iVar8") (= "=") (call_expression "bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978)" (identifier "bignum_cmp") (argument_list "(uVar6,*(undefined4 *)PTR_Zero_00111978)" (( "(") (identifier "uVar6") (, ",") (pointer_expression "*(undefined4 *)PTR_Zero_00111978" (* "*") (cast_expression "(undefined4 *)PTR_Zero_00111978" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_Zero_00111978"))) () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }\n      else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar7,0);\n      }" ({ "{") (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" (identifier "freebn") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "iVar9 = bignum_bit(iVar7,0);" (assignment_expression "iVar9 = bignum_bit(iVar7,0)" (identifier "iVar9") (= "=") (call_expression "bignum_bit(iVar7,0)" (identifier "bignum_bit") (argument_list "(iVar7,0)" (( "(") (identifier "iVar7") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")) (else_clause "else {\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }" (else "else") (compound_statement "{\n        freebn(uVar6);\n        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);\n        uVar5 = bignum_rshift(uVar4,2);\n        freebn(uVar4);\n        uVar4 = bignum_from_long(2);\n        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));\n        freebn(uVar4);\n        freebn(uVar5);\n        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));\n        freebn(iVar7);\n        freebn(uVar6);\n        iVar9 = bignum_bit(iVar8,0);\n        iVar7 = iVar8;\n      }" ({ "{") (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" (identifier "freebn") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);" (assignment_expression "uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1)" (identifier "uVar4") (= "=") (call_expression "modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1)" (identifier "modsub") (argument_list "(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1)" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")))) (; ";")) (expression_statement "uVar5 = bignum_rshift(uVar4,2);" (assignment_expression "uVar5 = bignum_rshift(uVar4,2)" (identifier "uVar5") (= "=") (call_expression "bignum_rshift(uVar4,2)" (identifier "bignum_rshift") (argument_list "(uVar4,2)" (( "(") (identifier "uVar4") (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" (identifier "freebn") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "uVar4 = bignum_from_long(2);" (assignment_expression "uVar4 = bignum_from_long(2)" (identifier "uVar4") (= "=") (call_expression "bignum_from_long(2)" (identifier "bignum_from_long") (argument_list "(2)" (( "(") (number_literal "2") () ")")))) (; ";")) (expression_statement "uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10))" (identifier "uVar6") (= "=") (call_expression "modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10))" (identifier "modpow") (argument_list "(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10))" (( "(") (identifier "uVar4") (, ",") (identifier "uVar5") (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "freebn(uVar4);" (call_expression "freebn(uVar4)" (identifier "freebn") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "freebn(uVar5);" (call_expression "freebn(uVar5)" (identifier "freebn") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));" (assignment_expression "iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10))" (identifier "iVar8") (= "=") (call_expression "modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10))" (identifier "modmul") (argument_list "(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10))" (( "(") (identifier "iVar7") (, ",") (identifier "uVar6") (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "freebn(iVar7);" (call_expression "freebn(iVar7)" (identifier "freebn") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "freebn(uVar6);" (call_expression "freebn(uVar6)" (identifier "freebn") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "iVar9 = bignum_bit(iVar8,0);" (assignment_expression "iVar9 = bignum_bit(iVar8,0)" (identifier "iVar9") (= "=") (call_expression "bignum_bit(iVar8,0)" (identifier "bignum_bit") (argument_list "(iVar8,0)" (( "(") (identifier "iVar8") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" (identifier "iVar7") (= "=") (identifier "iVar8")) (; ";")) (} "}")))) (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" (identifier "iVar8") (= "=") (identifier "iVar7")) (; ";")) (if_statement "if (iVar9 != 0) {\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);\n        freebn(iVar7);\n      }" ({ "{") (expression_statement "iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);" (assignment_expression "iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7)" (identifier "iVar8") (= "=") (call_expression "modsub(*(undefined4 *)(iVar10 + 0x10),iVar7)" (identifier "modsub") (argument_list "(*(undefined4 *)(iVar10 + 0x10),iVar7)" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "iVar7") () ")")))) (; ";")) (expression_statement "freebn(iVar7);" (call_expression "freebn(iVar7)" (identifier "freebn") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (} "}"))) (expression_statement "param_3[1] = iVar8;" (assignment_expression "param_3[1] = iVar8" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (iVar8 != 0) {\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }\n        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }\n        return uVar4;\n      }" ({ "{") (if_statement "if (iVar2 != 0) {\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);\n          freebn(param_3[1]);\n          param_3[1] = iVar2;\n        }" ({ "{") (expression_statement "iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);" (assignment_expression "iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8)" (identifier "iVar2") (= "=") (call_expression "modsub(*(undefined4 *)(*param_3 + 0x10),iVar8)" (identifier "modsub") (argument_list "(*(undefined4 *)(*param_3 + 0x10),iVar8)" (( "(") (pointer_expression "*(undefined4 *)(*param_3 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_3 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 0x10)" (( "(") (binary_expression "*param_3 + 0x10" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "iVar8") () ")")))) (; ";")) (expression_statement "freebn(param_3[1]);" (call_expression "freebn(param_3[1])" (identifier "freebn") (argument_list "(param_3[1])" (( "(") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "param_3[1] = iVar2;" (assignment_expression "param_3[1] = iVar2" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (if_statement "if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }\n        else {\n          uVar4 = 1;\n        }" (if "if") (parenthesized_expression "((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0))" (( "(") (binary_expression "(*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)" (parenthesized_expression "(*(char *)(param_3 + 4) == '\0')" (( "(") (binary_expression "*(char *)(param_3 + 4) == '\0'" (pointer_expression "*(char *)(param_3 + 4)" (* "*") (cast_expression "(char *)(param_3 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_000755f8(param_3), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_000755f8(param_3), iVar2 == 0" (assignment_expression "iVar2 = FUN_000755f8(param_3)" (identifier "iVar2") (= "=") (call_expression "FUN_000755f8(param_3)" (identifier "FUN_000755f8") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n          freebn(param_3[1]);\n          param_3[1] = 0;\n          freebn(param_3[2]);\n          param_3[2] = 0;\n          uVar4 = 0;\n        }" ({ "{") (expression_statement "freebn(param_3[1]);" (call_expression "freebn(param_3[1])" (identifier "freebn") (argument_list "(param_3[1])" (( "(") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "freebn(param_3[2]);" (call_expression "freebn(param_3[2])" (identifier "freebn") (argument_list "(param_3[2])" (( "(") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          uVar4 = 1;\n        }" (else "else") (compound_statement "{\n          uVar4 = 1;\n        }" ({ "{") (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (} "}")))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}"))) (} "}")))) (} "}"))) (expression_statement "freebn(param_3[2]);" (call_expression "freebn(param_3[2])" (identifier "freebn") (argument_list "(param_3[2])" (( "(") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int function_1(char *p,int length,type_1 *point)

{
  type_2 bn;
  
  bn = var_1((type_3 *)p,length);
                    /* WARNING: Subroutine does not return */
  point->y = bn;
  var_2(bn);
}


(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: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_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: (pointer_expression argument: (identifier)) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal)) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (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: (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier) (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: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (number_literal)))))

undefined4 MASKED(undefined4 param_1,undefined4 param_2,int *param_3)

{
  undefined *puVar1;
  int iVar2;
  uint uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  
  iVar2 = bignum_from_bytes_le();
  param_3[2] = iVar2;
  uVar3 = bignum_bitcount(iVar2);
  puVar1 = PTR_One_00111990;
  if (uVar3 <= *(uint *)(*param_3 + 0xc)) {
    iVar2 = bignum_bit(param_3[2],*(uint *)(*param_3 + 0xc) - 1);
    bignum_set_bit(param_3[2],*(int *)(*param_3 + 0xc) + -1,0);
    bn_restore_invariant(param_3[2]);
    iVar10 = *param_3;
    uVar4 = modmul(param_3[2],param_3[2],*(undefined4 *)(iVar10 + 0x10));
    uVar5 = modmul(*(undefined4 *)(iVar10 + 0x18),uVar4,*(undefined4 *)(iVar10 + 0x10));
    uVar6 = FUN_000736d0(uVar5,*(undefined4 *)puVar1,iVar10 + 0x10);
    freebn(uVar5);
    iVar7 = modinv(uVar6,*(undefined4 *)(iVar10 + 0x10));
    freebn(uVar6);
    if (iVar7 == 0) {
      freebn(uVar4);
      param_3[1] = 0;
    }
    else {
      uVar5 = modsub(uVar4,*(undefined4 *)puVar1,*(undefined4 *)(iVar10 + 0x10));
      freebn(uVar4);
      uVar4 = modmul(uVar5,iVar7,*(undefined4 *)(iVar10 + 0x10));
      freebn(uVar5);
      freebn(iVar7);
      uVar5 = bignum_add_long(*(undefined4 *)(iVar10 + 0x10),3);
      uVar6 = bignum_rshift(uVar5,3);
      freebn(uVar5);
      iVar7 = modpow(uVar4,uVar6,*(undefined4 *)(iVar10 + 0x10));
      freebn(uVar6);
      uVar5 = modmul(iVar7,iVar7,*(undefined4 *)(iVar10 + 0x10));
      uVar6 = modsub(uVar5,uVar4,*(undefined4 *)(iVar10 + 0x10));
      freebn(uVar5);
      freebn(uVar4);
      iVar8 = bignum_cmp(uVar6,*(undefined4 *)PTR_Zero_00111978);
      if (iVar8 == 0) {
        freebn(uVar6);
        iVar9 = bignum_bit(iVar7,0);
      }
      else {
        freebn(uVar6);
        uVar4 = modsub(*(undefined4 *)(iVar10 + 0x10),*(undefined4 *)puVar1);
        uVar5 = bignum_rshift(uVar4,2);
        freebn(uVar4);
        uVar4 = bignum_from_long(2);
        uVar6 = modpow(uVar4,uVar5,*(undefined4 *)(iVar10 + 0x10));
        freebn(uVar4);
        freebn(uVar5);
        iVar8 = modmul(iVar7,uVar6,*(undefined4 *)(iVar10 + 0x10));
        freebn(iVar7);
        freebn(uVar6);
        iVar9 = bignum_bit(iVar8,0);
        iVar7 = iVar8;
      }
      iVar8 = iVar7;
      if (iVar9 != 0) {
        iVar8 = modsub(*(undefined4 *)(iVar10 + 0x10),iVar7);
        freebn(iVar7);
      }
      param_3[1] = iVar8;
      if (iVar8 != 0) {
        if (iVar2 != 0) {
          iVar2 = modsub(*(undefined4 *)(*param_3 + 0x10),iVar8);
          freebn(param_3[1]);
          param_3[1] = iVar2;
        }
        if ((*(char *)(param_3 + 4) == '\0') && (iVar2 = FUN_000755f8(param_3), iVar2 == 0)) {
          freebn(param_3[1]);
          param_3[1] = 0;
          freebn(param_3[2]);
          param_3[2] = 0;
          uVar4 = 0;
        }
        else {
          uVar4 = 1;
        }
        return uVar4;
      }
    }
  }
  freebn(param_3[2]);
  param_3[2] = 0;
  return 0;
}

