
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x0001b8d0 */

void __gmpz_add_ui(mpz_ptr w,mpz_srcptr u,ulong vval)

{
  uint *puVar1;
  uint uVar2;
  uint *puVar3;
  int iVar4;
  uint *puVar5;
  uint uVar6;
  uint *puVar7;
  int iVar8;
  
  uVar6 = u->_mp_size;
  if (uVar6 == 0) {
    *w->_mp_d = vval;
    w->_mp_size = (uint)(vval != 0);
    return;
  }
  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);
  if (iVar8 < w->_mp_alloc) {
    puVar3 = w->_mp_d;
  }
  else {
    puVar3 = (uint *)__gmpz_realloc(w,iVar8 + 1);
  }
  puVar1 = u->_mp_d;
  uVar2 = *puVar1;
  if ((int)uVar6 < 0) {
    if (iVar8 == 1) {
      if (uVar2 < vval) {
        *puVar3 = vval - uVar2;
        iVar8 = 1;
        goto LAB_00022cde;
      }
      *puVar3 = uVar2 - vval;
    }
    else {
      *puVar3 = uVar2 - vval;
      if (uVar2 < vval) {
        uVar6 = puVar1[1];
        puVar3[1] = uVar6 - 1;
        if (uVar6 == 0) {
          if (iVar8 == 2) goto LAB_00022c80;
          uVar6 = puVar1[2];
          iVar4 = 3;
          puVar3[2] = uVar6 - 1;
          while (uVar6 == 0) {
            if (iVar8 == iVar4) goto LAB_00022c80;
            uVar6 = puVar1[iVar4];
            puVar3[iVar4] = uVar6 - 1;
            iVar4 = iVar4 + 1;
          }
        }
        else {
          iVar4 = 2;
        }
        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {
          puVar5 = puVar1 + iVar4;
          puVar7 = puVar3 + iVar4;
          do {
            uVar6 = *puVar5;
            puVar5 = puVar5 + 1;
            *puVar7 = uVar6;
            puVar7 = puVar7 + 1;
          } while (puVar5 != puVar1 + iVar8);
        }
      }
      else if (puVar3 != puVar1) {
        puVar5 = puVar1 + 1;
        puVar7 = puVar3;
        do {
          puVar7 = puVar7 + 1;
          uVar6 = *puVar5;
          puVar5 = puVar5 + 1;
          *puVar7 = uVar6;
        } while (puVar5 != puVar1 + iVar8);
      }
    }
LAB_00022c80:
    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;
    goto LAB_00022cde;
  }
  *puVar3 = vval + uVar2;
  if (CARRY4(vval,uVar2)) {
    if (iVar8 != 1) {
      uVar6 = puVar1[1];
      puVar3[1] = uVar6 + 1;
      if (uVar6 + 1 == 0) {
        if (iVar8 == 2) goto LAB_00022c10;
        uVar6 = puVar1[2] + 1;
        puVar3[2] = uVar6;
        iVar4 = 3;
        while (uVar6 == 0) {
          if (iVar8 == iVar4) goto LAB_00022c10;
          uVar6 = puVar1[iVar4] + 1;
          puVar3[iVar4] = uVar6;
          iVar4 = iVar4 + 1;
        }
      }
      else {
        iVar4 = 2;
      }
      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {
        puVar5 = puVar1 + iVar4;
        puVar7 = puVar3 + iVar4;
        do {
          uVar6 = *puVar5;
          puVar5 = puVar5 + 1;
          *puVar7 = uVar6;
          puVar7 = puVar7 + 1;
        } while (puVar1 + iVar8 != puVar5);
      }
      goto LAB_00022cd7;
    }
LAB_00022c10:
    uVar6 = 1;
  }
  else {
    if ((puVar3 != puVar1) && (iVar8 != 1)) {
      puVar5 = puVar1 + 1;
      puVar7 = puVar3;
      do {
        puVar7 = puVar7 + 1;
        uVar6 = *puVar5;
        puVar5 = puVar5 + 1;
        *puVar7 = uVar6;
      } while (puVar1 + iVar8 != puVar5);
    }
LAB_00022cd7:
    uVar6 = 0;
  }
  puVar3[iVar8] = uVar6;
  iVar8 = iVar8 + uVar6;
LAB_00022cde:
  w->_mp_size = iVar8;
  return;
}



/* WARNING: Switch with 1 destination removed at 0x0001b8d0 */

void __regparm2 __gmpz_add_ui(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)

{
  uint *puVar1;
  uint uVar2;
  uint *puVar3;
  int iVar4;
  uint *puVar5;
  uint uVar6;
  uint *puVar7;
  int iVar8;
  int *unaff_retaddr;
  
  entry(param_2,0x22b79,&__DT_PLTGOT);
  uVar6 = *(uint *)(param_3 + 4);
  if (uVar6 == 0) {
    *(uint *)unaff_retaddr[2] = param_4;
    unaff_retaddr[1] = (uint)(param_4 != 0);
    return;
  }
  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);
  if (iVar8 < *unaff_retaddr) {
    puVar3 = (uint *)unaff_retaddr[2];
  }
  else {
    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);
  }
  puVar1 = *(uint **)(param_3 + 8);
  uVar2 = *puVar1;
  if ((int)uVar6 < 0) {
    if (iVar8 == 1) {
      if (uVar2 < param_4) {
        *puVar3 = param_4 - uVar2;
        iVar8 = 1;
        goto LAB_00022cde;
      }
      *puVar3 = uVar2 - param_4;
    }
    else {
      *puVar3 = uVar2 - param_4;
      if (uVar2 < param_4) {
        uVar6 = puVar1[1];
        puVar3[1] = uVar6 - 1;
        if (uVar6 == 0) {
          if (iVar8 == 2) goto LAB_00022c80;
          uVar6 = puVar1[2];
          iVar4 = 3;
          puVar3[2] = uVar6 - 1;
          while (uVar6 == 0) {
            if (iVar8 == iVar4) goto LAB_00022c80;
            uVar6 = puVar1[iVar4];
            puVar3[iVar4] = uVar6 - 1;
            iVar4 = iVar4 + 1;
          }
        }
        else {
          iVar4 = 2;
        }
        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {
          puVar5 = puVar1 + iVar4;
          puVar7 = puVar3 + iVar4;
          do {
            uVar6 = *puVar5;
            puVar5 = puVar5 + 1;
            *puVar7 = uVar6;
            puVar7 = puVar7 + 1;
          } while (puVar5 != puVar1 + iVar8);
        }
      }
      else if (puVar3 != puVar1) {
        puVar5 = puVar1 + 1;
        puVar7 = puVar3;
        do {
          puVar7 = puVar7 + 1;
          uVar6 = *puVar5;
          puVar5 = puVar5 + 1;
          *puVar7 = uVar6;
        } while (puVar5 != puVar1 + iVar8);
      }
    }
LAB_00022c80:
    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;
    goto LAB_00022cde;
  }
  *puVar3 = param_4 + uVar2;
  if (CARRY4(param_4,uVar2)) {
    if (iVar8 != 1) {
      uVar6 = puVar1[1];
      puVar3[1] = uVar6 + 1;
      if (uVar6 + 1 == 0) {
        if (iVar8 == 2) goto LAB_00022c10;
        uVar6 = puVar1[2] + 1;
        puVar3[2] = uVar6;
        iVar4 = 3;
        while (uVar6 == 0) {
          if (iVar8 == iVar4) goto LAB_00022c10;
          uVar6 = puVar1[iVar4] + 1;
          puVar3[iVar4] = uVar6;
          iVar4 = iVar4 + 1;
        }
      }
      else {
        iVar4 = 2;
      }
      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {
        puVar5 = puVar1 + iVar4;
        puVar7 = puVar3 + iVar4;
        do {
          uVar6 = *puVar5;
          puVar5 = puVar5 + 1;
          *puVar7 = uVar6;
          puVar7 = puVar7 + 1;
        } while (puVar1 + iVar8 != puVar5);
      }
      goto LAB_00022cd7;
    }
LAB_00022c10:
    uVar6 = 1;
  }
  else {
    if ((puVar3 != puVar1) && (iVar8 != 1)) {
      puVar5 = puVar1 + 1;
      puVar7 = puVar3;
      do {
        puVar7 = puVar7 + 1;
        uVar6 = *puVar5;
        puVar5 = puVar5 + 1;
        *puVar7 = uVar6;
      } while (puVar1 + iVar8 != puVar5);
    }
LAB_00022cd7:
    uVar6 = 0;
  }
  puVar3[iVar8] = uVar6;
  iVar8 = iVar8 + uVar6;
LAB_00022cde:
  unaff_retaddr[1] = iVar8;
  return;
}


