
int fts5StorageSaveTotals(Fts5Storage *p)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  Fts5Buffer *pData;
  int iVar4;
  Fts5Index *p_00;
  code *pcVar5;
  int iVar6;
  int rc;
  Fts5Buffer buf;
  
  puVar1 = PTR___stack_chk_guard_00190e24;
  iVar3 = *(int *)PTR___stack_chk_guard_00190e24;
  iVar6 = p->pConfig->nCol;
  pcVar5 = (code *)(PTR_LAB_00190c2c + -0x2960);
  buf.p = (u8 *)0x0;
  rc = 0;
  buf.n = 0;
  buf.nSpace = 0;
  pData = &buf;
  (*pcVar5)(&rc,&buf,*(undefined4 *)&p->nTotalRow,(int)p->nTotalRow);
  iVar2 = 0;
  if (0 < iVar6) {
    do {
      iVar4 = iVar2 + 1;
      pData = &buf;
      (*pcVar5)(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2]);
      iVar2 = iVar4;
    } while (iVar6 != iVar4);
  }
  if (rc == 0) {
    p_00 = p->pIndex;
    fts5DataWrite(p_00,CONCAT44(buf.p,buf.n),(u8 *)pData,0);
    rc = p_00->rc;
    p_00->rc = 0;
  }
  (*(code *)PTR_sqlite3_free_0019096c)(buf.p);
  if (iVar3 == *(int *)puVar1) {
    return rc;
  }
  iVar2 = (*(code *)PTR___stack_chk_fail_00190df8)();
  return iVar2;
}



int FUN_00129d48(int *param_1)

{
  undefined *puVar1;
  int iVar2;
  int *piVar3;
  int *piVar4;
  int iVar5;
  int *piVar6;
  int *piVar7;
  int *piVar8;
  int iVar9;
  uint uVar10;
  uint uVar11;
  undefined4 uVar12;
  int iVar13;
  code *pcVar14;
  code *pcVar15;
  int iVar16;
  int iVar17;
  int *piVar18;
  int iVar19;
  undefined *puVar20;
  uint uVar21;
  int iStack_b0;
  int *piStack_a8;
  int iStack_90;
  int iStack_8c;
  int iStack_84;
  int iStack_80;
  code *pcStack_7c;
  int *piStack_78;
  int iStack_74;
  int *piStack_70;
  undefined *puStack_6c;
  int *piStack_68;
  int local_34;
  int local_30 [3];
  int *local_24;
  
  puVar1 = PTR___stack_chk_guard_00190e24;
  iVar13 = 0;
  uVar10 = param_1[5];
  local_24 = *(int **)PTR___stack_chk_guard_00190e24;
  iVar16 = *(int *)(*param_1 + 0xc);
  pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);
  iVar9 = param_1[4];
  local_30[0] = 0;
  local_34 = 0;
  local_30[1] = 0;
  local_30[2] = 0;
  piVar3 = local_30;
  (*pcVar14)(&local_34);
  if (0 < iVar16) {
    do {
      iVar9 = iVar13 * 8;
      iVar13 = iVar13 + 1;
      piVar3 = (int *)(param_1[6] + iVar9);
      uVar10 = piVar3[1];
      iVar9 = *piVar3;
      piVar3 = local_30;
      (*pcVar14)(&local_34);
    } while (iVar16 != iVar13);
  }
  if (local_34 == 0) {
    uVar10 = 1;
    iVar13 = param_1[1];
    iVar9 = 0;
    FUN_00129bf8(iVar13);
    local_34 = *(int *)(iVar13 + 0x24);
    *(undefined4 *)(iVar13 + 0x24) = 0;
  }
  (*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);
  if (local_24 == *(int **)puVar1) {
    return local_34;
  }
  piVar6 = local_24;
  puVar20 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  piVar4 = *(int **)(puVar20 + 0x66f7c);
  puStack_6c = puVar1;
  iStack_84 = *piVar4;
  iVar5 = *(int *)(puVar20 + 0x66c98);
  piStack_a8 = piVar6;
  piVar8 = piVar3;
  iStack_80 = iVar13;
  pcStack_7c = pcVar14;
  piStack_78 = local_30;
  iStack_74 = iVar16;
  piStack_70 = &local_34;
  piStack_68 = param_1;
  if (piVar6[9] == 0) {
    piVar7 = piVar6 + 9;
    iVar19 = *(int *)(puVar20 + 0x66d08);
    iVar13 = 0;
    iVar16 = *(int *)(puVar20 + 0x66d84);
    iStack_b0 = 0;
    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);
    uVar21 = 0;
    do {
      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);
      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {
        piVar8 = piVar18 + 4;
        if (piVar18[1] != 0) {
          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));
          piVar18[2] = iVar9;
          piVar18[1] = 1;
          piVar18[3] = uVar10;
          piStack_a8 = piVar7;
          break;
        }
        uVar12 = 0;
        piStack_a8 = (int *)0x1;
      }
      else {
        *(undefined1 *)piVar18[4] = 1;
        iVar17 = *piVar18 >> 0x1f;
        uVar11 = uVar21 + *piVar18;
        (*(code *)(iVar19 + -0x6408))
                  (piVar6,iVar17,
                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,
                   piVar18[4],piVar18[5]);
        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);
        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);
        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {
          piVar8 = piVar18 + 0xc;
          pcVar15 = (code *)(iVar5 + -0x80);
          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);
          (*pcVar15)(piVar18[4] + iVar17 + 1);
          iVar2 = iStack_8c;
          iVar17 = iStack_90;
          piVar18[8] = *piVar18;
          (*pcVar14)(piVar7,piVar8,0,0);
          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);
          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);
          piVar18[9] = 1;
          piVar18[0xb] = iVar2;
          piVar18[10] = iVar17;
        }
        piVar8 = piVar18 + 4;
        uVar12 = 1;
        piVar18[5] = 0;
        piStack_a8 = (int *)0x0;
        piVar18[1] = 0;
        *piVar18 = *piVar18 + 1;
      }
      if (iVar13 == 0) {
        iVar17 = piVar3[1];
      }
      else {
        iVar17 = piVar18[-8];
      }
      iVar13 = iVar13 + 1;
      (*pcVar14)(piVar7,piVar8,0,uVar12);
      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);
      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);
      piVar18[1] = 1;
      piVar18[2] = iVar9;
      piVar18[3] = uVar10;
      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;
      uVar21 = uVar21 + 0x80000000;
    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);
  }
  iVar9 = *piVar4;
  if (iStack_84 != iVar9) {
    pcVar14 = *(code **)(puVar20 + 0x66f50);
    (*pcVar14)();
    piVar3 = piStack_a8 + 9;
    iVar13 = piVar8[4];
    iVar9 = piVar8[3];
    *(char *)(iVar9 + 3) = (char)iVar13;
    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);
    if (*(char *)((int)piVar8 + 0x3a) == '\0') {
      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);
      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);
    }
    else {
      if (*(char *)((int)piVar8 + 0x39) != '\0') {
        if (0 < *(int *)(piVar8[0x12] + 0x14)) {
          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);
        }
      }
      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);
      piVar8[0x10] = piVar8[0x10] + 1;
    }
    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],
                 piVar8[4]);
    piVar8[4] = 0;
    piVar8[7] = 0;
    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);
    iVar9 = piVar8[0xf];
    piVar8[2] = 0;
    *(undefined1 *)((int)piVar8 + 0x3a) = 1;
    *(undefined1 *)((int)piVar8 + 0x39) = 1;
    piVar8[1] = piVar8[1] + 1;
    piVar8[0xf] = iVar9 + 1;
    return iVar9 + 1;
  }
  return iVar9;
}


