
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Switch with 1 destination removed at 0x0001b6d0 */

void __gmpz_fdiv_q_2exp(mpz_ptr w,mpz_srcptr u,mp_bitcnt_t cnt)

{
  uint uVar1;
  mp_limb_t *pmVar2;
  uint uVar3;
  mp_limb_t mVar4;
  mp_limb_t *pmVar5;
  int iVar6;
  uint uVar7;
  int iVar8;
  uint uStack_24;
  
  uVar1 = u->_mp_size;
  uVar7 = cnt >> 5;
  uVar3 = (int)uVar1 >> 0x1f;
  iVar8 = ((uVar3 ^ uVar1) - uVar3) - uVar7;
  if (iVar8 < 1) {
    *w->_mp_d = 1;
    w->_mp_size = uVar3;
    return;
  }
  if (iVar8 < w->_mp_alloc) {
    pmVar5 = w->_mp_d;
  }
  else {
    pmVar5 = (mp_limb_t *)__gmpz_realloc(w,iVar8 + 1);
  }
  pmVar2 = u->_mp_d;
  if ((int)uVar1 < 0) {
    if (uVar7 == 0) {
      mVar4 = 0;
    }
    else {
      iVar6 = 0;
      do {
        mVar4 = pmVar2[iVar6];
        iVar6 = iVar6 + 1;
        if ((int)uVar7 <= iVar6) break;
      } while (mVar4 == 0);
    }
    uStack_24 = 0xffffffff;
    if ((cnt & 0x1f) != 0) goto LAB_00025b40;
LAB_00025aa7:
    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(pmVar5,pmVar2 + uVar7,iVar8);
    if (mVar4 == 0) goto LAB_00025b8b;
  }
  else {
    mVar4 = 0;
    uStack_24 = 0;
    if ((cnt & 0x1f) == 0) goto LAB_00025aa7;
LAB_00025b40:
    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)
    ;
    iVar8 = iVar8 - (uint)(pmVar5[iVar8 + -1] == 0);
    if ((uVar3 & uStack_24) == 0 && mVar4 == 0) goto LAB_00025b8b;
    if (iVar8 == 0) {
      *pmVar5 = 1;
      iVar8 = 1;
      goto LAB_00025b8b;
    }
  }
  *pmVar5 = *pmVar5 + 1;
  if (*pmVar5 == 0) {
    if (iVar8 != 1) {
      pmVar2 = pmVar5 + 1;
      *pmVar2 = *pmVar2 + 1;
      if (*pmVar2 == 0) {
        if (iVar8 == 2) goto LAB_00025b18;
        pmVar2 = pmVar5 + 2;
        *pmVar2 = *pmVar2 + 1;
        if (*pmVar2 == 0) {
          iVar6 = 3;
          do {
            if (iVar8 == iVar6) goto LAB_00025b18;
            mVar4 = pmVar5[iVar6];
            pmVar5[iVar6] = mVar4 + 1;
            iVar6 = iVar6 + 1;
          } while (mVar4 + 1 == 0);
        }
      }
      goto LAB_00025bc8;
    }
LAB_00025b18:
    mVar4 = 1;
  }
  else {
LAB_00025bc8:
    mVar4 = 0;
  }
  pmVar5[iVar8] = mVar4;
  iVar8 = iVar8 + mVar4;
LAB_00025b8b:
  if ((int)uVar1 < 0) {
    iVar8 = -iVar8;
  }
  w->_mp_size = iVar8;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Switch with 1 destination removed at 0x0001b6d0 */

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

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int *piVar5;
  int iVar6;
  int iVar7;
  uint uVar8;
  int iVar9;
  uint uStack_24;
  
  uVar2 = *(uint *)(param_2 + 4);
  uVar8 = param_3 >> 5;
  uVar3 = (int)uVar2 >> 0x1f;
  iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;
  if (iVar9 < 1) {
    *(undefined4 *)param_1[2] = 1;
    param_1[1] = uVar3;
    return;
  }
  if (iVar9 < *param_1) {
    piVar5 = (int *)param_1[2];
  }
  else {
    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);
  }
  iVar4 = *(int *)(param_2 + 8);
  if ((int)uVar2 < 0) {
    if (uVar8 == 0) {
      iVar7 = 0;
    }
    else {
      iVar6 = 0;
      do {
        iVar7 = *(int *)(iVar4 + iVar6 * 4);
        iVar6 = iVar6 + 1;
        if ((int)uVar8 <= iVar6) break;
      } while (iVar7 == 0);
    }
    iVar4 = iVar4 + uVar8 * 4;
    uStack_24 = 0xffffffff;
    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;
LAB_00025aa7:
    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);
    if (iVar7 == 0) goto LAB_00025b8b;
  }
  else {
    iVar4 = iVar4 + uVar8 * 4;
    iVar7 = 0;
    uStack_24 = 0;
    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;
LAB_00025b40:
    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);
    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);
    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;
    if (iVar9 == 0) {
      *piVar5 = 1;
      iVar9 = 1;
      goto LAB_00025b8b;
    }
  }
  *piVar5 = *piVar5 + 1;
  if (*piVar5 == 0) {
    if (iVar9 != 1) {
      piVar1 = piVar5 + 1;
      *piVar1 = *piVar1 + 1;
      if (*piVar1 == 0) {
        if (iVar9 == 2) goto LAB_00025b18;
        piVar1 = piVar5 + 2;
        *piVar1 = *piVar1 + 1;
        if (*piVar1 == 0) {
          iVar4 = 3;
          do {
            if (iVar9 == iVar4) goto LAB_00025b18;
            iVar7 = piVar5[iVar4];
            piVar5[iVar4] = iVar7 + 1;
            iVar4 = iVar4 + 1;
          } while (iVar7 + 1 == 0);
        }
      }
      goto LAB_00025bc8;
    }
LAB_00025b18:
    iVar4 = 1;
  }
  else {
LAB_00025bc8:
    iVar4 = 0;
  }
  piVar5[iVar9] = iVar4;
  iVar9 = iVar9 + iVar4;
LAB_00025b8b:
  if ((int)uVar2 < 0) {
    iVar9 = -iVar9;
  }
  param_1[1] = iVar9;
  return;
}