JMP dword ptr [EBX + 0x230]
(translation_unit "/* WARNING: Switch with 1 destination removed at 0x0001b8d0 */\n\nvoid __regparm2 __gmpz_add_ui(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  int *unaff_retaddr;\n  \n  entry(param_2,0x22b79,&__DT_PLTGOT);\n  uVar6 = *(uint *)(param_3 + 4);\n  if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }\n  puVar1 = *(uint **)(param_3 + 8);\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = param_4 + uVar2;\n  if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  unaff_retaddr[1] = iVar8;\n  return;\n}\n\n" comment (function_definition "void __regparm2 __gmpz_add_ui(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  int *unaff_retaddr;\n  \n  entry(param_2,0x22b79,&__DT_PLTGOT);\n  uVar6 = *(uint *)(param_3 + 4);\n  if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }\n  puVar1 = *(uint **)(param_3 + 8);\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = param_4 + uVar2;\n  if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  unaff_retaddr[1] = iVar8;\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "__gmpz_add_ui(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  int *unaff_retaddr;\n  \n  entry(param_2,0x22b79,&__DT_PLTGOT);\n  uVar6 = *(uint *)(param_3 + 4);\n  if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }\n  puVar1 = *(uint **)(param_3 + 8);\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = param_4 + uVar2;\n  if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  unaff_retaddr[1] = iVar8;\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *unaff_retaddr;" primitive_type (pointer_declarator "*unaff_retaddr" * identifier) ;) (expression_statement "entry(param_2,0x22b79,&__DT_PLTGOT);" (call_expression "entry(param_2,0x22b79,&__DT_PLTGOT)" identifier (argument_list "(param_2,0x22b79,&__DT_PLTGOT)" ( identifier , number_literal , (pointer_expression "&__DT_PLTGOT" & identifier) ))) ;) (expression_statement "uVar6 = *(uint *)(param_3 + 4);" (assignment_expression "uVar6 = *(uint *)(param_3 + 4)" identifier = (pointer_expression "*(uint *)(param_3 + 4)" * (cast_expression "(uint *)(param_3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }" { (expression_statement "*(uint *)unaff_retaddr[2] = param_4;" (assignment_expression "*(uint *)unaff_retaddr[2] = param_4" (pointer_expression "*(uint *)unaff_retaddr[2]" * (cast_expression "(uint *)unaff_retaddr[2]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "unaff_retaddr[2]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "unaff_retaddr[1] = (uint)(param_4 != 0);" (assignment_expression "unaff_retaddr[1] = (uint)(param_4 != 0)" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);" (assignment_expression "iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f)" identifier = (binary_expression "((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f)" (parenthesized_expression "((int)uVar6 >> 0x1f ^ uVar6)" ( (binary_expression "(int)uVar6 >> 0x1f ^ uVar6" (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ^ identifier) )) - (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (if_statement "if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }" if (parenthesized_expression "(iVar8 < *unaff_retaddr)" ( (binary_expression "iVar8 < *unaff_retaddr" identifier < (pointer_expression "*unaff_retaddr" * identifier)) )) (compound_statement "{\n    puVar3 = (uint *)unaff_retaddr[2];\n  }" { (expression_statement "puVar3 = (uint *)unaff_retaddr[2];" (assignment_expression "puVar3 = (uint *)unaff_retaddr[2]" identifier = (cast_expression "(uint *)unaff_retaddr[2]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "unaff_retaddr[2]" identifier [ number_literal ]))) ;) }) (else_clause "else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }" else (compound_statement "{\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }" { (expression_statement "puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);" (assignment_expression "puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1)" identifier = (cast_expression "(uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmpz_realloc(unaff_retaddr,iVar8 + 1)" identifier (argument_list "(unaff_retaddr,iVar8 + 1)" ( identifier , (binary_expression "iVar8 + 1" identifier + number_literal) ))))) ;) }))) (expression_statement "puVar1 = *(uint **)(param_3 + 8);" (assignment_expression "puVar1 = *(uint **)(param_3 + 8)" identifier = (pointer_expression "*(uint **)(param_3 + 8)" * (cast_expression "(uint **)(param_3 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (if_statement "if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }" if (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }" { (if_statement "if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }" { (if_statement "if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }" if (parenthesized_expression "(uVar2 < param_4)" ( (binary_expression "uVar2 < param_4" identifier < identifier) )) (compound_statement "{\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }" { (expression_statement "*puVar3 = param_4 - uVar2;" (assignment_expression "*puVar3 = param_4 - uVar2" (pointer_expression "*puVar3" * identifier) = (binary_expression "param_4 - uVar2" identifier - identifier)) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00022cde;" goto statement_identifier ;) })) (expression_statement "*puVar3 = uVar2 - param_4;" (assignment_expression "*puVar3 = uVar2 - param_4" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar2 - param_4" identifier - identifier)) ;) }) (else_clause "else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" else (compound_statement "{\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" { (expression_statement "*puVar3 = uVar2 - param_4;" (assignment_expression "*puVar3 = uVar2 - param_4" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar2 - param_4" identifier - identifier)) ;) (if_statement "if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" if (parenthesized_expression "(uVar2 < param_4)" ( (binary_expression "uVar2 < param_4" identifier < identifier) )) (compound_statement "{\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }" { (expression_statement "uVar6 = puVar1[1];" (assignment_expression "uVar6 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar3[1] = uVar6 - 1;" (assignment_expression "puVar3[1] = uVar6 - 1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (binary_expression "uVar6 - 1" identifier - number_literal)) ;) (if_statement "if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }" { (if_statement "if (iVar8 == 2) goto LAB_00022c80;" if (parenthesized_expression "(iVar8 == 2)" ( (binary_expression "iVar8 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00022c80;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[2];" (assignment_expression "uVar6 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (expression_statement "puVar3[2] = uVar6 - 1;" (assignment_expression "puVar3[2] = uVar6 - 1" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (binary_expression "uVar6 - 1" identifier - number_literal)) ;) (while_statement "while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }" while (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }" { (if_statement "if (iVar8 == iVar4) goto LAB_00022c80;" if (parenthesized_expression "(iVar8 == iVar4)" ( (binary_expression "iVar8 == iVar4" identifier == identifier) )) (goto_statement "goto LAB_00022c80;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[iVar4];" (assignment_expression "uVar6 = puVar1[iVar4]" identifier = (subscript_expression "puVar1[iVar4]" identifier [ identifier ])) ;) (expression_statement "puVar3[iVar4] = uVar6 - 1;" (assignment_expression "puVar3[iVar4] = uVar6 - 1" (subscript_expression "puVar3[iVar4]" identifier [ identifier ]) = (binary_expression "uVar6 - 1" identifier - number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n          iVar4 = 2;\n        }" else (compound_statement "{\n          iVar4 = 2;\n        }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) }))) (if_statement "if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }" if (parenthesized_expression "((puVar3 != puVar1) && (iVar4 < iVar8))" ( (binary_expression "(puVar3 != puVar1) && (iVar4 < iVar8)" (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) && (parenthesized_expression "(iVar4 < iVar8)" ( (binary_expression "iVar4 < iVar8" identifier < identifier) ))) )) (compound_statement "{\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }" { (expression_statement "puVar5 = puVar1 + iVar4;" (assignment_expression "puVar5 = puVar1 + iVar4" identifier = (binary_expression "puVar1 + iVar4" identifier + identifier)) ;) (expression_statement "puVar7 = puVar3 + iVar4;" (assignment_expression "puVar7 = puVar3 + iVar4" identifier = (binary_expression "puVar3 + iVar4" identifier + identifier)) ;) (do_statement "do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);" do (compound_statement "{\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          }" { (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar5 != puVar1 + iVar8)" ( (binary_expression "puVar5 != puVar1 + iVar8" identifier != (binary_expression "puVar1 + iVar8" identifier + identifier)) )) ;) })) }) (else_clause "else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" else (if_statement "if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" if (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) (compound_statement "{\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" { (expression_statement "puVar5 = puVar1 + 1;" (assignment_expression "puVar5 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (do_statement "do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);" do (compound_statement "{\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        }" { (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) }) while (parenthesized_expression "(puVar5 != puVar1 + iVar8)" ( (binary_expression "puVar5 != puVar1 + iVar8" identifier != (binary_expression "puVar1 + iVar8" identifier + identifier)) )) ;) })))) }))) (labeled_statement "LAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;" statement_identifier : (expression_statement "iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;" (assignment_expression "iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8" identifier = (binary_expression "(uint)(puVar3[iVar8 + -1] == 0) - iVar8" (call_expression "(uint)(puVar3[iVar8 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar3[iVar8 + -1] == 0)" ( (binary_expression "puVar3[iVar8 + -1] == 0" (subscript_expression "puVar3[iVar8 + -1]" identifier [ (binary_expression "iVar8 + -1" identifier + number_literal) ]) == number_literal) ))) - identifier)) ;)) (goto_statement "goto LAB_00022cde;" goto statement_identifier ;) })) (expression_statement "*puVar3 = param_4 + uVar2;" (assignment_expression "*puVar3 = param_4 + uVar2" (pointer_expression "*puVar3" * identifier) = (binary_expression "param_4 + uVar2" identifier + identifier)) ;) (if_statement "if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" if (parenthesized_expression "(CARRY4(param_4,uVar2))" ( (call_expression "CARRY4(param_4,uVar2)" identifier (argument_list "(param_4,uVar2)" ( identifier , identifier ))) )) (compound_statement "{\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }" { (if_statement "if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }" if (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) )) (compound_statement "{\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }" { (expression_statement "uVar6 = puVar1[1];" (assignment_expression "uVar6 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar3[1] = uVar6 + 1;" (assignment_expression "puVar3[1] = uVar6 + 1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }" if (parenthesized_expression "(uVar6 + 1 == 0)" ( (binary_expression "uVar6 + 1 == 0" (binary_expression "uVar6 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }" { (if_statement "if (iVar8 == 2) goto LAB_00022c10;" if (parenthesized_expression "(iVar8 == 2)" ( (binary_expression "iVar8 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00022c10;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[2] + 1;" (assignment_expression "uVar6 = puVar1[2] + 1" identifier = (binary_expression "puVar1[2] + 1" (subscript_expression "puVar1[2]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (while_statement "while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }" while (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }" { (if_statement "if (iVar8 == iVar4) goto LAB_00022c10;" if (parenthesized_expression "(iVar8 == iVar4)" ( (binary_expression "iVar8 == iVar4" identifier == identifier) )) (goto_statement "goto LAB_00022c10;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[iVar4] + 1;" (assignment_expression "uVar6 = puVar1[iVar4] + 1" identifier = (binary_expression "puVar1[iVar4] + 1" (subscript_expression "puVar1[iVar4]" identifier [ identifier ]) + number_literal)) ;) (expression_statement "puVar3[iVar4] = uVar6;" (assignment_expression "puVar3[iVar4] = uVar6" (subscript_expression "puVar3[iVar4]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar4 = 2;\n      }" else (compound_statement "{\n        iVar4 = 2;\n      }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) }))) (if_statement "if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }" if (parenthesized_expression "((puVar3 != puVar1) && (iVar4 < iVar8))" ( (binary_expression "(puVar3 != puVar1) && (iVar4 < iVar8)" (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) && (parenthesized_expression "(iVar4 < iVar8)" ( (binary_expression "iVar4 < iVar8" identifier < identifier) ))) )) (compound_statement "{\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }" { (expression_statement "puVar5 = puVar1 + iVar4;" (assignment_expression "puVar5 = puVar1 + iVar4" identifier = (binary_expression "puVar1 + iVar4" identifier + identifier)) ;) (expression_statement "puVar7 = puVar3 + iVar4;" (assignment_expression "puVar7 = puVar3 + iVar4" identifier = (binary_expression "puVar3 + iVar4" identifier + identifier)) ;) (do_statement "do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);" do (compound_statement "{\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        }" { (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 + iVar8 != puVar5)" ( (binary_expression "puVar1 + iVar8 != puVar5" (binary_expression "puVar1 + iVar8" identifier + identifier) != identifier) )) ;) })) (goto_statement "goto LAB_00022cd7;" goto statement_identifier ;) })) (labeled_statement "LAB_00022c10:\n    uVar6 = 1;" statement_identifier : (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" identifier = number_literal) ;)) }) (else_clause "else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" else (compound_statement "{\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" { (if_statement "if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }" if (parenthesized_expression "((puVar3 != puVar1) && (iVar8 != 1))" ( (binary_expression "(puVar3 != puVar1) && (iVar8 != 1)" (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) && (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) ))) )) (compound_statement "{\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }" { (expression_statement "puVar5 = puVar1 + 1;" (assignment_expression "puVar5 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (do_statement "do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);" do (compound_statement "{\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      }" { (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) }) while (parenthesized_expression "(puVar1 + iVar8 != puVar5)" ( (binary_expression "puVar1 + iVar8 != puVar5" (binary_expression "puVar1 + iVar8" identifier + identifier) != identifier) )) ;) })) (labeled_statement "LAB_00022cd7:\n    uVar6 = 0;" statement_identifier : (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;)) }))) (expression_statement "puVar3[iVar8] = uVar6;" (assignment_expression "puVar3[iVar8] = uVar6" (subscript_expression "puVar3[iVar8]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar8 = iVar8 + uVar6;" (assignment_expression "iVar8 = iVar8 + uVar6" identifier = (binary_expression "iVar8 + uVar6" identifier + identifier)) ;) (labeled_statement "LAB_00022cde:\n  unaff_retaddr[1] = iVar8;" statement_identifier : (expression_statement "unaff_retaddr[1] = iVar8;" (assignment_expression "unaff_retaddr[1] = iVar8" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Switch with 1 destination removed at 0x0001b8d0 */\n\nvoid __gmpz_add_ui(mpz_ptr w,mpz_srcptr u,ulong vval)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  \n  uVar6 = u->_mp_size;\n  if (uVar6 == 0) {\n    *w->_mp_d = vval;\n    w->_mp_size = (uint)(vval != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < w->_mp_alloc) {\n    puVar3 = w->_mp_d;\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(w,iVar8 + 1);\n  }\n  puVar1 = u->_mp_d;\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < vval) {\n        *puVar3 = vval - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - vval;\n    }\n    else {\n      *puVar3 = uVar2 - vval;\n      if (uVar2 < vval) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = vval + uVar2;\n  if (CARRY4(vval,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  w->_mp_size = iVar8;\n  return;\n}\n\n" comment comment (function_definition "void __gmpz_add_ui(mpz_ptr w,mpz_srcptr u,ulong vval)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  \n  uVar6 = u->_mp_size;\n  if (uVar6 == 0) {\n    *w->_mp_d = vval;\n    w->_mp_size = (uint)(vval != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < w->_mp_alloc) {\n    puVar3 = w->_mp_d;\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(w,iVar8 + 1);\n  }\n  puVar1 = u->_mp_d;\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < vval) {\n        *puVar3 = vval - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - vval;\n    }\n    else {\n      *puVar3 = uVar2 - vval;\n      if (uVar2 < vval) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = vval + uVar2;\n  if (CARRY4(vval,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  w->_mp_size = iVar8;\n  return;\n}" primitive_type (function_declarator "__gmpz_add_ui(mpz_ptr w,mpz_srcptr u,ulong vval)" identifier (parameter_list "(mpz_ptr w,mpz_srcptr u,ulong vval)" ( (parameter_declaration "mpz_ptr w" type_identifier identifier) , (parameter_declaration "mpz_srcptr u" type_identifier identifier) , (parameter_declaration "ulong vval" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  \n  uVar6 = u->_mp_size;\n  if (uVar6 == 0) {\n    *w->_mp_d = vval;\n    w->_mp_size = (uint)(vval != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < w->_mp_alloc) {\n    puVar3 = w->_mp_d;\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(w,iVar8 + 1);\n  }\n  puVar1 = u->_mp_d;\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < vval) {\n        *puVar3 = vval - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - vval;\n    }\n    else {\n      *puVar3 = uVar2 - vval;\n      if (uVar2 < vval) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = vval + uVar2;\n  if (CARRY4(vval,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  w->_mp_size = iVar8;\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (expression_statement "uVar6 = u->_mp_size;" (assignment_expression "uVar6 = u->_mp_size" identifier = (field_expression "u->_mp_size" identifier -> field_identifier)) ;) (if_statement "if (uVar6 == 0) {\n    *w->_mp_d = vval;\n    w->_mp_size = (uint)(vval != 0);\n    return;\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    *w->_mp_d = vval;\n    w->_mp_size = (uint)(vval != 0);\n    return;\n  }" { (expression_statement "*w->_mp_d = vval;" (assignment_expression "*w->_mp_d = vval" (pointer_expression "*w->_mp_d" * (field_expression "w->_mp_d" identifier -> field_identifier)) = identifier) ;) (expression_statement "w->_mp_size = (uint)(vval != 0);" (assignment_expression "w->_mp_size = (uint)(vval != 0)" (field_expression "w->_mp_size" identifier -> field_identifier) = (call_expression "(uint)(vval != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(vval != 0)" ( (binary_expression "vval != 0" identifier != number_literal) )))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);" (assignment_expression "iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f)" identifier = (binary_expression "((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f)" (parenthesized_expression "((int)uVar6 >> 0x1f ^ uVar6)" ( (binary_expression "(int)uVar6 >> 0x1f ^ uVar6" (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ^ identifier) )) - (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (if_statement "if (iVar8 < w->_mp_alloc) {\n    puVar3 = w->_mp_d;\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(w,iVar8 + 1);\n  }" if (parenthesized_expression "(iVar8 < w->_mp_alloc)" ( (binary_expression "iVar8 < w->_mp_alloc" identifier < (field_expression "w->_mp_alloc" identifier -> field_identifier)) )) (compound_statement "{\n    puVar3 = w->_mp_d;\n  }" { (expression_statement "puVar3 = w->_mp_d;" (assignment_expression "puVar3 = w->_mp_d" identifier = (field_expression "w->_mp_d" identifier -> field_identifier)) ;) }) (else_clause "else {\n    puVar3 = (uint *)__gmpz_realloc(w,iVar8 + 1);\n  }" else (compound_statement "{\n    puVar3 = (uint *)__gmpz_realloc(w,iVar8 + 1);\n  }" { (expression_statement "puVar3 = (uint *)__gmpz_realloc(w,iVar8 + 1);" (assignment_expression "puVar3 = (uint *)__gmpz_realloc(w,iVar8 + 1)" identifier = (cast_expression "(uint *)__gmpz_realloc(w,iVar8 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmpz_realloc(w,iVar8 + 1)" identifier (argument_list "(w,iVar8 + 1)" ( identifier , (binary_expression "iVar8 + 1" identifier + number_literal) ))))) ;) }))) (expression_statement "puVar1 = u->_mp_d;" (assignment_expression "puVar1 = u->_mp_d" identifier = (field_expression "u->_mp_d" identifier -> field_identifier)) ;) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (if_statement "if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < vval) {\n        *puVar3 = vval - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - vval;\n    }\n    else {\n      *puVar3 = uVar2 - vval;\n      if (uVar2 < vval) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }" if (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (iVar8 == 1) {\n      if (uVar2 < vval) {\n        *puVar3 = vval - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - vval;\n    }\n    else {\n      *puVar3 = uVar2 - vval;\n      if (uVar2 < vval) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }" { (if_statement "if (iVar8 == 1) {\n      if (uVar2 < vval) {\n        *puVar3 = vval - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - vval;\n    }\n    else {\n      *puVar3 = uVar2 - vval;\n      if (uVar2 < vval) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n      if (uVar2 < vval) {\n        *puVar3 = vval - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - vval;\n    }" { (if_statement "if (uVar2 < vval) {\n        *puVar3 = vval - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }" if (parenthesized_expression "(uVar2 < vval)" ( (binary_expression "uVar2 < vval" identifier < identifier) )) (compound_statement "{\n        *puVar3 = vval - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }" { (expression_statement "*puVar3 = vval - uVar2;" (assignment_expression "*puVar3 = vval - uVar2" (pointer_expression "*puVar3" * identifier) = (binary_expression "vval - uVar2" identifier - identifier)) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00022cde;" goto statement_identifier ;) })) (expression_statement "*puVar3 = uVar2 - vval;" (assignment_expression "*puVar3 = uVar2 - vval" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar2 - vval" identifier - identifier)) ;) }) (else_clause "else {\n      *puVar3 = uVar2 - vval;\n      if (uVar2 < vval) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" else (compound_statement "{\n      *puVar3 = uVar2 - vval;\n      if (uVar2 < vval) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" { (expression_statement "*puVar3 = uVar2 - vval;" (assignment_expression "*puVar3 = uVar2 - vval" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar2 - vval" identifier - identifier)) ;) (if_statement "if (uVar2 < vval) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" if (parenthesized_expression "(uVar2 < vval)" ( (binary_expression "uVar2 < vval" identifier < identifier) )) (compound_statement "{\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }" { (expression_statement "uVar6 = puVar1[1];" (assignment_expression "uVar6 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar3[1] = uVar6 - 1;" (assignment_expression "puVar3[1] = uVar6 - 1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (binary_expression "uVar6 - 1" identifier - number_literal)) ;) (if_statement "if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }" { (if_statement "if (iVar8 == 2) goto LAB_00022c80;" if (parenthesized_expression "(iVar8 == 2)" ( (binary_expression "iVar8 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00022c80;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[2];" (assignment_expression "uVar6 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (expression_statement "puVar3[2] = uVar6 - 1;" (assignment_expression "puVar3[2] = uVar6 - 1" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (binary_expression "uVar6 - 1" identifier - number_literal)) ;) (while_statement "while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }" while (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }" { (if_statement "if (iVar8 == iVar4) goto LAB_00022c80;" if (parenthesized_expression "(iVar8 == iVar4)" ( (binary_expression "iVar8 == iVar4" identifier == identifier) )) (goto_statement "goto LAB_00022c80;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[iVar4];" (assignment_expression "uVar6 = puVar1[iVar4]" identifier = (subscript_expression "puVar1[iVar4]" identifier [ identifier ])) ;) (expression_statement "puVar3[iVar4] = uVar6 - 1;" (assignment_expression "puVar3[iVar4] = uVar6 - 1" (subscript_expression "puVar3[iVar4]" identifier [ identifier ]) = (binary_expression "uVar6 - 1" identifier - number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n          iVar4 = 2;\n        }" else (compound_statement "{\n          iVar4 = 2;\n        }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) }))) (if_statement "if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }" if (parenthesized_expression "((puVar3 != puVar1) && (iVar4 < iVar8))" ( (binary_expression "(puVar3 != puVar1) && (iVar4 < iVar8)" (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) && (parenthesized_expression "(iVar4 < iVar8)" ( (binary_expression "iVar4 < iVar8" identifier < identifier) ))) )) (compound_statement "{\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }" { (expression_statement "puVar5 = puVar1 + iVar4;" (assignment_expression "puVar5 = puVar1 + iVar4" identifier = (binary_expression "puVar1 + iVar4" identifier + identifier)) ;) (expression_statement "puVar7 = puVar3 + iVar4;" (assignment_expression "puVar7 = puVar3 + iVar4" identifier = (binary_expression "puVar3 + iVar4" identifier + identifier)) ;) (do_statement "do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);" do (compound_statement "{\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          }" { (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar5 != puVar1 + iVar8)" ( (binary_expression "puVar5 != puVar1 + iVar8" identifier != (binary_expression "puVar1 + iVar8" identifier + identifier)) )) ;) })) }) (else_clause "else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" else (if_statement "if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" if (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) (compound_statement "{\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" { (expression_statement "puVar5 = puVar1 + 1;" (assignment_expression "puVar5 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (do_statement "do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);" do (compound_statement "{\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        }" { (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) }) while (parenthesized_expression "(puVar5 != puVar1 + iVar8)" ( (binary_expression "puVar5 != puVar1 + iVar8" identifier != (binary_expression "puVar1 + iVar8" identifier + identifier)) )) ;) })))) }))) (labeled_statement "LAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;" statement_identifier : (expression_statement "iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;" (assignment_expression "iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8" identifier = (binary_expression "(uint)(puVar3[iVar8 + -1] == 0) - iVar8" (call_expression "(uint)(puVar3[iVar8 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar3[iVar8 + -1] == 0)" ( (binary_expression "puVar3[iVar8 + -1] == 0" (subscript_expression "puVar3[iVar8 + -1]" identifier [ (binary_expression "iVar8 + -1" identifier + number_literal) ]) == number_literal) ))) - identifier)) ;)) (goto_statement "goto LAB_00022cde;" goto statement_identifier ;) })) (expression_statement "*puVar3 = vval + uVar2;" (assignment_expression "*puVar3 = vval + uVar2" (pointer_expression "*puVar3" * identifier) = (binary_expression "vval + uVar2" identifier + identifier)) ;) (if_statement "if (CARRY4(vval,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" if (parenthesized_expression "(CARRY4(vval,uVar2))" ( (call_expression "CARRY4(vval,uVar2)" identifier (argument_list "(vval,uVar2)" ( identifier , identifier ))) )) (compound_statement "{\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }" { (if_statement "if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }" if (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) )) (compound_statement "{\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }" { (expression_statement "uVar6 = puVar1[1];" (assignment_expression "uVar6 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar3[1] = uVar6 + 1;" (assignment_expression "puVar3[1] = uVar6 + 1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }" if (parenthesized_expression "(uVar6 + 1 == 0)" ( (binary_expression "uVar6 + 1 == 0" (binary_expression "uVar6 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }" { (if_statement "if (iVar8 == 2) goto LAB_00022c10;" if (parenthesized_expression "(iVar8 == 2)" ( (binary_expression "iVar8 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00022c10;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[2] + 1;" (assignment_expression "uVar6 = puVar1[2] + 1" identifier = (binary_expression "puVar1[2] + 1" (subscript_expression "puVar1[2]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (while_statement "while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }" while (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }" { (if_statement "if (iVar8 == iVar4) goto LAB_00022c10;" if (parenthesized_expression "(iVar8 == iVar4)" ( (binary_expression "iVar8 == iVar4" identifier == identifier) )) (goto_statement "goto LAB_00022c10;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[iVar4] + 1;" (assignment_expression "uVar6 = puVar1[iVar4] + 1" identifier = (binary_expression "puVar1[iVar4] + 1" (subscript_expression "puVar1[iVar4]" identifier [ identifier ]) + number_literal)) ;) (expression_statement "puVar3[iVar4] = uVar6;" (assignment_expression "puVar3[iVar4] = uVar6" (subscript_expression "puVar3[iVar4]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar4 = 2;\n      }" else (compound_statement "{\n        iVar4 = 2;\n      }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) }))) (if_statement "if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }" if (parenthesized_expression "((puVar3 != puVar1) && (iVar4 < iVar8))" ( (binary_expression "(puVar3 != puVar1) && (iVar4 < iVar8)" (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) && (parenthesized_expression "(iVar4 < iVar8)" ( (binary_expression "iVar4 < iVar8" identifier < identifier) ))) )) (compound_statement "{\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }" { (expression_statement "puVar5 = puVar1 + iVar4;" (assignment_expression "puVar5 = puVar1 + iVar4" identifier = (binary_expression "puVar1 + iVar4" identifier + identifier)) ;) (expression_statement "puVar7 = puVar3 + iVar4;" (assignment_expression "puVar7 = puVar3 + iVar4" identifier = (binary_expression "puVar3 + iVar4" identifier + identifier)) ;) (do_statement "do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);" do (compound_statement "{\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        }" { (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 + iVar8 != puVar5)" ( (binary_expression "puVar1 + iVar8 != puVar5" (binary_expression "puVar1 + iVar8" identifier + identifier) != identifier) )) ;) })) (goto_statement "goto LAB_00022cd7;" goto statement_identifier ;) })) (labeled_statement "LAB_00022c10:\n    uVar6 = 1;" statement_identifier : (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" identifier = number_literal) ;)) }) (else_clause "else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" else (compound_statement "{\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" { (if_statement "if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }" if (parenthesized_expression "((puVar3 != puVar1) && (iVar8 != 1))" ( (binary_expression "(puVar3 != puVar1) && (iVar8 != 1)" (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) && (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) ))) )) (compound_statement "{\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }" { (expression_statement "puVar5 = puVar1 + 1;" (assignment_expression "puVar5 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (do_statement "do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);" do (compound_statement "{\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      }" { (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) }) while (parenthesized_expression "(puVar1 + iVar8 != puVar5)" ( (binary_expression "puVar1 + iVar8 != puVar5" (binary_expression "puVar1 + iVar8" identifier + identifier) != identifier) )) ;) })) (labeled_statement "LAB_00022cd7:\n    uVar6 = 0;" statement_identifier : (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;)) }))) (expression_statement "puVar3[iVar8] = uVar6;" (assignment_expression "puVar3[iVar8] = uVar6" (subscript_expression "puVar3[iVar8]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar8 = iVar8 + uVar6;" (assignment_expression "iVar8 = iVar8 + uVar6" identifier = (binary_expression "iVar8 + uVar6" identifier + identifier)) ;) (labeled_statement "LAB_00022cde:\n  w->_mp_size = iVar8;" statement_identifier : (expression_statement "w->_mp_size = iVar8;" (assignment_expression "w->_mp_size = iVar8" (field_expression "w->_mp_size" identifier -> field_identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "void __regparm2 __gmpz_add_ui(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  int *unaff_retaddr;\n  \n  entry(param_2,0x22b79,&__DT_PLTGOT);\n  uVar6 = *(uint *)(param_3 + 4);\n  if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }\n  puVar1 = *(uint **)(param_3 + 8);\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = param_4 + uVar2;\n  if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  unaff_retaddr[1] = iVar8;\n  return;\n}\n\n" (function_definition "void __regparm2 __gmpz_add_ui(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  int *unaff_retaddr;\n  \n  entry(param_2,0x22b79,&__DT_PLTGOT);\n  uVar6 = *(uint *)(param_3 + 4);\n  if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }\n  puVar1 = *(uint **)(param_3 + 8);\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = param_4 + uVar2;\n  if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  unaff_retaddr[1] = iVar8;\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "__gmpz_add_ui(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  int *unaff_retaddr;\n  \n  entry(param_2,0x22b79,&__DT_PLTGOT);\n  uVar6 = *(uint *)(param_3 + 4);\n  if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }\n  puVar1 = *(uint **)(param_3 + 8);\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = param_4 + uVar2;\n  if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  unaff_retaddr[1] = iVar8;\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *unaff_retaddr;" primitive_type (pointer_declarator "*unaff_retaddr" * identifier) ;) (expression_statement "entry(param_2,0x22b79,&__DT_PLTGOT);" (call_expression "entry(param_2,0x22b79,&__DT_PLTGOT)" identifier (argument_list "(param_2,0x22b79,&__DT_PLTGOT)" ( identifier , number_literal , (pointer_expression "&__DT_PLTGOT" & identifier) ))) ;) (expression_statement "uVar6 = *(uint *)(param_3 + 4);" (assignment_expression "uVar6 = *(uint *)(param_3 + 4)" identifier = (pointer_expression "*(uint *)(param_3 + 4)" * (cast_expression "(uint *)(param_3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }" { (expression_statement "*(uint *)unaff_retaddr[2] = param_4;" (assignment_expression "*(uint *)unaff_retaddr[2] = param_4" (pointer_expression "*(uint *)unaff_retaddr[2]" * (cast_expression "(uint *)unaff_retaddr[2]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "unaff_retaddr[2]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "unaff_retaddr[1] = (uint)(param_4 != 0);" (assignment_expression "unaff_retaddr[1] = (uint)(param_4 != 0)" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);" (assignment_expression "iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f)" identifier = (binary_expression "((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f)" (parenthesized_expression "((int)uVar6 >> 0x1f ^ uVar6)" ( (binary_expression "(int)uVar6 >> 0x1f ^ uVar6" (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ^ identifier) )) - (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (if_statement "if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }" if (parenthesized_expression "(iVar8 < *unaff_retaddr)" ( (binary_expression "iVar8 < *unaff_retaddr" identifier < (pointer_expression "*unaff_retaddr" * identifier)) )) (compound_statement "{\n    puVar3 = (uint *)unaff_retaddr[2];\n  }" { (expression_statement "puVar3 = (uint *)unaff_retaddr[2];" (assignment_expression "puVar3 = (uint *)unaff_retaddr[2]" identifier = (cast_expression "(uint *)unaff_retaddr[2]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "unaff_retaddr[2]" identifier [ number_literal ]))) ;) }) (else_clause "else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }" else (compound_statement "{\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }" { (expression_statement "puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);" (assignment_expression "puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1)" identifier = (cast_expression "(uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmpz_realloc(unaff_retaddr,iVar8 + 1)" identifier (argument_list "(unaff_retaddr,iVar8 + 1)" ( identifier , (binary_expression "iVar8 + 1" identifier + number_literal) ))))) ;) }))) (expression_statement "puVar1 = *(uint **)(param_3 + 8);" (assignment_expression "puVar1 = *(uint **)(param_3 + 8)" identifier = (pointer_expression "*(uint **)(param_3 + 8)" * (cast_expression "(uint **)(param_3 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (if_statement "if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }" if (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }" { (if_statement "if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }" { (if_statement "if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }" if (parenthesized_expression "(uVar2 < param_4)" ( (binary_expression "uVar2 < param_4" identifier < identifier) )) (compound_statement "{\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }" { (expression_statement "*puVar3 = param_4 - uVar2;" (assignment_expression "*puVar3 = param_4 - uVar2" (pointer_expression "*puVar3" * identifier) = (binary_expression "param_4 - uVar2" identifier - identifier)) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00022cde;" goto statement_identifier ;) })) (expression_statement "*puVar3 = uVar2 - param_4;" (assignment_expression "*puVar3 = uVar2 - param_4" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar2 - param_4" identifier - identifier)) ;) }) (else_clause "else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" else (compound_statement "{\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" { (expression_statement "*puVar3 = uVar2 - param_4;" (assignment_expression "*puVar3 = uVar2 - param_4" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar2 - param_4" identifier - identifier)) ;) (if_statement "if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" if (parenthesized_expression "(uVar2 < param_4)" ( (binary_expression "uVar2 < param_4" identifier < identifier) )) (compound_statement "{\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }" { (expression_statement "uVar6 = puVar1[1];" (assignment_expression "uVar6 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar3[1] = uVar6 - 1;" (assignment_expression "puVar3[1] = uVar6 - 1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (binary_expression "uVar6 - 1" identifier - number_literal)) ;) (if_statement "if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }" { (if_statement "if (iVar8 == 2) goto LAB_00022c80;" if (parenthesized_expression "(iVar8 == 2)" ( (binary_expression "iVar8 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00022c80;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[2];" (assignment_expression "uVar6 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (expression_statement "puVar3[2] = uVar6 - 1;" (assignment_expression "puVar3[2] = uVar6 - 1" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (binary_expression "uVar6 - 1" identifier - number_literal)) ;) (while_statement "while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }" while (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }" { (if_statement "if (iVar8 == iVar4) goto LAB_00022c80;" if (parenthesized_expression "(iVar8 == iVar4)" ( (binary_expression "iVar8 == iVar4" identifier == identifier) )) (goto_statement "goto LAB_00022c80;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[iVar4];" (assignment_expression "uVar6 = puVar1[iVar4]" identifier = (subscript_expression "puVar1[iVar4]" identifier [ identifier ])) ;) (expression_statement "puVar3[iVar4] = uVar6 - 1;" (assignment_expression "puVar3[iVar4] = uVar6 - 1" (subscript_expression "puVar3[iVar4]" identifier [ identifier ]) = (binary_expression "uVar6 - 1" identifier - number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n          iVar4 = 2;\n        }" else (compound_statement "{\n          iVar4 = 2;\n        }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) }))) (if_statement "if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }" if (parenthesized_expression "((puVar3 != puVar1) && (iVar4 < iVar8))" ( (binary_expression "(puVar3 != puVar1) && (iVar4 < iVar8)" (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) && (parenthesized_expression "(iVar4 < iVar8)" ( (binary_expression "iVar4 < iVar8" identifier < identifier) ))) )) (compound_statement "{\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }" { (expression_statement "puVar5 = puVar1 + iVar4;" (assignment_expression "puVar5 = puVar1 + iVar4" identifier = (binary_expression "puVar1 + iVar4" identifier + identifier)) ;) (expression_statement "puVar7 = puVar3 + iVar4;" (assignment_expression "puVar7 = puVar3 + iVar4" identifier = (binary_expression "puVar3 + iVar4" identifier + identifier)) ;) (do_statement "do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);" do (compound_statement "{\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          }" { (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar5 != puVar1 + iVar8)" ( (binary_expression "puVar5 != puVar1 + iVar8" identifier != (binary_expression "puVar1 + iVar8" identifier + identifier)) )) ;) })) }) (else_clause "else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" else (if_statement "if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" if (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) (compound_statement "{\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" { (expression_statement "puVar5 = puVar1 + 1;" (assignment_expression "puVar5 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (do_statement "do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);" do (compound_statement "{\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        }" { (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) }) while (parenthesized_expression "(puVar5 != puVar1 + iVar8)" ( (binary_expression "puVar5 != puVar1 + iVar8" identifier != (binary_expression "puVar1 + iVar8" identifier + identifier)) )) ;) })))) }))) (labeled_statement "LAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;" statement_identifier : (expression_statement "iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;" (assignment_expression "iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8" identifier = (binary_expression "(uint)(puVar3[iVar8 + -1] == 0) - iVar8" (call_expression "(uint)(puVar3[iVar8 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar3[iVar8 + -1] == 0)" ( (binary_expression "puVar3[iVar8 + -1] == 0" (subscript_expression "puVar3[iVar8 + -1]" identifier [ (binary_expression "iVar8 + -1" identifier + number_literal) ]) == number_literal) ))) - identifier)) ;)) (goto_statement "goto LAB_00022cde;" goto statement_identifier ;) })) (expression_statement "*puVar3 = param_4 + uVar2;" (assignment_expression "*puVar3 = param_4 + uVar2" (pointer_expression "*puVar3" * identifier) = (binary_expression "param_4 + uVar2" identifier + identifier)) ;) (if_statement "if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" if (parenthesized_expression "(CARRY4(param_4,uVar2))" ( (call_expression "CARRY4(param_4,uVar2)" identifier (argument_list "(param_4,uVar2)" ( identifier , identifier ))) )) (compound_statement "{\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }" { (if_statement "if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }" if (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) )) (compound_statement "{\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }" { (expression_statement "uVar6 = puVar1[1];" (assignment_expression "uVar6 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar3[1] = uVar6 + 1;" (assignment_expression "puVar3[1] = uVar6 + 1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }" if (parenthesized_expression "(uVar6 + 1 == 0)" ( (binary_expression "uVar6 + 1 == 0" (binary_expression "uVar6 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }" { (if_statement "if (iVar8 == 2) goto LAB_00022c10;" if (parenthesized_expression "(iVar8 == 2)" ( (binary_expression "iVar8 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00022c10;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[2] + 1;" (assignment_expression "uVar6 = puVar1[2] + 1" identifier = (binary_expression "puVar1[2] + 1" (subscript_expression "puVar1[2]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (while_statement "while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }" while (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }" { (if_statement "if (iVar8 == iVar4) goto LAB_00022c10;" if (parenthesized_expression "(iVar8 == iVar4)" ( (binary_expression "iVar8 == iVar4" identifier == identifier) )) (goto_statement "goto LAB_00022c10;" goto statement_identifier ;)) (expression_statement "uVar6 = puVar1[iVar4] + 1;" (assignment_expression "uVar6 = puVar1[iVar4] + 1" identifier = (binary_expression "puVar1[iVar4] + 1" (subscript_expression "puVar1[iVar4]" identifier [ identifier ]) + number_literal)) ;) (expression_statement "puVar3[iVar4] = uVar6;" (assignment_expression "puVar3[iVar4] = uVar6" (subscript_expression "puVar3[iVar4]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar4 = 2;\n      }" else (compound_statement "{\n        iVar4 = 2;\n      }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) }))) (if_statement "if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }" if (parenthesized_expression "((puVar3 != puVar1) && (iVar4 < iVar8))" ( (binary_expression "(puVar3 != puVar1) && (iVar4 < iVar8)" (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) && (parenthesized_expression "(iVar4 < iVar8)" ( (binary_expression "iVar4 < iVar8" identifier < identifier) ))) )) (compound_statement "{\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }" { (expression_statement "puVar5 = puVar1 + iVar4;" (assignment_expression "puVar5 = puVar1 + iVar4" identifier = (binary_expression "puVar1 + iVar4" identifier + identifier)) ;) (expression_statement "puVar7 = puVar3 + iVar4;" (assignment_expression "puVar7 = puVar3 + iVar4" identifier = (binary_expression "puVar3 + iVar4" identifier + identifier)) ;) (do_statement "do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);" do (compound_statement "{\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        }" { (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 + iVar8 != puVar5)" ( (binary_expression "puVar1 + iVar8 != puVar5" (binary_expression "puVar1 + iVar8" identifier + identifier) != identifier) )) ;) })) (goto_statement "goto LAB_00022cd7;" goto statement_identifier ;) })) (labeled_statement "LAB_00022c10:\n    uVar6 = 1;" statement_identifier : (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" identifier = number_literal) ;)) }) (else_clause "else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" else (compound_statement "{\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" { (if_statement "if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }" if (parenthesized_expression "((puVar3 != puVar1) && (iVar8 != 1))" ( (binary_expression "(puVar3 != puVar1) && (iVar8 != 1)" (parenthesized_expression "(puVar3 != puVar1)" ( (binary_expression "puVar3 != puVar1" identifier != identifier) )) && (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) ))) )) (compound_statement "{\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }" { (expression_statement "puVar5 = puVar1 + 1;" (assignment_expression "puVar5 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (do_statement "do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);" do (compound_statement "{\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      }" { (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) }) while (parenthesized_expression "(puVar1 + iVar8 != puVar5)" ( (binary_expression "puVar1 + iVar8 != puVar5" (binary_expression "puVar1 + iVar8" identifier + identifier) != identifier) )) ;) })) (labeled_statement "LAB_00022cd7:\n    uVar6 = 0;" statement_identifier : (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;)) }))) (expression_statement "puVar3[iVar8] = uVar6;" (assignment_expression "puVar3[iVar8] = uVar6" (subscript_expression "puVar3[iVar8]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar8 = iVar8 + uVar6;" (assignment_expression "iVar8 = iVar8 + uVar6" identifier = (binary_expression "iVar8 + uVar6" identifier + identifier)) ;) (labeled_statement "LAB_00022cde:\n  unaff_retaddr[1] = iVar8;" statement_identifier : (expression_statement "unaff_retaddr[1] = iVar8;" (assignment_expression "unaff_retaddr[1] = iVar8" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ^ IDENT) )) - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) })))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) == LIT) ))) - IDENT)) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT , IDENT ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ IDENT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (return_statement return ;) })))
(function_definition "void __regparm2 __gmpz_add_ui(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  int *unaff_retaddr;\n  \n  entry(param_2,0x22b79,&__DT_PLTGOT);\n  uVar6 = *(uint *)(param_3 + 4);\n  if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }\n  puVar1 = *(uint **)(param_3 + 8);\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = param_4 + uVar2;\n  if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  unaff_retaddr[1] = iVar8;\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "__gmpz_add_ui(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" (identifier "__gmpz_add_ui") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  int iVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  int *unaff_retaddr;\n  \n  entry(param_2,0x22b79,&__DT_PLTGOT);\n  uVar6 = *(uint *)(param_3 + 4);\n  if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }\n  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);\n  if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }\n  puVar1 = *(uint **)(param_3 + 8);\n  uVar2 = *puVar1;\n  if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }\n  *puVar3 = param_4 + uVar2;\n  if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }\n  puVar3[iVar8] = uVar6;\n  iVar8 = iVar8 + uVar6;\nLAB_00022cde:\n  unaff_retaddr[1] = iVar8;\n  return;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint *puVar7;" (type_identifier "uint") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int *unaff_retaddr;" (primitive_type "int") (pointer_declarator "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (; ";")) (expression_statement "entry(param_2,0x22b79,&__DT_PLTGOT);" (call_expression "entry(param_2,0x22b79,&__DT_PLTGOT)" (identifier "entry") (argument_list "(param_2,0x22b79,&__DT_PLTGOT)" (( "(") (identifier "param_2") (, ",") (number_literal "0x22b79") (, ",") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT")) () ")"))) (; ";")) (expression_statement "uVar6 = *(uint *)(param_3 + 4);" (assignment_expression "uVar6 = *(uint *)(param_3 + 4)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(param_3 + 4)" (* "*") (cast_expression "(uint *)(param_3 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (uVar6 == 0) {\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }" (if "if") (parenthesized_expression "(uVar6 == 0)" (( "(") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(uint *)unaff_retaddr[2] = param_4;\n    unaff_retaddr[1] = (uint)(param_4 != 0);\n    return;\n  }" ({ "{") (expression_statement "*(uint *)unaff_retaddr[2] = param_4;" (assignment_expression "*(uint *)unaff_retaddr[2] = param_4" (pointer_expression "*(uint *)unaff_retaddr[2]" (* "*") (cast_expression "(uint *)unaff_retaddr[2]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "unaff_retaddr[2]" (identifier "unaff_retaddr") ([ "[") (number_literal "2") (] "]")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "unaff_retaddr[1] = (uint)(param_4 != 0);" (assignment_expression "unaff_retaddr[1] = (uint)(param_4 != 0)" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (= "=") (call_expression "(uint)(param_4 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_4 != 0)" (( "(") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);" (assignment_expression "iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f)" (identifier "iVar8") (= "=") (binary_expression "((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f)" (parenthesized_expression "((int)uVar6 >> 0x1f ^ uVar6)" (( "(") (binary_expression "(int)uVar6 >> 0x1f ^ uVar6" (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x1f")) (^ "^") (identifier "uVar6")) () ")")) (- "-") (parenthesized_expression "((int)uVar6 >> 0x1f)" (( "(") (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (iVar8 < *unaff_retaddr) {\n    puVar3 = (uint *)unaff_retaddr[2];\n  }\n  else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }" (if "if") (parenthesized_expression "(iVar8 < *unaff_retaddr)" (( "(") (binary_expression "iVar8 < *unaff_retaddr" (identifier "iVar8") (< "<") (pointer_expression "*unaff_retaddr" (* "*") (identifier "unaff_retaddr"))) () ")")) (compound_statement "{\n    puVar3 = (uint *)unaff_retaddr[2];\n  }" ({ "{") (expression_statement "puVar3 = (uint *)unaff_retaddr[2];" (assignment_expression "puVar3 = (uint *)unaff_retaddr[2]" (identifier "puVar3") (= "=") (cast_expression "(uint *)unaff_retaddr[2]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "unaff_retaddr[2]" (identifier "unaff_retaddr") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}")) (else_clause "else {\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }" (else "else") (compound_statement "{\n    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);\n  }" ({ "{") (expression_statement "puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);" (assignment_expression "puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1)" (identifier "puVar3") (= "=") (cast_expression "(uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "__gmpz_realloc(unaff_retaddr,iVar8 + 1)" (identifier "__gmpz_realloc") (argument_list "(unaff_retaddr,iVar8 + 1)" (( "(") (identifier "unaff_retaddr") (, ",") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (} "}")))) (expression_statement "puVar1 = *(uint **)(param_3 + 8);" (assignment_expression "puVar1 = *(uint **)(param_3 + 8)" (identifier "puVar1") (= "=") (pointer_expression "*(uint **)(param_3 + 8)" (* "*") (cast_expression "(uint **)(param_3 + 8)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" (identifier "uVar2") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (if_statement "if ((int)uVar6 < 0) {\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }" (if "if") (parenthesized_expression "((int)uVar6 < 0)" (( "(") (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }\nLAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;\n    goto LAB_00022cde;\n  }" ({ "{") (if_statement "if (iVar8 == 1) {\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }\n    else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" (if "if") (parenthesized_expression "(iVar8 == 1)" (( "(") (binary_expression "iVar8 == 1" (identifier "iVar8") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }\n      *puVar3 = uVar2 - param_4;\n    }" ({ "{") (if_statement "if (uVar2 < param_4) {\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }" (if "if") (parenthesized_expression "(uVar2 < param_4)" (( "(") (binary_expression "uVar2 < param_4" (identifier "uVar2") (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n        *puVar3 = param_4 - uVar2;\n        iVar8 = 1;\n        goto LAB_00022cde;\n      }" ({ "{") (expression_statement "*puVar3 = param_4 - uVar2;" (assignment_expression "*puVar3 = param_4 - uVar2" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "param_4 - uVar2" (identifier "param_4") (- "-") (identifier "uVar2"))) (; ";")) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" (identifier "iVar8") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00022cde;" (goto "goto") (statement_identifier "LAB_00022cde") (; ";")) (} "}"))) (expression_statement "*puVar3 = uVar2 - param_4;" (assignment_expression "*puVar3 = uVar2 - param_4" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "uVar2 - param_4" (identifier "uVar2") (- "-") (identifier "param_4"))) (; ";")) (} "}")) (else_clause "else {\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" (else "else") (compound_statement "{\n      *puVar3 = uVar2 - param_4;\n      if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }\n    }" ({ "{") (expression_statement "*puVar3 = uVar2 - param_4;" (assignment_expression "*puVar3 = uVar2 - param_4" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "uVar2 - param_4" (identifier "uVar2") (- "-") (identifier "param_4"))) (; ";")) (if_statement "if (uVar2 < param_4) {\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }\n      else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" (if "if") (parenthesized_expression "(uVar2 < param_4)" (( "(") (binary_expression "uVar2 < param_4" (identifier "uVar2") (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n        uVar6 = puVar1[1];\n        puVar3[1] = uVar6 - 1;\n        if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }\n        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }\n      }" ({ "{") (expression_statement "uVar6 = puVar1[1];" (assignment_expression "uVar6 = puVar1[1]" (identifier "uVar6") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar3[1] = uVar6 - 1;" (assignment_expression "puVar3[1] = uVar6 - 1" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar6 - 1" (identifier "uVar6") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar6 == 0) {\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }\n        else {\n          iVar4 = 2;\n        }" (if "if") (parenthesized_expression "(uVar6 == 0)" (( "(") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (iVar8 == 2) goto LAB_00022c80;\n          uVar6 = puVar1[2];\n          iVar4 = 3;\n          puVar3[2] = uVar6 - 1;\n          while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }\n        }" ({ "{") (if_statement "if (iVar8 == 2) goto LAB_00022c80;" (if "if") (parenthesized_expression "(iVar8 == 2)" (( "(") (binary_expression "iVar8 == 2" (identifier "iVar8") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_00022c80;" (goto "goto") (statement_identifier "LAB_00022c80") (; ";"))) (expression_statement "uVar6 = puVar1[2];" (assignment_expression "uVar6 = puVar1[2]" (identifier "uVar6") (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" (identifier "iVar4") (= "=") (number_literal "3")) (; ";")) (expression_statement "puVar3[2] = uVar6 - 1;" (assignment_expression "puVar3[2] = uVar6 - 1" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar6 - 1" (identifier "uVar6") (- "-") (number_literal "1"))) (; ";")) (while_statement "while (uVar6 == 0) {\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }" (while "while") (parenthesized_expression "(uVar6 == 0)" (( "(") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            if (iVar8 == iVar4) goto LAB_00022c80;\n            uVar6 = puVar1[iVar4];\n            puVar3[iVar4] = uVar6 - 1;\n            iVar4 = iVar4 + 1;\n          }" ({ "{") (if_statement "if (iVar8 == iVar4) goto LAB_00022c80;" (if "if") (parenthesized_expression "(iVar8 == iVar4)" (( "(") (binary_expression "iVar8 == iVar4" (identifier "iVar8") (== "==") (identifier "iVar4")) () ")")) (goto_statement "goto LAB_00022c80;" (goto "goto") (statement_identifier "LAB_00022c80") (; ";"))) (expression_statement "uVar6 = puVar1[iVar4];" (assignment_expression "uVar6 = puVar1[iVar4]" (identifier "uVar6") (= "=") (subscript_expression "puVar1[iVar4]" (identifier "puVar1") ([ "[") (identifier "iVar4") (] "]"))) (; ";")) (expression_statement "puVar3[iVar4] = uVar6 - 1;" (assignment_expression "puVar3[iVar4] = uVar6 - 1" (subscript_expression "puVar3[iVar4]" (identifier "puVar3") ([ "[") (identifier "iVar4") (] "]")) (= "=") (binary_expression "uVar6 - 1" (identifier "uVar6") (- "-") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          iVar4 = 2;\n        }" (else "else") (compound_statement "{\n          iVar4 = 2;\n        }" ({ "{") (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" (identifier "iVar4") (= "=") (number_literal "2")) (; ";")) (} "}")))) (if_statement "if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }" (if "if") (parenthesized_expression "((puVar3 != puVar1) && (iVar4 < iVar8))" (( "(") (binary_expression "(puVar3 != puVar1) && (iVar4 < iVar8)" (parenthesized_expression "(puVar3 != puVar1)" (( "(") (binary_expression "puVar3 != puVar1" (identifier "puVar3") (!= "!=") (identifier "puVar1")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 < iVar8)" (( "(") (binary_expression "iVar4 < iVar8" (identifier "iVar4") (< "<") (identifier "iVar8")) () ")"))) () ")")) (compound_statement "{\n          puVar5 = puVar1 + iVar4;\n          puVar7 = puVar3 + iVar4;\n          do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);\n        }" ({ "{") (expression_statement "puVar5 = puVar1 + iVar4;" (assignment_expression "puVar5 = puVar1 + iVar4" (identifier "puVar5") (= "=") (binary_expression "puVar1 + iVar4" (identifier "puVar1") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "puVar7 = puVar3 + iVar4;" (assignment_expression "puVar7 = puVar3 + iVar4" (identifier "puVar7") (= "=") (binary_expression "puVar3 + iVar4" (identifier "puVar3") (+ "+") (identifier "iVar4"))) (; ";")) (do_statement "do {\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          } while (puVar5 != puVar1 + iVar8);" (do "do") (compound_statement "{\n            uVar6 = *puVar5;\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar6;\n            puVar7 = puVar7 + 1;\n          }" ({ "{") (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" (identifier "uVar6") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar5 != puVar1 + iVar8)" (( "(") (binary_expression "puVar5 != puVar1 + iVar8" (identifier "puVar5") (!= "!=") (binary_expression "puVar1 + iVar8" (identifier "puVar1") (+ "+") (identifier "iVar8"))) () ")")) (; ";")) (} "}"))) (} "}")) (else_clause "else if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" (else "else") (if_statement "if (puVar3 != puVar1) {\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" (if "if") (parenthesized_expression "(puVar3 != puVar1)" (( "(") (binary_expression "puVar3 != puVar1" (identifier "puVar3") (!= "!=") (identifier "puVar1")) () ")")) (compound_statement "{\n        puVar5 = puVar1 + 1;\n        puVar7 = puVar3;\n        do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);\n      }" ({ "{") (expression_statement "puVar5 = puVar1 + 1;" (assignment_expression "puVar5 = puVar1 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" (identifier "puVar7") (= "=") (identifier "puVar3")) (; ";")) (do_statement "do {\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        } while (puVar5 != puVar1 + iVar8);" (do "do") (compound_statement "{\n          puVar7 = puVar7 + 1;\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n        }" ({ "{") (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" (identifier "uVar6") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar5 != puVar1 + iVar8)" (( "(") (binary_expression "puVar5 != puVar1 + iVar8" (identifier "puVar5") (!= "!=") (binary_expression "puVar1 + iVar8" (identifier "puVar1") (+ "+") (identifier "iVar8"))) () ")")) (; ";")) (} "}"))))) (} "}")))) (labeled_statement "LAB_00022c80:\n    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;" (statement_identifier "LAB_00022c80") (: ":") (expression_statement "iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;" (assignment_expression "iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8" (identifier "iVar8") (= "=") (binary_expression "(uint)(puVar3[iVar8 + -1] == 0) - iVar8" (call_expression "(uint)(puVar3[iVar8 + -1] == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar3[iVar8 + -1] == 0)" (( "(") (binary_expression "puVar3[iVar8 + -1] == 0" (subscript_expression "puVar3[iVar8 + -1]" (identifier "puVar3") ([ "[") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1")) (] "]")) (== "==") (number_literal "0")) () ")"))) (- "-") (identifier "iVar8"))) (; ";"))) (goto_statement "goto LAB_00022cde;" (goto "goto") (statement_identifier "LAB_00022cde") (; ";")) (} "}"))) (expression_statement "*puVar3 = param_4 + uVar2;" (assignment_expression "*puVar3 = param_4 + uVar2" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "param_4 + uVar2" (identifier "param_4") (+ "+") (identifier "uVar2"))) (; ";")) (if_statement "if (CARRY4(param_4,uVar2)) {\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }\n  else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" (if "if") (parenthesized_expression "(CARRY4(param_4,uVar2))" (( "(") (call_expression "CARRY4(param_4,uVar2)" (identifier "CARRY4") (argument_list "(param_4,uVar2)" (( "(") (identifier "param_4") (, ",") (identifier "uVar2") () ")"))) () ")")) (compound_statement "{\n    if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }\nLAB_00022c10:\n    uVar6 = 1;\n  }" ({ "{") (if_statement "if (iVar8 != 1) {\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }" (if "if") (parenthesized_expression "(iVar8 != 1)" (( "(") (binary_expression "iVar8 != 1" (identifier "iVar8") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      uVar6 = puVar1[1];\n      puVar3[1] = uVar6 + 1;\n      if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }\n      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }\n      goto LAB_00022cd7;\n    }" ({ "{") (expression_statement "uVar6 = puVar1[1];" (assignment_expression "uVar6 = puVar1[1]" (identifier "uVar6") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar3[1] = uVar6 + 1;" (assignment_expression "puVar3[1] = uVar6 + 1" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar6 + 1 == 0) {\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }\n      else {\n        iVar4 = 2;\n      }" (if "if") (parenthesized_expression "(uVar6 + 1 == 0)" (( "(") (binary_expression "uVar6 + 1 == 0" (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (iVar8 == 2) goto LAB_00022c10;\n        uVar6 = puVar1[2] + 1;\n        puVar3[2] = uVar6;\n        iVar4 = 3;\n        while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }\n      }" ({ "{") (if_statement "if (iVar8 == 2) goto LAB_00022c10;" (if "if") (parenthesized_expression "(iVar8 == 2)" (( "(") (binary_expression "iVar8 == 2" (identifier "iVar8") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_00022c10;" (goto "goto") (statement_identifier "LAB_00022c10") (; ";"))) (expression_statement "uVar6 = puVar1[2] + 1;" (assignment_expression "uVar6 = puVar1[2] + 1" (identifier "uVar6") (= "=") (binary_expression "puVar1[2] + 1" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" (identifier "iVar4") (= "=") (number_literal "3")) (; ";")) (while_statement "while (uVar6 == 0) {\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }" (while "while") (parenthesized_expression "(uVar6 == 0)" (( "(") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (iVar8 == iVar4) goto LAB_00022c10;\n          uVar6 = puVar1[iVar4] + 1;\n          puVar3[iVar4] = uVar6;\n          iVar4 = iVar4 + 1;\n        }" ({ "{") (if_statement "if (iVar8 == iVar4) goto LAB_00022c10;" (if "if") (parenthesized_expression "(iVar8 == iVar4)" (( "(") (binary_expression "iVar8 == iVar4" (identifier "iVar8") (== "==") (identifier "iVar4")) () ")")) (goto_statement "goto LAB_00022c10;" (goto "goto") (statement_identifier "LAB_00022c10") (; ";"))) (expression_statement "uVar6 = puVar1[iVar4] + 1;" (assignment_expression "uVar6 = puVar1[iVar4] + 1" (identifier "uVar6") (= "=") (binary_expression "puVar1[iVar4] + 1" (subscript_expression "puVar1[iVar4]" (identifier "puVar1") ([ "[") (identifier "iVar4") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3[iVar4] = uVar6;" (assignment_expression "puVar3[iVar4] = uVar6" (subscript_expression "puVar3[iVar4]" (identifier "puVar3") ([ "[") (identifier "iVar4") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar4 = 2;\n      }" (else "else") (compound_statement "{\n        iVar4 = 2;\n      }" ({ "{") (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" (identifier "iVar4") (= "=") (number_literal "2")) (; ";")) (} "}")))) (if_statement "if ((puVar3 != puVar1) && (iVar4 < iVar8)) {\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }" (if "if") (parenthesized_expression "((puVar3 != puVar1) && (iVar4 < iVar8))" (( "(") (binary_expression "(puVar3 != puVar1) && (iVar4 < iVar8)" (parenthesized_expression "(puVar3 != puVar1)" (( "(") (binary_expression "puVar3 != puVar1" (identifier "puVar3") (!= "!=") (identifier "puVar1")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 < iVar8)" (( "(") (binary_expression "iVar4 < iVar8" (identifier "iVar4") (< "<") (identifier "iVar8")) () ")"))) () ")")) (compound_statement "{\n        puVar5 = puVar1 + iVar4;\n        puVar7 = puVar3 + iVar4;\n        do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);\n      }" ({ "{") (expression_statement "puVar5 = puVar1 + iVar4;" (assignment_expression "puVar5 = puVar1 + iVar4" (identifier "puVar5") (= "=") (binary_expression "puVar1 + iVar4" (identifier "puVar1") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "puVar7 = puVar3 + iVar4;" (assignment_expression "puVar7 = puVar3 + iVar4" (identifier "puVar7") (= "=") (binary_expression "puVar3 + iVar4" (identifier "puVar3") (+ "+") (identifier "iVar4"))) (; ";")) (do_statement "do {\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        } while (puVar1 + iVar8 != puVar5);" (do "do") (compound_statement "{\n          uVar6 = *puVar5;\n          puVar5 = puVar5 + 1;\n          *puVar7 = uVar6;\n          puVar7 = puVar7 + 1;\n        }" ({ "{") (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" (identifier "uVar6") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1 + iVar8 != puVar5)" (( "(") (binary_expression "puVar1 + iVar8 != puVar5" (binary_expression "puVar1 + iVar8" (identifier "puVar1") (+ "+") (identifier "iVar8")) (!= "!=") (identifier "puVar5")) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_00022cd7;" (goto "goto") (statement_identifier "LAB_00022cd7") (; ";")) (} "}"))) (labeled_statement "LAB_00022c10:\n    uVar6 = 1;" (statement_identifier "LAB_00022c10") (: ":") (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" (identifier "uVar6") (= "=") (number_literal "1")) (; ";"))) (} "}")) (else_clause "else {\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" (else "else") (compound_statement "{\n    if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }\nLAB_00022cd7:\n    uVar6 = 0;\n  }" ({ "{") (if_statement "if ((puVar3 != puVar1) && (iVar8 != 1)) {\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }" (if "if") (parenthesized_expression "((puVar3 != puVar1) && (iVar8 != 1))" (( "(") (binary_expression "(puVar3 != puVar1) && (iVar8 != 1)" (parenthesized_expression "(puVar3 != puVar1)" (( "(") (binary_expression "puVar3 != puVar1" (identifier "puVar3") (!= "!=") (identifier "puVar1")) () ")")) (&& "&&") (parenthesized_expression "(iVar8 != 1)" (( "(") (binary_expression "iVar8 != 1" (identifier "iVar8") (!= "!=") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n      puVar5 = puVar1 + 1;\n      puVar7 = puVar3;\n      do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);\n    }" ({ "{") (expression_statement "puVar5 = puVar1 + 1;" (assignment_expression "puVar5 = puVar1 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" (identifier "puVar7") (= "=") (identifier "puVar3")) (; ";")) (do_statement "do {\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      } while (puVar1 + iVar8 != puVar5);" (do "do") (compound_statement "{\n        puVar7 = puVar7 + 1;\n        uVar6 = *puVar5;\n        puVar5 = puVar5 + 1;\n        *puVar7 = uVar6;\n      }" ({ "{") (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" (identifier "uVar6") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1 + iVar8 != puVar5)" (( "(") (binary_expression "puVar1 + iVar8 != puVar5" (binary_expression "puVar1 + iVar8" (identifier "puVar1") (+ "+") (identifier "iVar8")) (!= "!=") (identifier "puVar5")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00022cd7:\n    uVar6 = 0;" (statement_identifier "LAB_00022cd7") (: ":") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";"))) (} "}")))) (expression_statement "puVar3[iVar8] = uVar6;" (assignment_expression "puVar3[iVar8] = uVar6" (subscript_expression "puVar3[iVar8]" (identifier "puVar3") ([ "[") (identifier "iVar8") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "iVar8 = iVar8 + uVar6;" (assignment_expression "iVar8 = iVar8 + uVar6" (identifier "iVar8") (= "=") (binary_expression "iVar8 + uVar6" (identifier "iVar8") (+ "+") (identifier "uVar6"))) (; ";")) (labeled_statement "LAB_00022cde:\n  unaff_retaddr[1] = iVar8;" (statement_identifier "LAB_00022cde") (: ":") (expression_statement "unaff_retaddr[1] = iVar8;" (assignment_expression "unaff_retaddr[1] = iVar8" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar8")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x0001b8d0 */

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

{
  type_4 *var_8;
  type_4 var_5;
  type_4 *var_7;
  int var_6;
  type_4 *var_9;
  type_4 var_1;
  type_4 *var_10;
  int var_3;
  
  var_1 = u->_mp_size;
  if (var_1 == 0) {
    *w->_mp_d = var_2;
    w->_mp_size = (type_4)(var_2 != 0);
    return;
  }
  var_3 = ((int)var_1 >> 0x1f ^ var_1) - ((int)var_1 >> 0x1f);
  if (var_3 < w->_mp_alloc) {
    var_7 = w->_mp_d;
  }
  else {
    var_7 = (type_4 *)var_4(w,var_3 + 1);
  }
  var_8 = u->_mp_d;
  var_5 = *var_8;
  if ((int)var_1 < 0) {
    if (var_3 == 1) {
      if (var_5 < var_2) {
        *var_7 = var_2 - var_5;
        var_3 = 1;
        goto LAB_00022cde;
      }
      *var_7 = var_5 - var_2;
    }
    else {
      *var_7 = var_5 - var_2;
      if (var_5 < var_2) {
        var_1 = var_8[1];
        var_7[1] = var_1 - 1;
        if (var_1 == 0) {
          if (var_3 == 2) goto LAB_00022c80;
          var_1 = var_8[2];
          var_6 = 3;
          var_7[2] = var_1 - 1;
          while (var_1 == 0) {
            if (var_3 == var_6) goto LAB_00022c80;
            var_1 = var_8[var_6];
            var_7[var_6] = var_1 - 1;
            var_6 = var_6 + 1;
          }
        }
        else {
          var_6 = 2;
        }
        if ((var_7 != var_8) && (var_6 < var_3)) {
          var_9 = var_8 + var_6;
          var_10 = var_7 + var_6;
          do {
            var_1 = *var_9;
            var_9 = var_9 + 1;
            *var_10 = var_1;
            var_10 = var_10 + 1;
          } while (var_9 != var_8 + var_3);
        }
      }
      else if (var_7 != var_8) {
        var_9 = var_8 + 1;
        var_10 = var_7;
        do {
          var_10 = var_10 + 1;
          var_1 = *var_9;
          var_9 = var_9 + 1;
          *var_10 = var_1;
        } while (var_9 != var_8 + var_3);
      }
    }
LAB_00022c80:
    var_3 = (type_4)(var_7[var_3 + -1] == 0) - var_3;
    goto LAB_00022cde;
  }
  *var_7 = var_2 + var_5;
  if (var_11(var_2,var_5)) {
    if (var_3 != 1) {
      var_1 = var_8[1];
      var_7[1] = var_1 + 1;
      if (var_1 + 1 == 0) {
        if (var_3 == 2) goto LAB_00022c10;
        var_1 = var_8[2] + 1;
        var_7[2] = var_1;
        var_6 = 3;
        while (var_1 == 0) {
          if (var_3 == var_6) goto LAB_00022c10;
          var_1 = var_8[var_6] + 1;
          var_7[var_6] = var_1;
          var_6 = var_6 + 1;
        }
      }
      else {
        var_6 = 2;
      }
      if ((var_7 != var_8) && (var_6 < var_3)) {
        var_9 = var_8 + var_6;
        var_10 = var_7 + var_6;
        do {
          var_1 = *var_9;
          var_9 = var_9 + 1;
          *var_10 = var_1;
          var_10 = var_10 + 1;
        } while (var_8 + var_3 != var_9);
      }
      goto LAB_00022cd7;
    }
LAB_00022c10:
    var_1 = 1;
  }
  else {
    if ((var_7 != var_8) && (var_3 != 1)) {
      var_9 = var_8 + 1;
      var_10 = var_7;
      do {
        var_10 = var_10 + 1;
        var_1 = *var_9;
        var_9 = var_9 + 1;
        *var_10 = var_1;
      } while (var_8 + var_3 != var_9);
    }
LAB_00022cd7:
    var_1 = 0;
  }
  var_7[var_3] = var_1;
  var_3 = var_3 + var_1;
LAB_00022cde:
  w->_mp_size = var_3;
  return;
}


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

/* WARNING: Switch with 1 destination removed at 0x0001b8d0 */

void __regparm2 MASKED(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)

{
  uint *puVar1;
  uint uVar2;
  uint *puVar3;
  int iVar4;
  uint *puVar5;
  uint uVar6;
  uint *puVar7;
  int iVar8;
  int *unaff_retaddr;
  
  entry(param_2,0x22b79,&__DT_PLTGOT);
  uVar6 = *(uint *)(param_3 + 4);
  if (uVar6 == 0) {
    *(uint *)unaff_retaddr[2] = param_4;
    unaff_retaddr[1] = (uint)(param_4 != 0);
    return;
  }
  iVar8 = ((int)uVar6 >> 0x1f ^ uVar6) - ((int)uVar6 >> 0x1f);
  if (iVar8 < *unaff_retaddr) {
    puVar3 = (uint *)unaff_retaddr[2];
  }
  else {
    puVar3 = (uint *)__gmpz_realloc(unaff_retaddr,iVar8 + 1);
  }
  puVar1 = *(uint **)(param_3 + 8);
  uVar2 = *puVar1;
  if ((int)uVar6 < 0) {
    if (iVar8 == 1) {
      if (uVar2 < param_4) {
        *puVar3 = param_4 - uVar2;
        iVar8 = 1;
        goto LAB_00022cde;
      }
      *puVar3 = uVar2 - param_4;
    }
    else {
      *puVar3 = uVar2 - param_4;
      if (uVar2 < param_4) {
        uVar6 = puVar1[1];
        puVar3[1] = uVar6 - 1;
        if (uVar6 == 0) {
          if (iVar8 == 2) goto LAB_00022c80;
          uVar6 = puVar1[2];
          iVar4 = 3;
          puVar3[2] = uVar6 - 1;
          while (uVar6 == 0) {
            if (iVar8 == iVar4) goto LAB_00022c80;
            uVar6 = puVar1[iVar4];
            puVar3[iVar4] = uVar6 - 1;
            iVar4 = iVar4 + 1;
          }
        }
        else {
          iVar4 = 2;
        }
        if ((puVar3 != puVar1) && (iVar4 < iVar8)) {
          puVar5 = puVar1 + iVar4;
          puVar7 = puVar3 + iVar4;
          do {
            uVar6 = *puVar5;
            puVar5 = puVar5 + 1;
            *puVar7 = uVar6;
            puVar7 = puVar7 + 1;
          } while (puVar5 != puVar1 + iVar8);
        }
      }
      else if (puVar3 != puVar1) {
        puVar5 = puVar1 + 1;
        puVar7 = puVar3;
        do {
          puVar7 = puVar7 + 1;
          uVar6 = *puVar5;
          puVar5 = puVar5 + 1;
          *puVar7 = uVar6;
        } while (puVar5 != puVar1 + iVar8);
      }
    }
LAB_00022c80:
    iVar8 = (uint)(puVar3[iVar8 + -1] == 0) - iVar8;
    goto LAB_00022cde;
  }
  *puVar3 = param_4 + uVar2;
  if (CARRY4(param_4,uVar2)) {
    if (iVar8 != 1) {
      uVar6 = puVar1[1];
      puVar3[1] = uVar6 + 1;
      if (uVar6 + 1 == 0) {
        if (iVar8 == 2) goto LAB_00022c10;
        uVar6 = puVar1[2] + 1;
        puVar3[2] = uVar6;
        iVar4 = 3;
        while (uVar6 == 0) {
          if (iVar8 == iVar4) goto LAB_00022c10;
          uVar6 = puVar1[iVar4] + 1;
          puVar3[iVar4] = uVar6;
          iVar4 = iVar4 + 1;
        }
      }
      else {
        iVar4 = 2;
      }
      if ((puVar3 != puVar1) && (iVar4 < iVar8)) {
        puVar5 = puVar1 + iVar4;
        puVar7 = puVar3 + iVar4;
        do {
          uVar6 = *puVar5;
          puVar5 = puVar5 + 1;
          *puVar7 = uVar6;
          puVar7 = puVar7 + 1;
        } while (puVar1 + iVar8 != puVar5);
      }
      goto LAB_00022cd7;
    }
LAB_00022c10:
    uVar6 = 1;
  }
  else {
    if ((puVar3 != puVar1) && (iVar8 != 1)) {
      puVar5 = puVar1 + 1;
      puVar7 = puVar3;
      do {
        puVar7 = puVar7 + 1;
        uVar6 = *puVar5;
        puVar5 = puVar5 + 1;
        *puVar7 = uVar6;
      } while (puVar1 + iVar8 != puVar5);
    }
LAB_00022cd7:
    uVar6 = 0;
  }
  puVar3[iVar8] = uVar6;
  iVar8 = iVar8 + uVar6;
LAB_00022cde:
  unaff_retaddr[1] = iVar8;
  return;
}

