
mp_bitcnt_t __gmpz_scan1(mpz_srcptr u,mp_bitcnt_t starting_bit)

{
  bool bVar1;
  uint *puVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  mp_bitcnt_t mVar6;
  uint *puVar7;
  uint uVar8;
  uint uVar9;
  mp_limb_t *pmVar10;
  
  iVar5 = u->_mp_size;
  iVar4 = iVar5;
  if (iVar5 < 0) {
    iVar4 = -iVar5;
  }
  uVar8 = starting_bit >> 5;
  if (iVar4 <= (int)uVar8) {
    mVar6 = 0xffffffff;
    if (iVar5 < 0) {
      mVar6 = starting_bit;
    }
    return mVar6;
  }
  pmVar10 = u->_mp_d;
  puVar2 = pmVar10 + uVar8;
  uVar3 = *puVar2;
  if (starting_bit != 0) {
    if (iVar5 < 0) {
      if (uVar8 == 0) {
LAB_00033d74:
        bVar1 = uVar3 == 0;
        uVar3 = uVar3 - 1;
        if (bVar1) goto LAB_00033cd0;
      }
      else {
        uVar9 = puVar2[-1];
        puVar7 = puVar2;
        while( true ) {
          uVar8 = uVar8 - 1;
          if (uVar9 != 0) break;
          if (uVar8 == 0) goto LAB_00033d74;
          uVar9 = puVar7[-2];
          puVar7 = puVar7 + -1;
        }
      }
      uVar3 = (1 << (starting_bit & 0x1f)) - 1U | uVar3;
      while (uVar3 == 0xffffffff) {
        if (pmVar10 + iVar4 + -1 == puVar2) {
          return iVar4 << 5;
        }
        puVar2 = puVar2 + 1;
        uVar3 = *puVar2;
      }
      uVar3 = ~uVar3;
      goto LAB_00033c94;
    }
    uVar3 = uVar3 & -1 << (starting_bit & 0x1f);
    if (uVar3 != 0) goto LAB_00033c94;
    if (pmVar10 + iVar4 + -1 == puVar2) {
      return 0xffffffff;
    }
LAB_00033cd0:
    uVar3 = puVar2[1];
    puVar2 = puVar2 + 1;
  }
  while (uVar3 == 0) {
    puVar7 = puVar2 + 1;
    puVar2 = puVar2 + 1;
    uVar3 = *puVar7;
  }
LAB_00033c94:
  uVar8 = uVar3 >> 8;
  if ((uVar3 & 0xff) == 0) {
    iVar4 = 6;
    if ((uVar8 & 0xff) == 0) {
      uVar8 = uVar3 >> 0x10;
      iVar4 = 0xe;
      if ((uVar8 & 0xff) == 0) {
        uVar8 = uVar3 >> 0x18;
        iVar4 = 0x1e;
        if (uVar8 != 0) {
          iVar4 = 0x16;
        }
      }
    }
    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] + iVar4;
  }
  else {
    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;
  }
  return ((int)puVar2 - (int)pmVar10 >> 2) * 0x20 + iVar4;
}



uint __gmpz_scan1(int param_1,uint param_2)

{
  bool bVar1;
  uint *puVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  uint *puVar6;
  uint uVar7;
  uint *puVar8;
  uint uVar9;
  int iVar10;
  
  iVar5 = *(int *)(param_1 + 4);
  iVar4 = iVar5;
  if (iVar5 < 0) {
    iVar4 = -iVar5;
  }
  uVar7 = param_2 >> 5;
  if (iVar4 <= (int)uVar7) {
    uVar7 = 0xffffffff;
    if (iVar5 < 0) {
      uVar7 = param_2;
    }
    return uVar7;
  }
  iVar10 = *(int *)(param_1 + 8);
  puVar2 = (uint *)(iVar10 + uVar7 * 4);
  uVar3 = *puVar2;
  if (param_2 != 0) {
    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);
    if (iVar5 < 0) {
      if (uVar7 == 0) {
LAB_00033d74:
        bVar1 = uVar3 == 0;
        uVar3 = uVar3 - 1;
        if (bVar1) goto LAB_00033cd0;
      }
      else {
        uVar9 = puVar2[-1];
        puVar6 = puVar2;
        while( true ) {
          uVar7 = uVar7 - 1;
          if (uVar9 != 0) break;
          if (uVar7 == 0) goto LAB_00033d74;
          uVar9 = puVar6[-2];
          puVar6 = puVar6 + -1;
        }
      }
      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;
      while (uVar3 == 0xffffffff) {
        if (puVar8 == puVar2) {
          return iVar4 << 5;
        }
        puVar2 = puVar2 + 1;
        uVar3 = *puVar2;
      }
      uVar3 = ~uVar3;
      goto LAB_00033c94;
    }
    uVar3 = uVar3 & -1 << (param_2 & 0x1f);
    if (uVar3 != 0) goto LAB_00033c94;
    if (puVar8 == puVar2) {
      return 0xffffffff;
    }
LAB_00033cd0:
    uVar3 = puVar2[1];
    puVar2 = puVar2 + 1;
  }
  while (uVar3 == 0) {
    puVar8 = puVar2 + 1;
    puVar2 = puVar2 + 1;
    uVar3 = *puVar8;
  }
LAB_00033c94:
  uVar7 = uVar3 >> 8;
  if ((uVar3 & 0xff) == 0) {
    iVar4 = 6;
    if ((uVar7 & 0xff) == 0) {
      uVar7 = uVar3 >> 0x10;
      iVar4 = 0xe;
      if ((uVar7 & 0xff) == 0) {
        uVar7 = uVar3 >> 0x18;
        iVar4 = 0x1e;
        if (uVar7 != 0) {
          iVar4 = 0x16;
        }
      }
    }
    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;
  }
  else {
    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;
  }
  return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;
}