lui gp,0x7
addiu gp,gp,-0x1428
addu gp,gp,t9
addiu sp,sp,-0x58
sw gp,0x18(sp)
sw s6,0x50(sp)
or s6,a0,zero
sw s5,0x4c(sp)
sw s4,0x48(sp)
addiu s4,sp,0x24
sw s2,0x40(sp)
addiu s2,sp,0x28
sw s1,0x3c(sp)
sw s0,0x38(sp)
or a1,s2,zero
sw ra,0x54(sp)
or s0,zero,zero
sw s3,0x44(sp)
lw s5,-0x7afc(gp)
lw v0,0x0(a0)
lw s1,-0x7cf4(gp)
lw a3,0x14(a0)
lw v1,0x0(s5)
lw s3,0xc(v0)
addiu s1,s1,-0x2960
lw a2,0x10(a0)
or a0,s4,zero
sw zero,0x28(sp)
or t9,s1,zero
sw zero,0x24(sp)
sw v1,0x34(sp)
sw zero,0x4(s2)
jalr t9
_sw zero,0x8(s2)
blez s3,0x00129e08
_lw gp,0x18(sp)
lw v0,0x18(s6)
sll v1,s0,0x3
addiu s0,s0,0x1
or a1,s2,zero
addu v0,v0,v1
or a0,s4,zero
or t9,s1,zero
lw a3,0x4(v0)
jalr t9
_lw a2,0x0(v0)
bne s3,s0,0x00129dd8
_lw gp,0x18(sp)
lw v0,0x24(sp)
beq v0,zero,0x00129e5c
_lw a0,0x28(sp)
lw t9,-0x7fb4(gp)
jalr t9
_nop
lw a0,0x34(sp)
lw v1,0x0(s5)
lw gp,0x18(sp)
bne a0,v1,0x00129e9c
_lw v0,0x24(sp)
lw ra,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x58
lw t9,-0x7d70(gp)
li a3,0x1
lw s0,0x4(s6)
or a2,zero,zero
lw v0,0x2c(sp)
addiu t9,t9,-0x6408
sw a0,0x10(sp)
or a0,s0,zero
bal 0x00129bf8
_sw v0,0x14(sp)
lw v0,0x24(s0)
lw gp,0x18(sp)
lw a0,0x28(sp)
sw zero,0x24(s0)
b 0x00129e14
_sw v0,0x24(sp)
lw t9,-0x7b28(gp)
jalr t9
_nop
(translation_unit "int FUN_00129d48(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int iVar13;\n  code *pcVar14;\n  code *pcVar15;\n  int iVar16;\n  int iVar17;\n  int *piVar18;\n  int iVar19;\n  undefined *puVar20;\n  uint uVar21;\n  int iStack_b0;\n  int *piStack_a8;\n  int iStack_90;\n  int iStack_8c;\n  int iStack_84;\n  int iStack_80;\n  code *pcStack_7c;\n  int *piStack_78;\n  int iStack_74;\n  int *piStack_70;\n  undefined *puStack_6c;\n  int *piStack_68;\n  int local_34;\n  int local_30 [3];\n  int *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar13 = 0;\n  uVar10 = param_1[5];\n  local_24 = *(int **)PTR___stack_chk_guard_00190e24;\n  iVar16 = *(int *)(*param_1 + 0xc);\n  pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  iVar9 = param_1[4];\n  local_30[0] = 0;\n  local_34 = 0;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  piVar3 = local_30;\n  (*pcVar14)(&local_34);\n  if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }\n  if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);\n  if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }\n  piVar6 = local_24;\n  puVar20 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar4 = *(int **)(puVar20 + 0x66f7c);\n  puStack_6c = puVar1;\n  iStack_84 = *piVar4;\n  iVar5 = *(int *)(puVar20 + 0x66c98);\n  piStack_a8 = piVar6;\n  piVar8 = piVar3;\n  iStack_80 = iVar13;\n  pcStack_7c = pcVar14;\n  piStack_78 = local_30;\n  iStack_74 = iVar16;\n  piStack_70 = &local_34;\n  piStack_68 = param_1;\n  if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }\n  iVar9 = *piVar4;\n  if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }\n  return iVar9;\n}\n\n" (function_definition "int FUN_00129d48(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int iVar13;\n  code *pcVar14;\n  code *pcVar15;\n  int iVar16;\n  int iVar17;\n  int *piVar18;\n  int iVar19;\n  undefined *puVar20;\n  uint uVar21;\n  int iStack_b0;\n  int *piStack_a8;\n  int iStack_90;\n  int iStack_8c;\n  int iStack_84;\n  int iStack_80;\n  code *pcStack_7c;\n  int *piStack_78;\n  int iStack_74;\n  int *piStack_70;\n  undefined *puStack_6c;\n  int *piStack_68;\n  int local_34;\n  int local_30 [3];\n  int *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar13 = 0;\n  uVar10 = param_1[5];\n  local_24 = *(int **)PTR___stack_chk_guard_00190e24;\n  iVar16 = *(int *)(*param_1 + 0xc);\n  pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  iVar9 = param_1[4];\n  local_30[0] = 0;\n  local_34 = 0;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  piVar3 = local_30;\n  (*pcVar14)(&local_34);\n  if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }\n  if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);\n  if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }\n  piVar6 = local_24;\n  puVar20 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar4 = *(int **)(puVar20 + 0x66f7c);\n  puStack_6c = puVar1;\n  iStack_84 = *piVar4;\n  iVar5 = *(int *)(puVar20 + 0x66c98);\n  piStack_a8 = piVar6;\n  piVar8 = piVar3;\n  iStack_80 = iVar13;\n  pcStack_7c = pcVar14;\n  piStack_78 = local_30;\n  iStack_74 = iVar16;\n  piStack_70 = &local_34;\n  piStack_68 = param_1;\n  if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }\n  iVar9 = *piVar4;\n  if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }\n  return iVar9;\n}" primitive_type (function_declarator "FUN_00129d48(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int iVar13;\n  code *pcVar14;\n  code *pcVar15;\n  int iVar16;\n  int iVar17;\n  int *piVar18;\n  int iVar19;\n  undefined *puVar20;\n  uint uVar21;\n  int iStack_b0;\n  int *piStack_a8;\n  int iStack_90;\n  int iStack_8c;\n  int iStack_84;\n  int iStack_80;\n  code *pcStack_7c;\n  int *piStack_78;\n  int iStack_74;\n  int *piStack_70;\n  undefined *puStack_6c;\n  int *piStack_68;\n  int local_34;\n  int local_30 [3];\n  int *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar13 = 0;\n  uVar10 = param_1[5];\n  local_24 = *(int **)PTR___stack_chk_guard_00190e24;\n  iVar16 = *(int *)(*param_1 + 0xc);\n  pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  iVar9 = param_1[4];\n  local_30[0] = 0;\n  local_34 = 0;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  piVar3 = local_30;\n  (*pcVar14)(&local_34);\n  if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }\n  if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);\n  if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }\n  piVar6 = local_24;\n  puVar20 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar4 = *(int **)(puVar20 + 0x66f7c);\n  puStack_6c = puVar1;\n  iStack_84 = *piVar4;\n  iVar5 = *(int *)(puVar20 + 0x66c98);\n  piStack_a8 = piVar6;\n  piVar8 = piVar3;\n  iStack_80 = iVar13;\n  pcStack_7c = pcVar14;\n  piStack_78 = local_30;\n  iStack_74 = iVar16;\n  piStack_70 = &local_34;\n  piStack_68 = param_1;\n  if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }\n  iVar9 = *piVar4;\n  if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }\n  return iVar9;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "undefined *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "uint uVar21;" type_identifier identifier ;) (declaration "int iStack_b0;" primitive_type identifier ;) (declaration "int *piStack_a8;" primitive_type (pointer_declarator "*piStack_a8" * identifier) ;) (declaration "int iStack_90;" primitive_type identifier ;) (declaration "int iStack_8c;" primitive_type identifier ;) (declaration "int iStack_84;" primitive_type identifier ;) (declaration "int iStack_80;" primitive_type identifier ;) (declaration "code *pcStack_7c;" type_identifier (pointer_declarator "*pcStack_7c" * identifier) ;) (declaration "int *piStack_78;" primitive_type (pointer_declarator "*piStack_78" * identifier) ;) (declaration "int iStack_74;" primitive_type identifier ;) (declaration "int *piStack_70;" primitive_type (pointer_declarator "*piStack_70" * identifier) ;) (declaration "undefined *puStack_6c;" type_identifier (pointer_declarator "*puStack_6c" * identifier) ;) (declaration "int *piStack_68;" primitive_type (pointer_declarator "*piStack_68" * identifier) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int local_30 [3];" primitive_type (array_declarator "local_30 [3]" identifier [ number_literal ]) ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = param_1[5];" (assignment_expression "uVar10 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "local_24 = *(int **)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_24 = *(int **)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_00190e24" * (cast_expression "(int **)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar16 = *(int *)(*param_1 + 0xc);" (assignment_expression "iVar16 = *(int *)(*param_1 + 0xc)" identifier = (pointer_expression "*(int *)(*param_1 + 0xc)" * (cast_expression "(int *)(*param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (expression_statement "pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);" (assignment_expression "pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960)" identifier = (cast_expression "(code *)(PTR_LAB_00190c2c + -0x2960)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190c2c + -0x2960)" ( (binary_expression "PTR_LAB_00190c2c + -0x2960" identifier + number_literal) )))) ;) (expression_statement "iVar9 = param_1[4];" (assignment_expression "iVar9 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "local_30[0] = 0;" (assignment_expression "local_30[0] = 0" (subscript_expression "local_30[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_30[1] = 0;" (assignment_expression "local_30[1] = 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3 = local_30;" (assignment_expression "piVar3 = local_30" identifier = identifier) ;) (expression_statement "(*pcVar14)(&local_34);" (call_expression "(*pcVar14)(&local_34)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(&local_34)" ( (pointer_expression "&local_34" & identifier) ))) ;) (if_statement "if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }" if (parenthesized_expression "(0 < iVar16)" ( (binary_expression "0 < iVar16" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }" { (do_statement "do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);" do (compound_statement "{\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    }" { (expression_statement "iVar9 = iVar13 * 8;" (assignment_expression "iVar9 = iVar13 * 8" identifier = (binary_expression "iVar13 * 8" identifier * number_literal)) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)(param_1[6] + iVar9);" (assignment_expression "piVar3 = (int *)(param_1[6] + iVar9)" identifier = (cast_expression "(int *)(param_1[6] + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[6] + iVar9)" ( (binary_expression "param_1[6] + iVar9" (subscript_expression "param_1[6]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "uVar10 = piVar3[1];" (assignment_expression "uVar10 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = *piVar3;" (assignment_expression "iVar9 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar3 = local_30;" (assignment_expression "piVar3 = local_30" identifier = identifier) ;) (expression_statement "(*pcVar14)(&local_34);" (call_expression "(*pcVar14)(&local_34)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(&local_34)" ( (pointer_expression "&local_34" & identifier) ))) ;) }) while (parenthesized_expression "(iVar16 != iVar13)" ( (binary_expression "iVar16 != iVar13" identifier != identifier) )) ;) })) (if_statement "if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }" if (parenthesized_expression "(local_34 == 0)" ( (binary_expression "local_34 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }" { (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (expression_statement "iVar13 = param_1[1];" (assignment_expression "iVar13 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "FUN_00129bf8(iVar13);" (call_expression "FUN_00129bf8(iVar13)" identifier (argument_list "(iVar13)" ( identifier ))) ;) (expression_statement "local_34 = *(int *)(iVar13 + 0x24);" (assignment_expression "local_34 = *(int *)(iVar13 + 0x24)" identifier = (pointer_expression "*(int *)(iVar13 + 0x24)" * (cast_expression "(int *)(iVar13 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x24)" ( (binary_expression "iVar13 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar13 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(iVar13 + 0x24) = 0" (pointer_expression "*(undefined4 *)(iVar13 + 0x24)" * (cast_expression "(undefined4 *)(iVar13 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x24)" ( (binary_expression "iVar13 + 0x24" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "(*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);" (call_expression "(*(code *)PTR_sqlite3_free_0019096c)(local_30[0])" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0019096c)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0019096c" * (cast_expression "(code *)PTR_sqlite3_free_0019096c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30[0])" ( (subscript_expression "local_30[0]" identifier [ number_literal ]) ))) ;) (if_statement "if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }" if (parenthesized_expression "(local_24 == *(int **)puVar1)" ( (binary_expression "local_24 == *(int **)puVar1" identifier == (pointer_expression "*(int **)puVar1" * (cast_expression "(int **)puVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return local_34;\n  }" { (return_statement "return local_34;" return identifier ;) })) (expression_statement "piVar6 = local_24;" (assignment_expression "piVar6 = local_24" identifier = identifier) ;) (expression_statement "puVar20 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar20 = PTR___stack_chk_fail_00190df8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar4 = *(int **)(puVar20 + 0x66f7c);" (assignment_expression "piVar4 = *(int **)(puVar20 + 0x66f7c)" identifier = (pointer_expression "*(int **)(puVar20 + 0x66f7c)" * (cast_expression "(int **)(puVar20 + 0x66f7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar20 + 0x66f7c)" ( (binary_expression "puVar20 + 0x66f7c" identifier + number_literal) ))))) ;) (expression_statement "puStack_6c = puVar1;" (assignment_expression "puStack_6c = puVar1" identifier = identifier) ;) (expression_statement "iStack_84 = *piVar4;" (assignment_expression "iStack_84 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "iVar5 = *(int *)(puVar20 + 0x66c98);" (assignment_expression "iVar5 = *(int *)(puVar20 + 0x66c98)" identifier = (pointer_expression "*(int *)(puVar20 + 0x66c98)" * (cast_expression "(int *)(puVar20 + 0x66c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x66c98)" ( (binary_expression "puVar20 + 0x66c98" identifier + number_literal) ))))) ;) (expression_statement "piStack_a8 = piVar6;" (assignment_expression "piStack_a8 = piVar6" identifier = identifier) ;) (expression_statement "piVar8 = piVar3;" (assignment_expression "piVar8 = piVar3" identifier = identifier) ;) (expression_statement "iStack_80 = iVar13;" (assignment_expression "iStack_80 = iVar13" identifier = identifier) ;) (expression_statement "pcStack_7c = pcVar14;" (assignment_expression "pcStack_7c = pcVar14" identifier = identifier) ;) (expression_statement "piStack_78 = local_30;" (assignment_expression "piStack_78 = local_30" identifier = identifier) ;) (expression_statement "iStack_74 = iVar16;" (assignment_expression "iStack_74 = iVar16" identifier = identifier) ;) (expression_statement "piStack_70 = &local_34;" (assignment_expression "piStack_70 = &local_34" identifier = (pointer_expression "&local_34" & identifier)) ;) (expression_statement "piStack_68 = param_1;" (assignment_expression "piStack_68 = param_1" identifier = identifier) ;) (if_statement "if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }" if (parenthesized_expression "(piVar6[9] == 0)" ( (binary_expression "piVar6[9] == 0" (subscript_expression "piVar6[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }" { (expression_statement "piVar7 = piVar6 + 9;" (assignment_expression "piVar7 = piVar6 + 9" identifier = (binary_expression "piVar6 + 9" identifier + number_literal)) ;) (expression_statement "iVar19 = *(int *)(puVar20 + 0x66d08);" (assignment_expression "iVar19 = *(int *)(puVar20 + 0x66d08)" identifier = (pointer_expression "*(int *)(puVar20 + 0x66d08)" * (cast_expression "(int *)(puVar20 + 0x66d08)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x66d08)" ( (binary_expression "puVar20 + 0x66d08" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "iVar16 = *(int *)(puVar20 + 0x66d84);" (assignment_expression "iVar16 = *(int *)(puVar20 + 0x66d84)" identifier = (pointer_expression "*(int *)(puVar20 + 0x66d84)" * (cast_expression "(int *)(puVar20 + 0x66d84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x66d84)" ( (binary_expression "puVar20 + 0x66d84" identifier + number_literal) ))))) ;) (expression_statement "iStack_b0 = 0;" (assignment_expression "iStack_b0 = 0" identifier = number_literal) ;) (expression_statement "pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);" (assignment_expression "pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960)" identifier = (cast_expression "(code *)(*(int *)(puVar20 + 0x66d84) + -0x2960)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar20 + 0x66d84) + -0x2960)" ( (binary_expression "*(int *)(puVar20 + 0x66d84) + -0x2960" (pointer_expression "*(int *)(puVar20 + 0x66d84)" * (cast_expression "(int *)(puVar20 + 0x66d84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x66d84)" ( (binary_expression "puVar20 + 0x66d84" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "uVar21 = 0;" (assignment_expression "uVar21 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);" do (compound_statement "{\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    }" { (expression_statement "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);" (assignment_expression "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20)" identifier = (cast_expression "(int *)(piVar3[0x12] + iVar13 * 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3[0x12] + iVar13 * 0x20)" ( (binary_expression "piVar3[0x12] + iVar13 * 0x20" (subscript_expression "piVar3[0x12]" identifier [ number_literal ]) + (binary_expression "iVar13 * 0x20" identifier * number_literal)) )))) ;) (if_statement "if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }" if (parenthesized_expression "(piVar18[5] < *(int *)(*piVar6 + 0x44))" ( (binary_expression "piVar18[5] < *(int *)(*piVar6 + 0x44)" (subscript_expression "piVar18[5]" identifier [ number_literal ]) < (pointer_expression "*(int *)(*piVar6 + 0x44)" * (cast_expression "(int *)(*piVar6 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar6 + 0x44)" ( (binary_expression "*piVar6 + 0x44" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (compound_statement "{\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }" { (expression_statement "piVar8 = piVar18 + 4;" (assignment_expression "piVar8 = piVar18 + 4" identifier = (binary_expression "piVar18 + 4" identifier + number_literal)) ;) (if_statement "if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }" if (parenthesized_expression "(piVar18[1] != 0)" ( (binary_expression "piVar18[1] != 0" (subscript_expression "piVar18[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }" { (expression_statement "(*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));" (call_expression "(*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]))" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]))" ( identifier , identifier , (binary_expression "(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3])" (parenthesized_expression "(iVar9 - piVar18[2])" ( (binary_expression "iVar9 - piVar18[2]" identifier - (subscript_expression "piVar18[2]" identifier [ number_literal ])) )) - (call_expression "(uint)(uVar10 < uVar10 - piVar18[3])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar10 < uVar10 - piVar18[3])" ( (binary_expression "uVar10 < uVar10 - piVar18[3]" identifier < (binary_expression "uVar10 - piVar18[3]" identifier - (subscript_expression "piVar18[3]" identifier [ number_literal ]))) )))) ))) ;) (expression_statement "piVar18[2] = iVar9;" (assignment_expression "piVar18[2] = iVar9" (subscript_expression "piVar18[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar18[1] = 1;" (assignment_expression "piVar18[1] = 1" (subscript_expression "piVar18[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar18[3] = uVar10;" (assignment_expression "piVar18[3] = uVar10" (subscript_expression "piVar18[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piStack_a8 = piVar7;" (assignment_expression "piStack_a8 = piVar7" identifier = identifier) ;) (break_statement "break;" break ;) })) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (expression_statement "piStack_a8 = (int *)0x1;" (assignment_expression "piStack_a8 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }" else (compound_statement "{\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }" { (expression_statement "*(undefined1 *)piVar18[4] = 1;" (assignment_expression "*(undefined1 *)piVar18[4] = 1" (pointer_expression "*(undefined1 *)piVar18[4]" * (cast_expression "(undefined1 *)piVar18[4]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar18[4]" identifier [ number_literal ]))) = number_literal) ;) (expression_statement "iVar17 = *piVar18 >> 0x1f;" (assignment_expression "iVar17 = *piVar18 >> 0x1f" identifier = (binary_expression "*piVar18 >> 0x1f" (pointer_expression "*piVar18" * identifier) >> number_literal)) ;) (expression_statement "uVar11 = uVar21 + *piVar18;" (assignment_expression "uVar11 = uVar21 + *piVar18" identifier = (binary_expression "uVar21 + *piVar18" identifier + (pointer_expression "*piVar18" * identifier))) ;) (expression_statement "(*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);" (call_expression "(*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5])" (parenthesized_expression "(*(code *)(iVar19 + -0x6408))" ( (pointer_expression "*(code *)(iVar19 + -0x6408)" * (cast_expression "(code *)(iVar19 + -0x6408)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + -0x6408)" ( (binary_expression "iVar19 + -0x6408" identifier + number_literal) )))) )) (argument_list "(piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5])" ( identifier , identifier , (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17" (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0" (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10" (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20" (call_expression "(uint)(uVar11 < uVar21)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar11 < uVar21)" ( (binary_expression "uVar11 < uVar21" identifier < identifier) ))) + (binary_expression "*piVar3 * 0x20" (pointer_expression "*piVar3" * identifier) * number_literal)) + number_literal) + identifier) + identifier) , identifier , (subscript_expression "piVar18[4]" identifier [ number_literal ]) , (subscript_expression "piVar18[5]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);" (call_expression "(*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2)" (parenthesized_expression "(*(code *)(iVar16 + -0x1190))" ( (pointer_expression "*(code *)(iVar16 + -0x1190)" * (cast_expression "(code *)(iVar16 + -0x1190)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar16 + -0x1190)" ( (binary_expression "iVar16 + -0x1190" identifier + number_literal) )))) )) (argument_list "(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2)" ( identifier , (binary_expression "piVar3 + 0x11" identifier + number_literal) , (binary_expression "piVar3 + 0x12" identifier + number_literal) , (binary_expression "iVar13 + 2" identifier + number_literal) ))) ;) (expression_statement "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);" (assignment_expression "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20)" identifier = (cast_expression "(int *)(piVar3[0x12] + iVar13 * 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3[0x12] + iVar13 * 0x20)" ( (binary_expression "piVar3[0x12] + iVar13 * 0x20" (subscript_expression "piVar3[0x12]" identifier [ number_literal ]) + (binary_expression "iVar13 * 0x20" identifier * number_literal)) )))) ;) (if_statement "if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }" if (parenthesized_expression "((piVar6[9] == 0) && (piVar18[0xd] == 0))" ( (binary_expression "(piVar6[9] == 0) && (piVar18[0xd] == 0)" (parenthesized_expression "(piVar6[9] == 0)" ( (binary_expression "piVar6[9] == 0" (subscript_expression "piVar6[9]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(piVar18[0xd] == 0)" ( (binary_expression "piVar18[0xd] == 0" (subscript_expression "piVar18[0xd]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }" { (expression_statement "piVar8 = piVar18 + 0xc;" (assignment_expression "piVar8 = piVar18 + 0xc" identifier = (binary_expression "piVar18 + 0xc" identifier + number_literal)) ;) (expression_statement "pcVar15 = (code *)(iVar5 + -0x80);" (assignment_expression "pcVar15 = (code *)(iVar5 + -0x80)" identifier = (cast_expression "(code *)(iVar5 + -0x80)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + -0x80)" ( (binary_expression "iVar5 + -0x80" identifier + number_literal) )))) ;) (expression_statement "iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);" (assignment_expression "iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90)" identifier = (call_expression "(*pcVar15)(piVar18[4] + 1,&iStack_90)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(piVar18[4] + 1,&iStack_90)" ( (binary_expression "piVar18[4] + 1" (subscript_expression "piVar18[4]" identifier [ number_literal ]) + number_literal) , (pointer_expression "&iStack_90" & identifier) )))) ;) (expression_statement "(*pcVar15)(piVar18[4] + iVar17 + 1);" (call_expression "(*pcVar15)(piVar18[4] + iVar17 + 1)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(piVar18[4] + iVar17 + 1)" ( (binary_expression "piVar18[4] + iVar17 + 1" (binary_expression "piVar18[4] + iVar17" (subscript_expression "piVar18[4]" identifier [ number_literal ]) + identifier) + number_literal) ))) ;) (expression_statement "iVar2 = iStack_8c;" (assignment_expression "iVar2 = iStack_8c" identifier = identifier) ;) (expression_statement "iVar17 = iStack_90;" (assignment_expression "iVar17 = iStack_90" identifier = identifier) ;) (expression_statement "piVar18[8] = *piVar18;" (assignment_expression "piVar18[8] = *piVar18" (subscript_expression "piVar18[8]" identifier [ number_literal ]) = (pointer_expression "*piVar18" * identifier)) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,0,0);" (call_expression "(*pcVar14)(piVar7,piVar8,0,0)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,0,0)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);" (call_expression "(*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,*piVar18 >> 0x1f)" ( identifier , identifier , (binary_expression "*piVar18 >> 0x1f" (pointer_expression "*piVar18" * identifier) >> number_literal) ))) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,iVar17,iVar2);" (call_expression "(*pcVar14)(piVar7,piVar8,iVar17,iVar2)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,iVar17,iVar2)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "piVar18[9] = 1;" (assignment_expression "piVar18[9] = 1" (subscript_expression "piVar18[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar18[0xb] = iVar2;" (assignment_expression "piVar18[0xb] = iVar2" (subscript_expression "piVar18[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar18[10] = iVar17;" (assignment_expression "piVar18[10] = iVar17" (subscript_expression "piVar18[10]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "piVar8 = piVar18 + 4;" (assignment_expression "piVar8 = piVar18 + 4" identifier = (binary_expression "piVar18 + 4" identifier + number_literal)) ;) (expression_statement "uVar12 = 1;" (assignment_expression "uVar12 = 1" identifier = number_literal) ;) (expression_statement "piVar18[5] = 0;" (assignment_expression "piVar18[5] = 0" (subscript_expression "piVar18[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piStack_a8 = (int *)0x0;" (assignment_expression "piStack_a8 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar18[1] = 0;" (assignment_expression "piVar18[1] = 0" (subscript_expression "piVar18[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar18 = *piVar18 + 1;" (assignment_expression "*piVar18 = *piVar18 + 1" (pointer_expression "*piVar18" * identifier) = (binary_expression "*piVar18 + 1" (pointer_expression "*piVar18" * identifier) + number_literal)) ;) }))) (if_statement "if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar17 = piVar3[1];\n      }" { (expression_statement "iVar17 = piVar3[1];" (assignment_expression "iVar17 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        iVar17 = piVar18[-8];\n      }" else (compound_statement "{\n        iVar17 = piVar18[-8];\n      }" { (expression_statement "iVar17 = piVar18[-8];" (assignment_expression "iVar17 = piVar18[-8]" identifier = (subscript_expression "piVar18[-8]" identifier [ number_literal ])) ;) }))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,0,uVar12);" (call_expression "(*pcVar14)(piVar7,piVar8,0,uVar12)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,0,uVar12)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);" (call_expression "(*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,iVar17 >> 0x1f,iVar17)" ( identifier , identifier , (binary_expression "iVar17 >> 0x1f" identifier >> number_literal) , identifier ))) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,iVar9,uVar10);" (call_expression "(*pcVar14)(piVar7,piVar8,iVar9,uVar10)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,iVar9,uVar10)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "piVar18[1] = 1;" (assignment_expression "piVar18[1] = 1" (subscript_expression "piVar18[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar18[2] = iVar9;" (assignment_expression "piVar18[2] = iVar9" (subscript_expression "piVar18[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar18[3] = uVar10;" (assignment_expression "piVar18[3] = uVar10" (subscript_expression "piVar18[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;" (assignment_expression "iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0" identifier = (binary_expression "(uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0" (call_expression "(uint)(uVar21 + 0x80000000 < uVar21)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar21 + 0x80000000 < uVar21)" ( (binary_expression "uVar21 + 0x80000000 < uVar21" (binary_expression "uVar21 + 0x80000000" identifier + number_literal) < identifier) ))) + identifier)) ;) (expression_statement "uVar21 = uVar21 + 0x80000000;" (assignment_expression "uVar21 = uVar21 + 0x80000000" identifier = (binary_expression "uVar21 + 0x80000000" identifier + number_literal)) ;) }) while (parenthesized_expression "(piStack_a8 == (int *)0x0 && piVar6[9] == 0)" ( (binary_expression "piStack_a8 == (int *)0x0 && piVar6[9] == 0" (binary_expression "piStack_a8 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && (binary_expression "piVar6[9] == 0" (subscript_expression "piVar6[9]" identifier [ number_literal ]) == number_literal)) )) ;) })) (expression_statement "iVar9 = *piVar4;" (assignment_expression "iVar9 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }" if (parenthesized_expression "(iStack_84 != iVar9)" ( (binary_expression "iStack_84 != iVar9" identifier != identifier) )) (compound_statement "{\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }" { (expression_statement "pcVar14 = *(code **)(puVar20 + 0x66f50);" (assignment_expression "pcVar14 = *(code **)(puVar20 + 0x66f50)" identifier = (pointer_expression "*(code **)(puVar20 + 0x66f50)" * (cast_expression "(code **)(puVar20 + 0x66f50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar20 + 0x66f50)" ( (binary_expression "puVar20 + 0x66f50" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar14)();" (call_expression "(*pcVar14)()" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar3 = piStack_a8 + 9;" (assignment_expression "piVar3 = piStack_a8 + 9" identifier = (binary_expression "piStack_a8 + 9" identifier + number_literal)) ;) (expression_statement "iVar13 = piVar8[4];" (assignment_expression "iVar13 = piVar8[4]" identifier = (subscript_expression "piVar8[4]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar8[3];" (assignment_expression "iVar9 = piVar8[3]" identifier = (subscript_expression "piVar8[3]" identifier [ number_literal ])) ;) (expression_statement "*(char *)(iVar9 + 3) = (char)iVar13;" (assignment_expression "*(char *)(iVar9 + 3) = (char)iVar13" (pointer_expression "*(char *)(iVar9 + 3)" * (cast_expression "(char *)(iVar9 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 3)" ( (binary_expression "iVar9 + 3" identifier + number_literal) )))) = (cast_expression "(char)iVar13" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);" (assignment_expression "*(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8)" (pointer_expression "*(char *)(iVar9 + 2)" * (cast_expression "(char *)(iVar9 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 2)" ( (binary_expression "iVar9 + 2" identifier + number_literal) )))) = (cast_expression "(char)((uint)iVar13 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar13 >> 8)" ( (binary_expression "(uint)iVar13 >> 8" (cast_expression "(uint)iVar13" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }" if (parenthesized_expression "(*(char *)((int)piVar8 + 0x3a) == '\0')" ( (binary_expression "*(char *)((int)piVar8 + 0x3a) == '\0'" (pointer_expression "*(char *)((int)piVar8 + 0x3a)" * (cast_expression "(char *)((int)piVar8 + 0x3a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + 0x3a)" ( (binary_expression "(int)piVar8 + 0x3a" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }" { (expression_statement "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);" (assignment_expression "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" identifier = (cast_expression "(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" ( (binary_expression "*(int *)(pcVar14 + 0x66a1c) + -0x3854" (pointer_expression "*(int *)(pcVar14 + 0x66a1c)" * (cast_expression "(int *)(pcVar14 + 0x66a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x66a1c)" ( (binary_expression "pcVar14 + 0x66a1c" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);" (call_expression "(*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6])" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(piVar3,piVar8 + 3,piVar8[7],piVar8[6])" ( identifier , (binary_expression "piVar8 + 3" identifier + number_literal) , (subscript_expression "piVar8[7]" identifier [ number_literal ]) , (subscript_expression "piVar8[6]" identifier [ number_literal ]) ))) ;) }) (else_clause "else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }" else (compound_statement "{\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }" { (if_statement "if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }" if (parenthesized_expression "(*(char *)((int)piVar8 + 0x39) != '\0')" ( (binary_expression "*(char *)((int)piVar8 + 0x39) != '\0'" (pointer_expression "*(char *)((int)piVar8 + 0x39)" * (cast_expression "(char *)((int)piVar8 + 0x39)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + 0x39)" ( (binary_expression "(int)piVar8 + 0x39" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }" { (if_statement "if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }" if (parenthesized_expression "(0 < *(int *)(piVar8[0x12] + 0x14))" ( (binary_expression "0 < *(int *)(piVar8[0x12] + 0x14)" number_literal < (pointer_expression "*(int *)(piVar8[0x12] + 0x14)" * (cast_expression "(int *)(piVar8[0x12] + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8[0x12] + 0x14)" ( (binary_expression "piVar8[0x12] + 0x14" (subscript_expression "piVar8[0x12]" identifier [ number_literal ]) + number_literal) ))))) )) (compound_statement "{\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }" { (expression_statement "(*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);" (call_expression "(*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0)" (parenthesized_expression "(*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))" ( (pointer_expression "*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960)" * (cast_expression "(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar14 + 0x66a1c) + -0x2960)" ( (binary_expression "*(int *)(pcVar14 + 0x66a1c) + -0x2960" (pointer_expression "*(int *)(pcVar14 + 0x66a1c)" * (cast_expression "(int *)(pcVar14 + 0x66a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x66a1c)" ( (binary_expression "pcVar14 + 0x66a1c" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(piVar3,piVar8[0x12] + 0x10,0,0)" ( identifier , (binary_expression "piVar8[0x12] + 0x10" (subscript_expression "piVar8[0x12]" identifier [ number_literal ]) + number_literal) , number_literal , number_literal ))) ;) })) })) (expression_statement "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);" (assignment_expression "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" identifier = (cast_expression "(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" ( (binary_expression "*(int *)(pcVar14 + 0x66a1c) + -0x3854" (pointer_expression "*(int *)(pcVar14 + 0x66a1c)" * (cast_expression "(int *)(pcVar14 + 0x66a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x66a1c)" ( (binary_expression "pcVar14 + 0x66a1c" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "piVar8[0x10] = piVar8[0x10] + 1;" (assignment_expression "piVar8[0x10] = piVar8[0x10] + 1" (subscript_expression "piVar8[0x10]" identifier [ number_literal ]) = (binary_expression "piVar8[0x10] + 1" (subscript_expression "piVar8[0x10]" identifier [ number_literal ]) + number_literal)) ;) }))) (expression_statement "FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);" (call_expression "FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4])" identifier (argument_list "(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4])" ( identifier , (subscript_expression "piVar8[4]" identifier [ number_literal ]) , (binary_expression "*piVar8 * 0x20 + (piVar8[1] >> 0x1f)" (binary_expression "*piVar8 * 0x20" (pointer_expression "*piVar8" * identifier) * number_literal) + (parenthesized_expression "(piVar8[1] >> 0x1f)" ( (binary_expression "piVar8[1] >> 0x1f" (subscript_expression "piVar8[1]" identifier [ number_literal ]) >> number_literal) ))) , (subscript_expression "piVar8[1]" identifier [ number_literal ]) , (subscript_expression "piVar8[3]" identifier [ number_literal ]) , (subscript_expression "piVar8[4]" identifier [ number_literal ]) ))) ;) (expression_statement "piVar8[4] = 0;" (assignment_expression "piVar8[4] = 0" (subscript_expression "piVar8[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[7] = 0;" (assignment_expression "piVar8[7] = 0" (subscript_expression "piVar8[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);" (call_expression "(*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000)" ( identifier , (binary_expression "piVar8 + 3" identifier + number_literal) , number_literal , (binary_expression "*(int *)(pcVar14 + 0x6674c) + 22000" (pointer_expression "*(int *)(pcVar14 + 0x6674c)" * (cast_expression "(int *)(pcVar14 + 0x6674c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x6674c)" ( (binary_expression "pcVar14 + 0x6674c" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar9 = piVar8[0xf];" (assignment_expression "iVar9 = piVar8[0xf]" identifier = (subscript_expression "piVar8[0xf]" identifier [ number_literal ])) ;) (expression_statement "piVar8[2] = 0;" (assignment_expression "piVar8[2] = 0" (subscript_expression "piVar8[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar8 + 0x3a) = 1;" (assignment_expression "*(undefined1 *)((int)piVar8 + 0x3a) = 1" (pointer_expression "*(undefined1 *)((int)piVar8 + 0x3a)" * (cast_expression "(undefined1 *)((int)piVar8 + 0x3a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + 0x3a)" ( (binary_expression "(int)piVar8 + 0x3a" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar8 + 0x39) = 1;" (assignment_expression "*(undefined1 *)((int)piVar8 + 0x39) = 1" (pointer_expression "*(undefined1 *)((int)piVar8 + 0x39)" * (cast_expression "(undefined1 *)((int)piVar8 + 0x39)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + 0x39)" ( (binary_expression "(int)piVar8 + 0x39" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "piVar8[1] = piVar8[1] + 1;" (assignment_expression "piVar8[1] = piVar8[1] + 1" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = (binary_expression "piVar8[1] + 1" (subscript_expression "piVar8[1]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "piVar8[0xf] = iVar9 + 1;" (assignment_expression "piVar8[0xf] = iVar9 + 1" (subscript_expression "piVar8[0xf]" identifier [ number_literal ]) = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (return_statement "return iVar9 + 1;" return (binary_expression "iVar9 + 1" identifier + number_literal) ;) })) (return_statement "return iVar9;" return identifier ;) })))
(translation_unit "int fts5StorageSaveTotals(Fts5Storage *p)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  Fts5Buffer *pData;\n  int iVar4;\n  Fts5Index *p_00;\n  code *pcVar5;\n  int iVar6;\n  int rc;\n  Fts5Buffer buf;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar3 = *(int *)PTR___stack_chk_guard_00190e24;\n  iVar6 = p->pConfig->nCol;\n  pcVar5 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  buf.p = (u8 *)0x0;\n  rc = 0;\n  buf.n = 0;\n  buf.nSpace = 0;\n  pData = &buf;\n  (*pcVar5)(&rc,&buf,*(undefined4 *)&p->nTotalRow,(int)p->nTotalRow);\n  iVar2 = 0;\n  if (0 < iVar6) {\n    do {\n      iVar4 = iVar2 + 1;\n      pData = &buf;\n      (*pcVar5)(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2]);\n      iVar2 = iVar4;\n    } while (iVar6 != iVar4);\n  }\n  if (rc == 0) {\n    p_00 = p->pIndex;\n    fts5DataWrite(p_00,CONCAT44(buf.p,buf.n),(u8 *)pData,0);\n    rc = p_00->rc;\n    p_00->rc = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(buf.p);\n  if (iVar3 == *(int *)puVar1) {\n    return rc;\n  }\n  iVar2 = (*(code *)PTR___stack_chk_fail_00190df8)();\n  return iVar2;\n}\n\n" (function_definition "int fts5StorageSaveTotals(Fts5Storage *p)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  Fts5Buffer *pData;\n  int iVar4;\n  Fts5Index *p_00;\n  code *pcVar5;\n  int iVar6;\n  int rc;\n  Fts5Buffer buf;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar3 = *(int *)PTR___stack_chk_guard_00190e24;\n  iVar6 = p->pConfig->nCol;\n  pcVar5 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  buf.p = (u8 *)0x0;\n  rc = 0;\n  buf.n = 0;\n  buf.nSpace = 0;\n  pData = &buf;\n  (*pcVar5)(&rc,&buf,*(undefined4 *)&p->nTotalRow,(int)p->nTotalRow);\n  iVar2 = 0;\n  if (0 < iVar6) {\n    do {\n      iVar4 = iVar2 + 1;\n      pData = &buf;\n      (*pcVar5)(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2]);\n      iVar2 = iVar4;\n    } while (iVar6 != iVar4);\n  }\n  if (rc == 0) {\n    p_00 = p->pIndex;\n    fts5DataWrite(p_00,CONCAT44(buf.p,buf.n),(u8 *)pData,0);\n    rc = p_00->rc;\n    p_00->rc = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(buf.p);\n  if (iVar3 == *(int *)puVar1) {\n    return rc;\n  }\n  iVar2 = (*(code *)PTR___stack_chk_fail_00190df8)();\n  return iVar2;\n}" primitive_type (function_declarator "fts5StorageSaveTotals(Fts5Storage *p)" identifier (parameter_list "(Fts5Storage *p)" ( (parameter_declaration "Fts5Storage *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  Fts5Buffer *pData;\n  int iVar4;\n  Fts5Index *p_00;\n  code *pcVar5;\n  int iVar6;\n  int rc;\n  Fts5Buffer buf;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar3 = *(int *)PTR___stack_chk_guard_00190e24;\n  iVar6 = p->pConfig->nCol;\n  pcVar5 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  buf.p = (u8 *)0x0;\n  rc = 0;\n  buf.n = 0;\n  buf.nSpace = 0;\n  pData = &buf;\n  (*pcVar5)(&rc,&buf,*(undefined4 *)&p->nTotalRow,(int)p->nTotalRow);\n  iVar2 = 0;\n  if (0 < iVar6) {\n    do {\n      iVar4 = iVar2 + 1;\n      pData = &buf;\n      (*pcVar5)(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2]);\n      iVar2 = iVar4;\n    } while (iVar6 != iVar4);\n  }\n  if (rc == 0) {\n    p_00 = p->pIndex;\n    fts5DataWrite(p_00,CONCAT44(buf.p,buf.n),(u8 *)pData,0);\n    rc = p_00->rc;\n    p_00->rc = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(buf.p);\n  if (iVar3 == *(int *)puVar1) {\n    return rc;\n  }\n  iVar2 = (*(code *)PTR___stack_chk_fail_00190df8)();\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "Fts5Buffer *pData;" type_identifier (pointer_declarator "*pData" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "Fts5Index *p_00;" type_identifier (pointer_declarator "*p_00" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int rc;" primitive_type identifier ;) (declaration "Fts5Buffer buf;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar6 = p->pConfig->nCol;" (assignment_expression "iVar6 = p->pConfig->nCol" identifier = (field_expression "p->pConfig->nCol" (field_expression "p->pConfig" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_00190c2c + -0x2960);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_00190c2c + -0x2960)" identifier = (cast_expression "(code *)(PTR_LAB_00190c2c + -0x2960)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190c2c + -0x2960)" ( (binary_expression "PTR_LAB_00190c2c + -0x2960" identifier + number_literal) )))) ;) (expression_statement "buf.p = (u8 *)0x0;" (assignment_expression "buf.p = (u8 *)0x0" (field_expression "buf.p" identifier . field_identifier) = (cast_expression "(u8 *)0x0" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "rc = 0;" (assignment_expression "rc = 0" identifier = number_literal) ;) (expression_statement "buf.n = 0;" (assignment_expression "buf.n = 0" (field_expression "buf.n" identifier . field_identifier) = number_literal) ;) (expression_statement "buf.nSpace = 0;" (assignment_expression "buf.nSpace = 0" (field_expression "buf.nSpace" identifier . field_identifier) = number_literal) ;) (expression_statement "pData = &buf;" (assignment_expression "pData = &buf" identifier = (pointer_expression "&buf" & identifier)) ;) (expression_statement "(*pcVar5)(&rc,&buf,*(undefined4 *)&p->nTotalRow,(int)p->nTotalRow);" (call_expression "(*pcVar5)(&rc,&buf,*(undefined4 *)&p->nTotalRow,(int)p->nTotalRow)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(&rc,&buf,*(undefined4 *)&p->nTotalRow,(int)p->nTotalRow)" ( (pointer_expression "&rc" & identifier) , (pointer_expression "&buf" & identifier) , (pointer_expression "*(undefined4 *)&p->nTotalRow" * (cast_expression "(undefined4 *)&p->nTotalRow" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->nTotalRow" & (field_expression "p->nTotalRow" identifier -> field_identifier)))) , (cast_expression "(int)p->nTotalRow" ( (type_descriptor "int" primitive_type) ) (field_expression "p->nTotalRow" identifier -> field_identifier)) ))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar6) {\n    do {\n      iVar4 = iVar2 + 1;\n      pData = &buf;\n      (*pcVar5)(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2]);\n      iVar2 = iVar4;\n    } while (iVar6 != iVar4);\n  }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar4 = iVar2 + 1;\n      pData = &buf;\n      (*pcVar5)(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2]);\n      iVar2 = iVar4;\n    } while (iVar6 != iVar4);\n  }" { (do_statement "do {\n      iVar4 = iVar2 + 1;\n      pData = &buf;\n      (*pcVar5)(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2]);\n      iVar2 = iVar4;\n    } while (iVar6 != iVar4);" do (compound_statement "{\n      iVar4 = iVar2 + 1;\n      pData = &buf;\n      (*pcVar5)(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2]);\n      iVar2 = iVar4;\n    }" { (expression_statement "iVar4 = iVar2 + 1;" (assignment_expression "iVar4 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "pData = &buf;" (assignment_expression "pData = &buf" identifier = (pointer_expression "&buf" & identifier)) ;) (expression_statement "(*pcVar5)(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2]);" (call_expression "(*pcVar5)(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2])" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(&rc,&buf,*(undefined4 *)(p->aTotalSize + iVar2),(int)p->aTotalSize[iVar2])" ( (pointer_expression "&rc" & identifier) , (pointer_expression "&buf" & identifier) , (pointer_expression "*(undefined4 *)(p->aTotalSize + iVar2)" * (cast_expression "(undefined4 *)(p->aTotalSize + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p->aTotalSize + iVar2)" ( (binary_expression "p->aTotalSize + iVar2" (field_expression "p->aTotalSize" identifier -> field_identifier) + identifier) )))) , (cast_expression "(int)p->aTotalSize[iVar2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "p->aTotalSize[iVar2]" (field_expression "p->aTotalSize" identifier -> field_identifier) [ identifier ])) ))) ;) (expression_statement "iVar2 = iVar4;" (assignment_expression "iVar2 = iVar4" identifier = identifier) ;) }) while (parenthesized_expression "(iVar6 != iVar4)" ( (binary_expression "iVar6 != iVar4" identifier != identifier) )) ;) })) (if_statement "if (rc == 0) {\n    p_00 = p->pIndex;\n    fts5DataWrite(p_00,CONCAT44(buf.p,buf.n),(u8 *)pData,0);\n    rc = p_00->rc;\n    p_00->rc = 0;\n  }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n    p_00 = p->pIndex;\n    fts5DataWrite(p_00,CONCAT44(buf.p,buf.n),(u8 *)pData,0);\n    rc = p_00->rc;\n    p_00->rc = 0;\n  }" { (expression_statement "p_00 = p->pIndex;" (assignment_expression "p_00 = p->pIndex" identifier = (field_expression "p->pIndex" identifier -> field_identifier)) ;) (expression_statement "fts5DataWrite(p_00,CONCAT44(buf.p,buf.n),(u8 *)pData,0);" (call_expression "fts5DataWrite(p_00,CONCAT44(buf.p,buf.n),(u8 *)pData,0)" identifier (argument_list "(p_00,CONCAT44(buf.p,buf.n),(u8 *)pData,0)" ( identifier , (call_expression "CONCAT44(buf.p,buf.n)" identifier (argument_list "(buf.p,buf.n)" ( (field_expression "buf.p" identifier . field_identifier) , (field_expression "buf.n" identifier . field_identifier) ))) , (cast_expression "(u8 *)pData" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))) ;) (expression_statement "rc = p_00->rc;" (assignment_expression "rc = p_00->rc" identifier = (field_expression "p_00->rc" identifier -> field_identifier)) ;) (expression_statement "p_00->rc = 0;" (assignment_expression "p_00->rc = 0" (field_expression "p_00->rc" identifier -> field_identifier) = number_literal) ;) })) (expression_statement "(*(code *)PTR_sqlite3_free_0019096c)(buf.p);" (call_expression "(*(code *)PTR_sqlite3_free_0019096c)(buf.p)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0019096c)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0019096c" * (cast_expression "(code *)PTR_sqlite3_free_0019096c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(buf.p)" ( (field_expression "buf.p" identifier . field_identifier) ))) ;) (if_statement "if (iVar3 == *(int *)puVar1) {\n    return rc;\n  }" if (parenthesized_expression "(iVar3 == *(int *)puVar1)" ( (binary_expression "iVar3 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return rc;\n  }" { (return_statement "return rc;" return identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR___stack_chk_fail_00190df8)();" (assignment_expression "iVar2 = (*(code *)PTR___stack_chk_fail_00190df8)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int FUN_00129d48(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int iVar13;\n  code *pcVar14;\n  code *pcVar15;\n  int iVar16;\n  int iVar17;\n  int *piVar18;\n  int iVar19;\n  undefined *puVar20;\n  uint uVar21;\n  int iStack_b0;\n  int *piStack_a8;\n  int iStack_90;\n  int iStack_8c;\n  int iStack_84;\n  int iStack_80;\n  code *pcStack_7c;\n  int *piStack_78;\n  int iStack_74;\n  int *piStack_70;\n  undefined *puStack_6c;\n  int *piStack_68;\n  int local_34;\n  int local_30 [3];\n  int *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar13 = 0;\n  uVar10 = param_1[5];\n  local_24 = *(int **)PTR___stack_chk_guard_00190e24;\n  iVar16 = *(int *)(*param_1 + 0xc);\n  pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  iVar9 = param_1[4];\n  local_30[0] = 0;\n  local_34 = 0;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  piVar3 = local_30;\n  (*pcVar14)(&local_34);\n  if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }\n  if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);\n  if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }\n  piVar6 = local_24;\n  puVar20 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar4 = *(int **)(puVar20 + 0x66f7c);\n  puStack_6c = puVar1;\n  iStack_84 = *piVar4;\n  iVar5 = *(int *)(puVar20 + 0x66c98);\n  piStack_a8 = piVar6;\n  piVar8 = piVar3;\n  iStack_80 = iVar13;\n  pcStack_7c = pcVar14;\n  piStack_78 = local_30;\n  iStack_74 = iVar16;\n  piStack_70 = &local_34;\n  piStack_68 = param_1;\n  if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }\n  iVar9 = *piVar4;\n  if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }\n  return iVar9;\n}\n\n" (function_definition "int FUN_00129d48(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int iVar13;\n  code *pcVar14;\n  code *pcVar15;\n  int iVar16;\n  int iVar17;\n  int *piVar18;\n  int iVar19;\n  undefined *puVar20;\n  uint uVar21;\n  int iStack_b0;\n  int *piStack_a8;\n  int iStack_90;\n  int iStack_8c;\n  int iStack_84;\n  int iStack_80;\n  code *pcStack_7c;\n  int *piStack_78;\n  int iStack_74;\n  int *piStack_70;\n  undefined *puStack_6c;\n  int *piStack_68;\n  int local_34;\n  int local_30 [3];\n  int *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar13 = 0;\n  uVar10 = param_1[5];\n  local_24 = *(int **)PTR___stack_chk_guard_00190e24;\n  iVar16 = *(int *)(*param_1 + 0xc);\n  pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  iVar9 = param_1[4];\n  local_30[0] = 0;\n  local_34 = 0;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  piVar3 = local_30;\n  (*pcVar14)(&local_34);\n  if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }\n  if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);\n  if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }\n  piVar6 = local_24;\n  puVar20 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar4 = *(int **)(puVar20 + 0x66f7c);\n  puStack_6c = puVar1;\n  iStack_84 = *piVar4;\n  iVar5 = *(int *)(puVar20 + 0x66c98);\n  piStack_a8 = piVar6;\n  piVar8 = piVar3;\n  iStack_80 = iVar13;\n  pcStack_7c = pcVar14;\n  piStack_78 = local_30;\n  iStack_74 = iVar16;\n  piStack_70 = &local_34;\n  piStack_68 = param_1;\n  if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }\n  iVar9 = *piVar4;\n  if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }\n  return iVar9;\n}" primitive_type (function_declarator "FUN_00129d48(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int iVar13;\n  code *pcVar14;\n  code *pcVar15;\n  int iVar16;\n  int iVar17;\n  int *piVar18;\n  int iVar19;\n  undefined *puVar20;\n  uint uVar21;\n  int iStack_b0;\n  int *piStack_a8;\n  int iStack_90;\n  int iStack_8c;\n  int iStack_84;\n  int iStack_80;\n  code *pcStack_7c;\n  int *piStack_78;\n  int iStack_74;\n  int *piStack_70;\n  undefined *puStack_6c;\n  int *piStack_68;\n  int local_34;\n  int local_30 [3];\n  int *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar13 = 0;\n  uVar10 = param_1[5];\n  local_24 = *(int **)PTR___stack_chk_guard_00190e24;\n  iVar16 = *(int *)(*param_1 + 0xc);\n  pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  iVar9 = param_1[4];\n  local_30[0] = 0;\n  local_34 = 0;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  piVar3 = local_30;\n  (*pcVar14)(&local_34);\n  if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }\n  if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);\n  if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }\n  piVar6 = local_24;\n  puVar20 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar4 = *(int **)(puVar20 + 0x66f7c);\n  puStack_6c = puVar1;\n  iStack_84 = *piVar4;\n  iVar5 = *(int *)(puVar20 + 0x66c98);\n  piStack_a8 = piVar6;\n  piVar8 = piVar3;\n  iStack_80 = iVar13;\n  pcStack_7c = pcVar14;\n  piStack_78 = local_30;\n  iStack_74 = iVar16;\n  piStack_70 = &local_34;\n  piStack_68 = param_1;\n  if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }\n  iVar9 = *piVar4;\n  if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }\n  return iVar9;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "undefined *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "uint uVar21;" type_identifier identifier ;) (declaration "int iStack_b0;" primitive_type identifier ;) (declaration "int *piStack_a8;" primitive_type (pointer_declarator "*piStack_a8" * identifier) ;) (declaration "int iStack_90;" primitive_type identifier ;) (declaration "int iStack_8c;" primitive_type identifier ;) (declaration "int iStack_84;" primitive_type identifier ;) (declaration "int iStack_80;" primitive_type identifier ;) (declaration "code *pcStack_7c;" type_identifier (pointer_declarator "*pcStack_7c" * identifier) ;) (declaration "int *piStack_78;" primitive_type (pointer_declarator "*piStack_78" * identifier) ;) (declaration "int iStack_74;" primitive_type identifier ;) (declaration "int *piStack_70;" primitive_type (pointer_declarator "*piStack_70" * identifier) ;) (declaration "undefined *puStack_6c;" type_identifier (pointer_declarator "*puStack_6c" * identifier) ;) (declaration "int *piStack_68;" primitive_type (pointer_declarator "*piStack_68" * identifier) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int local_30 [3];" primitive_type (array_declarator "local_30 [3]" identifier [ number_literal ]) ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = param_1[5];" (assignment_expression "uVar10 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "local_24 = *(int **)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_24 = *(int **)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_00190e24" * (cast_expression "(int **)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar16 = *(int *)(*param_1 + 0xc);" (assignment_expression "iVar16 = *(int *)(*param_1 + 0xc)" identifier = (pointer_expression "*(int *)(*param_1 + 0xc)" * (cast_expression "(int *)(*param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (expression_statement "pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);" (assignment_expression "pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960)" identifier = (cast_expression "(code *)(PTR_LAB_00190c2c + -0x2960)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190c2c + -0x2960)" ( (binary_expression "PTR_LAB_00190c2c + -0x2960" identifier + number_literal) )))) ;) (expression_statement "iVar9 = param_1[4];" (assignment_expression "iVar9 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "local_30[0] = 0;" (assignment_expression "local_30[0] = 0" (subscript_expression "local_30[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_30[1] = 0;" (assignment_expression "local_30[1] = 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3 = local_30;" (assignment_expression "piVar3 = local_30" identifier = identifier) ;) (expression_statement "(*pcVar14)(&local_34);" (call_expression "(*pcVar14)(&local_34)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(&local_34)" ( (pointer_expression "&local_34" & identifier) ))) ;) (if_statement "if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }" if (parenthesized_expression "(0 < iVar16)" ( (binary_expression "0 < iVar16" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }" { (do_statement "do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);" do (compound_statement "{\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    }" { (expression_statement "iVar9 = iVar13 * 8;" (assignment_expression "iVar9 = iVar13 * 8" identifier = (binary_expression "iVar13 * 8" identifier * number_literal)) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)(param_1[6] + iVar9);" (assignment_expression "piVar3 = (int *)(param_1[6] + iVar9)" identifier = (cast_expression "(int *)(param_1[6] + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[6] + iVar9)" ( (binary_expression "param_1[6] + iVar9" (subscript_expression "param_1[6]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "uVar10 = piVar3[1];" (assignment_expression "uVar10 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = *piVar3;" (assignment_expression "iVar9 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar3 = local_30;" (assignment_expression "piVar3 = local_30" identifier = identifier) ;) (expression_statement "(*pcVar14)(&local_34);" (call_expression "(*pcVar14)(&local_34)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(&local_34)" ( (pointer_expression "&local_34" & identifier) ))) ;) }) while (parenthesized_expression "(iVar16 != iVar13)" ( (binary_expression "iVar16 != iVar13" identifier != identifier) )) ;) })) (if_statement "if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }" if (parenthesized_expression "(local_34 == 0)" ( (binary_expression "local_34 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }" { (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (expression_statement "iVar13 = param_1[1];" (assignment_expression "iVar13 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "FUN_00129bf8(iVar13);" (call_expression "FUN_00129bf8(iVar13)" identifier (argument_list "(iVar13)" ( identifier ))) ;) (expression_statement "local_34 = *(int *)(iVar13 + 0x24);" (assignment_expression "local_34 = *(int *)(iVar13 + 0x24)" identifier = (pointer_expression "*(int *)(iVar13 + 0x24)" * (cast_expression "(int *)(iVar13 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x24)" ( (binary_expression "iVar13 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar13 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(iVar13 + 0x24) = 0" (pointer_expression "*(undefined4 *)(iVar13 + 0x24)" * (cast_expression "(undefined4 *)(iVar13 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x24)" ( (binary_expression "iVar13 + 0x24" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "(*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);" (call_expression "(*(code *)PTR_sqlite3_free_0019096c)(local_30[0])" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0019096c)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0019096c" * (cast_expression "(code *)PTR_sqlite3_free_0019096c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30[0])" ( (subscript_expression "local_30[0]" identifier [ number_literal ]) ))) ;) (if_statement "if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }" if (parenthesized_expression "(local_24 == *(int **)puVar1)" ( (binary_expression "local_24 == *(int **)puVar1" identifier == (pointer_expression "*(int **)puVar1" * (cast_expression "(int **)puVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return local_34;\n  }" { (return_statement "return local_34;" return identifier ;) })) (expression_statement "piVar6 = local_24;" (assignment_expression "piVar6 = local_24" identifier = identifier) ;) (expression_statement "puVar20 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar20 = PTR___stack_chk_fail_00190df8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar4 = *(int **)(puVar20 + 0x66f7c);" (assignment_expression "piVar4 = *(int **)(puVar20 + 0x66f7c)" identifier = (pointer_expression "*(int **)(puVar20 + 0x66f7c)" * (cast_expression "(int **)(puVar20 + 0x66f7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar20 + 0x66f7c)" ( (binary_expression "puVar20 + 0x66f7c" identifier + number_literal) ))))) ;) (expression_statement "puStack_6c = puVar1;" (assignment_expression "puStack_6c = puVar1" identifier = identifier) ;) (expression_statement "iStack_84 = *piVar4;" (assignment_expression "iStack_84 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "iVar5 = *(int *)(puVar20 + 0x66c98);" (assignment_expression "iVar5 = *(int *)(puVar20 + 0x66c98)" identifier = (pointer_expression "*(int *)(puVar20 + 0x66c98)" * (cast_expression "(int *)(puVar20 + 0x66c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x66c98)" ( (binary_expression "puVar20 + 0x66c98" identifier + number_literal) ))))) ;) (expression_statement "piStack_a8 = piVar6;" (assignment_expression "piStack_a8 = piVar6" identifier = identifier) ;) (expression_statement "piVar8 = piVar3;" (assignment_expression "piVar8 = piVar3" identifier = identifier) ;) (expression_statement "iStack_80 = iVar13;" (assignment_expression "iStack_80 = iVar13" identifier = identifier) ;) (expression_statement "pcStack_7c = pcVar14;" (assignment_expression "pcStack_7c = pcVar14" identifier = identifier) ;) (expression_statement "piStack_78 = local_30;" (assignment_expression "piStack_78 = local_30" identifier = identifier) ;) (expression_statement "iStack_74 = iVar16;" (assignment_expression "iStack_74 = iVar16" identifier = identifier) ;) (expression_statement "piStack_70 = &local_34;" (assignment_expression "piStack_70 = &local_34" identifier = (pointer_expression "&local_34" & identifier)) ;) (expression_statement "piStack_68 = param_1;" (assignment_expression "piStack_68 = param_1" identifier = identifier) ;) (if_statement "if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }" if (parenthesized_expression "(piVar6[9] == 0)" ( (binary_expression "piVar6[9] == 0" (subscript_expression "piVar6[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }" { (expression_statement "piVar7 = piVar6 + 9;" (assignment_expression "piVar7 = piVar6 + 9" identifier = (binary_expression "piVar6 + 9" identifier + number_literal)) ;) (expression_statement "iVar19 = *(int *)(puVar20 + 0x66d08);" (assignment_expression "iVar19 = *(int *)(puVar20 + 0x66d08)" identifier = (pointer_expression "*(int *)(puVar20 + 0x66d08)" * (cast_expression "(int *)(puVar20 + 0x66d08)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x66d08)" ( (binary_expression "puVar20 + 0x66d08" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "iVar16 = *(int *)(puVar20 + 0x66d84);" (assignment_expression "iVar16 = *(int *)(puVar20 + 0x66d84)" identifier = (pointer_expression "*(int *)(puVar20 + 0x66d84)" * (cast_expression "(int *)(puVar20 + 0x66d84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x66d84)" ( (binary_expression "puVar20 + 0x66d84" identifier + number_literal) ))))) ;) (expression_statement "iStack_b0 = 0;" (assignment_expression "iStack_b0 = 0" identifier = number_literal) ;) (expression_statement "pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);" (assignment_expression "pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960)" identifier = (cast_expression "(code *)(*(int *)(puVar20 + 0x66d84) + -0x2960)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar20 + 0x66d84) + -0x2960)" ( (binary_expression "*(int *)(puVar20 + 0x66d84) + -0x2960" (pointer_expression "*(int *)(puVar20 + 0x66d84)" * (cast_expression "(int *)(puVar20 + 0x66d84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x66d84)" ( (binary_expression "puVar20 + 0x66d84" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "uVar21 = 0;" (assignment_expression "uVar21 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);" do (compound_statement "{\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    }" { (expression_statement "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);" (assignment_expression "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20)" identifier = (cast_expression "(int *)(piVar3[0x12] + iVar13 * 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3[0x12] + iVar13 * 0x20)" ( (binary_expression "piVar3[0x12] + iVar13 * 0x20" (subscript_expression "piVar3[0x12]" identifier [ number_literal ]) + (binary_expression "iVar13 * 0x20" identifier * number_literal)) )))) ;) (if_statement "if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }" if (parenthesized_expression "(piVar18[5] < *(int *)(*piVar6 + 0x44))" ( (binary_expression "piVar18[5] < *(int *)(*piVar6 + 0x44)" (subscript_expression "piVar18[5]" identifier [ number_literal ]) < (pointer_expression "*(int *)(*piVar6 + 0x44)" * (cast_expression "(int *)(*piVar6 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar6 + 0x44)" ( (binary_expression "*piVar6 + 0x44" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (compound_statement "{\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }" { (expression_statement "piVar8 = piVar18 + 4;" (assignment_expression "piVar8 = piVar18 + 4" identifier = (binary_expression "piVar18 + 4" identifier + number_literal)) ;) (if_statement "if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }" if (parenthesized_expression "(piVar18[1] != 0)" ( (binary_expression "piVar18[1] != 0" (subscript_expression "piVar18[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }" { (expression_statement "(*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));" (call_expression "(*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]))" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]))" ( identifier , identifier , (binary_expression "(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3])" (parenthesized_expression "(iVar9 - piVar18[2])" ( (binary_expression "iVar9 - piVar18[2]" identifier - (subscript_expression "piVar18[2]" identifier [ number_literal ])) )) - (call_expression "(uint)(uVar10 < uVar10 - piVar18[3])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar10 < uVar10 - piVar18[3])" ( (binary_expression "uVar10 < uVar10 - piVar18[3]" identifier < (binary_expression "uVar10 - piVar18[3]" identifier - (subscript_expression "piVar18[3]" identifier [ number_literal ]))) )))) ))) ;) (expression_statement "piVar18[2] = iVar9;" (assignment_expression "piVar18[2] = iVar9" (subscript_expression "piVar18[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar18[1] = 1;" (assignment_expression "piVar18[1] = 1" (subscript_expression "piVar18[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar18[3] = uVar10;" (assignment_expression "piVar18[3] = uVar10" (subscript_expression "piVar18[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piStack_a8 = piVar7;" (assignment_expression "piStack_a8 = piVar7" identifier = identifier) ;) (break_statement "break;" break ;) })) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (expression_statement "piStack_a8 = (int *)0x1;" (assignment_expression "piStack_a8 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }" else (compound_statement "{\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }" { (expression_statement "*(undefined1 *)piVar18[4] = 1;" (assignment_expression "*(undefined1 *)piVar18[4] = 1" (pointer_expression "*(undefined1 *)piVar18[4]" * (cast_expression "(undefined1 *)piVar18[4]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar18[4]" identifier [ number_literal ]))) = number_literal) ;) (expression_statement "iVar17 = *piVar18 >> 0x1f;" (assignment_expression "iVar17 = *piVar18 >> 0x1f" identifier = (binary_expression "*piVar18 >> 0x1f" (pointer_expression "*piVar18" * identifier) >> number_literal)) ;) (expression_statement "uVar11 = uVar21 + *piVar18;" (assignment_expression "uVar11 = uVar21 + *piVar18" identifier = (binary_expression "uVar21 + *piVar18" identifier + (pointer_expression "*piVar18" * identifier))) ;) (expression_statement "(*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);" (call_expression "(*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5])" (parenthesized_expression "(*(code *)(iVar19 + -0x6408))" ( (pointer_expression "*(code *)(iVar19 + -0x6408)" * (cast_expression "(code *)(iVar19 + -0x6408)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + -0x6408)" ( (binary_expression "iVar19 + -0x6408" identifier + number_literal) )))) )) (argument_list "(piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5])" ( identifier , identifier , (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17" (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0" (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10" (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20" (call_expression "(uint)(uVar11 < uVar21)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar11 < uVar21)" ( (binary_expression "uVar11 < uVar21" identifier < identifier) ))) + (binary_expression "*piVar3 * 0x20" (pointer_expression "*piVar3" * identifier) * number_literal)) + number_literal) + identifier) + identifier) , identifier , (subscript_expression "piVar18[4]" identifier [ number_literal ]) , (subscript_expression "piVar18[5]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);" (call_expression "(*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2)" (parenthesized_expression "(*(code *)(iVar16 + -0x1190))" ( (pointer_expression "*(code *)(iVar16 + -0x1190)" * (cast_expression "(code *)(iVar16 + -0x1190)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar16 + -0x1190)" ( (binary_expression "iVar16 + -0x1190" identifier + number_literal) )))) )) (argument_list "(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2)" ( identifier , (binary_expression "piVar3 + 0x11" identifier + number_literal) , (binary_expression "piVar3 + 0x12" identifier + number_literal) , (binary_expression "iVar13 + 2" identifier + number_literal) ))) ;) (expression_statement "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);" (assignment_expression "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20)" identifier = (cast_expression "(int *)(piVar3[0x12] + iVar13 * 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3[0x12] + iVar13 * 0x20)" ( (binary_expression "piVar3[0x12] + iVar13 * 0x20" (subscript_expression "piVar3[0x12]" identifier [ number_literal ]) + (binary_expression "iVar13 * 0x20" identifier * number_literal)) )))) ;) (if_statement "if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }" if (parenthesized_expression "((piVar6[9] == 0) && (piVar18[0xd] == 0))" ( (binary_expression "(piVar6[9] == 0) && (piVar18[0xd] == 0)" (parenthesized_expression "(piVar6[9] == 0)" ( (binary_expression "piVar6[9] == 0" (subscript_expression "piVar6[9]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(piVar18[0xd] == 0)" ( (binary_expression "piVar18[0xd] == 0" (subscript_expression "piVar18[0xd]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }" { (expression_statement "piVar8 = piVar18 + 0xc;" (assignment_expression "piVar8 = piVar18 + 0xc" identifier = (binary_expression "piVar18 + 0xc" identifier + number_literal)) ;) (expression_statement "pcVar15 = (code *)(iVar5 + -0x80);" (assignment_expression "pcVar15 = (code *)(iVar5 + -0x80)" identifier = (cast_expression "(code *)(iVar5 + -0x80)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + -0x80)" ( (binary_expression "iVar5 + -0x80" identifier + number_literal) )))) ;) (expression_statement "iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);" (assignment_expression "iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90)" identifier = (call_expression "(*pcVar15)(piVar18[4] + 1,&iStack_90)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(piVar18[4] + 1,&iStack_90)" ( (binary_expression "piVar18[4] + 1" (subscript_expression "piVar18[4]" identifier [ number_literal ]) + number_literal) , (pointer_expression "&iStack_90" & identifier) )))) ;) (expression_statement "(*pcVar15)(piVar18[4] + iVar17 + 1);" (call_expression "(*pcVar15)(piVar18[4] + iVar17 + 1)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(piVar18[4] + iVar17 + 1)" ( (binary_expression "piVar18[4] + iVar17 + 1" (binary_expression "piVar18[4] + iVar17" (subscript_expression "piVar18[4]" identifier [ number_literal ]) + identifier) + number_literal) ))) ;) (expression_statement "iVar2 = iStack_8c;" (assignment_expression "iVar2 = iStack_8c" identifier = identifier) ;) (expression_statement "iVar17 = iStack_90;" (assignment_expression "iVar17 = iStack_90" identifier = identifier) ;) (expression_statement "piVar18[8] = *piVar18;" (assignment_expression "piVar18[8] = *piVar18" (subscript_expression "piVar18[8]" identifier [ number_literal ]) = (pointer_expression "*piVar18" * identifier)) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,0,0);" (call_expression "(*pcVar14)(piVar7,piVar8,0,0)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,0,0)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);" (call_expression "(*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,*piVar18 >> 0x1f)" ( identifier , identifier , (binary_expression "*piVar18 >> 0x1f" (pointer_expression "*piVar18" * identifier) >> number_literal) ))) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,iVar17,iVar2);" (call_expression "(*pcVar14)(piVar7,piVar8,iVar17,iVar2)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,iVar17,iVar2)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "piVar18[9] = 1;" (assignment_expression "piVar18[9] = 1" (subscript_expression "piVar18[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar18[0xb] = iVar2;" (assignment_expression "piVar18[0xb] = iVar2" (subscript_expression "piVar18[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar18[10] = iVar17;" (assignment_expression "piVar18[10] = iVar17" (subscript_expression "piVar18[10]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "piVar8 = piVar18 + 4;" (assignment_expression "piVar8 = piVar18 + 4" identifier = (binary_expression "piVar18 + 4" identifier + number_literal)) ;) (expression_statement "uVar12 = 1;" (assignment_expression "uVar12 = 1" identifier = number_literal) ;) (expression_statement "piVar18[5] = 0;" (assignment_expression "piVar18[5] = 0" (subscript_expression "piVar18[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piStack_a8 = (int *)0x0;" (assignment_expression "piStack_a8 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar18[1] = 0;" (assignment_expression "piVar18[1] = 0" (subscript_expression "piVar18[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar18 = *piVar18 + 1;" (assignment_expression "*piVar18 = *piVar18 + 1" (pointer_expression "*piVar18" * identifier) = (binary_expression "*piVar18 + 1" (pointer_expression "*piVar18" * identifier) + number_literal)) ;) }))) (if_statement "if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar17 = piVar3[1];\n      }" { (expression_statement "iVar17 = piVar3[1];" (assignment_expression "iVar17 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        iVar17 = piVar18[-8];\n      }" else (compound_statement "{\n        iVar17 = piVar18[-8];\n      }" { (expression_statement "iVar17 = piVar18[-8];" (assignment_expression "iVar17 = piVar18[-8]" identifier = (subscript_expression "piVar18[-8]" identifier [ number_literal ])) ;) }))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,0,uVar12);" (call_expression "(*pcVar14)(piVar7,piVar8,0,uVar12)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,0,uVar12)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);" (call_expression "(*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,iVar17 >> 0x1f,iVar17)" ( identifier , identifier , (binary_expression "iVar17 >> 0x1f" identifier >> number_literal) , identifier ))) ;) (expression_statement "(*pcVar14)(piVar7,piVar8,iVar9,uVar10);" (call_expression "(*pcVar14)(piVar7,piVar8,iVar9,uVar10)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar7,piVar8,iVar9,uVar10)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "piVar18[1] = 1;" (assignment_expression "piVar18[1] = 1" (subscript_expression "piVar18[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar18[2] = iVar9;" (assignment_expression "piVar18[2] = iVar9" (subscript_expression "piVar18[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar18[3] = uVar10;" (assignment_expression "piVar18[3] = uVar10" (subscript_expression "piVar18[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;" (assignment_expression "iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0" identifier = (binary_expression "(uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0" (call_expression "(uint)(uVar21 + 0x80000000 < uVar21)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar21 + 0x80000000 < uVar21)" ( (binary_expression "uVar21 + 0x80000000 < uVar21" (binary_expression "uVar21 + 0x80000000" identifier + number_literal) < identifier) ))) + identifier)) ;) (expression_statement "uVar21 = uVar21 + 0x80000000;" (assignment_expression "uVar21 = uVar21 + 0x80000000" identifier = (binary_expression "uVar21 + 0x80000000" identifier + number_literal)) ;) }) while (parenthesized_expression "(piStack_a8 == (int *)0x0 && piVar6[9] == 0)" ( (binary_expression "piStack_a8 == (int *)0x0 && piVar6[9] == 0" (binary_expression "piStack_a8 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && (binary_expression "piVar6[9] == 0" (subscript_expression "piVar6[9]" identifier [ number_literal ]) == number_literal)) )) ;) })) (expression_statement "iVar9 = *piVar4;" (assignment_expression "iVar9 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }" if (parenthesized_expression "(iStack_84 != iVar9)" ( (binary_expression "iStack_84 != iVar9" identifier != identifier) )) (compound_statement "{\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }" { (expression_statement "pcVar14 = *(code **)(puVar20 + 0x66f50);" (assignment_expression "pcVar14 = *(code **)(puVar20 + 0x66f50)" identifier = (pointer_expression "*(code **)(puVar20 + 0x66f50)" * (cast_expression "(code **)(puVar20 + 0x66f50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar20 + 0x66f50)" ( (binary_expression "puVar20 + 0x66f50" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar14)();" (call_expression "(*pcVar14)()" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar3 = piStack_a8 + 9;" (assignment_expression "piVar3 = piStack_a8 + 9" identifier = (binary_expression "piStack_a8 + 9" identifier + number_literal)) ;) (expression_statement "iVar13 = piVar8[4];" (assignment_expression "iVar13 = piVar8[4]" identifier = (subscript_expression "piVar8[4]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar8[3];" (assignment_expression "iVar9 = piVar8[3]" identifier = (subscript_expression "piVar8[3]" identifier [ number_literal ])) ;) (expression_statement "*(char *)(iVar9 + 3) = (char)iVar13;" (assignment_expression "*(char *)(iVar9 + 3) = (char)iVar13" (pointer_expression "*(char *)(iVar9 + 3)" * (cast_expression "(char *)(iVar9 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 3)" ( (binary_expression "iVar9 + 3" identifier + number_literal) )))) = (cast_expression "(char)iVar13" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);" (assignment_expression "*(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8)" (pointer_expression "*(char *)(iVar9 + 2)" * (cast_expression "(char *)(iVar9 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 2)" ( (binary_expression "iVar9 + 2" identifier + number_literal) )))) = (cast_expression "(char)((uint)iVar13 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar13 >> 8)" ( (binary_expression "(uint)iVar13 >> 8" (cast_expression "(uint)iVar13" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }" if (parenthesized_expression "(*(char *)((int)piVar8 + 0x3a) == '\0')" ( (binary_expression "*(char *)((int)piVar8 + 0x3a) == '\0'" (pointer_expression "*(char *)((int)piVar8 + 0x3a)" * (cast_expression "(char *)((int)piVar8 + 0x3a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + 0x3a)" ( (binary_expression "(int)piVar8 + 0x3a" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }" { (expression_statement "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);" (assignment_expression "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" identifier = (cast_expression "(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" ( (binary_expression "*(int *)(pcVar14 + 0x66a1c) + -0x3854" (pointer_expression "*(int *)(pcVar14 + 0x66a1c)" * (cast_expression "(int *)(pcVar14 + 0x66a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x66a1c)" ( (binary_expression "pcVar14 + 0x66a1c" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);" (call_expression "(*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6])" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(piVar3,piVar8 + 3,piVar8[7],piVar8[6])" ( identifier , (binary_expression "piVar8 + 3" identifier + number_literal) , (subscript_expression "piVar8[7]" identifier [ number_literal ]) , (subscript_expression "piVar8[6]" identifier [ number_literal ]) ))) ;) }) (else_clause "else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }" else (compound_statement "{\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }" { (if_statement "if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }" if (parenthesized_expression "(*(char *)((int)piVar8 + 0x39) != '\0')" ( (binary_expression "*(char *)((int)piVar8 + 0x39) != '\0'" (pointer_expression "*(char *)((int)piVar8 + 0x39)" * (cast_expression "(char *)((int)piVar8 + 0x39)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + 0x39)" ( (binary_expression "(int)piVar8 + 0x39" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }" { (if_statement "if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }" if (parenthesized_expression "(0 < *(int *)(piVar8[0x12] + 0x14))" ( (binary_expression "0 < *(int *)(piVar8[0x12] + 0x14)" number_literal < (pointer_expression "*(int *)(piVar8[0x12] + 0x14)" * (cast_expression "(int *)(piVar8[0x12] + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8[0x12] + 0x14)" ( (binary_expression "piVar8[0x12] + 0x14" (subscript_expression "piVar8[0x12]" identifier [ number_literal ]) + number_literal) ))))) )) (compound_statement "{\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }" { (expression_statement "(*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);" (call_expression "(*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0)" (parenthesized_expression "(*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))" ( (pointer_expression "*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960)" * (cast_expression "(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar14 + 0x66a1c) + -0x2960)" ( (binary_expression "*(int *)(pcVar14 + 0x66a1c) + -0x2960" (pointer_expression "*(int *)(pcVar14 + 0x66a1c)" * (cast_expression "(int *)(pcVar14 + 0x66a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x66a1c)" ( (binary_expression "pcVar14 + 0x66a1c" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(piVar3,piVar8[0x12] + 0x10,0,0)" ( identifier , (binary_expression "piVar8[0x12] + 0x10" (subscript_expression "piVar8[0x12]" identifier [ number_literal ]) + number_literal) , number_literal , number_literal ))) ;) })) })) (expression_statement "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);" (assignment_expression "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" identifier = (cast_expression "(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" ( (binary_expression "*(int *)(pcVar14 + 0x66a1c) + -0x3854" (pointer_expression "*(int *)(pcVar14 + 0x66a1c)" * (cast_expression "(int *)(pcVar14 + 0x66a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x66a1c)" ( (binary_expression "pcVar14 + 0x66a1c" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "piVar8[0x10] = piVar8[0x10] + 1;" (assignment_expression "piVar8[0x10] = piVar8[0x10] + 1" (subscript_expression "piVar8[0x10]" identifier [ number_literal ]) = (binary_expression "piVar8[0x10] + 1" (subscript_expression "piVar8[0x10]" identifier [ number_literal ]) + number_literal)) ;) }))) (expression_statement "FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);" (call_expression "FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4])" identifier (argument_list "(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4])" ( identifier , (subscript_expression "piVar8[4]" identifier [ number_literal ]) , (binary_expression "*piVar8 * 0x20 + (piVar8[1] >> 0x1f)" (binary_expression "*piVar8 * 0x20" (pointer_expression "*piVar8" * identifier) * number_literal) + (parenthesized_expression "(piVar8[1] >> 0x1f)" ( (binary_expression "piVar8[1] >> 0x1f" (subscript_expression "piVar8[1]" identifier [ number_literal ]) >> number_literal) ))) , (subscript_expression "piVar8[1]" identifier [ number_literal ]) , (subscript_expression "piVar8[3]" identifier [ number_literal ]) , (subscript_expression "piVar8[4]" identifier [ number_literal ]) ))) ;) (expression_statement "piVar8[4] = 0;" (assignment_expression "piVar8[4] = 0" (subscript_expression "piVar8[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[7] = 0;" (assignment_expression "piVar8[7] = 0" (subscript_expression "piVar8[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);" (call_expression "(*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000)" ( identifier , (binary_expression "piVar8 + 3" identifier + number_literal) , number_literal , (binary_expression "*(int *)(pcVar14 + 0x6674c) + 22000" (pointer_expression "*(int *)(pcVar14 + 0x6674c)" * (cast_expression "(int *)(pcVar14 + 0x6674c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x6674c)" ( (binary_expression "pcVar14 + 0x6674c" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar9 = piVar8[0xf];" (assignment_expression "iVar9 = piVar8[0xf]" identifier = (subscript_expression "piVar8[0xf]" identifier [ number_literal ])) ;) (expression_statement "piVar8[2] = 0;" (assignment_expression "piVar8[2] = 0" (subscript_expression "piVar8[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar8 + 0x3a) = 1;" (assignment_expression "*(undefined1 *)((int)piVar8 + 0x3a) = 1" (pointer_expression "*(undefined1 *)((int)piVar8 + 0x3a)" * (cast_expression "(undefined1 *)((int)piVar8 + 0x3a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + 0x3a)" ( (binary_expression "(int)piVar8 + 0x3a" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar8 + 0x39) = 1;" (assignment_expression "*(undefined1 *)((int)piVar8 + 0x39) = 1" (pointer_expression "*(undefined1 *)((int)piVar8 + 0x39)" * (cast_expression "(undefined1 *)((int)piVar8 + 0x39)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + 0x39)" ( (binary_expression "(int)piVar8 + 0x39" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "piVar8[1] = piVar8[1] + 1;" (assignment_expression "piVar8[1] = piVar8[1] + 1" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = (binary_expression "piVar8[1] + 1" (subscript_expression "piVar8[1]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "piVar8[0xf] = iVar9 + 1;" (assignment_expression "piVar8[0xf] = iVar9 + 1" (subscript_expression "piVar8[0xf]" identifier [ number_literal ]) = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (return_statement "return iVar9 + 1;" return (binary_expression "iVar9 + 1" identifier + number_literal) ;) })) (return_statement "return iVar9;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , (binary_expression (parenthesized_expression ( (binary_expression IDENT - (subscript_expression IDENT [ LIT ])) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) )))) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , (binary_expression (binary_expression (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) + IDENT) + IDENT) , IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , (pointer_expression & IDENT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , LIT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , (binary_expression (pointer_expression * IDENT) >> LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT >> LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + LIT) < IDENT) ))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) && (binary_expression (subscript_expression IDENT [ LIT ]) == LIT)) )) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (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 (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )) (argument_list ( IDENT , (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , LIT , LIT ))) ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (binary_expression (binary_expression (pointer_expression * IDENT) * LIT) + (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT) ))) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_00129d48(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int iVar13;\n  code *pcVar14;\n  code *pcVar15;\n  int iVar16;\n  int iVar17;\n  int *piVar18;\n  int iVar19;\n  undefined *puVar20;\n  uint uVar21;\n  int iStack_b0;\n  int *piStack_a8;\n  int iStack_90;\n  int iStack_8c;\n  int iStack_84;\n  int iStack_80;\n  code *pcStack_7c;\n  int *piStack_78;\n  int iStack_74;\n  int *piStack_70;\n  undefined *puStack_6c;\n  int *piStack_68;\n  int local_34;\n  int local_30 [3];\n  int *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar13 = 0;\n  uVar10 = param_1[5];\n  local_24 = *(int **)PTR___stack_chk_guard_00190e24;\n  iVar16 = *(int *)(*param_1 + 0xc);\n  pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  iVar9 = param_1[4];\n  local_30[0] = 0;\n  local_34 = 0;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  piVar3 = local_30;\n  (*pcVar14)(&local_34);\n  if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }\n  if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);\n  if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }\n  piVar6 = local_24;\n  puVar20 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar4 = *(int **)(puVar20 + 0x66f7c);\n  puStack_6c = puVar1;\n  iStack_84 = *piVar4;\n  iVar5 = *(int *)(puVar20 + 0x66c98);\n  piStack_a8 = piVar6;\n  piVar8 = piVar3;\n  iStack_80 = iVar13;\n  pcStack_7c = pcVar14;\n  piStack_78 = local_30;\n  iStack_74 = iVar16;\n  piStack_70 = &local_34;\n  piStack_68 = param_1;\n  if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }\n  iVar9 = *piVar4;\n  if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }\n  return iVar9;\n}" (primitive_type "int") (function_declarator "FUN_00129d48(int *param_1)" (identifier "FUN_00129d48") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int iVar13;\n  code *pcVar14;\n  code *pcVar15;\n  int iVar16;\n  int iVar17;\n  int *piVar18;\n  int iVar19;\n  undefined *puVar20;\n  uint uVar21;\n  int iStack_b0;\n  int *piStack_a8;\n  int iStack_90;\n  int iStack_8c;\n  int iStack_84;\n  int iStack_80;\n  code *pcStack_7c;\n  int *piStack_78;\n  int iStack_74;\n  int *piStack_70;\n  undefined *puStack_6c;\n  int *piStack_68;\n  int local_34;\n  int local_30 [3];\n  int *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  iVar13 = 0;\n  uVar10 = param_1[5];\n  local_24 = *(int **)PTR___stack_chk_guard_00190e24;\n  iVar16 = *(int *)(*param_1 + 0xc);\n  pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);\n  iVar9 = param_1[4];\n  local_30[0] = 0;\n  local_34 = 0;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  piVar3 = local_30;\n  (*pcVar14)(&local_34);\n  if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }\n  if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }\n  (*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);\n  if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }\n  piVar6 = local_24;\n  puVar20 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar4 = *(int **)(puVar20 + 0x66f7c);\n  puStack_6c = puVar1;\n  iStack_84 = *piVar4;\n  iVar5 = *(int *)(puVar20 + 0x66c98);\n  piStack_a8 = piVar6;\n  piVar8 = piVar3;\n  iStack_80 = iVar13;\n  pcStack_7c = pcVar14;\n  piStack_78 = local_30;\n  iStack_74 = iVar16;\n  piStack_70 = &local_34;\n  piStack_68 = param_1;\n  if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }\n  iVar9 = *piVar4;\n  if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }\n  return iVar9;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "undefined4 uVar12;" (type_identifier "undefined4") (identifier "uVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "code *pcVar14;" (type_identifier "code") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (declaration "code *pcVar15;" (type_identifier "code") (pointer_declarator "*pcVar15" (* "*") (identifier "pcVar15")) (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int *piVar18;" (primitive_type "int") (pointer_declarator "*piVar18" (* "*") (identifier "piVar18")) (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "undefined *puVar20;" (type_identifier "undefined") (pointer_declarator "*puVar20" (* "*") (identifier "puVar20")) (; ";")) (declaration "uint uVar21;" (type_identifier "uint") (identifier "uVar21") (; ";")) (declaration "int iStack_b0;" (primitive_type "int") (identifier "iStack_b0") (; ";")) (declaration "int *piStack_a8;" (primitive_type "int") (pointer_declarator "*piStack_a8" (* "*") (identifier "piStack_a8")) (; ";")) (declaration "int iStack_90;" (primitive_type "int") (identifier "iStack_90") (; ";")) (declaration "int iStack_8c;" (primitive_type "int") (identifier "iStack_8c") (; ";")) (declaration "int iStack_84;" (primitive_type "int") (identifier "iStack_84") (; ";")) (declaration "int iStack_80;" (primitive_type "int") (identifier "iStack_80") (; ";")) (declaration "code *pcStack_7c;" (type_identifier "code") (pointer_declarator "*pcStack_7c" (* "*") (identifier "pcStack_7c")) (; ";")) (declaration "int *piStack_78;" (primitive_type "int") (pointer_declarator "*piStack_78" (* "*") (identifier "piStack_78")) (; ";")) (declaration "int iStack_74;" (primitive_type "int") (identifier "iStack_74") (; ";")) (declaration "int *piStack_70;" (primitive_type "int") (pointer_declarator "*piStack_70" (* "*") (identifier "piStack_70")) (; ";")) (declaration "undefined *puStack_6c;" (type_identifier "undefined") (pointer_declarator "*puStack_6c" (* "*") (identifier "puStack_6c")) (; ";")) (declaration "int *piStack_68;" (primitive_type "int") (pointer_declarator "*piStack_68" (* "*") (identifier "piStack_68")) (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "int local_30 [3];" (primitive_type "int") (array_declarator "local_30 [3]" (identifier "local_30") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "int *local_24;" (primitive_type "int") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00190e24" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_00190e24")) (; ";")) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar10 = param_1[5];" (assignment_expression "uVar10 = param_1[5]" (identifier "uVar10") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "local_24 = *(int **)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_24 = *(int **)PTR___stack_chk_guard_00190e24" (identifier "local_24") (= "=") (pointer_expression "*(int **)PTR___stack_chk_guard_00190e24" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_00190e24" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_00190e24")))) (; ";")) (expression_statement "iVar16 = *(int *)(*param_1 + 0xc);" (assignment_expression "iVar16 = *(int *)(*param_1 + 0xc)" (identifier "iVar16") (= "=") (pointer_expression "*(int *)(*param_1 + 0xc)" (* "*") (cast_expression "(int *)(*param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);" (assignment_expression "pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960)" (identifier "pcVar14") (= "=") (cast_expression "(code *)(PTR_LAB_00190c2c + -0x2960)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190c2c + -0x2960)" (( "(") (binary_expression "PTR_LAB_00190c2c + -0x2960" (identifier "PTR_LAB_00190c2c") (+ "+") (number_literal "-0x2960")) () ")")))) (; ";")) (expression_statement "iVar9 = param_1[4];" (assignment_expression "iVar9 = param_1[4]" (identifier "iVar9") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "local_30[0] = 0;" (assignment_expression "local_30[0] = 0" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[1] = 0;" (assignment_expression "local_30[1] = 0" (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3 = local_30;" (assignment_expression "piVar3 = local_30" (identifier "piVar3") (= "=") (identifier "local_30")) (; ";")) (expression_statement "(*pcVar14)(&local_34);" (call_expression "(*pcVar14)(&local_34)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(&local_34)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")"))) (; ";")) (if_statement "if (0 < iVar16) {\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }" (if "if") (parenthesized_expression "(0 < iVar16)" (( "(") (binary_expression "0 < iVar16" (number_literal "0") (< "<") (identifier "iVar16")) () ")")) (compound_statement "{\n    do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);\n  }" ({ "{") (do_statement "do {\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    } while (iVar16 != iVar13);" (do "do") (compound_statement "{\n      iVar9 = iVar13 * 8;\n      iVar13 = iVar13 + 1;\n      piVar3 = (int *)(param_1[6] + iVar9);\n      uVar10 = piVar3[1];\n      iVar9 = *piVar3;\n      piVar3 = local_30;\n      (*pcVar14)(&local_34);\n    }" ({ "{") (expression_statement "iVar9 = iVar13 * 8;" (assignment_expression "iVar9 = iVar13 * 8" (identifier "iVar9") (= "=") (binary_expression "iVar13 * 8" (identifier "iVar13") (* "*") (number_literal "8"))) (; ";")) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar3 = (int *)(param_1[6] + iVar9);" (assignment_expression "piVar3 = (int *)(param_1[6] + iVar9)" (identifier "piVar3") (= "=") (cast_expression "(int *)(param_1[6] + iVar9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[6] + iVar9)" (( "(") (binary_expression "param_1[6] + iVar9" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (+ "+") (identifier "iVar9")) () ")")))) (; ";")) (expression_statement "uVar10 = piVar3[1];" (assignment_expression "uVar10 = piVar3[1]" (identifier "uVar10") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar9 = *piVar3;" (assignment_expression "iVar9 = *piVar3" (identifier "iVar9") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (expression_statement "piVar3 = local_30;" (assignment_expression "piVar3 = local_30" (identifier "piVar3") (= "=") (identifier "local_30")) (; ";")) (expression_statement "(*pcVar14)(&local_34);" (call_expression "(*pcVar14)(&local_34)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(&local_34)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar16 != iVar13)" (( "(") (binary_expression "iVar16 != iVar13" (identifier "iVar16") (!= "!=") (identifier "iVar13")) () ")")) (; ";")) (} "}"))) (if_statement "if (local_34 == 0) {\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }" (if "if") (parenthesized_expression "(local_34 == 0)" (( "(") (binary_expression "local_34 == 0" (identifier "local_34") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar10 = 1;\n    iVar13 = param_1[1];\n    iVar9 = 0;\n    FUN_00129bf8(iVar13);\n    local_34 = *(int *)(iVar13 + 0x24);\n    *(undefined4 *)(iVar13 + 0x24) = 0;\n  }" ({ "{") (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" (identifier "uVar10") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar13 = param_1[1];" (assignment_expression "iVar13 = param_1[1]" (identifier "iVar13") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00129bf8(iVar13);" (call_expression "FUN_00129bf8(iVar13)" (identifier "FUN_00129bf8") (argument_list "(iVar13)" (( "(") (identifier "iVar13") () ")"))) (; ";")) (expression_statement "local_34 = *(int *)(iVar13 + 0x24);" (assignment_expression "local_34 = *(int *)(iVar13 + 0x24)" (identifier "local_34") (= "=") (pointer_expression "*(int *)(iVar13 + 0x24)" (* "*") (cast_expression "(int *)(iVar13 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x24)" (( "(") (binary_expression "iVar13 + 0x24" (identifier "iVar13") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar13 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(iVar13 + 0x24) = 0" (pointer_expression "*(undefined4 *)(iVar13 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x24)" (( "(") (binary_expression "iVar13 + 0x24" (identifier "iVar13") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);" (call_expression "(*(code *)PTR_sqlite3_free_0019096c)(local_30[0])" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0019096c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0019096c" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0019096c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0019096c"))) () ")")) (argument_list "(local_30[0])" (( "(") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (if_statement "if (local_24 == *(int **)puVar1) {\n    return local_34;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int **)puVar1)" (( "(") (binary_expression "local_24 == *(int **)puVar1" (identifier "local_24") (== "==") (pointer_expression "*(int **)puVar1" (* "*") (cast_expression "(int **)puVar1" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return local_34;\n  }" ({ "{") (return_statement "return local_34;" (return "return") (identifier "local_34") (; ";")) (} "}"))) (expression_statement "piVar6 = local_24;" (assignment_expression "piVar6 = local_24" (identifier "piVar6") (= "=") (identifier "local_24")) (; ";")) (expression_statement "puVar20 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar20 = PTR___stack_chk_fail_00190df8" (identifier "puVar20") (= "=") (identifier "PTR___stack_chk_fail_00190df8")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00190df8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00190df8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar4 = *(int **)(puVar20 + 0x66f7c);" (assignment_expression "piVar4 = *(int **)(puVar20 + 0x66f7c)" (identifier "piVar4") (= "=") (pointer_expression "*(int **)(puVar20 + 0x66f7c)" (* "*") (cast_expression "(int **)(puVar20 + 0x66f7c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar20 + 0x66f7c)" (( "(") (binary_expression "puVar20 + 0x66f7c" (identifier "puVar20") (+ "+") (number_literal "0x66f7c")) () ")"))))) (; ";")) (expression_statement "puStack_6c = puVar1;" (assignment_expression "puStack_6c = puVar1" (identifier "puStack_6c") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "iStack_84 = *piVar4;" (assignment_expression "iStack_84 = *piVar4" (identifier "iStack_84") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (expression_statement "iVar5 = *(int *)(puVar20 + 0x66c98);" (assignment_expression "iVar5 = *(int *)(puVar20 + 0x66c98)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(puVar20 + 0x66c98)" (* "*") (cast_expression "(int *)(puVar20 + 0x66c98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar20 + 0x66c98)" (( "(") (binary_expression "puVar20 + 0x66c98" (identifier "puVar20") (+ "+") (number_literal "0x66c98")) () ")"))))) (; ";")) (expression_statement "piStack_a8 = piVar6;" (assignment_expression "piStack_a8 = piVar6" (identifier "piStack_a8") (= "=") (identifier "piVar6")) (; ";")) (expression_statement "piVar8 = piVar3;" (assignment_expression "piVar8 = piVar3" (identifier "piVar8") (= "=") (identifier "piVar3")) (; ";")) (expression_statement "iStack_80 = iVar13;" (assignment_expression "iStack_80 = iVar13" (identifier "iStack_80") (= "=") (identifier "iVar13")) (; ";")) (expression_statement "pcStack_7c = pcVar14;" (assignment_expression "pcStack_7c = pcVar14" (identifier "pcStack_7c") (= "=") (identifier "pcVar14")) (; ";")) (expression_statement "piStack_78 = local_30;" (assignment_expression "piStack_78 = local_30" (identifier "piStack_78") (= "=") (identifier "local_30")) (; ";")) (expression_statement "iStack_74 = iVar16;" (assignment_expression "iStack_74 = iVar16" (identifier "iStack_74") (= "=") (identifier "iVar16")) (; ";")) (expression_statement "piStack_70 = &local_34;" (assignment_expression "piStack_70 = &local_34" (identifier "piStack_70") (= "=") (pointer_expression "&local_34" (& "&") (identifier "local_34"))) (; ";")) (expression_statement "piStack_68 = param_1;" (assignment_expression "piStack_68 = param_1" (identifier "piStack_68") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (piVar6[9] == 0) {\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }" (if "if") (parenthesized_expression "(piVar6[9] == 0)" (( "(") (binary_expression "piVar6[9] == 0" (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar7 = piVar6 + 9;\n    iVar19 = *(int *)(puVar20 + 0x66d08);\n    iVar13 = 0;\n    iVar16 = *(int *)(puVar20 + 0x66d84);\n    iStack_b0 = 0;\n    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);\n    uVar21 = 0;\n    do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);\n  }" ({ "{") (expression_statement "piVar7 = piVar6 + 9;" (assignment_expression "piVar7 = piVar6 + 9" (identifier "piVar7") (= "=") (binary_expression "piVar6 + 9" (identifier "piVar6") (+ "+") (number_literal "9"))) (; ";")) (expression_statement "iVar19 = *(int *)(puVar20 + 0x66d08);" (assignment_expression "iVar19 = *(int *)(puVar20 + 0x66d08)" (identifier "iVar19") (= "=") (pointer_expression "*(int *)(puVar20 + 0x66d08)" (* "*") (cast_expression "(int *)(puVar20 + 0x66d08)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar20 + 0x66d08)" (( "(") (binary_expression "puVar20 + 0x66d08" (identifier "puVar20") (+ "+") (number_literal "0x66d08")) () ")"))))) (; ";")) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar16 = *(int *)(puVar20 + 0x66d84);" (assignment_expression "iVar16 = *(int *)(puVar20 + 0x66d84)" (identifier "iVar16") (= "=") (pointer_expression "*(int *)(puVar20 + 0x66d84)" (* "*") (cast_expression "(int *)(puVar20 + 0x66d84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar20 + 0x66d84)" (( "(") (binary_expression "puVar20 + 0x66d84" (identifier "puVar20") (+ "+") (number_literal "0x66d84")) () ")"))))) (; ";")) (expression_statement "iStack_b0 = 0;" (assignment_expression "iStack_b0 = 0" (identifier "iStack_b0") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);" (assignment_expression "pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960)" (identifier "pcVar14") (= "=") (cast_expression "(code *)(*(int *)(puVar20 + 0x66d84) + -0x2960)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar20 + 0x66d84) + -0x2960)" (( "(") (binary_expression "*(int *)(puVar20 + 0x66d84) + -0x2960" (pointer_expression "*(int *)(puVar20 + 0x66d84)" (* "*") (cast_expression "(int *)(puVar20 + 0x66d84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar20 + 0x66d84)" (( "(") (binary_expression "puVar20 + 0x66d84" (identifier "puVar20") (+ "+") (number_literal "0x66d84")) () ")")))) (+ "+") (number_literal "-0x2960")) () ")")))) (; ";")) (expression_statement "uVar21 = 0;" (assignment_expression "uVar21 = 0" (identifier "uVar21") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);" (do "do") (compound_statement "{\n      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }\n      if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }\n      iVar13 = iVar13 + 1;\n      (*pcVar14)(piVar7,piVar8,0,uVar12);\n      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);\n      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);\n      piVar18[1] = 1;\n      piVar18[2] = iVar9;\n      piVar18[3] = uVar10;\n      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;\n      uVar21 = uVar21 + 0x80000000;\n    }" ({ "{") (expression_statement "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);" (assignment_expression "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20)" (identifier "piVar18") (= "=") (cast_expression "(int *)(piVar3[0x12] + iVar13 * 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3[0x12] + iVar13 * 0x20)" (( "(") (binary_expression "piVar3[0x12] + iVar13 * 0x20" (subscript_expression "piVar3[0x12]" (identifier "piVar3") ([ "[") (number_literal "0x12") (] "]")) (+ "+") (binary_expression "iVar13 * 0x20" (identifier "iVar13") (* "*") (number_literal "0x20"))) () ")")))) (; ";")) (if_statement "if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }\n      else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }" (if "if") (parenthesized_expression "(piVar18[5] < *(int *)(*piVar6 + 0x44))" (( "(") (binary_expression "piVar18[5] < *(int *)(*piVar6 + 0x44)" (subscript_expression "piVar18[5]" (identifier "piVar18") ([ "[") (number_literal "5") (] "]")) (< "<") (pointer_expression "*(int *)(*piVar6 + 0x44)" (* "*") (cast_expression "(int *)(*piVar6 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar6 + 0x44)" (( "(") (binary_expression "*piVar6 + 0x44" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (+ "+") (number_literal "0x44")) () ")"))))) () ")")) (compound_statement "{\n        piVar8 = piVar18 + 4;\n        if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }\n        uVar12 = 0;\n        piStack_a8 = (int *)0x1;\n      }" ({ "{") (expression_statement "piVar8 = piVar18 + 4;" (assignment_expression "piVar8 = piVar18 + 4" (identifier "piVar8") (= "=") (binary_expression "piVar18 + 4" (identifier "piVar18") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (piVar18[1] != 0) {\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }" (if "if") (parenthesized_expression "(piVar18[1] != 0)" (( "(") (binary_expression "piVar18[1] != 0" (subscript_expression "piVar18[1]" (identifier "piVar18") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));\n          piVar18[2] = iVar9;\n          piVar18[1] = 1;\n          piVar18[3] = uVar10;\n          piStack_a8 = piVar7;\n          break;\n        }" ({ "{") (expression_statement "(*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));" (call_expression "(*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]))" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]))" (( "(") (identifier "piVar7") (, ",") (identifier "piVar8") (, ",") (binary_expression "(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3])" (parenthesized_expression "(iVar9 - piVar18[2])" (( "(") (binary_expression "iVar9 - piVar18[2]" (identifier "iVar9") (- "-") (subscript_expression "piVar18[2]" (identifier "piVar18") ([ "[") (number_literal "2") (] "]"))) () ")")) (- "-") (call_expression "(uint)(uVar10 < uVar10 - piVar18[3])" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar10 < uVar10 - piVar18[3])" (( "(") (binary_expression "uVar10 < uVar10 - piVar18[3]" (identifier "uVar10") (< "<") (binary_expression "uVar10 - piVar18[3]" (identifier "uVar10") (- "-") (subscript_expression "piVar18[3]" (identifier "piVar18") ([ "[") (number_literal "3") (] "]")))) () ")")))) () ")"))) (; ";")) (expression_statement "piVar18[2] = iVar9;" (assignment_expression "piVar18[2] = iVar9" (subscript_expression "piVar18[2]" (identifier "piVar18") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar18[1] = 1;" (assignment_expression "piVar18[1] = 1" (subscript_expression "piVar18[1]" (identifier "piVar18") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar18[3] = uVar10;" (assignment_expression "piVar18[3] = uVar10" (subscript_expression "piVar18[3]" (identifier "piVar18") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "piStack_a8 = piVar7;" (assignment_expression "piStack_a8 = piVar7" (identifier "piStack_a8") (= "=") (identifier "piVar7")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "piStack_a8 = (int *)0x1;" (assignment_expression "piStack_a8 = (int *)0x1" (identifier "piStack_a8") (= "=") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (} "}")) (else_clause "else {\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }" (else "else") (compound_statement "{\n        *(undefined1 *)piVar18[4] = 1;\n        iVar17 = *piVar18 >> 0x1f;\n        uVar11 = uVar21 + *piVar18;\n        (*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);\n        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);\n        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);\n        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }\n        piVar8 = piVar18 + 4;\n        uVar12 = 1;\n        piVar18[5] = 0;\n        piStack_a8 = (int *)0x0;\n        piVar18[1] = 0;\n        *piVar18 = *piVar18 + 1;\n      }" ({ "{") (expression_statement "*(undefined1 *)piVar18[4] = 1;" (assignment_expression "*(undefined1 *)piVar18[4] = 1" (pointer_expression "*(undefined1 *)piVar18[4]" (* "*") (cast_expression "(undefined1 *)piVar18[4]" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar18[4]" (identifier "piVar18") ([ "[") (number_literal "4") (] "]")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar17 = *piVar18 >> 0x1f;" (assignment_expression "iVar17 = *piVar18 >> 0x1f" (identifier "iVar17") (= "=") (binary_expression "*piVar18 >> 0x1f" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar11 = uVar21 + *piVar18;" (assignment_expression "uVar11 = uVar21 + *piVar18" (identifier "uVar11") (= "=") (binary_expression "uVar21 + *piVar18" (identifier "uVar21") (+ "+") (pointer_expression "*piVar18" (* "*") (identifier "piVar18")))) (; ";")) (expression_statement "(*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5]);" (call_expression "(*(code *)(iVar19 + -0x6408))\n                  (piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5])" (parenthesized_expression "(*(code *)(iVar19 + -0x6408))" (( "(") (pointer_expression "*(code *)(iVar19 + -0x6408)" (* "*") (cast_expression "(code *)(iVar19 + -0x6408)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + -0x6408)" (( "(") (binary_expression "iVar19 + -0x6408" (identifier "iVar19") (+ "+") (number_literal "-0x6408")) () ")")))) () ")")) (argument_list "(piVar6,iVar17,\n                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,\n                   piVar18[4],piVar18[5])" (( "(") (identifier "piVar6") (, ",") (identifier "iVar17") (, ",") (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17" (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0" (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10" (binary_expression "(uint)(uVar11 < uVar21) + *piVar3 * 0x20" (call_expression "(uint)(uVar11 < uVar21)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar11 < uVar21)" (( "(") (binary_expression "uVar11 < uVar21" (identifier "uVar11") (< "<") (identifier "uVar21")) () ")"))) (+ "+") (binary_expression "*piVar3 * 0x20" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (* "*") (number_literal "0x20"))) (+ "+") (number_literal "0x10")) (+ "+") (identifier "iStack_b0")) (+ "+") (identifier "iVar17")) (, ",") (identifier "uVar11") (, ",") (subscript_expression "piVar18[4]" (identifier "piVar18") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "piVar18[5]" (identifier "piVar18") ([ "[") (number_literal "5") (] "]")) () ")"))) (; ";")) (expression_statement "(*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);" (call_expression "(*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2)" (parenthesized_expression "(*(code *)(iVar16 + -0x1190))" (( "(") (pointer_expression "*(code *)(iVar16 + -0x1190)" (* "*") (cast_expression "(code *)(iVar16 + -0x1190)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar16 + -0x1190)" (( "(") (binary_expression "iVar16 + -0x1190" (identifier "iVar16") (+ "+") (number_literal "-0x1190")) () ")")))) () ")")) (argument_list "(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2)" (( "(") (identifier "piVar7") (, ",") (binary_expression "piVar3 + 0x11" (identifier "piVar3") (+ "+") (number_literal "0x11")) (, ",") (binary_expression "piVar3 + 0x12" (identifier "piVar3") (+ "+") (number_literal "0x12")) (, ",") (binary_expression "iVar13 + 2" (identifier "iVar13") (+ "+") (number_literal "2")) () ")"))) (; ";")) (expression_statement "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);" (assignment_expression "piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20)" (identifier "piVar18") (= "=") (cast_expression "(int *)(piVar3[0x12] + iVar13 * 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3[0x12] + iVar13 * 0x20)" (( "(") (binary_expression "piVar3[0x12] + iVar13 * 0x20" (subscript_expression "piVar3[0x12]" (identifier "piVar3") ([ "[") (number_literal "0x12") (] "]")) (+ "+") (binary_expression "iVar13 * 0x20" (identifier "iVar13") (* "*") (number_literal "0x20"))) () ")")))) (; ";")) (if_statement "if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }" (if "if") (parenthesized_expression "((piVar6[9] == 0) && (piVar18[0xd] == 0))" (( "(") (binary_expression "(piVar6[9] == 0) && (piVar18[0xd] == 0)" (parenthesized_expression "(piVar6[9] == 0)" (( "(") (binary_expression "piVar6[9] == 0" (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(piVar18[0xd] == 0)" (( "(") (binary_expression "piVar18[0xd] == 0" (subscript_expression "piVar18[0xd]" (identifier "piVar18") ([ "[") (number_literal "0xd") (] "]")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          piVar8 = piVar18 + 0xc;\n          pcVar15 = (code *)(iVar5 + -0x80);\n          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);\n          (*pcVar15)(piVar18[4] + iVar17 + 1);\n          iVar2 = iStack_8c;\n          iVar17 = iStack_90;\n          piVar18[8] = *piVar18;\n          (*pcVar14)(piVar7,piVar8,0,0);\n          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);\n          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);\n          piVar18[9] = 1;\n          piVar18[0xb] = iVar2;\n          piVar18[10] = iVar17;\n        }" ({ "{") (expression_statement "piVar8 = piVar18 + 0xc;" (assignment_expression "piVar8 = piVar18 + 0xc" (identifier "piVar8") (= "=") (binary_expression "piVar18 + 0xc" (identifier "piVar18") (+ "+") (number_literal "0xc"))) (; ";")) (expression_statement "pcVar15 = (code *)(iVar5 + -0x80);" (assignment_expression "pcVar15 = (code *)(iVar5 + -0x80)" (identifier "pcVar15") (= "=") (cast_expression "(code *)(iVar5 + -0x80)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + -0x80)" (( "(") (binary_expression "iVar5 + -0x80" (identifier "iVar5") (+ "+") (number_literal "-0x80")) () ")")))) (; ";")) (expression_statement "iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);" (assignment_expression "iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90)" (identifier "iVar17") (= "=") (call_expression "(*pcVar15)(piVar18[4] + 1,&iStack_90)" (parenthesized_expression "(*pcVar15)" (( "(") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15")) () ")")) (argument_list "(piVar18[4] + 1,&iStack_90)" (( "(") (binary_expression "piVar18[4] + 1" (subscript_expression "piVar18[4]" (identifier "piVar18") ([ "[") (number_literal "4") (] "]")) (+ "+") (number_literal "1")) (, ",") (pointer_expression "&iStack_90" (& "&") (identifier "iStack_90")) () ")")))) (; ";")) (expression_statement "(*pcVar15)(piVar18[4] + iVar17 + 1);" (call_expression "(*pcVar15)(piVar18[4] + iVar17 + 1)" (parenthesized_expression "(*pcVar15)" (( "(") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15")) () ")")) (argument_list "(piVar18[4] + iVar17 + 1)" (( "(") (binary_expression "piVar18[4] + iVar17 + 1" (binary_expression "piVar18[4] + iVar17" (subscript_expression "piVar18[4]" (identifier "piVar18") ([ "[") (number_literal "4") (] "]")) (+ "+") (identifier "iVar17")) (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "iVar2 = iStack_8c;" (assignment_expression "iVar2 = iStack_8c" (identifier "iVar2") (= "=") (identifier "iStack_8c")) (; ";")) (expression_statement "iVar17 = iStack_90;" (assignment_expression "iVar17 = iStack_90" (identifier "iVar17") (= "=") (identifier "iStack_90")) (; ";")) (expression_statement "piVar18[8] = *piVar18;" (assignment_expression "piVar18[8] = *piVar18" (subscript_expression "piVar18[8]" (identifier "piVar18") ([ "[") (number_literal "8") (] "]")) (= "=") (pointer_expression "*piVar18" (* "*") (identifier "piVar18"))) (; ";")) (expression_statement "(*pcVar14)(piVar7,piVar8,0,0);" (call_expression "(*pcVar14)(piVar7,piVar8,0,0)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(piVar7,piVar8,0,0)" (( "(") (identifier "piVar7") (, ",") (identifier "piVar8") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);" (call_expression "(*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(piVar7,piVar8,*piVar18 >> 0x1f)" (( "(") (identifier "piVar7") (, ",") (identifier "piVar8") (, ",") (binary_expression "*piVar18 >> 0x1f" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (>> ">>") (number_literal "0x1f")) () ")"))) (; ";")) (expression_statement "(*pcVar14)(piVar7,piVar8,iVar17,iVar2);" (call_expression "(*pcVar14)(piVar7,piVar8,iVar17,iVar2)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(piVar7,piVar8,iVar17,iVar2)" (( "(") (identifier "piVar7") (, ",") (identifier "piVar8") (, ",") (identifier "iVar17") (, ",") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "piVar18[9] = 1;" (assignment_expression "piVar18[9] = 1" (subscript_expression "piVar18[9]" (identifier "piVar18") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar18[0xb] = iVar2;" (assignment_expression "piVar18[0xb] = iVar2" (subscript_expression "piVar18[0xb]" (identifier "piVar18") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "piVar18[10] = iVar17;" (assignment_expression "piVar18[10] = iVar17" (subscript_expression "piVar18[10]" (identifier "piVar18") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar17")) (; ";")) (} "}"))) (expression_statement "piVar8 = piVar18 + 4;" (assignment_expression "piVar8 = piVar18 + 4" (identifier "piVar8") (= "=") (binary_expression "piVar18 + 4" (identifier "piVar18") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar12 = 1;" (assignment_expression "uVar12 = 1" (identifier "uVar12") (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar18[5] = 0;" (assignment_expression "piVar18[5] = 0" (subscript_expression "piVar18[5]" (identifier "piVar18") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piStack_a8 = (int *)0x0;" (assignment_expression "piStack_a8 = (int *)0x0" (identifier "piStack_a8") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "piVar18[1] = 0;" (assignment_expression "piVar18[1] = 0" (subscript_expression "piVar18[1]" (identifier "piVar18") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar18 = *piVar18 + 1;" (assignment_expression "*piVar18 = *piVar18 + 1" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (= "=") (binary_expression "*piVar18 + 1" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (if_statement "if (iVar13 == 0) {\n        iVar17 = piVar3[1];\n      }\n      else {\n        iVar17 = piVar18[-8];\n      }" (if "if") (parenthesized_expression "(iVar13 == 0)" (( "(") (binary_expression "iVar13 == 0" (identifier "iVar13") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar17 = piVar3[1];\n      }" ({ "{") (expression_statement "iVar17 = piVar3[1];" (assignment_expression "iVar17 = piVar3[1]" (identifier "iVar17") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n        iVar17 = piVar18[-8];\n      }" (else "else") (compound_statement "{\n        iVar17 = piVar18[-8];\n      }" ({ "{") (expression_statement "iVar17 = piVar18[-8];" (assignment_expression "iVar17 = piVar18[-8]" (identifier "iVar17") (= "=") (subscript_expression "piVar18[-8]" (identifier "piVar18") ([ "[") (number_literal "-8") (] "]"))) (; ";")) (} "}")))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*pcVar14)(piVar7,piVar8,0,uVar12);" (call_expression "(*pcVar14)(piVar7,piVar8,0,uVar12)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(piVar7,piVar8,0,uVar12)" (( "(") (identifier "piVar7") (, ",") (identifier "piVar8") (, ",") (number_literal "0") (, ",") (identifier "uVar12") () ")"))) (; ";")) (expression_statement "(*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);" (call_expression "(*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(piVar7,piVar8,iVar17 >> 0x1f,iVar17)" (( "(") (identifier "piVar7") (, ",") (identifier "piVar8") (, ",") (binary_expression "iVar17 >> 0x1f" (identifier "iVar17") (>> ">>") (number_literal "0x1f")) (, ",") (identifier "iVar17") () ")"))) (; ";")) (expression_statement "(*pcVar14)(piVar7,piVar8,iVar9,uVar10);" (call_expression "(*pcVar14)(piVar7,piVar8,iVar9,uVar10)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(piVar7,piVar8,iVar9,uVar10)" (( "(") (identifier "piVar7") (, ",") (identifier "piVar8") (, ",") (identifier "iVar9") (, ",") (identifier "uVar10") () ")"))) (; ";")) (expression_statement "piVar18[1] = 1;" (assignment_expression "piVar18[1] = 1" (subscript_expression "piVar18[1]" (identifier "piVar18") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar18[2] = iVar9;" (assignment_expression "piVar18[2] = iVar9" (subscript_expression "piVar18[2]" (identifier "piVar18") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar18[3] = uVar10;" (assignment_expression "piVar18[3] = uVar10" (subscript_expression "piVar18[3]" (identifier "piVar18") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;" (assignment_expression "iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0" (identifier "iStack_b0") (= "=") (binary_expression "(uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0" (call_expression "(uint)(uVar21 + 0x80000000 < uVar21)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar21 + 0x80000000 < uVar21)" (( "(") (binary_expression "uVar21 + 0x80000000 < uVar21" (binary_expression "uVar21 + 0x80000000" (identifier "uVar21") (+ "+") (number_literal "0x80000000")) (< "<") (identifier "uVar21")) () ")"))) (+ "+") (identifier "iStack_b0"))) (; ";")) (expression_statement "uVar21 = uVar21 + 0x80000000;" (assignment_expression "uVar21 = uVar21 + 0x80000000" (identifier "uVar21") (= "=") (binary_expression "uVar21 + 0x80000000" (identifier "uVar21") (+ "+") (number_literal "0x80000000"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piStack_a8 == (int *)0x0 && piVar6[9] == 0)" (( "(") (binary_expression "piStack_a8 == (int *)0x0 && piVar6[9] == 0" (binary_expression "piStack_a8 == (int *)0x0" (identifier "piStack_a8") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (binary_expression "piVar6[9] == 0" (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "0"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar9 = *piVar4;" (assignment_expression "iVar9 = *piVar4" (identifier "iVar9") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (if_statement "if (iStack_84 != iVar9) {\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }" (if "if") (parenthesized_expression "(iStack_84 != iVar9)" (( "(") (binary_expression "iStack_84 != iVar9" (identifier "iStack_84") (!= "!=") (identifier "iVar9")) () ")")) (compound_statement "{\n    pcVar14 = *(code **)(puVar20 + 0x66f50);\n    (*pcVar14)();\n    piVar3 = piStack_a8 + 9;\n    iVar13 = piVar8[4];\n    iVar9 = piVar8[3];\n    *(char *)(iVar9 + 3) = (char)iVar13;\n    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);\n    if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }\n    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);\n    piVar8[4] = 0;\n    piVar8[7] = 0;\n    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);\n    iVar9 = piVar8[0xf];\n    piVar8[2] = 0;\n    *(undefined1 *)((int)piVar8 + 0x3a) = 1;\n    *(undefined1 *)((int)piVar8 + 0x39) = 1;\n    piVar8[1] = piVar8[1] + 1;\n    piVar8[0xf] = iVar9 + 1;\n    return iVar9 + 1;\n  }" ({ "{") (expression_statement "pcVar14 = *(code **)(puVar20 + 0x66f50);" (assignment_expression "pcVar14 = *(code **)(puVar20 + 0x66f50)" (identifier "pcVar14") (= "=") (pointer_expression "*(code **)(puVar20 + 0x66f50)" (* "*") (cast_expression "(code **)(puVar20 + 0x66f50)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar20 + 0x66f50)" (( "(") (binary_expression "puVar20 + 0x66f50" (identifier "puVar20") (+ "+") (number_literal "0x66f50")) () ")"))))) (; ";")) (expression_statement "(*pcVar14)();" (call_expression "(*pcVar14)()" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar3 = piStack_a8 + 9;" (assignment_expression "piVar3 = piStack_a8 + 9" (identifier "piVar3") (= "=") (binary_expression "piStack_a8 + 9" (identifier "piStack_a8") (+ "+") (number_literal "9"))) (; ";")) (expression_statement "iVar13 = piVar8[4];" (assignment_expression "iVar13 = piVar8[4]" (identifier "iVar13") (= "=") (subscript_expression "piVar8[4]" (identifier "piVar8") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "iVar9 = piVar8[3];" (assignment_expression "iVar9 = piVar8[3]" (identifier "iVar9") (= "=") (subscript_expression "piVar8[3]" (identifier "piVar8") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(char *)(iVar9 + 3) = (char)iVar13;" (assignment_expression "*(char *)(iVar9 + 3) = (char)iVar13" (pointer_expression "*(char *)(iVar9 + 3)" (* "*") (cast_expression "(char *)(iVar9 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 3)" (( "(") (binary_expression "iVar9 + 3" (identifier "iVar9") (+ "+") (number_literal "3")) () ")")))) (= "=") (cast_expression "(char)iVar13" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar13"))) (; ";")) (expression_statement "*(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);" (assignment_expression "*(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8)" (pointer_expression "*(char *)(iVar9 + 2)" (* "*") (cast_expression "(char *)(iVar9 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 2)" (( "(") (binary_expression "iVar9 + 2" (identifier "iVar9") (+ "+") (number_literal "2")) () ")")))) (= "=") (cast_expression "(char)((uint)iVar13 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)iVar13 >> 8)" (( "(") (binary_expression "(uint)iVar13 >> 8" (cast_expression "(uint)iVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar13")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (if_statement "if (*(char *)((int)piVar8 + 0x3a) == '\0') {\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }\n    else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }" (if "if") (parenthesized_expression "(*(char *)((int)piVar8 + 0x3a) == '\0')" (( "(") (binary_expression "*(char *)((int)piVar8 + 0x3a) == '\0'" (pointer_expression "*(char *)((int)piVar8 + 0x3a)" (* "*") (cast_expression "(char *)((int)piVar8 + 0x3a)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar8 + 0x3a)" (( "(") (binary_expression "(int)piVar8 + 0x3a" (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8")) (+ "+") (number_literal "0x3a")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);\n    }" ({ "{") (expression_statement "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);" (assignment_expression "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" (identifier "pcVar15") (= "=") (cast_expression "(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" (( "(") (binary_expression "*(int *)(pcVar14 + 0x66a1c) + -0x3854" (pointer_expression "*(int *)(pcVar14 + 0x66a1c)" (* "*") (cast_expression "(int *)(pcVar14 + 0x66a1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar14 + 0x66a1c)" (( "(") (binary_expression "pcVar14 + 0x66a1c" (identifier "pcVar14") (+ "+") (number_literal "0x66a1c")) () ")")))) (+ "+") (number_literal "-0x3854")) () ")")))) (; ";")) (expression_statement "(*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);" (call_expression "(*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6])" (parenthesized_expression "(*pcVar15)" (( "(") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15")) () ")")) (argument_list "(piVar3,piVar8 + 3,piVar8[7],piVar8[6])" (( "(") (identifier "piVar3") (, ",") (binary_expression "piVar8 + 3" (identifier "piVar8") (+ "+") (number_literal "3")) (, ",") (subscript_expression "piVar8[7]" (identifier "piVar8") ([ "[") (number_literal "7") (] "]")) (, ",") (subscript_expression "piVar8[6]" (identifier "piVar8") ([ "[") (number_literal "6") (] "]")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }" (else "else") (compound_statement "{\n      if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }\n      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);\n      piVar8[0x10] = piVar8[0x10] + 1;\n    }" ({ "{") (if_statement "if (*(char *)((int)piVar8 + 0x39) != '\0') {\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }" (if "if") (parenthesized_expression "(*(char *)((int)piVar8 + 0x39) != '\0')" (( "(") (binary_expression "*(char *)((int)piVar8 + 0x39) != '\0'" (pointer_expression "*(char *)((int)piVar8 + 0x39)" (* "*") (cast_expression "(char *)((int)piVar8 + 0x39)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar8 + 0x39)" (( "(") (binary_expression "(int)piVar8 + 0x39" (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8")) (+ "+") (number_literal "0x39")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }\n      }" ({ "{") (if_statement "if (0 < *(int *)(piVar8[0x12] + 0x14)) {\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }" (if "if") (parenthesized_expression "(0 < *(int *)(piVar8[0x12] + 0x14))" (( "(") (binary_expression "0 < *(int *)(piVar8[0x12] + 0x14)" (number_literal "0") (< "<") (pointer_expression "*(int *)(piVar8[0x12] + 0x14)" (* "*") (cast_expression "(int *)(piVar8[0x12] + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar8[0x12] + 0x14)" (( "(") (binary_expression "piVar8[0x12] + 0x14" (subscript_expression "piVar8[0x12]" (identifier "piVar8") ([ "[") (number_literal "0x12") (] "]")) (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);\n        }" ({ "{") (expression_statement "(*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);" (call_expression "(*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0)" (parenthesized_expression "(*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))" (( "(") (pointer_expression "*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960)" (* "*") (cast_expression "(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar14 + 0x66a1c) + -0x2960)" (( "(") (binary_expression "*(int *)(pcVar14 + 0x66a1c) + -0x2960" (pointer_expression "*(int *)(pcVar14 + 0x66a1c)" (* "*") (cast_expression "(int *)(pcVar14 + 0x66a1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar14 + 0x66a1c)" (( "(") (binary_expression "pcVar14 + 0x66a1c" (identifier "pcVar14") (+ "+") (number_literal "0x66a1c")) () ")")))) (+ "+") (number_literal "-0x2960")) () ")")))) () ")")) (argument_list "(piVar3,piVar8[0x12] + 0x10,0,0)" (( "(") (identifier "piVar3") (, ",") (binary_expression "piVar8[0x12] + 0x10" (subscript_expression "piVar8[0x12]" (identifier "piVar8") ([ "[") (number_literal "0x12") (] "]")) (+ "+") (number_literal "0x10")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);" (assignment_expression "pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" (identifier "pcVar15") (= "=") (cast_expression "(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar14 + 0x66a1c) + -0x3854)" (( "(") (binary_expression "*(int *)(pcVar14 + 0x66a1c) + -0x3854" (pointer_expression "*(int *)(pcVar14 + 0x66a1c)" (* "*") (cast_expression "(int *)(pcVar14 + 0x66a1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar14 + 0x66a1c)" (( "(") (binary_expression "pcVar14 + 0x66a1c" (identifier "pcVar14") (+ "+") (number_literal "0x66a1c")) () ")")))) (+ "+") (number_literal "-0x3854")) () ")")))) (; ";")) (expression_statement "piVar8[0x10] = piVar8[0x10] + 1;" (assignment_expression "piVar8[0x10] = piVar8[0x10] + 1" (subscript_expression "piVar8[0x10]" (identifier "piVar8") ([ "[") (number_literal "0x10") (] "]")) (= "=") (binary_expression "piVar8[0x10] + 1" (subscript_expression "piVar8[0x10]" (identifier "piVar8") ([ "[") (number_literal "0x10") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4]);" (call_expression "FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4])" (identifier "FUN_00129bf8") (argument_list "(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],\n                 piVar8[4])" (( "(") (identifier "piStack_a8") (, ",") (subscript_expression "piVar8[4]" (identifier "piVar8") ([ "[") (number_literal "4") (] "]")) (, ",") (binary_expression "*piVar8 * 0x20 + (piVar8[1] >> 0x1f)" (binary_expression "*piVar8 * 0x20" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (* "*") (number_literal "0x20")) (+ "+") (parenthesized_expression "(piVar8[1] >> 0x1f)" (( "(") (binary_expression "piVar8[1] >> 0x1f" (subscript_expression "piVar8[1]" (identifier "piVar8") ([ "[") (number_literal "1") (] "]")) (>> ">>") (number_literal "0x1f")) () ")"))) (, ",") (subscript_expression "piVar8[1]" (identifier "piVar8") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "piVar8[3]" (identifier "piVar8") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "piVar8[4]" (identifier "piVar8") ([ "[") (number_literal "4") (] "]")) () ")"))) (; ";")) (expression_statement "piVar8[4] = 0;" (assignment_expression "piVar8[4] = 0" (subscript_expression "piVar8[4]" (identifier "piVar8") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar8[7] = 0;" (assignment_expression "piVar8[7] = 0" (subscript_expression "piVar8[7]" (identifier "piVar8") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);" (call_expression "(*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000)" (parenthesized_expression "(*pcVar15)" (( "(") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15")) () ")")) (argument_list "(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000)" (( "(") (identifier "piVar3") (, ",") (binary_expression "piVar8 + 3" (identifier "piVar8") (+ "+") (number_literal "3")) (, ",") (number_literal "4") (, ",") (binary_expression "*(int *)(pcVar14 + 0x6674c) + 22000" (pointer_expression "*(int *)(pcVar14 + 0x6674c)" (* "*") (cast_expression "(int *)(pcVar14 + 0x6674c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar14 + 0x6674c)" (( "(") (binary_expression "pcVar14 + 0x6674c" (identifier "pcVar14") (+ "+") (number_literal "0x6674c")) () ")")))) (+ "+") (number_literal "22000")) () ")"))) (; ";")) (expression_statement "iVar9 = piVar8[0xf];" (assignment_expression "iVar9 = piVar8[0xf]" (identifier "iVar9") (= "=") (subscript_expression "piVar8[0xf]" (identifier "piVar8") ([ "[") (number_literal "0xf") (] "]"))) (; ";")) (expression_statement "piVar8[2] = 0;" (assignment_expression "piVar8[2] = 0" (subscript_expression "piVar8[2]" (identifier "piVar8") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)piVar8 + 0x3a) = 1;" (assignment_expression "*(undefined1 *)((int)piVar8 + 0x3a) = 1" (pointer_expression "*(undefined1 *)((int)piVar8 + 0x3a)" (* "*") (cast_expression "(undefined1 *)((int)piVar8 + 0x3a)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar8 + 0x3a)" (( "(") (binary_expression "(int)piVar8 + 0x3a" (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8")) (+ "+") (number_literal "0x3a")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined1 *)((int)piVar8 + 0x39) = 1;" (assignment_expression "*(undefined1 *)((int)piVar8 + 0x39) = 1" (pointer_expression "*(undefined1 *)((int)piVar8 + 0x39)" (* "*") (cast_expression "(undefined1 *)((int)piVar8 + 0x39)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar8 + 0x39)" (( "(") (binary_expression "(int)piVar8 + 0x39" (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8")) (+ "+") (number_literal "0x39")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar8[1] = piVar8[1] + 1;" (assignment_expression "piVar8[1] = piVar8[1] + 1" (subscript_expression "piVar8[1]" (identifier "piVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "piVar8[1] + 1" (subscript_expression "piVar8[1]" (identifier "piVar8") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar8[0xf] = iVar9 + 1;" (assignment_expression "piVar8[0xf] = iVar9 + 1" (subscript_expression "piVar8[0xf]" (identifier "piVar8") ([ "[") (number_literal "0xf") (] "]")) (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return iVar9 + 1;" (return "return") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return iVar9;" (return "return") (identifier "iVar9") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_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: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_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: (identifier))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (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)))))) arguments: (argument_list (identifier) (identifier) (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal)) right: (identifier)) right: (identifier)) (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (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)))))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_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: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (number_literal) (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) arguments: (argument_list (identifier) (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) (number_literal) (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (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: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))))

int MASKED(int *param_1)

{
  undefined *puVar1;
  int iVar2;
  int *piVar3;
  int *piVar4;
  int iVar5;
  int *piVar6;
  int *piVar7;
  int *piVar8;
  int iVar9;
  uint uVar10;
  uint uVar11;
  undefined4 uVar12;
  int iVar13;
  code *pcVar14;
  code *pcVar15;
  int iVar16;
  int iVar17;
  int *piVar18;
  int iVar19;
  undefined *puVar20;
  uint uVar21;
  int iStack_b0;
  int *piStack_a8;
  int iStack_90;
  int iStack_8c;
  int iStack_84;
  int iStack_80;
  code *pcStack_7c;
  int *piStack_78;
  int iStack_74;
  int *piStack_70;
  undefined *puStack_6c;
  int *piStack_68;
  int local_34;
  int local_30 [3];
  int *local_24;
  
  puVar1 = PTR___stack_chk_guard_00190e24;
  iVar13 = 0;
  uVar10 = param_1[5];
  local_24 = *(int **)PTR___stack_chk_guard_00190e24;
  iVar16 = *(int *)(*param_1 + 0xc);
  pcVar14 = (code *)(PTR_LAB_00190c2c + -0x2960);
  iVar9 = param_1[4];
  local_30[0] = 0;
  local_34 = 0;
  local_30[1] = 0;
  local_30[2] = 0;
  piVar3 = local_30;
  (*pcVar14)(&local_34);
  if (0 < iVar16) {
    do {
      iVar9 = iVar13 * 8;
      iVar13 = iVar13 + 1;
      piVar3 = (int *)(param_1[6] + iVar9);
      uVar10 = piVar3[1];
      iVar9 = *piVar3;
      piVar3 = local_30;
      (*pcVar14)(&local_34);
    } while (iVar16 != iVar13);
  }
  if (local_34 == 0) {
    uVar10 = 1;
    iVar13 = param_1[1];
    iVar9 = 0;
    FUN_00129bf8(iVar13);
    local_34 = *(int *)(iVar13 + 0x24);
    *(undefined4 *)(iVar13 + 0x24) = 0;
  }
  (*(code *)PTR_sqlite3_free_0019096c)(local_30[0]);
  if (local_24 == *(int **)puVar1) {
    return local_34;
  }
  piVar6 = local_24;
  puVar20 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  piVar4 = *(int **)(puVar20 + 0x66f7c);
  puStack_6c = puVar1;
  iStack_84 = *piVar4;
  iVar5 = *(int *)(puVar20 + 0x66c98);
  piStack_a8 = piVar6;
  piVar8 = piVar3;
  iStack_80 = iVar13;
  pcStack_7c = pcVar14;
  piStack_78 = local_30;
  iStack_74 = iVar16;
  piStack_70 = &local_34;
  piStack_68 = param_1;
  if (piVar6[9] == 0) {
    piVar7 = piVar6 + 9;
    iVar19 = *(int *)(puVar20 + 0x66d08);
    iVar13 = 0;
    iVar16 = *(int *)(puVar20 + 0x66d84);
    iStack_b0 = 0;
    pcVar14 = (code *)(*(int *)(puVar20 + 0x66d84) + -0x2960);
    uVar21 = 0;
    do {
      piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);
      if (piVar18[5] < *(int *)(*piVar6 + 0x44)) {
        piVar8 = piVar18 + 4;
        if (piVar18[1] != 0) {
          (*pcVar14)(piVar7,piVar8,(iVar9 - piVar18[2]) - (uint)(uVar10 < uVar10 - piVar18[3]));
          piVar18[2] = iVar9;
          piVar18[1] = 1;
          piVar18[3] = uVar10;
          piStack_a8 = piVar7;
          break;
        }
        uVar12 = 0;
        piStack_a8 = (int *)0x1;
      }
      else {
        *(undefined1 *)piVar18[4] = 1;
        iVar17 = *piVar18 >> 0x1f;
        uVar11 = uVar21 + *piVar18;
        (*(code *)(iVar19 + -0x6408))
                  (piVar6,iVar17,
                   (uint)(uVar11 < uVar21) + *piVar3 * 0x20 + 0x10 + iStack_b0 + iVar17,uVar11,
                   piVar18[4],piVar18[5]);
        (*(code *)(iVar16 + -0x1190))(piVar7,piVar3 + 0x11,piVar3 + 0x12,iVar13 + 2);
        piVar18 = (int *)(piVar3[0x12] + iVar13 * 0x20);
        if ((piVar6[9] == 0) && (piVar18[0xd] == 0)) {
          piVar8 = piVar18 + 0xc;
          pcVar15 = (code *)(iVar5 + -0x80);
          iVar17 = (*pcVar15)(piVar18[4] + 1,&iStack_90);
          (*pcVar15)(piVar18[4] + iVar17 + 1);
          iVar2 = iStack_8c;
          iVar17 = iStack_90;
          piVar18[8] = *piVar18;
          (*pcVar14)(piVar7,piVar8,0,0);
          (*pcVar14)(piVar7,piVar8,*piVar18 >> 0x1f);
          (*pcVar14)(piVar7,piVar8,iVar17,iVar2);
          piVar18[9] = 1;
          piVar18[0xb] = iVar2;
          piVar18[10] = iVar17;
        }
        piVar8 = piVar18 + 4;
        uVar12 = 1;
        piVar18[5] = 0;
        piStack_a8 = (int *)0x0;
        piVar18[1] = 0;
        *piVar18 = *piVar18 + 1;
      }
      if (iVar13 == 0) {
        iVar17 = piVar3[1];
      }
      else {
        iVar17 = piVar18[-8];
      }
      iVar13 = iVar13 + 1;
      (*pcVar14)(piVar7,piVar8,0,uVar12);
      (*pcVar14)(piVar7,piVar8,iVar17 >> 0x1f,iVar17);
      (*pcVar14)(piVar7,piVar8,iVar9,uVar10);
      piVar18[1] = 1;
      piVar18[2] = iVar9;
      piVar18[3] = uVar10;
      iStack_b0 = (uint)(uVar21 + 0x80000000 < uVar21) + iStack_b0;
      uVar21 = uVar21 + 0x80000000;
    } while (piStack_a8 == (int *)0x0 && piVar6[9] == 0);
  }
  iVar9 = *piVar4;
  if (iStack_84 != iVar9) {
    pcVar14 = *(code **)(puVar20 + 0x66f50);
    (*pcVar14)();
    piVar3 = piStack_a8 + 9;
    iVar13 = piVar8[4];
    iVar9 = piVar8[3];
    *(char *)(iVar9 + 3) = (char)iVar13;
    *(char *)(iVar9 + 2) = (char)((uint)iVar13 >> 8);
    if (*(char *)((int)piVar8 + 0x3a) == '\0') {
      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);
      (*pcVar15)(piVar3,piVar8 + 3,piVar8[7],piVar8[6]);
    }
    else {
      if (*(char *)((int)piVar8 + 0x39) != '\0') {
        if (0 < *(int *)(piVar8[0x12] + 0x14)) {
          (*(code *)(*(int *)(pcVar14 + 0x66a1c) + -0x2960))(piVar3,piVar8[0x12] + 0x10,0,0);
        }
      }
      pcVar15 = (code *)(*(int *)(pcVar14 + 0x66a1c) + -0x3854);
      piVar8[0x10] = piVar8[0x10] + 1;
    }
    FUN_00129bf8(piStack_a8,piVar8[4],*piVar8 * 0x20 + (piVar8[1] >> 0x1f),piVar8[1],piVar8[3],
                 piVar8[4]);
    piVar8[4] = 0;
    piVar8[7] = 0;
    (*pcVar15)(piVar3,piVar8 + 3,4,*(int *)(pcVar14 + 0x6674c) + 22000);
    iVar9 = piVar8[0xf];
    piVar8[2] = 0;
    *(undefined1 *)((int)piVar8 + 0x3a) = 1;
    *(undefined1 *)((int)piVar8 + 0x39) = 1;
    piVar8[1] = piVar8[1] + 1;
    piVar8[0xf] = iVar9 + 1;
    return iVar9 + 1;
  }
  return iVar9;
}