JMP dword ptr [EBX + 0x1b0]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Switch with 1 destination removed at 0x0001b6d0 */\n\nvoid __gmpz_fdiv_q_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  uint uStack_24;\n  \n  uVar2 = *(uint *)(param_2 + 4);\n  uVar8 = param_3 >> 5;\n  uVar3 = (int)uVar2 >> 0x1f;\n  iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;\n  if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }\n  if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }\n  iVar4 = *(int *)(param_2 + 8);\n  if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *piVar5 = *piVar5 + 1;\n  if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }\n  piVar5[iVar9] = iVar4;\n  iVar9 = iVar9 + iVar4;\nLAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }\n  param_1[1] = iVar9;\n  return;\n}\n\n" comment comment (function_definition "void __gmpz_fdiv_q_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  uint uStack_24;\n  \n  uVar2 = *(uint *)(param_2 + 4);\n  uVar8 = param_3 >> 5;\n  uVar3 = (int)uVar2 >> 0x1f;\n  iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;\n  if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }\n  if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }\n  iVar4 = *(int *)(param_2 + 8);\n  if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *piVar5 = *piVar5 + 1;\n  if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }\n  piVar5[iVar9] = iVar4;\n  iVar9 = iVar9 + iVar4;\nLAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }\n  param_1[1] = iVar9;\n  return;\n}" primitive_type (function_declarator "__gmpz_fdiv_q_2exp(int *param_1,int param_2,uint param_3)" identifier (parameter_list "(int *param_1,int param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  uint uStack_24;\n  \n  uVar2 = *(uint *)(param_2 + 4);\n  uVar8 = param_3 >> 5;\n  uVar3 = (int)uVar2 >> 0x1f;\n  iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;\n  if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }\n  if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }\n  iVar4 = *(int *)(param_2 + 8);\n  if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *piVar5 = *piVar5 + 1;\n  if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }\n  piVar5[iVar9] = iVar4;\n  iVar9 = iVar9 + iVar4;\nLAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }\n  param_1[1] = iVar9;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uStack_24;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_2 + 4);" (assignment_expression "uVar2 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = param_3 >> 5;" (assignment_expression "uVar8 = param_3 >> 5" identifier = (binary_expression "param_3 >> 5" identifier >> number_literal)) ;) (expression_statement "uVar3 = (int)uVar2 >> 0x1f;" (assignment_expression "uVar3 = (int)uVar2 >> 0x1f" identifier = (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;" (assignment_expression "iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8" identifier = (binary_expression "((uVar3 ^ uVar2) - uVar3) - uVar8" (parenthesized_expression "((uVar3 ^ uVar2) - uVar3)" ( (binary_expression "(uVar3 ^ uVar2) - uVar3" (parenthesized_expression "(uVar3 ^ uVar2)" ( (binary_expression "uVar3 ^ uVar2" identifier ^ identifier) )) - identifier) )) - identifier)) ;) (if_statement "if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }" if (parenthesized_expression "(iVar9 < 1)" ( (binary_expression "iVar9 < 1" identifier < number_literal) )) (compound_statement "{\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }" { (expression_statement "*(undefined4 *)param_1[2] = 1;" (assignment_expression "*(undefined4 *)param_1[2] = 1" (pointer_expression "*(undefined4 *)param_1[2]" * (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) = number_literal) ;) (expression_statement "param_1[1] = uVar3;" (assignment_expression "param_1[1] = uVar3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }" if (parenthesized_expression "(iVar9 < *param_1)" ( (binary_expression "iVar9 < *param_1" identifier < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    piVar5 = (int *)param_1[2];\n  }" { (expression_statement "piVar5 = (int *)param_1[2];" (assignment_expression "piVar5 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) }) (else_clause "else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }" else (compound_statement "{\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }" { (expression_statement "piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);" (assignment_expression "piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1)" identifier = (cast_expression "(int *)__gmpz_realloc(param_1,iVar9 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__gmpz_realloc(param_1,iVar9 + 1)" identifier (argument_list "(param_1,iVar9 + 1)" ( identifier , (binary_expression "iVar9 + 1" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar4 = *(int *)(param_2 + 8);" (assignment_expression "iVar4 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }" { (if_statement "if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar7 = 0;\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }" else (compound_statement "{\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);" do (compound_statement "{\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      }" { (expression_statement "iVar7 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar7 = *(int *)(iVar4 + iVar6 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" * (cast_expression "(int *)(iVar4 + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar6 * 4)" ( (binary_expression "iVar4 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if ((int)uVar8 <= iVar6) break;" if (parenthesized_expression "((int)uVar8 <= iVar6)" ( (binary_expression "(int)uVar8 <= iVar6" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) ;) }))) (expression_statement "iVar4 = iVar4 + uVar8 * 4;" (assignment_expression "iVar4 = iVar4 + uVar8 * 4" identifier = (binary_expression "iVar4 + uVar8 * 4" identifier + (binary_expression "uVar8 * 4" identifier * number_literal))) ;) (expression_statement "uStack_24 = 0xffffffff;" (assignment_expression "uStack_24 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((param_3 & 0x1f) != 0) goto LAB_00025b40;" if (parenthesized_expression "((param_3 & 0x1f) != 0)" ( (binary_expression "(param_3 & 0x1f) != 0" (parenthesized_expression "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00025b40;" goto statement_identifier ;)) (labeled_statement "LAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);" statement_identifier : (expression_statement "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);" (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x28" identifier + number_literal) ))))) )) (argument_list "(piVar5,iVar4,iVar9)" ( identifier , identifier , identifier ))) ;)) (if_statement "if (iVar7 == 0) goto LAB_00025b8b;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b8b;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }" else (compound_statement "{\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }" { (expression_statement "iVar4 = iVar4 + uVar8 * 4;" (assignment_expression "iVar4 = iVar4 + uVar8 * 4" identifier = (binary_expression "iVar4 + uVar8 * 4" identifier + (binary_expression "uVar8 * 4" identifier * number_literal))) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "uStack_24 = 0;" (assignment_expression "uStack_24 = 0" identifier = number_literal) ;) (if_statement "if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;" if (parenthesized_expression "((param_3 & 0x1f) == 0)" ( (binary_expression "(param_3 & 0x1f) == 0" (parenthesized_expression "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00025aa7;" goto statement_identifier ;)) (labeled_statement "LAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);" statement_identifier : (expression_statement "uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);" (assignment_expression "uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f)" identifier = (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x80)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x80" identifier + number_literal) ))))) )) (argument_list "(piVar5,iVar4,iVar9,param_3 & 0x1f)" ( identifier , identifier , identifier , (binary_expression "param_3 & 0x1f" identifier & number_literal) )))) ;)) (expression_statement "iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);" (assignment_expression "iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0)" identifier = (binary_expression "iVar9 - (uint)(piVar5[iVar9 + -1] == 0)" identifier - (call_expression "(uint)(piVar5[iVar9 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(piVar5[iVar9 + -1] == 0)" ( (binary_expression "piVar5[iVar9 + -1] == 0" (subscript_expression "piVar5[iVar9 + -1]" identifier [ (binary_expression "iVar9 + -1" identifier + number_literal) ]) == number_literal) ))))) ;) (if_statement "if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;" if (parenthesized_expression "((uVar3 & uStack_24) == 0 && iVar7 == 0)" ( (binary_expression "(uVar3 & uStack_24) == 0 && iVar7 == 0" (binary_expression "(uVar3 & uStack_24) == 0" (parenthesized_expression "(uVar3 & uStack_24)" ( (binary_expression "uVar3 & uStack_24" identifier & identifier) )) == number_literal) && (binary_expression "iVar7 == 0" identifier == number_literal)) )) (goto_statement "goto LAB_00025b8b;" goto statement_identifier ;)) (if_statement "if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }" { (expression_statement "*piVar5 = 1;" (assignment_expression "*piVar5 = 1" (pointer_expression "*piVar5" * identifier) = number_literal) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00025b8b;" goto statement_identifier ;) })) }))) (expression_statement "*piVar5 = *piVar5 + 1;" (assignment_expression "*piVar5 = *piVar5 + 1" (pointer_expression "*piVar5" * identifier) = (binary_expression "*piVar5 + 1" (pointer_expression "*piVar5" * identifier) + number_literal)) ;) (if_statement "if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }" if (parenthesized_expression "(*piVar5 == 0)" ( (binary_expression "*piVar5 == 0" (pointer_expression "*piVar5" * identifier) == number_literal) )) (compound_statement "{\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }" { (if_statement "if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }" if (parenthesized_expression "(iVar9 != 1)" ( (binary_expression "iVar9 != 1" identifier != number_literal) )) (compound_statement "{\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }" { (expression_statement "piVar1 = piVar5 + 1;" (assignment_expression "piVar1 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) (expression_statement "*piVar1 = *piVar1 + 1;" (assignment_expression "*piVar1 = *piVar1 + 1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (if_statement "if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }" { (if_statement "if (iVar9 == 2) goto LAB_00025b18;" if (parenthesized_expression "(iVar9 == 2)" ( (binary_expression "iVar9 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00025b18;" goto statement_identifier ;)) (expression_statement "piVar1 = piVar5 + 2;" (assignment_expression "piVar1 = piVar5 + 2" identifier = (binary_expression "piVar5 + 2" identifier + number_literal)) ;) (expression_statement "*piVar1 = *piVar1 + 1;" (assignment_expression "*piVar1 = *piVar1 + 1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (if_statement "if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }" { (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (do_statement "do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);" do (compound_statement "{\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          }" { (if_statement "if (iVar9 == iVar4) goto LAB_00025b18;" if (parenthesized_expression "(iVar9 == iVar4)" ( (binary_expression "iVar9 == iVar4" identifier == identifier) )) (goto_statement "goto LAB_00025b18;" goto statement_identifier ;)) (expression_statement "iVar7 = piVar5[iVar4];" (assignment_expression "iVar7 = piVar5[iVar4]" identifier = (subscript_expression "piVar5[iVar4]" identifier [ identifier ])) ;) (expression_statement "piVar5[iVar4] = iVar7 + 1;" (assignment_expression "piVar5[iVar4] = iVar7 + 1" (subscript_expression "piVar5[iVar4]" identifier [ identifier ]) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 + 1 == 0)" ( (binary_expression "iVar7 + 1 == 0" (binary_expression "iVar7 + 1" identifier + number_literal) == number_literal) )) ;) })) })) (goto_statement "goto LAB_00025bc8;" goto statement_identifier ;) })) (labeled_statement "LAB_00025b18:\n    iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) }) (else_clause "else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }" else (compound_statement "{\nLAB_00025bc8:\n    iVar4 = 0;\n  }" { (labeled_statement "LAB_00025bc8:\n    iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) }))) (expression_statement "piVar5[iVar9] = iVar4;" (assignment_expression "piVar5[iVar9] = iVar4" (subscript_expression "piVar5[iVar9]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar9 = iVar9 + iVar4;" (assignment_expression "iVar9 = iVar9 + iVar4" identifier = (binary_expression "iVar9 + iVar4" identifier + identifier)) ;) (labeled_statement "LAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }" statement_identifier : (if_statement "if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar9 = -iVar9;\n  }" { (expression_statement "iVar9 = -iVar9;" (assignment_expression "iVar9 = -iVar9" identifier = (unary_expression "-iVar9" - identifier)) ;) }))) (expression_statement "param_1[1] = iVar9;" (assignment_expression "param_1[1] = iVar9" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Switch with 1 destination removed at 0x0001b6d0 */\n\nvoid __gmpz_fdiv_q_2exp(mpz_ptr w,mpz_srcptr u,mp_bitcnt_t cnt)\n\n{\n  uint uVar1;\n  mp_limb_t *pmVar2;\n  uint uVar3;\n  mp_limb_t mVar4;\n  mp_limb_t *pmVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint uStack_24;\n  \n  uVar1 = u->_mp_size;\n  uVar7 = cnt >> 5;\n  uVar3 = (int)uVar1 >> 0x1f;\n  iVar8 = ((uVar3 ^ uVar1) - uVar3) - uVar7;\n  if (iVar8 < 1) {\n    *w->_mp_d = 1;\n    w->_mp_size = uVar3;\n    return;\n  }\n  if (iVar8 < w->_mp_alloc) {\n    pmVar5 = w->_mp_d;\n  }\n  else {\n    pmVar5 = (mp_limb_t *)__gmpz_realloc(w,iVar8 + 1);\n  }\n  pmVar2 = u->_mp_d;\n  if ((int)uVar1 < 0) {\n    if (uVar7 == 0) {\n      mVar4 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        mVar4 = pmVar2[iVar6];\n        iVar6 = iVar6 + 1;\n        if ((int)uVar7 <= iVar6) break;\n      } while (mVar4 == 0);\n    }\n    uStack_24 = 0xffffffff;\n    if ((cnt & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(pmVar5,pmVar2 + uVar7,iVar8);\n    if (mVar4 == 0) goto LAB_00025b8b;\n  }\n  else {\n    mVar4 = 0;\n    uStack_24 = 0;\n    if ((cnt & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)\n    ;\n    iVar8 = iVar8 - (uint)(pmVar5[iVar8 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && mVar4 == 0) goto LAB_00025b8b;\n    if (iVar8 == 0) {\n      *pmVar5 = 1;\n      iVar8 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *pmVar5 = *pmVar5 + 1;\n  if (*pmVar5 == 0) {\n    if (iVar8 != 1) {\n      pmVar2 = pmVar5 + 1;\n      *pmVar2 = *pmVar2 + 1;\n      if (*pmVar2 == 0) {\n        if (iVar8 == 2) goto LAB_00025b18;\n        pmVar2 = pmVar5 + 2;\n        *pmVar2 = *pmVar2 + 1;\n        if (*pmVar2 == 0) {\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    mVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    mVar4 = 0;\n  }\n  pmVar5[iVar8] = mVar4;\n  iVar8 = iVar8 + mVar4;\nLAB_00025b8b:\n  if ((int)uVar1 < 0) {\n    iVar8 = -iVar8;\n  }\n  w->_mp_size = iVar8;\n  return;\n}\n\n" comment comment (function_definition "void __gmpz_fdiv_q_2exp(mpz_ptr w,mpz_srcptr u,mp_bitcnt_t cnt)\n\n{\n  uint uVar1;\n  mp_limb_t *pmVar2;\n  uint uVar3;\n  mp_limb_t mVar4;\n  mp_limb_t *pmVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint uStack_24;\n  \n  uVar1 = u->_mp_size;\n  uVar7 = cnt >> 5;\n  uVar3 = (int)uVar1 >> 0x1f;\n  iVar8 = ((uVar3 ^ uVar1) - uVar3) - uVar7;\n  if (iVar8 < 1) {\n    *w->_mp_d = 1;\n    w->_mp_size = uVar3;\n    return;\n  }\n  if (iVar8 < w->_mp_alloc) {\n    pmVar5 = w->_mp_d;\n  }\n  else {\n    pmVar5 = (mp_limb_t *)__gmpz_realloc(w,iVar8 + 1);\n  }\n  pmVar2 = u->_mp_d;\n  if ((int)uVar1 < 0) {\n    if (uVar7 == 0) {\n      mVar4 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        mVar4 = pmVar2[iVar6];\n        iVar6 = iVar6 + 1;\n        if ((int)uVar7 <= iVar6) break;\n      } while (mVar4 == 0);\n    }\n    uStack_24 = 0xffffffff;\n    if ((cnt & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(pmVar5,pmVar2 + uVar7,iVar8);\n    if (mVar4 == 0) goto LAB_00025b8b;\n  }\n  else {\n    mVar4 = 0;\n    uStack_24 = 0;\n    if ((cnt & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)\n    ;\n    iVar8 = iVar8 - (uint)(pmVar5[iVar8 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && mVar4 == 0) goto LAB_00025b8b;\n    if (iVar8 == 0) {\n      *pmVar5 = 1;\n      iVar8 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *pmVar5 = *pmVar5 + 1;\n  if (*pmVar5 == 0) {\n    if (iVar8 != 1) {\n      pmVar2 = pmVar5 + 1;\n      *pmVar2 = *pmVar2 + 1;\n      if (*pmVar2 == 0) {\n        if (iVar8 == 2) goto LAB_00025b18;\n        pmVar2 = pmVar5 + 2;\n        *pmVar2 = *pmVar2 + 1;\n        if (*pmVar2 == 0) {\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    mVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    mVar4 = 0;\n  }\n  pmVar5[iVar8] = mVar4;\n  iVar8 = iVar8 + mVar4;\nLAB_00025b8b:\n  if ((int)uVar1 < 0) {\n    iVar8 = -iVar8;\n  }\n  w->_mp_size = iVar8;\n  return;\n}" primitive_type (function_declarator "__gmpz_fdiv_q_2exp(mpz_ptr w,mpz_srcptr u,mp_bitcnt_t cnt)" identifier (parameter_list "(mpz_ptr w,mpz_srcptr u,mp_bitcnt_t cnt)" ( (parameter_declaration "mpz_ptr w" type_identifier identifier) , (parameter_declaration "mpz_srcptr u" type_identifier identifier) , (parameter_declaration "mp_bitcnt_t cnt" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  mp_limb_t *pmVar2;\n  uint uVar3;\n  mp_limb_t mVar4;\n  mp_limb_t *pmVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint uStack_24;\n  \n  uVar1 = u->_mp_size;\n  uVar7 = cnt >> 5;\n  uVar3 = (int)uVar1 >> 0x1f;\n  iVar8 = ((uVar3 ^ uVar1) - uVar3) - uVar7;\n  if (iVar8 < 1) {\n    *w->_mp_d = 1;\n    w->_mp_size = uVar3;\n    return;\n  }\n  if (iVar8 < w->_mp_alloc) {\n    pmVar5 = w->_mp_d;\n  }\n  else {\n    pmVar5 = (mp_limb_t *)__gmpz_realloc(w,iVar8 + 1);\n  }\n  pmVar2 = u->_mp_d;\n  if ((int)uVar1 < 0) {\n    if (uVar7 == 0) {\n      mVar4 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        mVar4 = pmVar2[iVar6];\n        iVar6 = iVar6 + 1;\n        if ((int)uVar7 <= iVar6) break;\n      } while (mVar4 == 0);\n    }\n    uStack_24 = 0xffffffff;\n    if ((cnt & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(pmVar5,pmVar2 + uVar7,iVar8);\n    if (mVar4 == 0) goto LAB_00025b8b;\n  }\n  else {\n    mVar4 = 0;\n    uStack_24 = 0;\n    if ((cnt & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)\n    ;\n    iVar8 = iVar8 - (uint)(pmVar5[iVar8 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && mVar4 == 0) goto LAB_00025b8b;\n    if (iVar8 == 0) {\n      *pmVar5 = 1;\n      iVar8 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *pmVar5 = *pmVar5 + 1;\n  if (*pmVar5 == 0) {\n    if (iVar8 != 1) {\n      pmVar2 = pmVar5 + 1;\n      *pmVar2 = *pmVar2 + 1;\n      if (*pmVar2 == 0) {\n        if (iVar8 == 2) goto LAB_00025b18;\n        pmVar2 = pmVar5 + 2;\n        *pmVar2 = *pmVar2 + 1;\n        if (*pmVar2 == 0) {\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    mVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    mVar4 = 0;\n  }\n  pmVar5[iVar8] = mVar4;\n  iVar8 = iVar8 + mVar4;\nLAB_00025b8b:\n  if ((int)uVar1 < 0) {\n    iVar8 = -iVar8;\n  }\n  w->_mp_size = iVar8;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "mp_limb_t *pmVar2;" type_identifier (pointer_declarator "*pmVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "mp_limb_t mVar4;" type_identifier identifier ;) (declaration "mp_limb_t *pmVar5;" type_identifier (pointer_declarator "*pmVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uStack_24;" type_identifier identifier ;) (expression_statement "uVar1 = u->_mp_size;" (assignment_expression "uVar1 = u->_mp_size" identifier = (field_expression "u->_mp_size" identifier -> field_identifier)) ;) (expression_statement "uVar7 = cnt >> 5;" (assignment_expression "uVar7 = cnt >> 5" identifier = (binary_expression "cnt >> 5" identifier >> number_literal)) ;) (expression_statement "uVar3 = (int)uVar1 >> 0x1f;" (assignment_expression "uVar3 = (int)uVar1 >> 0x1f" identifier = (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "iVar8 = ((uVar3 ^ uVar1) - uVar3) - uVar7;" (assignment_expression "iVar8 = ((uVar3 ^ uVar1) - uVar3) - uVar7" identifier = (binary_expression "((uVar3 ^ uVar1) - uVar3) - uVar7" (parenthesized_expression "((uVar3 ^ uVar1) - uVar3)" ( (binary_expression "(uVar3 ^ uVar1) - uVar3" (parenthesized_expression "(uVar3 ^ uVar1)" ( (binary_expression "uVar3 ^ uVar1" identifier ^ identifier) )) - identifier) )) - identifier)) ;) (if_statement "if (iVar8 < 1) {\n    *w->_mp_d = 1;\n    w->_mp_size = uVar3;\n    return;\n  }" if (parenthesized_expression "(iVar8 < 1)" ( (binary_expression "iVar8 < 1" identifier < number_literal) )) (compound_statement "{\n    *w->_mp_d = 1;\n    w->_mp_size = uVar3;\n    return;\n  }" { (expression_statement "*w->_mp_d = 1;" (assignment_expression "*w->_mp_d = 1" (pointer_expression "*w->_mp_d" * (field_expression "w->_mp_d" identifier -> field_identifier)) = number_literal) ;) (expression_statement "w->_mp_size = uVar3;" (assignment_expression "w->_mp_size = uVar3" (field_expression "w->_mp_size" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar8 < w->_mp_alloc) {\n    pmVar5 = w->_mp_d;\n  }\n  else {\n    pmVar5 = (mp_limb_t *)__gmpz_realloc(w,iVar8 + 1);\n  }" if (parenthesized_expression "(iVar8 < w->_mp_alloc)" ( (binary_expression "iVar8 < w->_mp_alloc" identifier < (field_expression "w->_mp_alloc" identifier -> field_identifier)) )) (compound_statement "{\n    pmVar5 = w->_mp_d;\n  }" { (expression_statement "pmVar5 = w->_mp_d;" (assignment_expression "pmVar5 = w->_mp_d" identifier = (field_expression "w->_mp_d" identifier -> field_identifier)) ;) }) (else_clause "else {\n    pmVar5 = (mp_limb_t *)__gmpz_realloc(w,iVar8 + 1);\n  }" else (compound_statement "{\n    pmVar5 = (mp_limb_t *)__gmpz_realloc(w,iVar8 + 1);\n  }" { (expression_statement "pmVar5 = (mp_limb_t *)__gmpz_realloc(w,iVar8 + 1);" (assignment_expression "pmVar5 = (mp_limb_t *)__gmpz_realloc(w,iVar8 + 1)" identifier = (cast_expression "(mp_limb_t *)__gmpz_realloc(w,iVar8 + 1)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmpz_realloc(w,iVar8 + 1)" identifier (argument_list "(w,iVar8 + 1)" ( identifier , (binary_expression "iVar8 + 1" identifier + number_literal) ))))) ;) }))) (expression_statement "pmVar2 = u->_mp_d;" (assignment_expression "pmVar2 = u->_mp_d" identifier = (field_expression "u->_mp_d" identifier -> field_identifier)) ;) (if_statement "if ((int)uVar1 < 0) {\n    if (uVar7 == 0) {\n      mVar4 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        mVar4 = pmVar2[iVar6];\n        iVar6 = iVar6 + 1;\n        if ((int)uVar7 <= iVar6) break;\n      } while (mVar4 == 0);\n    }\n    uStack_24 = 0xffffffff;\n    if ((cnt & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(pmVar5,pmVar2 + uVar7,iVar8);\n    if (mVar4 == 0) goto LAB_00025b8b;\n  }\n  else {\n    mVar4 = 0;\n    uStack_24 = 0;\n    if ((cnt & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)\n    ;\n    iVar8 = iVar8 - (uint)(pmVar5[iVar8 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && mVar4 == 0) goto LAB_00025b8b;\n    if (iVar8 == 0) {\n      *pmVar5 = 1;\n      iVar8 = 1;\n      goto LAB_00025b8b;\n    }\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uVar7 == 0) {\n      mVar4 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        mVar4 = pmVar2[iVar6];\n        iVar6 = iVar6 + 1;\n        if ((int)uVar7 <= iVar6) break;\n      } while (mVar4 == 0);\n    }\n    uStack_24 = 0xffffffff;\n    if ((cnt & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(pmVar5,pmVar2 + uVar7,iVar8);\n    if (mVar4 == 0) goto LAB_00025b8b;\n  }" { (if_statement "if (uVar7 == 0) {\n      mVar4 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        mVar4 = pmVar2[iVar6];\n        iVar6 = iVar6 + 1;\n        if ((int)uVar7 <= iVar6) break;\n      } while (mVar4 == 0);\n    }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      mVar4 = 0;\n    }" { (expression_statement "mVar4 = 0;" (assignment_expression "mVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar6 = 0;\n      do {\n        mVar4 = pmVar2[iVar6];\n        iVar6 = iVar6 + 1;\n        if ((int)uVar7 <= iVar6) break;\n      } while (mVar4 == 0);\n    }" else (compound_statement "{\n      iVar6 = 0;\n      do {\n        mVar4 = pmVar2[iVar6];\n        iVar6 = iVar6 + 1;\n        if ((int)uVar7 <= iVar6) break;\n      } while (mVar4 == 0);\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n        mVar4 = pmVar2[iVar6];\n        iVar6 = iVar6 + 1;\n        if ((int)uVar7 <= iVar6) break;\n      } while (mVar4 == 0);" do (compound_statement "{\n        mVar4 = pmVar2[iVar6];\n        iVar6 = iVar6 + 1;\n        if ((int)uVar7 <= iVar6) break;\n      }" { (expression_statement "mVar4 = pmVar2[iVar6];" (assignment_expression "mVar4 = pmVar2[iVar6]" identifier = (subscript_expression "pmVar2[iVar6]" identifier [ identifier ])) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if ((int)uVar7 <= iVar6) break;" if (parenthesized_expression "((int)uVar7 <= iVar6)" ( (binary_expression "(int)uVar7 <= iVar6" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(mVar4 == 0)" ( (binary_expression "mVar4 == 0" identifier == number_literal) )) ;) }))) (expression_statement "uStack_24 = 0xffffffff;" (assignment_expression "uStack_24 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((cnt & 0x1f) != 0) goto LAB_00025b40;" if (parenthesized_expression "((cnt & 0x1f) != 0)" ( (binary_expression "(cnt & 0x1f) != 0" (parenthesized_expression "(cnt & 0x1f)" ( (binary_expression "cnt & 0x1f" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00025b40;" goto statement_identifier ;)) (labeled_statement "LAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(pmVar5,pmVar2 + uVar7,iVar8);" statement_identifier : (expression_statement "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(pmVar5,pmVar2 + uVar7,iVar8);" (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(pmVar5,pmVar2 + uVar7,iVar8)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x28" identifier + number_literal) ))))) )) (argument_list "(pmVar5,pmVar2 + uVar7,iVar8)" ( identifier , (binary_expression "pmVar2 + uVar7" identifier + identifier) , identifier ))) ;)) (if_statement "if (mVar4 == 0) goto LAB_00025b8b;" if (parenthesized_expression "(mVar4 == 0)" ( (binary_expression "mVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b8b;" goto statement_identifier ;)) }) (else_clause "else {\n    mVar4 = 0;\n    uStack_24 = 0;\n    if ((cnt & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)\n    ;\n    iVar8 = iVar8 - (uint)(pmVar5[iVar8 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && mVar4 == 0) goto LAB_00025b8b;\n    if (iVar8 == 0) {\n      *pmVar5 = 1;\n      iVar8 = 1;\n      goto LAB_00025b8b;\n    }\n  }" else (compound_statement "{\n    mVar4 = 0;\n    uStack_24 = 0;\n    if ((cnt & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)\n    ;\n    iVar8 = iVar8 - (uint)(pmVar5[iVar8 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && mVar4 == 0) goto LAB_00025b8b;\n    if (iVar8 == 0) {\n      *pmVar5 = 1;\n      iVar8 = 1;\n      goto LAB_00025b8b;\n    }\n  }" { (expression_statement "mVar4 = 0;" (assignment_expression "mVar4 = 0" identifier = number_literal) ;) (expression_statement "uStack_24 = 0;" (assignment_expression "uStack_24 = 0" identifier = number_literal) ;) (if_statement "if ((cnt & 0x1f) == 0) goto LAB_00025aa7;" if (parenthesized_expression "((cnt & 0x1f) == 0)" ( (binary_expression "(cnt & 0x1f) == 0" (parenthesized_expression "(cnt & 0x1f)" ( (binary_expression "cnt & 0x1f" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00025aa7;" goto statement_identifier ;)) (labeled_statement "LAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)\n    ;" statement_identifier : (expression_statement "uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)\n    ;" (assignment_expression "uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)" identifier = (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x80)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x80" identifier + number_literal) ))))) )) (argument_list "(pmVar5,pmVar2 + uVar7,iVar8,cnt & 0x1f)" ( identifier , (binary_expression "pmVar2 + uVar7" identifier + identifier) , identifier , (binary_expression "cnt & 0x1f" identifier & number_literal) )))) ;)) (expression_statement "iVar8 = iVar8 - (uint)(pmVar5[iVar8 + -1] == 0);" (assignment_expression "iVar8 = iVar8 - (uint)(pmVar5[iVar8 + -1] == 0)" identifier = (binary_expression "iVar8 - (uint)(pmVar5[iVar8 + -1] == 0)" identifier - (call_expression "(uint)(pmVar5[iVar8 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pmVar5[iVar8 + -1] == 0)" ( (binary_expression "pmVar5[iVar8 + -1] == 0" (subscript_expression "pmVar5[iVar8 + -1]" identifier [ (binary_expression "iVar8 + -1" identifier + number_literal) ]) == number_literal) ))))) ;) (if_statement "if ((uVar3 & uStack_24) == 0 && mVar4 == 0) goto LAB_00025b8b;" if (parenthesized_expression "((uVar3 & uStack_24) == 0 && mVar4 == 0)" ( (binary_expression "(uVar3 & uStack_24) == 0 && mVar4 == 0" (binary_expression "(uVar3 & uStack_24) == 0" (parenthesized_expression "(uVar3 & uStack_24)" ( (binary_expression "uVar3 & uStack_24" identifier & identifier) )) == number_literal) && (binary_expression "mVar4 == 0" identifier == number_literal)) )) (goto_statement "goto LAB_00025b8b;" goto statement_identifier ;)) (if_statement "if (iVar8 == 0) {\n      *pmVar5 = 1;\n      iVar8 = 1;\n      goto LAB_00025b8b;\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      *pmVar5 = 1;\n      iVar8 = 1;\n      goto LAB_00025b8b;\n    }" { (expression_statement "*pmVar5 = 1;" (assignment_expression "*pmVar5 = 1" (pointer_expression "*pmVar5" * identifier) = number_literal) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00025b8b;" goto statement_identifier ;) })) }))) (expression_statement "*pmVar5 = *pmVar5 + 1;" (assignment_expression "*pmVar5 = *pmVar5 + 1" (pointer_expression "*pmVar5" * identifier) = (binary_expression "*pmVar5 + 1" (pointer_expression "*pmVar5" * identifier) + number_literal)) ;) (if_statement "if (*pmVar5 == 0) {\n    if (iVar8 != 1) {\n      pmVar2 = pmVar5 + 1;\n      *pmVar2 = *pmVar2 + 1;\n      if (*pmVar2 == 0) {\n        if (iVar8 == 2) goto LAB_00025b18;\n        pmVar2 = pmVar5 + 2;\n        *pmVar2 = *pmVar2 + 1;\n        if (*pmVar2 == 0) {\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    mVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    mVar4 = 0;\n  }" if (parenthesized_expression "(*pmVar5 == 0)" ( (binary_expression "*pmVar5 == 0" (pointer_expression "*pmVar5" * identifier) == number_literal) )) (compound_statement "{\n    if (iVar8 != 1) {\n      pmVar2 = pmVar5 + 1;\n      *pmVar2 = *pmVar2 + 1;\n      if (*pmVar2 == 0) {\n        if (iVar8 == 2) goto LAB_00025b18;\n        pmVar2 = pmVar5 + 2;\n        *pmVar2 = *pmVar2 + 1;\n        if (*pmVar2 == 0) {\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    mVar4 = 1;\n  }" { (if_statement "if (iVar8 != 1) {\n      pmVar2 = pmVar5 + 1;\n      *pmVar2 = *pmVar2 + 1;\n      if (*pmVar2 == 0) {\n        if (iVar8 == 2) goto LAB_00025b18;\n        pmVar2 = pmVar5 + 2;\n        *pmVar2 = *pmVar2 + 1;\n        if (*pmVar2 == 0) {\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }" if (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) )) (compound_statement "{\n      pmVar2 = pmVar5 + 1;\n      *pmVar2 = *pmVar2 + 1;\n      if (*pmVar2 == 0) {\n        if (iVar8 == 2) goto LAB_00025b18;\n        pmVar2 = pmVar5 + 2;\n        *pmVar2 = *pmVar2 + 1;\n        if (*pmVar2 == 0) {\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }" { (expression_statement "pmVar2 = pmVar5 + 1;" (assignment_expression "pmVar2 = pmVar5 + 1" identifier = (binary_expression "pmVar5 + 1" identifier + number_literal)) ;) (expression_statement "*pmVar2 = *pmVar2 + 1;" (assignment_expression "*pmVar2 = *pmVar2 + 1" (pointer_expression "*pmVar2" * identifier) = (binary_expression "*pmVar2 + 1" (pointer_expression "*pmVar2" * identifier) + number_literal)) ;) (if_statement "if (*pmVar2 == 0) {\n        if (iVar8 == 2) goto LAB_00025b18;\n        pmVar2 = pmVar5 + 2;\n        *pmVar2 = *pmVar2 + 1;\n        if (*pmVar2 == 0) {\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }\n      }" if (parenthesized_expression "(*pmVar2 == 0)" ( (binary_expression "*pmVar2 == 0" (pointer_expression "*pmVar2" * identifier) == number_literal) )) (compound_statement "{\n        if (iVar8 == 2) goto LAB_00025b18;\n        pmVar2 = pmVar5 + 2;\n        *pmVar2 = *pmVar2 + 1;\n        if (*pmVar2 == 0) {\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }\n      }" { (if_statement "if (iVar8 == 2) goto LAB_00025b18;" if (parenthesized_expression "(iVar8 == 2)" ( (binary_expression "iVar8 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00025b18;" goto statement_identifier ;)) (expression_statement "pmVar2 = pmVar5 + 2;" (assignment_expression "pmVar2 = pmVar5 + 2" identifier = (binary_expression "pmVar5 + 2" identifier + number_literal)) ;) (expression_statement "*pmVar2 = *pmVar2 + 1;" (assignment_expression "*pmVar2 = *pmVar2 + 1" (pointer_expression "*pmVar2" * identifier) = (binary_expression "*pmVar2 + 1" (pointer_expression "*pmVar2" * identifier) + number_literal)) ;) (if_statement "if (*pmVar2 == 0) {\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }" if (parenthesized_expression "(*pmVar2 == 0)" ( (binary_expression "*pmVar2 == 0" (pointer_expression "*pmVar2" * identifier) == number_literal) )) (compound_statement "{\n          iVar6 = 3;\n          do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);\n        }" { (expression_statement "iVar6 = 3;" (assignment_expression "iVar6 = 3" identifier = number_literal) ;) (do_statement "do {\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          } while (mVar4 + 1 == 0);" do (compound_statement "{\n            if (iVar8 == iVar6) goto LAB_00025b18;\n            mVar4 = pmVar5[iVar6];\n            pmVar5[iVar6] = mVar4 + 1;\n            iVar6 = iVar6 + 1;\n          }" { (if_statement "if (iVar8 == iVar6) goto LAB_00025b18;" if (parenthesized_expression "(iVar8 == iVar6)" ( (binary_expression "iVar8 == iVar6" identifier == identifier) )) (goto_statement "goto LAB_00025b18;" goto statement_identifier ;)) (expression_statement "mVar4 = pmVar5[iVar6];" (assignment_expression "mVar4 = pmVar5[iVar6]" identifier = (subscript_expression "pmVar5[iVar6]" identifier [ identifier ])) ;) (expression_statement "pmVar5[iVar6] = mVar4 + 1;" (assignment_expression "pmVar5[iVar6] = mVar4 + 1" (subscript_expression "pmVar5[iVar6]" identifier [ identifier ]) = (binary_expression "mVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar4 + 1 == 0)" ( (binary_expression "mVar4 + 1 == 0" (binary_expression "mVar4 + 1" identifier + number_literal) == number_literal) )) ;) })) })) (goto_statement "goto LAB_00025bc8;" goto statement_identifier ;) })) (labeled_statement "LAB_00025b18:\n    mVar4 = 1;" statement_identifier : (expression_statement "mVar4 = 1;" (assignment_expression "mVar4 = 1" identifier = number_literal) ;)) }) (else_clause "else {\nLAB_00025bc8:\n    mVar4 = 0;\n  }" else (compound_statement "{\nLAB_00025bc8:\n    mVar4 = 0;\n  }" { (labeled_statement "LAB_00025bc8:\n    mVar4 = 0;" statement_identifier : (expression_statement "mVar4 = 0;" (assignment_expression "mVar4 = 0" identifier = number_literal) ;)) }))) (expression_statement "pmVar5[iVar8] = mVar4;" (assignment_expression "pmVar5[iVar8] = mVar4" (subscript_expression "pmVar5[iVar8]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar8 = iVar8 + mVar4;" (assignment_expression "iVar8 = iVar8 + mVar4" identifier = (binary_expression "iVar8 + mVar4" identifier + identifier)) ;) (labeled_statement "LAB_00025b8b:\n  if ((int)uVar1 < 0) {\n    iVar8 = -iVar8;\n  }" statement_identifier : (if_statement "if ((int)uVar1 < 0) {\n    iVar8 = -iVar8;\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar8 = -iVar8;\n  }" { (expression_statement "iVar8 = -iVar8;" (assignment_expression "iVar8 = -iVar8" identifier = (unary_expression "-iVar8" - identifier)) ;) }))) (expression_statement "w->_mp_size = iVar8;" (assignment_expression "w->_mp_size = iVar8" (field_expression "w->_mp_size" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpz_fdiv_q_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  uint uStack_24;\n  \n  uVar2 = *(uint *)(param_2 + 4);\n  uVar8 = param_3 >> 5;\n  uVar3 = (int)uVar2 >> 0x1f;\n  iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;\n  if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }\n  if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }\n  iVar4 = *(int *)(param_2 + 8);\n  if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *piVar5 = *piVar5 + 1;\n  if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }\n  piVar5[iVar9] = iVar4;\n  iVar9 = iVar9 + iVar4;\nLAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }\n  param_1[1] = iVar9;\n  return;\n}\n\n" (function_definition "void __gmpz_fdiv_q_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  uint uStack_24;\n  \n  uVar2 = *(uint *)(param_2 + 4);\n  uVar8 = param_3 >> 5;\n  uVar3 = (int)uVar2 >> 0x1f;\n  iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;\n  if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }\n  if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }\n  iVar4 = *(int *)(param_2 + 8);\n  if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *piVar5 = *piVar5 + 1;\n  if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }\n  piVar5[iVar9] = iVar4;\n  iVar9 = iVar9 + iVar4;\nLAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }\n  param_1[1] = iVar9;\n  return;\n}" primitive_type (function_declarator "__gmpz_fdiv_q_2exp(int *param_1,int param_2,uint param_3)" identifier (parameter_list "(int *param_1,int param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  uint uStack_24;\n  \n  uVar2 = *(uint *)(param_2 + 4);\n  uVar8 = param_3 >> 5;\n  uVar3 = (int)uVar2 >> 0x1f;\n  iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;\n  if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }\n  if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }\n  iVar4 = *(int *)(param_2 + 8);\n  if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *piVar5 = *piVar5 + 1;\n  if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }\n  piVar5[iVar9] = iVar4;\n  iVar9 = iVar9 + iVar4;\nLAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }\n  param_1[1] = iVar9;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uStack_24;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_2 + 4);" (assignment_expression "uVar2 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = param_3 >> 5;" (assignment_expression "uVar8 = param_3 >> 5" identifier = (binary_expression "param_3 >> 5" identifier >> number_literal)) ;) (expression_statement "uVar3 = (int)uVar2 >> 0x1f;" (assignment_expression "uVar3 = (int)uVar2 >> 0x1f" identifier = (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;" (assignment_expression "iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8" identifier = (binary_expression "((uVar3 ^ uVar2) - uVar3) - uVar8" (parenthesized_expression "((uVar3 ^ uVar2) - uVar3)" ( (binary_expression "(uVar3 ^ uVar2) - uVar3" (parenthesized_expression "(uVar3 ^ uVar2)" ( (binary_expression "uVar3 ^ uVar2" identifier ^ identifier) )) - identifier) )) - identifier)) ;) (if_statement "if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }" if (parenthesized_expression "(iVar9 < 1)" ( (binary_expression "iVar9 < 1" identifier < number_literal) )) (compound_statement "{\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }" { (expression_statement "*(undefined4 *)param_1[2] = 1;" (assignment_expression "*(undefined4 *)param_1[2] = 1" (pointer_expression "*(undefined4 *)param_1[2]" * (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) = number_literal) ;) (expression_statement "param_1[1] = uVar3;" (assignment_expression "param_1[1] = uVar3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }" if (parenthesized_expression "(iVar9 < *param_1)" ( (binary_expression "iVar9 < *param_1" identifier < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    piVar5 = (int *)param_1[2];\n  }" { (expression_statement "piVar5 = (int *)param_1[2];" (assignment_expression "piVar5 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) }) (else_clause "else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }" else (compound_statement "{\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }" { (expression_statement "piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);" (assignment_expression "piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1)" identifier = (cast_expression "(int *)__gmpz_realloc(param_1,iVar9 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__gmpz_realloc(param_1,iVar9 + 1)" identifier (argument_list "(param_1,iVar9 + 1)" ( identifier , (binary_expression "iVar9 + 1" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar4 = *(int *)(param_2 + 8);" (assignment_expression "iVar4 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }" { (if_statement "if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar7 = 0;\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }" else (compound_statement "{\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);" do (compound_statement "{\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      }" { (expression_statement "iVar7 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar7 = *(int *)(iVar4 + iVar6 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" * (cast_expression "(int *)(iVar4 + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar6 * 4)" ( (binary_expression "iVar4 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if ((int)uVar8 <= iVar6) break;" if (parenthesized_expression "((int)uVar8 <= iVar6)" ( (binary_expression "(int)uVar8 <= iVar6" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) ;) }))) (expression_statement "iVar4 = iVar4 + uVar8 * 4;" (assignment_expression "iVar4 = iVar4 + uVar8 * 4" identifier = (binary_expression "iVar4 + uVar8 * 4" identifier + (binary_expression "uVar8 * 4" identifier * number_literal))) ;) (expression_statement "uStack_24 = 0xffffffff;" (assignment_expression "uStack_24 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((param_3 & 0x1f) != 0) goto LAB_00025b40;" if (parenthesized_expression "((param_3 & 0x1f) != 0)" ( (binary_expression "(param_3 & 0x1f) != 0" (parenthesized_expression "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00025b40;" goto statement_identifier ;)) (labeled_statement "LAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);" statement_identifier : (expression_statement "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);" (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x28" identifier + number_literal) ))))) )) (argument_list "(piVar5,iVar4,iVar9)" ( identifier , identifier , identifier ))) ;)) (if_statement "if (iVar7 == 0) goto LAB_00025b8b;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b8b;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }" else (compound_statement "{\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }" { (expression_statement "iVar4 = iVar4 + uVar8 * 4;" (assignment_expression "iVar4 = iVar4 + uVar8 * 4" identifier = (binary_expression "iVar4 + uVar8 * 4" identifier + (binary_expression "uVar8 * 4" identifier * number_literal))) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "uStack_24 = 0;" (assignment_expression "uStack_24 = 0" identifier = number_literal) ;) (if_statement "if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;" if (parenthesized_expression "((param_3 & 0x1f) == 0)" ( (binary_expression "(param_3 & 0x1f) == 0" (parenthesized_expression "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00025aa7;" goto statement_identifier ;)) (labeled_statement "LAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);" statement_identifier : (expression_statement "uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);" (assignment_expression "uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f)" identifier = (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x80)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x80" identifier + number_literal) ))))) )) (argument_list "(piVar5,iVar4,iVar9,param_3 & 0x1f)" ( identifier , identifier , identifier , (binary_expression "param_3 & 0x1f" identifier & number_literal) )))) ;)) (expression_statement "iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);" (assignment_expression "iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0)" identifier = (binary_expression "iVar9 - (uint)(piVar5[iVar9 + -1] == 0)" identifier - (call_expression "(uint)(piVar5[iVar9 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(piVar5[iVar9 + -1] == 0)" ( (binary_expression "piVar5[iVar9 + -1] == 0" (subscript_expression "piVar5[iVar9 + -1]" identifier [ (binary_expression "iVar9 + -1" identifier + number_literal) ]) == number_literal) ))))) ;) (if_statement "if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;" if (parenthesized_expression "((uVar3 & uStack_24) == 0 && iVar7 == 0)" ( (binary_expression "(uVar3 & uStack_24) == 0 && iVar7 == 0" (binary_expression "(uVar3 & uStack_24) == 0" (parenthesized_expression "(uVar3 & uStack_24)" ( (binary_expression "uVar3 & uStack_24" identifier & identifier) )) == number_literal) && (binary_expression "iVar7 == 0" identifier == number_literal)) )) (goto_statement "goto LAB_00025b8b;" goto statement_identifier ;)) (if_statement "if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }" { (expression_statement "*piVar5 = 1;" (assignment_expression "*piVar5 = 1" (pointer_expression "*piVar5" * identifier) = number_literal) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00025b8b;" goto statement_identifier ;) })) }))) (expression_statement "*piVar5 = *piVar5 + 1;" (assignment_expression "*piVar5 = *piVar5 + 1" (pointer_expression "*piVar5" * identifier) = (binary_expression "*piVar5 + 1" (pointer_expression "*piVar5" * identifier) + number_literal)) ;) (if_statement "if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }" if (parenthesized_expression "(*piVar5 == 0)" ( (binary_expression "*piVar5 == 0" (pointer_expression "*piVar5" * identifier) == number_literal) )) (compound_statement "{\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }" { (if_statement "if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }" if (parenthesized_expression "(iVar9 != 1)" ( (binary_expression "iVar9 != 1" identifier != number_literal) )) (compound_statement "{\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }" { (expression_statement "piVar1 = piVar5 + 1;" (assignment_expression "piVar1 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) (expression_statement "*piVar1 = *piVar1 + 1;" (assignment_expression "*piVar1 = *piVar1 + 1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (if_statement "if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }" { (if_statement "if (iVar9 == 2) goto LAB_00025b18;" if (parenthesized_expression "(iVar9 == 2)" ( (binary_expression "iVar9 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00025b18;" goto statement_identifier ;)) (expression_statement "piVar1 = piVar5 + 2;" (assignment_expression "piVar1 = piVar5 + 2" identifier = (binary_expression "piVar5 + 2" identifier + number_literal)) ;) (expression_statement "*piVar1 = *piVar1 + 1;" (assignment_expression "*piVar1 = *piVar1 + 1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (if_statement "if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }" { (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (do_statement "do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);" do (compound_statement "{\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          }" { (if_statement "if (iVar9 == iVar4) goto LAB_00025b18;" if (parenthesized_expression "(iVar9 == iVar4)" ( (binary_expression "iVar9 == iVar4" identifier == identifier) )) (goto_statement "goto LAB_00025b18;" goto statement_identifier ;)) (expression_statement "iVar7 = piVar5[iVar4];" (assignment_expression "iVar7 = piVar5[iVar4]" identifier = (subscript_expression "piVar5[iVar4]" identifier [ identifier ])) ;) (expression_statement "piVar5[iVar4] = iVar7 + 1;" (assignment_expression "piVar5[iVar4] = iVar7 + 1" (subscript_expression "piVar5[iVar4]" identifier [ identifier ]) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 + 1 == 0)" ( (binary_expression "iVar7 + 1 == 0" (binary_expression "iVar7 + 1" identifier + number_literal) == number_literal) )) ;) })) })) (goto_statement "goto LAB_00025bc8;" goto statement_identifier ;) })) (labeled_statement "LAB_00025b18:\n    iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) }) (else_clause "else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }" else (compound_statement "{\nLAB_00025bc8:\n    iVar4 = 0;\n  }" { (labeled_statement "LAB_00025bc8:\n    iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) }))) (expression_statement "piVar5[iVar9] = iVar4;" (assignment_expression "piVar5[iVar9] = iVar4" (subscript_expression "piVar5[iVar9]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar9 = iVar9 + iVar4;" (assignment_expression "iVar9 = iVar9 + iVar4" identifier = (binary_expression "iVar9 + iVar4" identifier + identifier)) ;) (labeled_statement "LAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }" statement_identifier : (if_statement "if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar9 = -iVar9;\n  }" { (expression_statement "iVar9 = -iVar9;" (assignment_expression "iVar9 = -iVar9" identifier = (unary_expression "-iVar9" - identifier)) ;) }))) (expression_statement "param_1[1] = iVar9;" (assignment_expression "param_1[1] = iVar9" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ IDENT) )) - IDENT) )) - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= IDENT) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT & LIT) )))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) == LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) == LIT) && (binary_expression IDENT == LIT)) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) ;) })) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __gmpz_fdiv_q_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  uint uStack_24;\n  \n  uVar2 = *(uint *)(param_2 + 4);\n  uVar8 = param_3 >> 5;\n  uVar3 = (int)uVar2 >> 0x1f;\n  iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;\n  if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }\n  if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }\n  iVar4 = *(int *)(param_2 + 8);\n  if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *piVar5 = *piVar5 + 1;\n  if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }\n  piVar5[iVar9] = iVar4;\n  iVar9 = iVar9 + iVar4;\nLAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }\n  param_1[1] = iVar9;\n  return;\n}" (primitive_type "void") (function_declarator "__gmpz_fdiv_q_2exp(int *param_1,int param_2,uint param_3)" (identifier "__gmpz_fdiv_q_2exp") (parameter_list "(int *param_1,int param_2,uint param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  uint uStack_24;\n  \n  uVar2 = *(uint *)(param_2 + 4);\n  uVar8 = param_3 >> 5;\n  uVar3 = (int)uVar2 >> 0x1f;\n  iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;\n  if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }\n  if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }\n  iVar4 = *(int *)(param_2 + 8);\n  if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }\n  *piVar5 = *piVar5 + 1;\n  if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }\n  piVar5[iVar9] = iVar4;\n  iVar9 = iVar9 + iVar4;\nLAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }\n  param_1[1] = iVar9;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "uint uStack_24;" (type_identifier "uint") (identifier "uStack_24") (; ";")) (expression_statement "uVar2 = *(uint *)(param_2 + 4);" (assignment_expression "uVar2 = *(uint *)(param_2 + 4)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar8 = param_3 >> 5;" (assignment_expression "uVar8 = param_3 >> 5" (identifier "uVar8") (= "=") (binary_expression "param_3 >> 5" (identifier "param_3") (>> ">>") (number_literal "5"))) (; ";")) (expression_statement "uVar3 = (int)uVar2 >> 0x1f;" (assignment_expression "uVar3 = (int)uVar2 >> 0x1f" (identifier "uVar3") (= "=") (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;" (assignment_expression "iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8" (identifier "iVar9") (= "=") (binary_expression "((uVar3 ^ uVar2) - uVar3) - uVar8" (parenthesized_expression "((uVar3 ^ uVar2) - uVar3)" (( "(") (binary_expression "(uVar3 ^ uVar2) - uVar3" (parenthesized_expression "(uVar3 ^ uVar2)" (( "(") (binary_expression "uVar3 ^ uVar2" (identifier "uVar3") (^ "^") (identifier "uVar2")) () ")")) (- "-") (identifier "uVar3")) () ")")) (- "-") (identifier "uVar8"))) (; ";")) (if_statement "if (iVar9 < 1) {\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar9 < 1)" (( "(") (binary_expression "iVar9 < 1" (identifier "iVar9") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    *(undefined4 *)param_1[2] = 1;\n    param_1[1] = uVar3;\n    return;\n  }" ({ "{") (expression_statement "*(undefined4 *)param_1[2] = 1;" (assignment_expression "*(undefined4 *)param_1[2] = 1" (pointer_expression "*(undefined4 *)param_1[2]" (* "*") (cast_expression "(undefined4 *)param_1[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "param_1[1] = uVar3;" (assignment_expression "param_1[1] = uVar3" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (iVar9 < *param_1) {\n    piVar5 = (int *)param_1[2];\n  }\n  else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }" (if "if") (parenthesized_expression "(iVar9 < *param_1)" (( "(") (binary_expression "iVar9 < *param_1" (identifier "iVar9") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (compound_statement "{\n    piVar5 = (int *)param_1[2];\n  }" ({ "{") (expression_statement "piVar5 = (int *)param_1[2];" (assignment_expression "piVar5 = (int *)param_1[2]" (identifier "piVar5") (= "=") (cast_expression "(int *)param_1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}")) (else_clause "else {\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }" (else "else") (compound_statement "{\n    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);\n  }" ({ "{") (expression_statement "piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);" (assignment_expression "piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1)" (identifier "piVar5") (= "=") (cast_expression "(int *)__gmpz_realloc(param_1,iVar9 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "__gmpz_realloc(param_1,iVar9 + 1)" (identifier "__gmpz_realloc") (argument_list "(param_1,iVar9 + 1)" (( "(") (identifier "param_1") (, ",") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (} "}")))) (expression_statement "iVar4 = *(int *)(param_2 + 8);" (assignment_expression "iVar4 = *(int *)(param_2 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((int)uVar2 < 0) {\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }\n  else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }" (if "if") (parenthesized_expression "((int)uVar2 < 0)" (( "(") (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }\n    iVar4 = iVar4 + uVar8 * 4;\n    uStack_24 = 0xffffffff;\n    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;\nLAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);\n    if (iVar7 == 0) goto LAB_00025b8b;\n  }" ({ "{") (if_statement "if (uVar8 == 0) {\n      iVar7 = 0;\n    }\n    else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }" (if "if") (parenthesized_expression "(uVar8 == 0)" (( "(") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar7 = 0;\n    }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }" (else "else") (compound_statement "{\n      iVar6 = 0;\n      do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);\n    }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      } while (iVar7 == 0);" (do "do") (compound_statement "{\n        iVar7 = *(int *)(iVar4 + iVar6 * 4);\n        iVar6 = iVar6 + 1;\n        if ((int)uVar8 <= iVar6) break;\n      }" ({ "{") (expression_statement "iVar7 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar7 = *(int *)(iVar4 + iVar6 * 4)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" (* "*") (cast_expression "(int *)(iVar4 + iVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar6 * 4)" (( "(") (binary_expression "iVar4 + iVar6 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((int)uVar8 <= iVar6) break;" (if "if") (parenthesized_expression "((int)uVar8 <= iVar6)" (( "(") (binary_expression "(int)uVar8 <= iVar6" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (<= "<=") (identifier "iVar6")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "iVar4 = iVar4 + uVar8 * 4;" (assignment_expression "iVar4 = iVar4 + uVar8 * 4" (identifier "iVar4") (= "=") (binary_expression "iVar4 + uVar8 * 4" (identifier "iVar4") (+ "+") (binary_expression "uVar8 * 4" (identifier "uVar8") (* "*") (number_literal "4")))) (; ";")) (expression_statement "uStack_24 = 0xffffffff;" (assignment_expression "uStack_24 = 0xffffffff" (identifier "uStack_24") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if ((param_3 & 0x1f) != 0) goto LAB_00025b40;" (if "if") (parenthesized_expression "((param_3 & 0x1f) != 0)" (( "(") (binary_expression "(param_3 & 0x1f) != 0" (parenthesized_expression "(param_3 & 0x1f)" (( "(") (binary_expression "param_3 & 0x1f" (identifier "param_3") (& "&") (number_literal "0x1f")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00025b40;" (goto "goto") (statement_identifier "LAB_00025b40") (; ";"))) (labeled_statement "LAB_00025aa7:\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);" (statement_identifier "LAB_00025aa7") (: ":") (expression_statement "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);" (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))" (( "(") (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" (* "*") (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" (* "*") (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x28)" (( "(") (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x28" (identifier "PTR___gmpn_cpuvec_0009dd94") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar5,iVar4,iVar9)" (( "(") (identifier "piVar5") (, ",") (identifier "iVar4") (, ",") (identifier "iVar9") () ")"))) (; ";"))) (if_statement "if (iVar7 == 0) goto LAB_00025b8b;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00025b8b;" (goto "goto") (statement_identifier "LAB_00025b8b") (; ";"))) (} "}")) (else_clause "else {\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }" (else "else") (compound_statement "{\n    iVar4 = iVar4 + uVar8 * 4;\n    iVar7 = 0;\n    uStack_24 = 0;\n    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;\nLAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);\n    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);\n    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;\n    if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + uVar8 * 4;" (assignment_expression "iVar4 = iVar4 + uVar8 * 4" (identifier "iVar4") (= "=") (binary_expression "iVar4 + uVar8 * 4" (identifier "iVar4") (+ "+") (binary_expression "uVar8 * 4" (identifier "uVar8") (* "*") (number_literal "4")))) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_24 = 0;" (assignment_expression "uStack_24 = 0" (identifier "uStack_24") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;" (if "if") (parenthesized_expression "((param_3 & 0x1f) == 0)" (( "(") (binary_expression "(param_3 & 0x1f) == 0" (parenthesized_expression "(param_3 & 0x1f)" (( "(") (binary_expression "param_3 & 0x1f" (identifier "param_3") (& "&") (number_literal "0x1f")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00025aa7;" (goto "goto") (statement_identifier "LAB_00025aa7") (; ";"))) (labeled_statement "LAB_00025b40:\n    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);" (statement_identifier "LAB_00025b40") (: ":") (expression_statement "uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);" (assignment_expression "uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))" (( "(") (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" (* "*") (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" (* "*") (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x80)" (( "(") (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x80" (identifier "PTR___gmpn_cpuvec_0009dd94") (+ "+") (number_literal "0x80")) () ")"))))) () ")")) (argument_list "(piVar5,iVar4,iVar9,param_3 & 0x1f)" (( "(") (identifier "piVar5") (, ",") (identifier "iVar4") (, ",") (identifier "iVar9") (, ",") (binary_expression "param_3 & 0x1f" (identifier "param_3") (& "&") (number_literal "0x1f")) () ")")))) (; ";"))) (expression_statement "iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);" (assignment_expression "iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0)" (identifier "iVar9") (= "=") (binary_expression "iVar9 - (uint)(piVar5[iVar9 + -1] == 0)" (identifier "iVar9") (- "-") (call_expression "(uint)(piVar5[iVar9 + -1] == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(piVar5[iVar9 + -1] == 0)" (( "(") (binary_expression "piVar5[iVar9 + -1] == 0" (subscript_expression "piVar5[iVar9 + -1]" (identifier "piVar5") ([ "[") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1")) (] "]")) (== "==") (number_literal "0")) () ")"))))) (; ";")) (if_statement "if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;" (if "if") (parenthesized_expression "((uVar3 & uStack_24) == 0 && iVar7 == 0)" (( "(") (binary_expression "(uVar3 & uStack_24) == 0 && iVar7 == 0" (binary_expression "(uVar3 & uStack_24) == 0" (parenthesized_expression "(uVar3 & uStack_24)" (( "(") (binary_expression "uVar3 & uStack_24" (identifier "uVar3") (& "&") (identifier "uStack_24")) () ")")) (== "==") (number_literal "0")) (&& "&&") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0"))) () ")")) (goto_statement "goto LAB_00025b8b;" (goto "goto") (statement_identifier "LAB_00025b8b") (; ";"))) (if_statement "if (iVar9 == 0) {\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *piVar5 = 1;\n      iVar9 = 1;\n      goto LAB_00025b8b;\n    }" ({ "{") (expression_statement "*piVar5 = 1;" (assignment_expression "*piVar5 = 1" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" (identifier "iVar9") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00025b8b;" (goto "goto") (statement_identifier "LAB_00025b8b") (; ";")) (} "}"))) (} "}")))) (expression_statement "*piVar5 = *piVar5 + 1;" (assignment_expression "*piVar5 = *piVar5 + 1" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (binary_expression "*piVar5 + 1" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*piVar5 == 0) {\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }\n  else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }" (if "if") (parenthesized_expression "(*piVar5 == 0)" (( "(") (binary_expression "*piVar5 == 0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }\nLAB_00025b18:\n    iVar4 = 1;\n  }" ({ "{") (if_statement "if (iVar9 != 1) {\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }" (if "if") (parenthesized_expression "(iVar9 != 1)" (( "(") (binary_expression "iVar9 != 1" (identifier "iVar9") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      piVar1 = piVar5 + 1;\n      *piVar1 = *piVar1 + 1;\n      if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }\n      goto LAB_00025bc8;\n    }" ({ "{") (expression_statement "piVar1 = piVar5 + 1;" (assignment_expression "piVar1 = piVar5 + 1" (identifier "piVar1") (= "=") (binary_expression "piVar5 + 1" (identifier "piVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*piVar1 = *piVar1 + 1;" (assignment_expression "*piVar1 = *piVar1 + 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*piVar1 == 0) {\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }" (if "if") (parenthesized_expression "(*piVar1 == 0)" (( "(") (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (iVar9 == 2) goto LAB_00025b18;\n        piVar1 = piVar5 + 2;\n        *piVar1 = *piVar1 + 1;\n        if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }\n      }" ({ "{") (if_statement "if (iVar9 == 2) goto LAB_00025b18;" (if "if") (parenthesized_expression "(iVar9 == 2)" (( "(") (binary_expression "iVar9 == 2" (identifier "iVar9") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_00025b18;" (goto "goto") (statement_identifier "LAB_00025b18") (; ";"))) (expression_statement "piVar1 = piVar5 + 2;" (assignment_expression "piVar1 = piVar5 + 2" (identifier "piVar1") (= "=") (binary_expression "piVar5 + 2" (identifier "piVar5") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "*piVar1 = *piVar1 + 1;" (assignment_expression "*piVar1 = *piVar1 + 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*piVar1 == 0) {\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }" (if "if") (parenthesized_expression "(*piVar1 == 0)" (( "(") (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar4 = 3;\n          do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);\n        }" ({ "{") (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" (identifier "iVar4") (= "=") (number_literal "3")) (; ";")) (do_statement "do {\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          } while (iVar7 + 1 == 0);" (do "do") (compound_statement "{\n            if (iVar9 == iVar4) goto LAB_00025b18;\n            iVar7 = piVar5[iVar4];\n            piVar5[iVar4] = iVar7 + 1;\n            iVar4 = iVar4 + 1;\n          }" ({ "{") (if_statement "if (iVar9 == iVar4) goto LAB_00025b18;" (if "if") (parenthesized_expression "(iVar9 == iVar4)" (( "(") (binary_expression "iVar9 == iVar4" (identifier "iVar9") (== "==") (identifier "iVar4")) () ")")) (goto_statement "goto LAB_00025b18;" (goto "goto") (statement_identifier "LAB_00025b18") (; ";"))) (expression_statement "iVar7 = piVar5[iVar4];" (assignment_expression "iVar7 = piVar5[iVar4]" (identifier "iVar7") (= "=") (subscript_expression "piVar5[iVar4]" (identifier "piVar5") ([ "[") (identifier "iVar4") (] "]"))) (; ";")) (expression_statement "piVar5[iVar4] = iVar7 + 1;" (assignment_expression "piVar5[iVar4] = iVar7 + 1" (subscript_expression "piVar5[iVar4]" (identifier "piVar5") ([ "[") (identifier "iVar4") (] "]")) (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 + 1 == 0)" (( "(") (binary_expression "iVar7 + 1 == 0" (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_00025bc8;" (goto "goto") (statement_identifier "LAB_00025bc8") (; ";")) (} "}"))) (labeled_statement "LAB_00025b18:\n    iVar4 = 1;" (statement_identifier "LAB_00025b18") (: ":") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";"))) (} "}")) (else_clause "else {\nLAB_00025bc8:\n    iVar4 = 0;\n  }" (else "else") (compound_statement "{\nLAB_00025bc8:\n    iVar4 = 0;\n  }" ({ "{") (labeled_statement "LAB_00025bc8:\n    iVar4 = 0;" (statement_identifier "LAB_00025bc8") (: ":") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";"))) (} "}")))) (expression_statement "piVar5[iVar9] = iVar4;" (assignment_expression "piVar5[iVar9] = iVar4" (subscript_expression "piVar5[iVar9]" (identifier "piVar5") ([ "[") (identifier "iVar9") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar9 = iVar9 + iVar4;" (assignment_expression "iVar9 = iVar9 + iVar4" (identifier "iVar9") (= "=") (binary_expression "iVar9 + iVar4" (identifier "iVar9") (+ "+") (identifier "iVar4"))) (; ";")) (labeled_statement "LAB_00025b8b:\n  if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }" (statement_identifier "LAB_00025b8b") (: ":") (if_statement "if ((int)uVar2 < 0) {\n    iVar9 = -iVar9;\n  }" (if "if") (parenthesized_expression "((int)uVar2 < 0)" (( "(") (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar9 = -iVar9;\n  }" ({ "{") (expression_statement "iVar9 = -iVar9;" (assignment_expression "iVar9 = -iVar9" (identifier "iVar9") (= "=") (unary_expression "-iVar9" (- "-") (identifier "iVar9"))) (; ";")) (} "}")))) (expression_statement "param_1[1] = iVar9;" (assignment_expression "param_1[1] = iVar9" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Switch with 1 destination removed at 0x0001b6d0 */

void function_1(type_1 w,type_2 u,type_3 var_1)

{
  type_4 var_3;
  type_5 *var_10;
  type_4 var_2;
  type_5 var_8;
  type_5 *var_12;
  int var_7;
  type_4 var_4;
  int var_5;
  type_4 var_11;
  
  var_3 = u->_mp_size;
  var_4 = var_1 >> 5;
  var_2 = (int)var_3 >> 0x1f;
  var_5 = ((var_2 ^ var_3) - var_2) - var_4;
  if (var_5 < 1) {
    *w->_mp_d = 1;
    w->_mp_size = var_2;
    return;
  }
  if (var_5 < w->_mp_alloc) {
    var_12 = w->_mp_d;
  }
  else {
    var_12 = (type_5 *)var_6(w,var_5 + 1);
  }
  var_10 = u->_mp_d;
  if ((int)var_3 < 0) {
    if (var_4 == 0) {
      var_8 = 0;
    }
    else {
      var_7 = 0;
      do {
        var_8 = var_10[var_7];
        var_7 = var_7 + 1;
        if ((int)var_4 <= var_7) break;
      } while (var_8 == 0);
    }
    var_11 = 0xffffffff;
    if ((var_1 & 0x1f) != 0) goto LAB_00025b40;
LAB_00025aa7:
    (**(type_6 **)(var_9 + 0x28))(var_12,var_10 + var_4,var_5);
    if (var_8 == 0) goto LAB_00025b8b;
  }
  else {
    var_8 = 0;
    var_11 = 0;
    if ((var_1 & 0x1f) == 0) goto LAB_00025aa7;
LAB_00025b40:
    var_2 = (**(type_6 **)(var_9 + 0x80))(var_12,var_10 + var_4,var_5,var_1 & 0x1f)
    ;
    var_5 = var_5 - (type_4)(var_12[var_5 + -1] == 0);
    if ((var_2 & var_11) == 0 && var_8 == 0) goto LAB_00025b8b;
    if (var_5 == 0) {
      *var_12 = 1;
      var_5 = 1;
      goto LAB_00025b8b;
    }
  }
  *var_12 = *var_12 + 1;
  if (*var_12 == 0) {
    if (var_5 != 1) {
      var_10 = var_12 + 1;
      *var_10 = *var_10 + 1;
      if (*var_10 == 0) {
        if (var_5 == 2) goto LAB_00025b18;
        var_10 = var_12 + 2;
        *var_10 = *var_10 + 1;
        if (*var_10 == 0) {
          var_7 = 3;
          do {
            if (var_5 == var_7) goto LAB_00025b18;
            var_8 = var_12[var_7];
            var_12[var_7] = var_8 + 1;
            var_7 = var_7 + 1;
          } while (var_8 + 1 == 0);
        }
      }
      goto LAB_00025bc8;
    }
LAB_00025b18:
    var_8 = 1;
  }
  else {
LAB_00025bc8:
    var_8 = 0;
  }
  var_12[var_5] = var_8;
  var_5 = var_5 + var_8;
LAB_00025b8b:
  if ((int)var_3 < 0) {
    var_5 = -var_5;
  }
  w->_mp_size = var_5;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))) consequence: (break_statement))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))))))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Switch with 1 destination removed at 0x0001b6d0 */

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

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int *piVar5;
  int iVar6;
  int iVar7;
  uint uVar8;
  int iVar9;
  uint uStack_24;
  
  uVar2 = *(uint *)(param_2 + 4);
  uVar8 = param_3 >> 5;
  uVar3 = (int)uVar2 >> 0x1f;
  iVar9 = ((uVar3 ^ uVar2) - uVar3) - uVar8;
  if (iVar9 < 1) {
    *(undefined4 *)param_1[2] = 1;
    param_1[1] = uVar3;
    return;
  }
  if (iVar9 < *param_1) {
    piVar5 = (int *)param_1[2];
  }
  else {
    piVar5 = (int *)__gmpz_realloc(param_1,iVar9 + 1);
  }
  iVar4 = *(int *)(param_2 + 8);
  if ((int)uVar2 < 0) {
    if (uVar8 == 0) {
      iVar7 = 0;
    }
    else {
      iVar6 = 0;
      do {
        iVar7 = *(int *)(iVar4 + iVar6 * 4);
        iVar6 = iVar6 + 1;
        if ((int)uVar8 <= iVar6) break;
      } while (iVar7 == 0);
    }
    iVar4 = iVar4 + uVar8 * 4;
    uStack_24 = 0xffffffff;
    if ((param_3 & 0x1f) != 0) goto LAB_00025b40;
LAB_00025aa7:
    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(piVar5,iVar4,iVar9);
    if (iVar7 == 0) goto LAB_00025b8b;
  }
  else {
    iVar4 = iVar4 + uVar8 * 4;
    iVar7 = 0;
    uStack_24 = 0;
    if ((param_3 & 0x1f) == 0) goto LAB_00025aa7;
LAB_00025b40:
    uVar3 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x80))(piVar5,iVar4,iVar9,param_3 & 0x1f);
    iVar9 = iVar9 - (uint)(piVar5[iVar9 + -1] == 0);
    if ((uVar3 & uStack_24) == 0 && iVar7 == 0) goto LAB_00025b8b;
    if (iVar9 == 0) {
      *piVar5 = 1;
      iVar9 = 1;
      goto LAB_00025b8b;
    }
  }
  *piVar5 = *piVar5 + 1;
  if (*piVar5 == 0) {
    if (iVar9 != 1) {
      piVar1 = piVar5 + 1;
      *piVar1 = *piVar1 + 1;
      if (*piVar1 == 0) {
        if (iVar9 == 2) goto LAB_00025b18;
        piVar1 = piVar5 + 2;
        *piVar1 = *piVar1 + 1;
        if (*piVar1 == 0) {
          iVar4 = 3;
          do {
            if (iVar9 == iVar4) goto LAB_00025b18;
            iVar7 = piVar5[iVar4];
            piVar5[iVar4] = iVar7 + 1;
            iVar4 = iVar4 + 1;
          } while (iVar7 + 1 == 0);
        }
      }
      goto LAB_00025bc8;
    }
LAB_00025b18:
    iVar4 = 1;
  }
  else {
LAB_00025bc8:
    iVar4 = 0;
  }
  piVar5[iVar9] = iVar4;
  iVar9 = iVar9 + iVar4;
LAB_00025b8b:
  if ((int)uVar2 < 0) {
    iVar9 = -iVar9;
  }
  param_1[1] = iVar9;
  return;
}