lui gp,0x7
addiu gp,gp,0x1410
addu gp,gp,t9
lw a2,0x4(a0)
bgez a2,0x00033c4c
_or t1,a2,zero
subu t1,zero,a2
srl a3,a1,0x5
slt v0,a3,t1
beq v0,zero,0x00033cec
_sll v1,a3,0x2
lw t3,0x8(a0)
addu v1,t3,v1
beq a1,zero,0x00033cd8
_lw a0,0x0(v1)
sll t0,t1,0x2
addiu t0,t0,-0x4
bltz a2,0x00033d00
_addu t0,t3,t0
li v0,-0x1
sllv v0,v0,a1
and a0,a0,v0
beq a0,zero,0x00033cc8
_nop
andi v0,a0,0xff
beq v0,zero,0x00033d94
_srl a2,a0,0x8
subu v0,zero,a0
and v0,v0,a0
lw a0,-0x7eb4(gp)
addu a0,a0,v0
lbu v0,0x0(a0)
addiu a1,v0,-0x2
subu v0,v1,t3
sra v0,v0,0x2
sll v0,v0,0x5
jr ra
_addu v0,v0,a1
beq t0,v1,0x00033d8c
_nop
lw a0,0x4(v1)
addiu v1,v1,0x4
bne a0,zero,0x00033c94
_andi v0,a0,0xff
lw a0,0x4(v1)
b 0x00033cd8
_addiu v1,v1,0x4
slti v0,a2,0x0
li a2,-0x1
movn a2,a1,v0
jr ra
_or v0,a2,zero
beq a3,zero,0x00033d74
_or a2,v1,zero
b 0x00033d1c
_lw t2,-0x4(a2)
beq a3,zero,0x00033d74
_nop
lw t2,-0x4(a2)
addiu a3,a3,-0x1
beq t2,zero,0x00033d10
_addiu a2,a2,-0x4
li v0,0x1
li a2,-0x1
sllv v0,v0,a1
addiu a1,v0,-0x1
or a0,a1,a0
bne a0,a2,0x00033d6c
_nop
beq t0,v1,0x00033d84
_nop
b 0x00033d5c
_li v0,-0x1
beq t0,v1,0x00033d84
_nop
addiu v1,v1,0x4
lw a0,0x0(v1)
beq a0,v0,0x00033d54
_nop
b 0x00033c90
_nor a0,zero,a0
beq a0,zero,0x00033cd0
_addiu a0,a0,-0x1
b 0x00033d2c
_li v0,0x1
jr ra
_sll v0,t1,0x5
jr ra
_li v0,-0x1
andi a1,a2,0xff
beq a1,zero,0x00033dbc
_li v0,0x6
subu a0,zero,a2
and a0,a0,a2
lw a2,-0x7eb4(gp)
addu a2,a2,a0
lbu a1,0x0(a2)
b 0x00033cb4
_addu a1,a1,v0
srl a2,a0,0x10
andi a1,a2,0xff
bne a1,zero,0x00033da0
_li v0,0xe
srl a2,a0,0x18
li v0,0x1e
li a1,0x16
b 0x00033da0
_movn v0,a1,a2
(translation_unit "uint __gmpz_scan1(int param_1,uint param_2)\n\n{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  uint *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  iVar5 = *(int *)(param_1 + 4);\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar7 = param_2 >> 5;\n  if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }\n  iVar10 = *(int *)(param_1 + 8);\n  puVar2 = (uint *)(iVar10 + uVar7 * 4);\n  uVar3 = *puVar2;\n  if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }\nLAB_00033c94:\n  uVar7 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;\n}\n\n" (function_definition "uint __gmpz_scan1(int param_1,uint param_2)\n\n{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  uint *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  iVar5 = *(int *)(param_1 + 4);\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar7 = param_2 >> 5;\n  if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }\n  iVar10 = *(int *)(param_1 + 8);\n  puVar2 = (uint *)(iVar10 + uVar7 * 4);\n  uVar3 = *puVar2;\n  if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }\nLAB_00033c94:\n  uVar7 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;\n}" type_identifier (function_declarator "__gmpz_scan1(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  uint *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  iVar5 = *(int *)(param_1 + 4);\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar7 = param_2 >> 5;\n  if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }\n  iVar10 = *(int *)(param_1 + 8);\n  puVar2 = (uint *)(iVar10 + uVar7 * 4);\n  uVar3 = *puVar2;\n  if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }\nLAB_00033c94:\n  uVar7 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "iVar5 = *(int *)(param_1 + 4);" (assignment_expression "iVar5 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) (if_statement "if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar4 = -iVar5;\n  }" { (expression_statement "iVar4 = -iVar5;" (assignment_expression "iVar4 = -iVar5" identifier = (unary_expression "-iVar5" - identifier)) ;) })) (expression_statement "uVar7 = param_2 >> 5;" (assignment_expression "uVar7 = param_2 >> 5" identifier = (binary_expression "param_2 >> 5" identifier >> number_literal)) ;) (if_statement "if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }" if (parenthesized_expression "(iVar4 <= (int)uVar7)" ( (binary_expression "iVar4 <= (int)uVar7" identifier <= (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }" { (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (iVar5 < 0) {\n      uVar7 = param_2;\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar7 = param_2;\n    }" { (expression_statement "uVar7 = param_2;" (assignment_expression "uVar7 = param_2" identifier = identifier) ;) })) (return_statement "return uVar7;" return identifier ;) })) (expression_statement "iVar10 = *(int *)(param_1 + 8);" (assignment_expression "iVar10 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (uint *)(iVar10 + uVar7 * 4);" (assignment_expression "puVar2 = (uint *)(iVar10 + uVar7 * 4)" identifier = (cast_expression "(uint *)(iVar10 + uVar7 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + uVar7 * 4)" ( (binary_expression "iVar10 + uVar7 * 4" identifier + (binary_expression "uVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (if_statement "if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);" (assignment_expression "puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4)" identifier = (cast_expression "(uint *)(iVar10 + iVar4 * 4 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar4 * 4 + -4)" ( (binary_expression "iVar10 + iVar4 * 4 + -4" (binary_expression "iVar10 + iVar4 * 4" identifier + (binary_expression "iVar4 * 4" identifier * number_literal)) + number_literal) )))) ;) (if_statement "if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }" { (if_statement "if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }" { (labeled_statement "LAB_00033d74:\n        bVar1 = uVar3 == 0;" statement_identifier : (expression_statement "bVar1 = uVar3 == 0;" (assignment_expression "bVar1 = uVar3 == 0" identifier = (binary_expression "uVar3 == 0" identifier == number_literal)) ;)) (expression_statement "uVar3 = uVar3 - 1;" (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ;) (if_statement "if (bVar1) goto LAB_00033cd0;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00033cd0;" goto statement_identifier ;)) }) (else_clause "else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }" else (compound_statement "{\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }" { (expression_statement "uVar9 = puVar2[-1];" (assignment_expression "uVar9 = puVar2[-1]" identifier = (subscript_expression "puVar2[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" identifier = identifier) ;) (while_statement "while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }" { (expression_statement "uVar7 = uVar7 - 1;" (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 != 0) break;" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if (uVar7 == 0) goto LAB_00033d74;" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00033d74;" goto statement_identifier ;)) (expression_statement "uVar9 = puVar6[-2];" (assignment_expression "uVar9 = puVar6[-2]" identifier = (subscript_expression "puVar6[-2]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = puVar6 + -1;" (assignment_expression "puVar6 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) })) }))) (expression_statement "uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;" (assignment_expression "uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3" identifier = (binary_expression "(1 << (param_2 & 0x1f)) - 1U | uVar3" (binary_expression "(1 << (param_2 & 0x1f)) - 1U" (parenthesized_expression "(1 << (param_2 & 0x1f))" ( (binary_expression "1 << (param_2 & 0x1f)" number_literal << (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) ))) )) - number_literal) | identifier)) ;) (while_statement "while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }" while (parenthesized_expression "(uVar3 == 0xffffffff)" ( (binary_expression "uVar3 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }" { (if_statement "if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }" if (parenthesized_expression "(puVar8 == puVar2)" ( (binary_expression "puVar8 == puVar2" identifier == identifier) )) (compound_statement "{\n          return iVar4 << 5;\n        }" { (return_statement "return iVar4 << 5;" return (binary_expression "iVar4 << 5" identifier << number_literal) ;) })) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) })) (expression_statement "uVar3 = ~uVar3;" (assignment_expression "uVar3 = ~uVar3" identifier = (unary_expression "~uVar3" ~ identifier)) ;) (goto_statement "goto LAB_00033c94;" goto statement_identifier ;) })) (expression_statement "uVar3 = uVar3 & -1 << (param_2 & 0x1f);" (assignment_expression "uVar3 = uVar3 & -1 << (param_2 & 0x1f)" identifier = (binary_expression "uVar3 & -1 << (param_2 & 0x1f)" identifier & (binary_expression "-1 << (param_2 & 0x1f)" number_literal << (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) ))))) ;) (if_statement "if (uVar3 != 0) goto LAB_00033c94;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00033c94;" goto statement_identifier ;)) (if_statement "if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }" if (parenthesized_expression "(puVar8 == puVar2)" ( (binary_expression "puVar8 == puVar2" identifier == identifier) )) (compound_statement "{\n      return 0xffffffff;\n    }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (labeled_statement "LAB_00033cd0:\n    uVar3 = puVar2[1];" statement_identifier : (expression_statement "uVar3 = puVar2[1];" (assignment_expression "uVar3 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;)) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (while_statement "while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }" while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }" { (expression_statement "puVar8 = puVar2 + 1;" (assignment_expression "puVar8 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = *puVar8;" (assignment_expression "uVar3 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) })) (labeled_statement "LAB_00033c94:\n  uVar7 = uVar3 >> 8;" statement_identifier : (expression_statement "uVar7 = uVar3 >> 8;" (assignment_expression "uVar7 = uVar3 >> 8" identifier = (binary_expression "uVar3 >> 8" identifier >> number_literal)) ;)) (if_statement "if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" if (parenthesized_expression "((uVar3 & 0xff) == 0)" ( (binary_expression "(uVar3 & 0xff) == 0" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }" { (expression_statement "iVar4 = 6;" (assignment_expression "iVar4 = 6" identifier = number_literal) ;) (if_statement "if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }" if (parenthesized_expression "((uVar7 & 0xff) == 0)" ( (binary_expression "(uVar7 & 0xff) == 0" (parenthesized_expression "(uVar7 & 0xff)" ( (binary_expression "uVar7 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }" { (expression_statement "uVar7 = uVar3 >> 0x10;" (assignment_expression "uVar7 = uVar3 >> 0x10" identifier = (binary_expression "uVar3 >> 0x10" identifier >> number_literal)) ;) (expression_statement "iVar4 = 0xe;" (assignment_expression "iVar4 = 0xe" identifier = number_literal) ;) (if_statement "if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }" if (parenthesized_expression "((uVar7 & 0xff) == 0)" ( (binary_expression "(uVar7 & 0xff) == 0" (parenthesized_expression "(uVar7 & 0xff)" ( (binary_expression "uVar7 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }" { (expression_statement "uVar7 = uVar3 >> 0x18;" (assignment_expression "uVar7 = uVar3 >> 0x18" identifier = (binary_expression "uVar3 >> 0x18" identifier >> number_literal)) ;) (expression_statement "iVar4 = 0x1e;" (assignment_expression "iVar4 = 0x1e" identifier = number_literal) ;) (if_statement "if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar4 = 0x16;\n        }" { (expression_statement "iVar4 = 0x16;" (assignment_expression "iVar4 = 0x16" identifier = number_literal) ;) })) })) })) (expression_statement "iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;" (assignment_expression "iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4" identifier = (binary_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4" (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" identifier [ (binary_expression "-uVar7 & uVar7" (unary_expression "-uVar7" - identifier) & identifier) ]))) + identifier)) ;) }) (else_clause "else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" else (compound_statement "{\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" { (expression_statement "iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;" (assignment_expression "iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2" identifier = (binary_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2" (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" identifier [ (binary_expression "-uVar3 & uVar3" (unary_expression "-uVar3" - identifier) & identifier) ])) - number_literal)) ;) }))) (return_statement "return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;" return (binary_expression "((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4" (binary_expression "((int)puVar2 - iVar10 >> 2) * 0x20" (parenthesized_expression "((int)puVar2 - iVar10 >> 2)" ( (binary_expression "(int)puVar2 - iVar10 >> 2" (binary_expression "(int)puVar2 - iVar10" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) >> number_literal) )) * number_literal) + identifier) ;) })))
(translation_unit "mp_bitcnt_t __gmpz_scan1(mpz_srcptr u,mp_bitcnt_t starting_bit)\n\n{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  mp_bitcnt_t mVar6;\n  uint *puVar7;\n  uint uVar8;\n  uint uVar9;\n  mp_limb_t *pmVar10;\n  \n  iVar5 = u->_mp_size;\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar8 = starting_bit >> 5;\n  if (iVar4 <= (int)uVar8) {\n    mVar6 = 0xffffffff;\n    if (iVar5 < 0) {\n      mVar6 = starting_bit;\n    }\n    return mVar6;\n  }\n  pmVar10 = u->_mp_d;\n  puVar2 = pmVar10 + uVar8;\n  uVar3 = *puVar2;\n  if (starting_bit != 0) {\n    if (iVar5 < 0) {\n      if (uVar8 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar7 = puVar2;\n        while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }\n      }\n      uVar3 = (1 << (starting_bit & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (pmVar10 + iVar4 + -1 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (starting_bit & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (pmVar10 + iVar4 + -1 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar7 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar7;\n  }\nLAB_00033c94:\n  uVar8 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar8 & 0xff) == 0) {\n      uVar8 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar8 & 0xff) == 0) {\n        uVar8 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar8 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - (int)pmVar10 >> 2) * 0x20 + iVar4;\n}\n\n" (function_definition "mp_bitcnt_t __gmpz_scan1(mpz_srcptr u,mp_bitcnt_t starting_bit)\n\n{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  mp_bitcnt_t mVar6;\n  uint *puVar7;\n  uint uVar8;\n  uint uVar9;\n  mp_limb_t *pmVar10;\n  \n  iVar5 = u->_mp_size;\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar8 = starting_bit >> 5;\n  if (iVar4 <= (int)uVar8) {\n    mVar6 = 0xffffffff;\n    if (iVar5 < 0) {\n      mVar6 = starting_bit;\n    }\n    return mVar6;\n  }\n  pmVar10 = u->_mp_d;\n  puVar2 = pmVar10 + uVar8;\n  uVar3 = *puVar2;\n  if (starting_bit != 0) {\n    if (iVar5 < 0) {\n      if (uVar8 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar7 = puVar2;\n        while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }\n      }\n      uVar3 = (1 << (starting_bit & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (pmVar10 + iVar4 + -1 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (starting_bit & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (pmVar10 + iVar4 + -1 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar7 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar7;\n  }\nLAB_00033c94:\n  uVar8 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar8 & 0xff) == 0) {\n      uVar8 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar8 & 0xff) == 0) {\n        uVar8 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar8 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - (int)pmVar10 >> 2) * 0x20 + iVar4;\n}" type_identifier (function_declarator "__gmpz_scan1(mpz_srcptr u,mp_bitcnt_t starting_bit)" identifier (parameter_list "(mpz_srcptr u,mp_bitcnt_t starting_bit)" ( (parameter_declaration "mpz_srcptr u" type_identifier identifier) , (parameter_declaration "mp_bitcnt_t starting_bit" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  mp_bitcnt_t mVar6;\n  uint *puVar7;\n  uint uVar8;\n  uint uVar9;\n  mp_limb_t *pmVar10;\n  \n  iVar5 = u->_mp_size;\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar8 = starting_bit >> 5;\n  if (iVar4 <= (int)uVar8) {\n    mVar6 = 0xffffffff;\n    if (iVar5 < 0) {\n      mVar6 = starting_bit;\n    }\n    return mVar6;\n  }\n  pmVar10 = u->_mp_d;\n  puVar2 = pmVar10 + uVar8;\n  uVar3 = *puVar2;\n  if (starting_bit != 0) {\n    if (iVar5 < 0) {\n      if (uVar8 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar7 = puVar2;\n        while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }\n      }\n      uVar3 = (1 << (starting_bit & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (pmVar10 + iVar4 + -1 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (starting_bit & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (pmVar10 + iVar4 + -1 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar7 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar7;\n  }\nLAB_00033c94:\n  uVar8 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar8 & 0xff) == 0) {\n      uVar8 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar8 & 0xff) == 0) {\n        uVar8 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar8 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - (int)pmVar10 >> 2) * 0x20 + iVar4;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "mp_bitcnt_t mVar6;" type_identifier identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "mp_limb_t *pmVar10;" type_identifier (pointer_declarator "*pmVar10" * identifier) ;) (expression_statement "iVar5 = u->_mp_size;" (assignment_expression "iVar5 = u->_mp_size" identifier = (field_expression "u->_mp_size" identifier -> field_identifier)) ;) (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) (if_statement "if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar4 = -iVar5;\n  }" { (expression_statement "iVar4 = -iVar5;" (assignment_expression "iVar4 = -iVar5" identifier = (unary_expression "-iVar5" - identifier)) ;) })) (expression_statement "uVar8 = starting_bit >> 5;" (assignment_expression "uVar8 = starting_bit >> 5" identifier = (binary_expression "starting_bit >> 5" identifier >> number_literal)) ;) (if_statement "if (iVar4 <= (int)uVar8) {\n    mVar6 = 0xffffffff;\n    if (iVar5 < 0) {\n      mVar6 = starting_bit;\n    }\n    return mVar6;\n  }" if (parenthesized_expression "(iVar4 <= (int)uVar8)" ( (binary_expression "iVar4 <= (int)uVar8" identifier <= (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    mVar6 = 0xffffffff;\n    if (iVar5 < 0) {\n      mVar6 = starting_bit;\n    }\n    return mVar6;\n  }" { (expression_statement "mVar6 = 0xffffffff;" (assignment_expression "mVar6 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (iVar5 < 0) {\n      mVar6 = starting_bit;\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      mVar6 = starting_bit;\n    }" { (expression_statement "mVar6 = starting_bit;" (assignment_expression "mVar6 = starting_bit" identifier = identifier) ;) })) (return_statement "return mVar6;" return identifier ;) })) (expression_statement "pmVar10 = u->_mp_d;" (assignment_expression "pmVar10 = u->_mp_d" identifier = (field_expression "u->_mp_d" identifier -> field_identifier)) ;) (expression_statement "puVar2 = pmVar10 + uVar8;" (assignment_expression "puVar2 = pmVar10 + uVar8" identifier = (binary_expression "pmVar10 + uVar8" identifier + identifier)) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (if_statement "if (starting_bit != 0) {\n    if (iVar5 < 0) {\n      if (uVar8 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar7 = puVar2;\n        while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }\n      }\n      uVar3 = (1 << (starting_bit & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (pmVar10 + iVar4 + -1 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (starting_bit & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (pmVar10 + iVar4 + -1 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }" if (parenthesized_expression "(starting_bit != 0)" ( (binary_expression "starting_bit != 0" identifier != number_literal) )) (compound_statement "{\n    if (iVar5 < 0) {\n      if (uVar8 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar7 = puVar2;\n        while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }\n      }\n      uVar3 = (1 << (starting_bit & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (pmVar10 + iVar4 + -1 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (starting_bit & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (pmVar10 + iVar4 + -1 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }" { (if_statement "if (iVar5 < 0) {\n      if (uVar8 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar7 = puVar2;\n        while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }\n      }\n      uVar3 = (1 << (starting_bit & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (pmVar10 + iVar4 + -1 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      if (uVar8 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar7 = puVar2;\n        while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }\n      }\n      uVar3 = (1 << (starting_bit & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (pmVar10 + iVar4 + -1 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }" { (if_statement "if (uVar8 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar7 = puVar2;\n        while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }\n      }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }" { (labeled_statement "LAB_00033d74:\n        bVar1 = uVar3 == 0;" statement_identifier : (expression_statement "bVar1 = uVar3 == 0;" (assignment_expression "bVar1 = uVar3 == 0" identifier = (binary_expression "uVar3 == 0" identifier == number_literal)) ;)) (expression_statement "uVar3 = uVar3 - 1;" (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ;) (if_statement "if (bVar1) goto LAB_00033cd0;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00033cd0;" goto statement_identifier ;)) }) (else_clause "else {\n        uVar9 = puVar2[-1];\n        puVar7 = puVar2;\n        while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }\n      }" else (compound_statement "{\n        uVar9 = puVar2[-1];\n        puVar7 = puVar2;\n        while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }\n      }" { (expression_statement "uVar9 = puVar2[-1];" (assignment_expression "uVar9 = puVar2[-1]" identifier = (subscript_expression "puVar2[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar7 = puVar2;" (assignment_expression "puVar7 = puVar2" identifier = identifier) ;) (while_statement "while( true ) {\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar8 = uVar8 - 1;\n          if (uVar9 != 0) break;\n          if (uVar8 == 0) goto LAB_00033d74;\n          uVar9 = puVar7[-2];\n          puVar7 = puVar7 + -1;\n        }" { (expression_statement "uVar8 = uVar8 - 1;" (assignment_expression "uVar8 = uVar8 - 1" identifier = (binary_expression "uVar8 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 != 0) break;" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if (uVar8 == 0) goto LAB_00033d74;" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00033d74;" goto statement_identifier ;)) (expression_statement "uVar9 = puVar7[-2];" (assignment_expression "uVar9 = puVar7[-2]" identifier = (subscript_expression "puVar7[-2]" identifier [ number_literal ])) ;) (expression_statement "puVar7 = puVar7 + -1;" (assignment_expression "puVar7 = puVar7 + -1" identifier = (binary_expression "puVar7 + -1" identifier + number_literal)) ;) })) }))) (expression_statement "uVar3 = (1 << (starting_bit & 0x1f)) - 1U | uVar3;" (assignment_expression "uVar3 = (1 << (starting_bit & 0x1f)) - 1U | uVar3" identifier = (binary_expression "(1 << (starting_bit & 0x1f)) - 1U | uVar3" (binary_expression "(1 << (starting_bit & 0x1f)) - 1U" (parenthesized_expression "(1 << (starting_bit & 0x1f))" ( (binary_expression "1 << (starting_bit & 0x1f)" number_literal << (parenthesized_expression "(starting_bit & 0x1f)" ( (binary_expression "starting_bit & 0x1f" identifier & number_literal) ))) )) - number_literal) | identifier)) ;) (while_statement "while (uVar3 == 0xffffffff) {\n        if (pmVar10 + iVar4 + -1 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }" while (parenthesized_expression "(uVar3 == 0xffffffff)" ( (binary_expression "uVar3 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        if (pmVar10 + iVar4 + -1 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }" { (if_statement "if (pmVar10 + iVar4 + -1 == puVar2) {\n          return iVar4 << 5;\n        }" if (parenthesized_expression "(pmVar10 + iVar4 + -1 == puVar2)" ( (binary_expression "pmVar10 + iVar4 + -1 == puVar2" (binary_expression "pmVar10 + iVar4 + -1" (binary_expression "pmVar10 + iVar4" identifier + identifier) + number_literal) == identifier) )) (compound_statement "{\n          return iVar4 << 5;\n        }" { (return_statement "return iVar4 << 5;" return (binary_expression "iVar4 << 5" identifier << number_literal) ;) })) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) })) (expression_statement "uVar3 = ~uVar3;" (assignment_expression "uVar3 = ~uVar3" identifier = (unary_expression "~uVar3" ~ identifier)) ;) (goto_statement "goto LAB_00033c94;" goto statement_identifier ;) })) (expression_statement "uVar3 = uVar3 & -1 << (starting_bit & 0x1f);" (assignment_expression "uVar3 = uVar3 & -1 << (starting_bit & 0x1f)" identifier = (binary_expression "uVar3 & -1 << (starting_bit & 0x1f)" identifier & (binary_expression "-1 << (starting_bit & 0x1f)" number_literal << (parenthesized_expression "(starting_bit & 0x1f)" ( (binary_expression "starting_bit & 0x1f" identifier & number_literal) ))))) ;) (if_statement "if (uVar3 != 0) goto LAB_00033c94;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00033c94;" goto statement_identifier ;)) (if_statement "if (pmVar10 + iVar4 + -1 == puVar2) {\n      return 0xffffffff;\n    }" if (parenthesized_expression "(pmVar10 + iVar4 + -1 == puVar2)" ( (binary_expression "pmVar10 + iVar4 + -1 == puVar2" (binary_expression "pmVar10 + iVar4 + -1" (binary_expression "pmVar10 + iVar4" identifier + identifier) + number_literal) == identifier) )) (compound_statement "{\n      return 0xffffffff;\n    }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (labeled_statement "LAB_00033cd0:\n    uVar3 = puVar2[1];" statement_identifier : (expression_statement "uVar3 = puVar2[1];" (assignment_expression "uVar3 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;)) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (while_statement "while (uVar3 == 0) {\n    puVar7 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar7;\n  }" while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar7 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar7;\n  }" { (expression_statement "puVar7 = puVar2 + 1;" (assignment_expression "puVar7 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = *puVar7;" (assignment_expression "uVar3 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) })) (labeled_statement "LAB_00033c94:\n  uVar8 = uVar3 >> 8;" statement_identifier : (expression_statement "uVar8 = uVar3 >> 8;" (assignment_expression "uVar8 = uVar3 >> 8" identifier = (binary_expression "uVar3 >> 8" identifier >> number_literal)) ;)) (if_statement "if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar8 & 0xff) == 0) {\n      uVar8 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar8 & 0xff) == 0) {\n        uVar8 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar8 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" if (parenthesized_expression "((uVar3 & 0xff) == 0)" ( (binary_expression "(uVar3 & 0xff) == 0" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar4 = 6;\n    if ((uVar8 & 0xff) == 0) {\n      uVar8 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar8 & 0xff) == 0) {\n        uVar8 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar8 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] + iVar4;\n  }" { (expression_statement "iVar4 = 6;" (assignment_expression "iVar4 = 6" identifier = number_literal) ;) (if_statement "if ((uVar8 & 0xff) == 0) {\n      uVar8 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar8 & 0xff) == 0) {\n        uVar8 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar8 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }" if (parenthesized_expression "((uVar8 & 0xff) == 0)" ( (binary_expression "(uVar8 & 0xff) == 0" (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar8 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar8 & 0xff) == 0) {\n        uVar8 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar8 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }" { (expression_statement "uVar8 = uVar3 >> 0x10;" (assignment_expression "uVar8 = uVar3 >> 0x10" identifier = (binary_expression "uVar3 >> 0x10" identifier >> number_literal)) ;) (expression_statement "iVar4 = 0xe;" (assignment_expression "iVar4 = 0xe" identifier = number_literal) ;) (if_statement "if ((uVar8 & 0xff) == 0) {\n        uVar8 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar8 != 0) {\n          iVar4 = 0x16;\n        }\n      }" if (parenthesized_expression "((uVar8 & 0xff) == 0)" ( (binary_expression "(uVar8 & 0xff) == 0" (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar8 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar8 != 0) {\n          iVar4 = 0x16;\n        }\n      }" { (expression_statement "uVar8 = uVar3 >> 0x18;" (assignment_expression "uVar8 = uVar3 >> 0x18" identifier = (binary_expression "uVar3 >> 0x18" identifier >> number_literal)) ;) (expression_statement "iVar4 = 0x1e;" (assignment_expression "iVar4 = 0x1e" identifier = number_literal) ;) (if_statement "if (uVar8 != 0) {\n          iVar4 = 0x16;\n        }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar4 = 0x16;\n        }" { (expression_statement "iVar4 = 0x16;" (assignment_expression "iVar4 = 0x16" identifier = number_literal) ;) })) })) })) (expression_statement "iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] + iVar4;" (assignment_expression "iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] + iVar4" identifier = (binary_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] + iVar4" (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8]" identifier [ (binary_expression "-uVar8 & uVar8" (unary_expression "-uVar8" - identifier) & identifier) ]))) + identifier)) ;) }) (else_clause "else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" else (compound_statement "{\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" { (expression_statement "iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;" (assignment_expression "iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2" identifier = (binary_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2" (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" identifier [ (binary_expression "-uVar3 & uVar3" (unary_expression "-uVar3" - identifier) & identifier) ])) - number_literal)) ;) }))) (return_statement "return ((int)puVar2 - (int)pmVar10 >> 2) * 0x20 + iVar4;" return (binary_expression "((int)puVar2 - (int)pmVar10 >> 2) * 0x20 + iVar4" (binary_expression "((int)puVar2 - (int)pmVar10 >> 2) * 0x20" (parenthesized_expression "((int)puVar2 - (int)pmVar10 >> 2)" ( (binary_expression "(int)puVar2 - (int)pmVar10 >> 2" (binary_expression "(int)puVar2 - (int)pmVar10" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pmVar10" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )) * number_literal) + identifier) ;) })))
(translation_unit "uint __gmpz_scan1(int param_1,uint param_2)\n\n{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  uint *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  iVar5 = *(int *)(param_1 + 4);\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar7 = param_2 >> 5;\n  if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }\n  iVar10 = *(int *)(param_1 + 8);\n  puVar2 = (uint *)(iVar10 + uVar7 * 4);\n  uVar3 = *puVar2;\n  if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }\nLAB_00033c94:\n  uVar7 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;\n}\n\n" (function_definition "uint __gmpz_scan1(int param_1,uint param_2)\n\n{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  uint *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  iVar5 = *(int *)(param_1 + 4);\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar7 = param_2 >> 5;\n  if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }\n  iVar10 = *(int *)(param_1 + 8);\n  puVar2 = (uint *)(iVar10 + uVar7 * 4);\n  uVar3 = *puVar2;\n  if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }\nLAB_00033c94:\n  uVar7 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;\n}" type_identifier (function_declarator "__gmpz_scan1(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  uint *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  iVar5 = *(int *)(param_1 + 4);\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar7 = param_2 >> 5;\n  if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }\n  iVar10 = *(int *)(param_1 + 8);\n  puVar2 = (uint *)(iVar10 + uVar7 * 4);\n  uVar3 = *puVar2;\n  if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }\nLAB_00033c94:\n  uVar7 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "iVar5 = *(int *)(param_1 + 4);" (assignment_expression "iVar5 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) (if_statement "if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar4 = -iVar5;\n  }" { (expression_statement "iVar4 = -iVar5;" (assignment_expression "iVar4 = -iVar5" identifier = (unary_expression "-iVar5" - identifier)) ;) })) (expression_statement "uVar7 = param_2 >> 5;" (assignment_expression "uVar7 = param_2 >> 5" identifier = (binary_expression "param_2 >> 5" identifier >> number_literal)) ;) (if_statement "if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }" if (parenthesized_expression "(iVar4 <= (int)uVar7)" ( (binary_expression "iVar4 <= (int)uVar7" identifier <= (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }" { (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (iVar5 < 0) {\n      uVar7 = param_2;\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar7 = param_2;\n    }" { (expression_statement "uVar7 = param_2;" (assignment_expression "uVar7 = param_2" identifier = identifier) ;) })) (return_statement "return uVar7;" return identifier ;) })) (expression_statement "iVar10 = *(int *)(param_1 + 8);" (assignment_expression "iVar10 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (uint *)(iVar10 + uVar7 * 4);" (assignment_expression "puVar2 = (uint *)(iVar10 + uVar7 * 4)" identifier = (cast_expression "(uint *)(iVar10 + uVar7 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + uVar7 * 4)" ( (binary_expression "iVar10 + uVar7 * 4" identifier + (binary_expression "uVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (if_statement "if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);" (assignment_expression "puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4)" identifier = (cast_expression "(uint *)(iVar10 + iVar4 * 4 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar4 * 4 + -4)" ( (binary_expression "iVar10 + iVar4 * 4 + -4" (binary_expression "iVar10 + iVar4 * 4" identifier + (binary_expression "iVar4 * 4" identifier * number_literal)) + number_literal) )))) ;) (if_statement "if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }" { (if_statement "if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }" { (labeled_statement "LAB_00033d74:\n        bVar1 = uVar3 == 0;" statement_identifier : (expression_statement "bVar1 = uVar3 == 0;" (assignment_expression "bVar1 = uVar3 == 0" identifier = (binary_expression "uVar3 == 0" identifier == number_literal)) ;)) (expression_statement "uVar3 = uVar3 - 1;" (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ;) (if_statement "if (bVar1) goto LAB_00033cd0;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00033cd0;" goto statement_identifier ;)) }) (else_clause "else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }" else (compound_statement "{\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }" { (expression_statement "uVar9 = puVar2[-1];" (assignment_expression "uVar9 = puVar2[-1]" identifier = (subscript_expression "puVar2[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" identifier = identifier) ;) (while_statement "while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }" { (expression_statement "uVar7 = uVar7 - 1;" (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 != 0) break;" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if (uVar7 == 0) goto LAB_00033d74;" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00033d74;" goto statement_identifier ;)) (expression_statement "uVar9 = puVar6[-2];" (assignment_expression "uVar9 = puVar6[-2]" identifier = (subscript_expression "puVar6[-2]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = puVar6 + -1;" (assignment_expression "puVar6 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) })) }))) (expression_statement "uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;" (assignment_expression "uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3" identifier = (binary_expression "(1 << (param_2 & 0x1f)) - 1U | uVar3" (binary_expression "(1 << (param_2 & 0x1f)) - 1U" (parenthesized_expression "(1 << (param_2 & 0x1f))" ( (binary_expression "1 << (param_2 & 0x1f)" number_literal << (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) ))) )) - number_literal) | identifier)) ;) (while_statement "while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }" while (parenthesized_expression "(uVar3 == 0xffffffff)" ( (binary_expression "uVar3 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }" { (if_statement "if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }" if (parenthesized_expression "(puVar8 == puVar2)" ( (binary_expression "puVar8 == puVar2" identifier == identifier) )) (compound_statement "{\n          return iVar4 << 5;\n        }" { (return_statement "return iVar4 << 5;" return (binary_expression "iVar4 << 5" identifier << number_literal) ;) })) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) })) (expression_statement "uVar3 = ~uVar3;" (assignment_expression "uVar3 = ~uVar3" identifier = (unary_expression "~uVar3" ~ identifier)) ;) (goto_statement "goto LAB_00033c94;" goto statement_identifier ;) })) (expression_statement "uVar3 = uVar3 & -1 << (param_2 & 0x1f);" (assignment_expression "uVar3 = uVar3 & -1 << (param_2 & 0x1f)" identifier = (binary_expression "uVar3 & -1 << (param_2 & 0x1f)" identifier & (binary_expression "-1 << (param_2 & 0x1f)" number_literal << (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) ))))) ;) (if_statement "if (uVar3 != 0) goto LAB_00033c94;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00033c94;" goto statement_identifier ;)) (if_statement "if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }" if (parenthesized_expression "(puVar8 == puVar2)" ( (binary_expression "puVar8 == puVar2" identifier == identifier) )) (compound_statement "{\n      return 0xffffffff;\n    }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (labeled_statement "LAB_00033cd0:\n    uVar3 = puVar2[1];" statement_identifier : (expression_statement "uVar3 = puVar2[1];" (assignment_expression "uVar3 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;)) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (while_statement "while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }" while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }" { (expression_statement "puVar8 = puVar2 + 1;" (assignment_expression "puVar8 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = *puVar8;" (assignment_expression "uVar3 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) })) (labeled_statement "LAB_00033c94:\n  uVar7 = uVar3 >> 8;" statement_identifier : (expression_statement "uVar7 = uVar3 >> 8;" (assignment_expression "uVar7 = uVar3 >> 8" identifier = (binary_expression "uVar3 >> 8" identifier >> number_literal)) ;)) (if_statement "if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" if (parenthesized_expression "((uVar3 & 0xff) == 0)" ( (binary_expression "(uVar3 & 0xff) == 0" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }" { (expression_statement "iVar4 = 6;" (assignment_expression "iVar4 = 6" identifier = number_literal) ;) (if_statement "if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }" if (parenthesized_expression "((uVar7 & 0xff) == 0)" ( (binary_expression "(uVar7 & 0xff) == 0" (parenthesized_expression "(uVar7 & 0xff)" ( (binary_expression "uVar7 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }" { (expression_statement "uVar7 = uVar3 >> 0x10;" (assignment_expression "uVar7 = uVar3 >> 0x10" identifier = (binary_expression "uVar3 >> 0x10" identifier >> number_literal)) ;) (expression_statement "iVar4 = 0xe;" (assignment_expression "iVar4 = 0xe" identifier = number_literal) ;) (if_statement "if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }" if (parenthesized_expression "((uVar7 & 0xff) == 0)" ( (binary_expression "(uVar7 & 0xff) == 0" (parenthesized_expression "(uVar7 & 0xff)" ( (binary_expression "uVar7 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }" { (expression_statement "uVar7 = uVar3 >> 0x18;" (assignment_expression "uVar7 = uVar3 >> 0x18" identifier = (binary_expression "uVar3 >> 0x18" identifier >> number_literal)) ;) (expression_statement "iVar4 = 0x1e;" (assignment_expression "iVar4 = 0x1e" identifier = number_literal) ;) (if_statement "if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar4 = 0x16;\n        }" { (expression_statement "iVar4 = 0x16;" (assignment_expression "iVar4 = 0x16" identifier = number_literal) ;) })) })) })) (expression_statement "iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;" (assignment_expression "iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4" identifier = (binary_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4" (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" identifier [ (binary_expression "-uVar7 & uVar7" (unary_expression "-uVar7" - identifier) & identifier) ]))) + identifier)) ;) }) (else_clause "else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" else (compound_statement "{\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" { (expression_statement "iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;" (assignment_expression "iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2" identifier = (binary_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2" (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" identifier [ (binary_expression "-uVar3 & uVar3" (unary_expression "-uVar3" - identifier) & identifier) ])) - number_literal)) ;) }))) (return_statement "return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;" return (binary_expression "((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4" (binary_expression "((int)puVar2 - iVar10 >> 2) * 0x20" (parenthesized_expression "((int)puVar2 - iVar10 >> 2)" ( (binary_expression "(int)puVar2 - iVar10 >> 2" (binary_expression "(int)puVar2 - iVar10" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) >> number_literal) )) * number_literal) + identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) - LIT) | IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return (binary_expression IDENT << LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return LIT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (while_statement while (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_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) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) })) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (unary_expression - IDENT) & IDENT) ]))) + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (unary_expression - IDENT) & IDENT) ])) - LIT)) ;) }))) (return_statement return (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) >> LIT) )) * LIT) + IDENT) ;) })))
(function_definition "uint __gmpz_scan1(int param_1,uint param_2)\n\n{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  uint *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  iVar5 = *(int *)(param_1 + 4);\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar7 = param_2 >> 5;\n  if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }\n  iVar10 = *(int *)(param_1 + 8);\n  puVar2 = (uint *)(iVar10 + uVar7 * 4);\n  uVar3 = *puVar2;\n  if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }\nLAB_00033c94:\n  uVar7 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;\n}" (type_identifier "uint") (function_declarator "__gmpz_scan1(int param_1,uint param_2)" (identifier "__gmpz_scan1") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  bool bVar1;\n  uint *puVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  uint *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  iVar5 = *(int *)(param_1 + 4);\n  iVar4 = iVar5;\n  if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }\n  uVar7 = param_2 >> 5;\n  if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }\n  iVar10 = *(int *)(param_1 + 8);\n  puVar2 = (uint *)(iVar10 + uVar7 * 4);\n  uVar3 = *puVar2;\n  if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }\n  while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }\nLAB_00033c94:\n  uVar7 = uVar3 >> 8;\n  if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }\n  return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint *puVar8;" (type_identifier "uint") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (expression_statement "iVar5 = *(int *)(param_1 + 4);" (assignment_expression "iVar5 = *(int *)(param_1 + 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" (identifier "iVar4") (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (iVar5 < 0) {\n    iVar4 = -iVar5;\n  }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = -iVar5;\n  }" ({ "{") (expression_statement "iVar4 = -iVar5;" (assignment_expression "iVar4 = -iVar5" (identifier "iVar4") (= "=") (unary_expression "-iVar5" (- "-") (identifier "iVar5"))) (; ";")) (} "}"))) (expression_statement "uVar7 = param_2 >> 5;" (assignment_expression "uVar7 = param_2 >> 5" (identifier "uVar7") (= "=") (binary_expression "param_2 >> 5" (identifier "param_2") (>> ">>") (number_literal "5"))) (; ";")) (if_statement "if (iVar4 <= (int)uVar7) {\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }" (if "if") (parenthesized_expression "(iVar4 <= (int)uVar7)" (( "(") (binary_expression "iVar4 <= (int)uVar7" (identifier "iVar4") (<= "<=") (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7"))) () ")")) (compound_statement "{\n    uVar7 = 0xffffffff;\n    if (iVar5 < 0) {\n      uVar7 = param_2;\n    }\n    return uVar7;\n  }" ({ "{") (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" (identifier "uVar7") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (iVar5 < 0) {\n      uVar7 = param_2;\n    }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar7 = param_2;\n    }" ({ "{") (expression_statement "uVar7 = param_2;" (assignment_expression "uVar7 = param_2" (identifier "uVar7") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (return_statement "return uVar7;" (return "return") (identifier "uVar7") (; ";")) (} "}"))) (expression_statement "iVar10 = *(int *)(param_1 + 8);" (assignment_expression "iVar10 = *(int *)(param_1 + 8)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "puVar2 = (uint *)(iVar10 + uVar7 * 4);" (assignment_expression "puVar2 = (uint *)(iVar10 + uVar7 * 4)" (identifier "puVar2") (= "=") (cast_expression "(uint *)(iVar10 + uVar7 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + uVar7 * 4)" (( "(") (binary_expression "iVar10 + uVar7 * 4" (identifier "iVar10") (+ "+") (binary_expression "uVar7 * 4" (identifier "uVar7") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" (identifier "uVar3") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (if_statement "if (param_2 != 0) {\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);\n    if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }\n    uVar3 = uVar3 & -1 << (param_2 & 0x1f);\n    if (uVar3 != 0) goto LAB_00033c94;\n    if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }\nLAB_00033cd0:\n    uVar3 = puVar2[1];\n    puVar2 = puVar2 + 1;\n  }" ({ "{") (expression_statement "puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);" (assignment_expression "puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4)" (identifier "puVar8") (= "=") (cast_expression "(uint *)(iVar10 + iVar4 * 4 + -4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + iVar4 * 4 + -4)" (( "(") (binary_expression "iVar10 + iVar4 * 4 + -4" (binary_expression "iVar10 + iVar4 * 4" (identifier "iVar10") (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) (+ "+") (number_literal "-4")) () ")")))) (; ";")) (if_statement "if (iVar5 < 0) {\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }\n      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;\n      while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }\n      uVar3 = ~uVar3;\n      goto LAB_00033c94;\n    }" ({ "{") (if_statement "if (uVar7 == 0) {\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }\n      else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }" (if "if") (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00033d74:\n        bVar1 = uVar3 == 0;\n        uVar3 = uVar3 - 1;\n        if (bVar1) goto LAB_00033cd0;\n      }" ({ "{") (labeled_statement "LAB_00033d74:\n        bVar1 = uVar3 == 0;" (statement_identifier "LAB_00033d74") (: ":") (expression_statement "bVar1 = uVar3 == 0;" (assignment_expression "bVar1 = uVar3 == 0" (identifier "bVar1") (= "=") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0"))) (; ";"))) (expression_statement "uVar3 = uVar3 - 1;" (assignment_expression "uVar3 = uVar3 - 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (bVar1) goto LAB_00033cd0;" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (goto_statement "goto LAB_00033cd0;" (goto "goto") (statement_identifier "LAB_00033cd0") (; ";"))) (} "}")) (else_clause "else {\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }" (else "else") (compound_statement "{\n        uVar9 = puVar2[-1];\n        puVar6 = puVar2;\n        while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }\n      }" ({ "{") (expression_statement "uVar9 = puVar2[-1];" (assignment_expression "uVar9 = puVar2[-1]" (identifier "uVar9") (= "=") (subscript_expression "puVar2[-1]" (identifier "puVar2") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" (identifier "puVar6") (= "=") (identifier "puVar2")) (; ";")) (while_statement "while( true ) {\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          uVar7 = uVar7 - 1;\n          if (uVar9 != 0) break;\n          if (uVar7 == 0) goto LAB_00033d74;\n          uVar9 = puVar6[-2];\n          puVar6 = puVar6 + -1;\n        }" ({ "{") (expression_statement "uVar7 = uVar7 - 1;" (assignment_expression "uVar7 = uVar7 - 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 - 1" (identifier "uVar7") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 != 0) break;" (if "if") (parenthesized_expression "(uVar9 != 0)" (( "(") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (uVar7 == 0) goto LAB_00033d74;" (if "if") (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00033d74;" (goto "goto") (statement_identifier "LAB_00033d74") (; ";"))) (expression_statement "uVar9 = puVar6[-2];" (assignment_expression "uVar9 = puVar6[-2]" (identifier "uVar9") (= "=") (subscript_expression "puVar6[-2]" (identifier "puVar6") ([ "[") (number_literal "-2") (] "]"))) (; ";")) (expression_statement "puVar6 = puVar6 + -1;" (assignment_expression "puVar6 = puVar6 + -1" (identifier "puVar6") (= "=") (binary_expression "puVar6 + -1" (identifier "puVar6") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;" (assignment_expression "uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3" (identifier "uVar3") (= "=") (binary_expression "(1 << (param_2 & 0x1f)) - 1U | uVar3" (binary_expression "(1 << (param_2 & 0x1f)) - 1U" (parenthesized_expression "(1 << (param_2 & 0x1f))" (( "(") (binary_expression "1 << (param_2 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(param_2 & 0x1f)" (( "(") (binary_expression "param_2 & 0x1f" (identifier "param_2") (& "&") (number_literal "0x1f")) () ")"))) () ")")) (- "-") (number_literal "1U")) (| "|") (identifier "uVar3"))) (; ";")) (while_statement "while (uVar3 == 0xffffffff) {\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }" (while "while") (parenthesized_expression "(uVar3 == 0xffffffff)" (( "(") (binary_expression "uVar3 == 0xffffffff" (identifier "uVar3") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n        if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }\n        puVar2 = puVar2 + 1;\n        uVar3 = *puVar2;\n      }" ({ "{") (if_statement "if (puVar8 == puVar2) {\n          return iVar4 << 5;\n        }" (if "if") (parenthesized_expression "(puVar8 == puVar2)" (( "(") (binary_expression "puVar8 == puVar2" (identifier "puVar8") (== "==") (identifier "puVar2")) () ")")) (compound_statement "{\n          return iVar4 << 5;\n        }" ({ "{") (return_statement "return iVar4 << 5;" (return "return") (binary_expression "iVar4 << 5" (identifier "iVar4") (<< "<<") (number_literal "5")) (; ";")) (} "}"))) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" (identifier "uVar3") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (} "}"))) (expression_statement "uVar3 = ~uVar3;" (assignment_expression "uVar3 = ~uVar3" (identifier "uVar3") (= "=") (unary_expression "~uVar3" (~ "~") (identifier "uVar3"))) (; ";")) (goto_statement "goto LAB_00033c94;" (goto "goto") (statement_identifier "LAB_00033c94") (; ";")) (} "}"))) (expression_statement "uVar3 = uVar3 & -1 << (param_2 & 0x1f);" (assignment_expression "uVar3 = uVar3 & -1 << (param_2 & 0x1f)" (identifier "uVar3") (= "=") (binary_expression "uVar3 & -1 << (param_2 & 0x1f)" (identifier "uVar3") (& "&") (binary_expression "-1 << (param_2 & 0x1f)" (number_literal "-1") (<< "<<") (parenthesized_expression "(param_2 & 0x1f)" (( "(") (binary_expression "param_2 & 0x1f" (identifier "param_2") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (if_statement "if (uVar3 != 0) goto LAB_00033c94;" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00033c94;" (goto "goto") (statement_identifier "LAB_00033c94") (; ";"))) (if_statement "if (puVar8 == puVar2) {\n      return 0xffffffff;\n    }" (if "if") (parenthesized_expression "(puVar8 == puVar2)" (( "(") (binary_expression "puVar8 == puVar2" (identifier "puVar8") (== "==") (identifier "puVar2")) () ")")) (compound_statement "{\n      return 0xffffffff;\n    }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (labeled_statement "LAB_00033cd0:\n    uVar3 = puVar2[1];" (statement_identifier "LAB_00033cd0") (: ":") (expression_statement "uVar3 = puVar2[1];" (assignment_expression "uVar3 = puVar2[1]" (identifier "uVar3") (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (while_statement "while (uVar3 == 0) {\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }" (while "while") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar8 = puVar2 + 1;\n    puVar2 = puVar2 + 1;\n    uVar3 = *puVar8;\n  }" ({ "{") (expression_statement "puVar8 = puVar2 + 1;" (assignment_expression "puVar8 = puVar2 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = *puVar8;" (assignment_expression "uVar3 = *puVar8" (identifier "uVar3") (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (} "}"))) (labeled_statement "LAB_00033c94:\n  uVar7 = uVar3 >> 8;" (statement_identifier "LAB_00033c94") (: ":") (expression_statement "uVar7 = uVar3 >> 8;" (assignment_expression "uVar7 = uVar3 >> 8" (identifier "uVar7") (= "=") (binary_expression "uVar3 >> 8" (identifier "uVar3") (>> ">>") (number_literal "8"))) (; ";"))) (if_statement "if ((uVar3 & 0xff) == 0) {\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }\n  else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" (if "if") (parenthesized_expression "((uVar3 & 0xff) == 0)" (( "(") (binary_expression "(uVar3 & 0xff) == 0" (parenthesized_expression "(uVar3 & 0xff)" (( "(") (binary_expression "uVar3 & 0xff" (identifier "uVar3") (& "&") (number_literal "0xff")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = 6;\n    if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }\n    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;\n  }" ({ "{") (expression_statement "iVar4 = 6;" (assignment_expression "iVar4 = 6" (identifier "iVar4") (= "=") (number_literal "6")) (; ";")) (if_statement "if ((uVar7 & 0xff) == 0) {\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }" (if "if") (parenthesized_expression "((uVar7 & 0xff) == 0)" (( "(") (binary_expression "(uVar7 & 0xff) == 0" (parenthesized_expression "(uVar7 & 0xff)" (( "(") (binary_expression "uVar7 & 0xff" (identifier "uVar7") (& "&") (number_literal "0xff")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar7 = uVar3 >> 0x10;\n      iVar4 = 0xe;\n      if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }\n    }" ({ "{") (expression_statement "uVar7 = uVar3 >> 0x10;" (assignment_expression "uVar7 = uVar3 >> 0x10" (identifier "uVar7") (= "=") (binary_expression "uVar3 >> 0x10" (identifier "uVar3") (>> ">>") (number_literal "0x10"))) (; ";")) (expression_statement "iVar4 = 0xe;" (assignment_expression "iVar4 = 0xe" (identifier "iVar4") (= "=") (number_literal "0xe")) (; ";")) (if_statement "if ((uVar7 & 0xff) == 0) {\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }" (if "if") (parenthesized_expression "((uVar7 & 0xff) == 0)" (( "(") (binary_expression "(uVar7 & 0xff) == 0" (parenthesized_expression "(uVar7 & 0xff)" (( "(") (binary_expression "uVar7 & 0xff" (identifier "uVar7") (& "&") (number_literal "0xff")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar7 = uVar3 >> 0x18;\n        iVar4 = 0x1e;\n        if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }\n      }" ({ "{") (expression_statement "uVar7 = uVar3 >> 0x18;" (assignment_expression "uVar7 = uVar3 >> 0x18" (identifier "uVar7") (= "=") (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18"))) (; ";")) (expression_statement "iVar4 = 0x1e;" (assignment_expression "iVar4 = 0x1e" (identifier "iVar4") (= "=") (number_literal "0x1e")) (; ";")) (if_statement "if (uVar7 != 0) {\n          iVar4 = 0x16;\n        }" (if "if") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar4 = 0x16;\n        }" ({ "{") (expression_statement "iVar4 = 0x16;" (assignment_expression "iVar4 = 0x16" (identifier "iVar4") (= "=") (number_literal "0x16")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;" (assignment_expression "iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4" (identifier "iVar4") (= "=") (binary_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4" (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" (identifier "PTR___gmpn_clz_tab_0009d18c") ([ "[") (binary_expression "-uVar7 & uVar7" (unary_expression "-uVar7" (- "-") (identifier "uVar7")) (& "&") (identifier "uVar7")) (] "]")))) (+ "+") (identifier "iVar4"))) (; ";")) (} "}")) (else_clause "else {\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" (else "else") (compound_statement "{\n    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;\n  }" ({ "{") (expression_statement "iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;" (assignment_expression "iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2" (identifier "iVar4") (= "=") (binary_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2" (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" (identifier "PTR___gmpn_clz_tab_0009d18c") ([ "[") (binary_expression "-uVar3 & uVar3" (unary_expression "-uVar3" (- "-") (identifier "uVar3")) (& "&") (identifier "uVar3")) (] "]"))) (- "-") (number_literal "2"))) (; ";")) (} "}")))) (return_statement "return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;" (return "return") (binary_expression "((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4" (binary_expression "((int)puVar2 - iVar10 >> 2) * 0x20" (parenthesized_expression "((int)puVar2 - iVar10 >> 2)" (( "(") (binary_expression "(int)puVar2 - iVar10 >> 2" (binary_expression "(int)puVar2 - iVar10" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (- "-") (identifier "iVar10")) (>> ">>") (number_literal "2")) () ")")) (* "*") (number_literal "0x20")) (+ "+") (identifier "iVar4")) (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_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: (subscript_expression argument: (identifier) index: (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: (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (identifier)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (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: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_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)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (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: (compound_statement (expression_statement (assignment_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: (compound_statement (expression_statement (assignment_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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (unary_expression argument: (identifier)) right: (identifier))))) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (unary_expression argument: (identifier)) right: (identifier)))) right: (number_literal))))))) (return_statement (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))) right: (number_literal)) right: (identifier))))))

uint MASKED(int param_1,uint param_2)

{
  bool bVar1;
  uint *puVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  uint *puVar6;
  uint uVar7;
  uint *puVar8;
  uint uVar9;
  int iVar10;
  
  iVar5 = *(int *)(param_1 + 4);
  iVar4 = iVar5;
  if (iVar5 < 0) {
    iVar4 = -iVar5;
  }
  uVar7 = param_2 >> 5;
  if (iVar4 <= (int)uVar7) {
    uVar7 = 0xffffffff;
    if (iVar5 < 0) {
      uVar7 = param_2;
    }
    return uVar7;
  }
  iVar10 = *(int *)(param_1 + 8);
  puVar2 = (uint *)(iVar10 + uVar7 * 4);
  uVar3 = *puVar2;
  if (param_2 != 0) {
    puVar8 = (uint *)(iVar10 + iVar4 * 4 + -4);
    if (iVar5 < 0) {
      if (uVar7 == 0) {
LAB_00033d74:
        bVar1 = uVar3 == 0;
        uVar3 = uVar3 - 1;
        if (bVar1) goto LAB_00033cd0;
      }
      else {
        uVar9 = puVar2[-1];
        puVar6 = puVar2;
        while( true ) {
          uVar7 = uVar7 - 1;
          if (uVar9 != 0) break;
          if (uVar7 == 0) goto LAB_00033d74;
          uVar9 = puVar6[-2];
          puVar6 = puVar6 + -1;
        }
      }
      uVar3 = (1 << (param_2 & 0x1f)) - 1U | uVar3;
      while (uVar3 == 0xffffffff) {
        if (puVar8 == puVar2) {
          return iVar4 << 5;
        }
        puVar2 = puVar2 + 1;
        uVar3 = *puVar2;
      }
      uVar3 = ~uVar3;
      goto LAB_00033c94;
    }
    uVar3 = uVar3 & -1 << (param_2 & 0x1f);
    if (uVar3 != 0) goto LAB_00033c94;
    if (puVar8 == puVar2) {
      return 0xffffffff;
    }
LAB_00033cd0:
    uVar3 = puVar2[1];
    puVar2 = puVar2 + 1;
  }
  while (uVar3 == 0) {
    puVar8 = puVar2 + 1;
    puVar2 = puVar2 + 1;
    uVar3 = *puVar8;
  }
LAB_00033c94:
  uVar7 = uVar3 >> 8;
  if ((uVar3 & 0xff) == 0) {
    iVar4 = 6;
    if ((uVar7 & 0xff) == 0) {
      uVar7 = uVar3 >> 0x10;
      iVar4 = 0xe;
      if ((uVar7 & 0xff) == 0) {
        uVar7 = uVar3 >> 0x18;
        iVar4 = 0x1e;
        if (uVar7 != 0) {
          iVar4 = 0x16;
        }
      }
    }
    iVar4 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] + iVar4;
  }
  else {
    iVar4 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] - 2;
  }
  return ((int)puVar2 - iVar10 >> 2) * 0x20 + iVar4;
}

