
/* WARNING: Removing unreachable block (ram,0x00054fbc) */

int fts3PendingListAppend
              (PendingList **pp,sqlite3_int64 iDocid,sqlite3_int64 iCol,sqlite3_int64 iPos,int *pRc)

{
  undefined *puVar1;
  int iVar2;
  uint uVar3;
  int in_a2;
  int in_a3;
  int iVar4;
  code *pcVar5;
  undefined1 *puVar6;
  undefined4 in_stack_ffffffc4;
  PendingList *p;
  int iStack_2c;
  
  puVar1 = PTR___stack_chk_guard_0015ba2c;
  puVar6 = &_gp;
  p = *pp;
  iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c;
  if (p == (PendingList *)0x0) {
LAB_00054eb8:
    iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(&_gp,in_stack_ffffffc4));
    if (iVar2 == 0) {
      *(int *)&p->iLastDocid = in_a2;
      *(int *)((int)&p->iLastDocid + 4) = in_a3;
      *(undefined4 *)((int)&p->iLastPos + 4) = 0;
      *(undefined4 *)&p->iLastPos = 0;
      *(undefined4 *)((int)&p->iLastCol + 4) = 0xffffffff;
      *(undefined4 *)&p->iLastCol = 0xffffffff;
      goto LAB_00054efc;
    }
LAB_00054f60:
    *iPos._0_4_ = iVar2;
    iVar2 = 0;
    if (*pp == p) goto LAB_00054f78;
  }
  else {
    if ((*(int *)&p->iLastDocid != in_a2) || ((int)p->iLastDocid != in_a3)) {
      p->nData = p->nData + 1;
      goto LAB_00054eb8;
    }
LAB_00054efc:
    if (0 < iDocid) {
      if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))
      goto LAB_00054f1c;
      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);
      iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));
      if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;
      iVar2 = 0;
      iVar4 = 0;
      *(undefined4 *)((int)&p->iLastPos + 4) = 0;
      *(undefined4 *)&p->iLastPos = 0;
      p->iLastCol = iDocid;
LAB_00054f30:
      uVar3 = iCol._4_4_ + 2;
      iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -
                                 (uint)(uVar3 < uVar3 - iVar4));
      if (iVar2 == 0) {
        p->iLastPos = iCol;
      }
      goto LAB_00054f60;
    }
    if (iDocid == 0) {
LAB_00054f1c:
      iVar2 = *(int *)&p->iLastPos;
      iVar4 = (int)p->iLastPos;
      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);
      goto LAB_00054f30;
    }
    *iPos._0_4_ = 0;
    iVar2 = 0;
    if (*pp == p) goto LAB_00054f78;
  }
  iVar2 = 1;
  *pp = p;
LAB_00054f78:
  if (iStack_2c == *(int *)puVar1) {
    return iVar2;
  }
  iVar2 = (**(code **)(puVar6 + -0x7ba0))();
  return iVar2;
}



/* WARNING: Type propagation algorithm not settling */

int FUN_00054e1c(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,
                int **param_6,int param_7,int **param_8,int *param_9)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  int **ppiVar4;
  int *piVar5;
  undefined4 *puVar6;
  int iVar7;
  uint uVar8;
  int *piVar9;
  int **ppiVar10;
  int *piVar11;
  int *piVar12;
  int iVar13;
  int *piVar14;
  int iVar15;
  undefined *puVar16;
  code *pcVar17;
  code *pcVar18;
  undefined4 *puStack_11c;
  int aiStack_fc [2];
  int *piStack_f4;
  int iStack_f0;
  int iStack_ec;
  undefined4 uStack_e8;
  int *piStack_e4;
  int *piStack_e0;
  int *piStack_dc;
  int *piStack_d8;
  undefined1 *puStack_d4;
  uint uStack_cc;
  int **ppiStack_c8;
  undefined4 *puStack_c4;
  undefined *puStack_c0;
  code *pcStack_bc;
  int *piStack_a8;
  uint uStack_a4;
  int iStack_a0;
  int **ppiStack_9c;
  int *piStack_98;
  undefined *puStack_90;
  int *piStack_84;
  int iStack_80;
  int iStack_7c;
  int *piStack_74;
  int **ppiStack_70;
  int **ppiStack_6c;
  int iStack_68;
  uint uStack_64;
  int **ppiStack_60;
  undefined4 *puStack_5c;
  uint uStack_58;
  code *pcStack_54;
  undefined4 *puStack_3c;
  int *piStack_38;
  int *local_30;
  int *local_2c;
  
  puVar1 = PTR___stack_chk_guard_0015ba2c;
  local_30 = (int *)*param_1;
  local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;
  uVar8 = param_3;
  ppiVar10 = param_4;
  if (local_30 == (int *)0x0) {
LAB_00054eb8:
    iVar3 = FUN_00054cbc(&local_30);
    if (iVar3 == 0) {
      local_30[4] = param_3;
      local_30[5] = (int)param_4;
      local_30[9] = 0;
      param_2 = (undefined4 *)0xffffffff;
      local_30[8] = 0;
      local_30[7] = -1;
      local_30[6] = -1;
      goto LAB_00054efc;
    }
LAB_00054f60:
    *param_9 = iVar3;
    iVar3 = 0;
    if ((int *)*param_1 == local_30) goto LAB_00054f78;
  }
  else {
    uVar8 = local_30[4];
    ppiVar10 = (int **)local_30[5];
    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {
      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);
      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);
      *local_30 = *local_30 + 1;
      goto LAB_00054eb8;
    }
LAB_00054efc:
    puVar16 = PTR_LAB_0015b700;
    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {
      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;
      param_4 = &local_30;
      ppiVar10 = (int **)0x1;
      uVar8 = 0;
      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);
      iVar3 = FUN_00054cbc(param_4);
      if ((iVar3 != 0) ||
         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))
      goto LAB_00054f60;
      param_2 = (undefined4 *)0x0;
      iVar3 = 0;
      local_30[9] = 0;
      local_30[8] = 0;
      local_30[6] = param_5;
      local_30[7] = (int)param_6;
LAB_00054f30:
      param_4 = &local_30;
      ppiVar4 = (int **)((int)param_8 + 2);
      ppiVar10 = (int **)((int)ppiVar4 - iVar3);
      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);
      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);
      if (iVar3 == 0) {
        local_30[8] = param_7;
        local_30[9] = (int)param_8;
      }
      goto LAB_00054f60;
    }
    param_6 = (int **)(param_5 | (uint)param_6);
    if (param_6 == (int **)0x0) {
LAB_00054f1c:
      param_2 = (undefined4 *)local_30[8];
      iVar3 = local_30[9];
      goto LAB_00054f30;
    }
    *param_9 = 0;
    iVar3 = 0;
    if ((int *)*param_1 == local_30) goto LAB_00054f78;
  }
  iVar3 = 1;
  *param_1 = local_30;
LAB_00054f78:
  if (local_2c == *(int **)puVar1) {
    return iVar3;
  }
  pcVar17 = FUN_00055088;
  piVar12 = local_2c;
  puVar16 = PTR___stack_chk_fail_0015ba10;
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  puStack_90 = puVar16 + 0x10e528;
  ppiStack_6c = param_8;
  uStack_64 = param_5;
  iStack_68 = param_7;
  piStack_74 = param_9;
  piVar14 = *(int **)(puVar16 + 0x1069a4);
  iStack_7c = *piVar14;
  iStack_80 = 0;
  puStack_11c = puStack_3c;
  ppiStack_70 = param_6;
  ppiStack_60 = param_4;
  puStack_5c = param_1;
  uStack_58 = param_3;
  pcStack_54 = pcVar17;
  iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);
  if (iVar3 == 0) {
    piStack_84 = (int *)0x0;
  }
  else {
    piStack_84 = *(int **)(iVar3 + 8);
    if (piStack_84 != (int *)0x0) {
      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);
    }
  }
  piStack_98 = &iStack_80;
  piVar11 = (int *)param_2[1];
  iStack_a0 = (int)ppiVar10 >> 0x1f;
  piVar9 = (int *)*param_2;
  piStack_a8 = (int *)((int)uVar8 >> 0x1f);
  uStack_a4 = uVar8;
  ppiStack_9c = ppiVar10;
  iVar3 = FUN_00054e1c(&piStack_84);
  if ((iVar3 == 0) ||
     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),
     puStack_11c = puStack_3c, piVar5 != piStack_84)) {
    iVar3 = iStack_80;
    if (iStack_80 == 0) {
      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);
      *piVar12 = (int)piStack_38;
    }
  }
  else {
    (**(code **)(puStack_90 + -0x7f90))(piVar5);
    iVar3 = 7;
    puStack_11c = puStack_3c;
  }
  if (iStack_7c == *piVar14) {
    return iVar3;
  }
  pcVar17 = *(code **)(puStack_90 + -0x7ba0);
  pcVar18 = FUN_00055224;
  iVar3 = iStack_7c;
  (*pcVar17)();
  piVar5 = piStack_a8;
  puVar6 = *(undefined4 **)(pcVar17 + 0x106808);
  puStack_c0 = puVar1;
  aiStack_fc[0] = 0;
  aiStack_fc[1] = 0;
  piStack_f4 = (int *)0x0;
  iStack_ec = 0;
  piStack_e4 = (int *)*puVar6;
  piStack_e0 = piStack_38;
  piStack_dc = piVar12;
  piStack_d8 = piVar14;
  puStack_d4 = &_gp_1;
  uStack_cc = uVar8;
  ppiStack_c8 = ppiVar10;
  puStack_c4 = param_2;
  pcStack_bc = pcVar18;
  if (piVar9 == (int *)0x0) {
    *piStack_a8 = 0;
    iVar7 = 0;
    piVar12 = piVar11;
  }
  else {
    piVar12 = (int *)0xffffffff;
    iVar13 = **(int **)(iVar3 + 0x24);
    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));
    if (iVar7 == 0) {
      pcVar18 = *(code **)(iVar13 + 0x14);
      puStack_11c = (undefined4 *)0x0;
LAB_000552fc:
      piVar9 = &iStack_ec;
      piVar12 = aiStack_fc;
      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);
      if (iVar7 == 0) {
        iVar7 = 0;
        puVar2 = (undefined4 *)((int)piStack_f4 + 1);
        piVar12 = piStack_f4;
        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))
            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {
          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);
          iVar7 = 1;
          *piVar5 = *piVar5 + (int)puStack_11c;
          goto LAB_0005545c;
        }
        piVar9 = piVar11;
        iVar7 = FUN_00055088(iVar3 + 0x108);
        if (iVar7 != 0) goto LAB_0005541c;
        iVar15 = 1;
        while (iVar15 < *(int *)(iVar3 + 0xfc)) {
          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);
          iVar7 = *piVar14;
          if (iStack_ec < iVar7) {
            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);
            do {
              piVar14 = piVar12;
              iVar15 = iVar15 + 1;
              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;
              iVar7 = *piVar14;
              piVar12 = piVar14 + 6;
            } while (iStack_ec < iVar7);
          }
          piVar9 = piVar11;
          piVar12 = piStack_f4;
          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,
                               iVar7);
          iVar15 = iVar15 + 1;
          if (iVar7 != 0) goto LAB_0005541c;
        }
        goto LAB_000552fc;
      }
LAB_0005541c:
      (**(code **)(iVar13 + 0x10))(uStack_e8);
      if (iVar7 == 0x65) {
        iVar7 = 0;
      }
      *piVar5 = *piVar5 + (int)puStack_11c;
    }
  }
LAB_0005545c:
  if (piStack_e4 == (int *)*puVar6) {
    return iVar7;
  }
  piVar14 = piStack_e4;
  (**(code **)(pcVar17 + 0x1067ec))();
  iVar3 = sqlite3_realloc(*piVar14,piVar9);
  if (iVar3 == 0) {
    *piVar12 = 7;
    return 7;
  }
  *puStack_11c = piVar9;
  *piVar14 = iVar3;
  return iVar3;
}


lui gp,0x11
addiu gp,gp,-0x186c
addu gp,gp,t9
addiu sp,sp,-0x50
sw s8,0x48(sp)
sw s7,0x44(sp)
or s7,a2,zero
sw s6,0x40(sp)
or s6,a0,zero
sw s5,0x3c(sp)
or s5,a3,zero
sw s4,0x38(sp)
sw s3,0x34(sp)
sw s2,0x30(sp)
sw s1,0x2c(sp)
sw s0,0x28(sp)
sw gp,0x10(sp)
sw ra,0x4c(sp)
lw s8,-0x7b84(gp)
lw v1,0x0(a0)
lw s4,0x60(sp)
lw s1,0x64(sp)
lw v0,0x0(s8)
lw s3,0x68(sp)
lw s2,0x6c(sp)
lw s0,0x70(sp)
sw v0,0x24(sp)
beq v1,zero,0x00054eb8
_sw v1,0x20(sp)
lw a2,0x10(v1)
beq a2,s7,0x00054fe8
_lw a3,0x14(v1)
lw v0,0x0(v1)
subu a3,s5,a3
subu a2,s7,a2
sltu a0,s5,a3
addiu v0,v0,0x1
subu a2,a2,a0
sw v0,0x0(v1)
lw t9,-0x7eb0(gp)
addiu t9,t9,0x4cbc
bal 0x00054cbc
_addiu a0,sp,0x20
lw gp,0x10(sp)
bne v0,zero,0x00054f60
_lw v1,0x20(sp)
or a1,zero,zero
sw s7,0x10(v1)
or a0,zero,zero
sw s5,0x14(v1)
sw a1,0x24(v1)
li a1,-0x1
sw a0,0x20(v1)
li a0,-0x1
sw a1,0x1c(v1)
sw a0,0x18(v1)
blez s4,0x00054fb4
_nop
lw v0,0x18(v1)
bne v0,s4,0x00054ff8
_lw t9,-0x7eb0(gp)
lw v0,0x1c(v1)
bne v0,s1,0x00054ffc
_addiu s5,sp,0x20
lw t9,-0x7eb0(gp)
addiu s5,sp,0x20
lw a1,0x20(v1)
lw a3,0x24(v1)
addiu t9,t9,0x4cbc
addiu v0,s2,0x2
or a0,s5,zero
sltu a2,v0,s2
addu a2,a2,s3
subu a3,v0,a3
subu a2,a2,a1
sltu v0,v0,a3
jalr t9
_subu a2,a2,v0
lw gp,0x10(sp)
beq v0,zero,0x00055028
_lw v1,0x20(sp)
sw v0,0x0(s0)
lw v0,0x0(s6)
beq v0,v1,0x00054f78
_or v0,zero,zero
li v0,0x1
sw v1,0x0(s6)
lw a0,0x24(sp)
lw v1,0x0(s8)
bne a0,v1,0x0005507c
_lw ra,0x4c(sp)
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
bne s4,zero,0x00054fc4
_nop
bne s1,zero,0x00054f04
_nop
or s1,s4,s1
beq s1,zero,0x00054f1c
_or v0,zero,zero
sw v0,0x0(s0)
lw v0,0x0(s6)
bne v0,v1,0x00054f70
_or v0,zero,zero
b 0x00054f78
_nop
bne a3,s5,0x00054e9c
_nop
b 0x00054efc
_nop
addiu s5,sp,0x20
li a3,0x1
or a2,zero,zero
addiu t9,t9,0x4cbc
or a0,s5,zero
bal 0x00054cbc
_sw t9,0x1c(sp)
lw gp,0x10(sp)
beq v0,zero,0x00055034
_lw t9,0x1c(sp)
b 0x00054f60
_lw v1,0x20(sp)
sw s3,0x20(v1)
b 0x00054f60
_sw s2,0x24(v1)
sw t9,0x1c(sp)
or a2,s4,zero
or a3,s1,zero
jalr t9
_or a0,s5,zero
lw gp,0x10(sp)
bne v0,zero,0x00055020
_lw t9,0x1c(sp)
lw v0,0x20(sp)
or t1,zero,zero
or t0,zero,zero
or a1,zero,zero
or a3,zero,zero
sw t1,0x24(v0)
sw t0,0x20(v0)
sw s4,0x18(v0)
b 0x00054f30
_sw s1,0x1c(v0)
lw t9,-0x7ba0(gp)
jalr t9
_nop
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n\nint FUN_00054e1c(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int **ppiVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  int *piVar9;\n  int **ppiVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  int *piVar14;\n  int iVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 *puStack_11c;\n  int aiStack_fc [2];\n  int *piStack_f4;\n  int iStack_f0;\n  int iStack_ec;\n  undefined4 uStack_e8;\n  int *piStack_e4;\n  int *piStack_e0;\n  int *piStack_dc;\n  int *piStack_d8;\n  undefined1 *puStack_d4;\n  uint uStack_cc;\n  int **ppiStack_c8;\n  undefined4 *puStack_c4;\n  undefined *puStack_c0;\n  code *pcStack_bc;\n  int *piStack_a8;\n  uint uStack_a4;\n  int iStack_a0;\n  int **ppiStack_9c;\n  int *piStack_98;\n  undefined *puStack_90;\n  int *piStack_84;\n  int iStack_80;\n  int iStack_7c;\n  int *piStack_74;\n  int **ppiStack_70;\n  int **ppiStack_6c;\n  int iStack_68;\n  uint uStack_64;\n  int **ppiStack_60;\n  undefined4 *puStack_5c;\n  uint uStack_58;\n  code *pcStack_54;\n  undefined4 *puStack_3c;\n  int *piStack_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  local_30 = (int *)*param_1;\n  local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;\n  uVar8 = param_3;\n  ppiVar10 = param_4;\n  if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  iVar3 = 1;\n  *param_1 = local_30;\nLAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }\n  pcVar17 = FUN_00055088;\n  piVar12 = local_2c;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_90 = puVar16 + 0x10e528;\n  ppiStack_6c = param_8;\n  uStack_64 = param_5;\n  iStack_68 = param_7;\n  piStack_74 = param_9;\n  piVar14 = *(int **)(puVar16 + 0x1069a4);\n  iStack_7c = *piVar14;\n  iStack_80 = 0;\n  puStack_11c = puStack_3c;\n  ppiStack_70 = param_6;\n  ppiStack_60 = param_4;\n  puStack_5c = param_1;\n  uStack_58 = param_3;\n  pcStack_54 = pcVar17;\n  iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);\n  if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }\n  piStack_98 = &iStack_80;\n  piVar11 = (int *)param_2[1];\n  iStack_a0 = (int)ppiVar10 >> 0x1f;\n  piVar9 = (int *)*param_2;\n  piStack_a8 = (int *)((int)uVar8 >> 0x1f);\n  uStack_a4 = uVar8;\n  ppiStack_9c = ppiVar10;\n  iVar3 = FUN_00054e1c(&piStack_84);\n  if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }\n  if (iStack_7c == *piVar14) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_90 + -0x7ba0);\n  pcVar18 = FUN_00055224;\n  iVar3 = iStack_7c;\n  (*pcVar17)();\n  piVar5 = piStack_a8;\n  puVar6 = *(undefined4 **)(pcVar17 + 0x106808);\n  puStack_c0 = puVar1;\n  aiStack_fc[0] = 0;\n  aiStack_fc[1] = 0;\n  piStack_f4 = (int *)0x0;\n  iStack_ec = 0;\n  piStack_e4 = (int *)*puVar6;\n  piStack_e0 = piStack_38;\n  piStack_dc = piVar12;\n  piStack_d8 = piVar14;\n  puStack_d4 = &_gp_1;\n  uStack_cc = uVar8;\n  ppiStack_c8 = ppiVar10;\n  puStack_c4 = param_2;\n  pcStack_bc = pcVar18;\n  if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }\nLAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }\n  piVar14 = piStack_e4;\n  (**(code **)(pcVar17 + 0x1067ec))();\n  iVar3 = sqlite3_realloc(*piVar14,piVar9);\n  if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }\n  *puStack_11c = piVar9;\n  *piVar14 = iVar3;\n  return iVar3;\n}\n\n" comment (function_definition "int FUN_00054e1c(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int **ppiVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  int *piVar9;\n  int **ppiVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  int *piVar14;\n  int iVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 *puStack_11c;\n  int aiStack_fc [2];\n  int *piStack_f4;\n  int iStack_f0;\n  int iStack_ec;\n  undefined4 uStack_e8;\n  int *piStack_e4;\n  int *piStack_e0;\n  int *piStack_dc;\n  int *piStack_d8;\n  undefined1 *puStack_d4;\n  uint uStack_cc;\n  int **ppiStack_c8;\n  undefined4 *puStack_c4;\n  undefined *puStack_c0;\n  code *pcStack_bc;\n  int *piStack_a8;\n  uint uStack_a4;\n  int iStack_a0;\n  int **ppiStack_9c;\n  int *piStack_98;\n  undefined *puStack_90;\n  int *piStack_84;\n  int iStack_80;\n  int iStack_7c;\n  int *piStack_74;\n  int **ppiStack_70;\n  int **ppiStack_6c;\n  int iStack_68;\n  uint uStack_64;\n  int **ppiStack_60;\n  undefined4 *puStack_5c;\n  uint uStack_58;\n  code *pcStack_54;\n  undefined4 *puStack_3c;\n  int *piStack_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  local_30 = (int *)*param_1;\n  local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;\n  uVar8 = param_3;\n  ppiVar10 = param_4;\n  if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  iVar3 = 1;\n  *param_1 = local_30;\nLAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }\n  pcVar17 = FUN_00055088;\n  piVar12 = local_2c;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_90 = puVar16 + 0x10e528;\n  ppiStack_6c = param_8;\n  uStack_64 = param_5;\n  iStack_68 = param_7;\n  piStack_74 = param_9;\n  piVar14 = *(int **)(puVar16 + 0x1069a4);\n  iStack_7c = *piVar14;\n  iStack_80 = 0;\n  puStack_11c = puStack_3c;\n  ppiStack_70 = param_6;\n  ppiStack_60 = param_4;\n  puStack_5c = param_1;\n  uStack_58 = param_3;\n  pcStack_54 = pcVar17;\n  iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);\n  if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }\n  piStack_98 = &iStack_80;\n  piVar11 = (int *)param_2[1];\n  iStack_a0 = (int)ppiVar10 >> 0x1f;\n  piVar9 = (int *)*param_2;\n  piStack_a8 = (int *)((int)uVar8 >> 0x1f);\n  uStack_a4 = uVar8;\n  ppiStack_9c = ppiVar10;\n  iVar3 = FUN_00054e1c(&piStack_84);\n  if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }\n  if (iStack_7c == *piVar14) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_90 + -0x7ba0);\n  pcVar18 = FUN_00055224;\n  iVar3 = iStack_7c;\n  (*pcVar17)();\n  piVar5 = piStack_a8;\n  puVar6 = *(undefined4 **)(pcVar17 + 0x106808);\n  puStack_c0 = puVar1;\n  aiStack_fc[0] = 0;\n  aiStack_fc[1] = 0;\n  piStack_f4 = (int *)0x0;\n  iStack_ec = 0;\n  piStack_e4 = (int *)*puVar6;\n  piStack_e0 = piStack_38;\n  piStack_dc = piVar12;\n  piStack_d8 = piVar14;\n  puStack_d4 = &_gp_1;\n  uStack_cc = uVar8;\n  ppiStack_c8 = ppiVar10;\n  puStack_c4 = param_2;\n  pcStack_bc = pcVar18;\n  if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }\nLAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }\n  piVar14 = piStack_e4;\n  (**(code **)(pcVar17 + 0x1067ec))();\n  iVar3 = sqlite3_realloc(*piVar14,piVar9);\n  if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }\n  *puStack_11c = piVar9;\n  *piVar14 = iVar3;\n  return iVar3;\n}" primitive_type (function_declarator "FUN_00054e1c(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int **param_4" primitive_type (pointer_declarator "**param_4" * (pointer_declarator "*param_4" * identifier))) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "int **param_6" primitive_type (pointer_declarator "**param_6" * (pointer_declarator "*param_6" * identifier))) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "int **param_8" primitive_type (pointer_declarator "**param_8" * (pointer_declarator "*param_8" * identifier))) , (parameter_declaration "int *param_9" primitive_type (pointer_declarator "*param_9" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int **ppiVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  int *piVar9;\n  int **ppiVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  int *piVar14;\n  int iVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 *puStack_11c;\n  int aiStack_fc [2];\n  int *piStack_f4;\n  int iStack_f0;\n  int iStack_ec;\n  undefined4 uStack_e8;\n  int *piStack_e4;\n  int *piStack_e0;\n  int *piStack_dc;\n  int *piStack_d8;\n  undefined1 *puStack_d4;\n  uint uStack_cc;\n  int **ppiStack_c8;\n  undefined4 *puStack_c4;\n  undefined *puStack_c0;\n  code *pcStack_bc;\n  int *piStack_a8;\n  uint uStack_a4;\n  int iStack_a0;\n  int **ppiStack_9c;\n  int *piStack_98;\n  undefined *puStack_90;\n  int *piStack_84;\n  int iStack_80;\n  int iStack_7c;\n  int *piStack_74;\n  int **ppiStack_70;\n  int **ppiStack_6c;\n  int iStack_68;\n  uint uStack_64;\n  int **ppiStack_60;\n  undefined4 *puStack_5c;\n  uint uStack_58;\n  code *pcStack_54;\n  undefined4 *puStack_3c;\n  int *piStack_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  local_30 = (int *)*param_1;\n  local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;\n  uVar8 = param_3;\n  ppiVar10 = param_4;\n  if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  iVar3 = 1;\n  *param_1 = local_30;\nLAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }\n  pcVar17 = FUN_00055088;\n  piVar12 = local_2c;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_90 = puVar16 + 0x10e528;\n  ppiStack_6c = param_8;\n  uStack_64 = param_5;\n  iStack_68 = param_7;\n  piStack_74 = param_9;\n  piVar14 = *(int **)(puVar16 + 0x1069a4);\n  iStack_7c = *piVar14;\n  iStack_80 = 0;\n  puStack_11c = puStack_3c;\n  ppiStack_70 = param_6;\n  ppiStack_60 = param_4;\n  puStack_5c = param_1;\n  uStack_58 = param_3;\n  pcStack_54 = pcVar17;\n  iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);\n  if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }\n  piStack_98 = &iStack_80;\n  piVar11 = (int *)param_2[1];\n  iStack_a0 = (int)ppiVar10 >> 0x1f;\n  piVar9 = (int *)*param_2;\n  piStack_a8 = (int *)((int)uVar8 >> 0x1f);\n  uStack_a4 = uVar8;\n  ppiStack_9c = ppiVar10;\n  iVar3 = FUN_00054e1c(&piStack_84);\n  if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }\n  if (iStack_7c == *piVar14) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_90 + -0x7ba0);\n  pcVar18 = FUN_00055224;\n  iVar3 = iStack_7c;\n  (*pcVar17)();\n  piVar5 = piStack_a8;\n  puVar6 = *(undefined4 **)(pcVar17 + 0x106808);\n  puStack_c0 = puVar1;\n  aiStack_fc[0] = 0;\n  aiStack_fc[1] = 0;\n  piStack_f4 = (int *)0x0;\n  iStack_ec = 0;\n  piStack_e4 = (int *)*puVar6;\n  piStack_e0 = piStack_38;\n  piStack_dc = piVar12;\n  piStack_d8 = piVar14;\n  puStack_d4 = &_gp_1;\n  uStack_cc = uVar8;\n  ppiStack_c8 = ppiVar10;\n  puStack_c4 = param_2;\n  pcStack_bc = pcVar18;\n  if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }\nLAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }\n  piVar14 = piStack_e4;\n  (**(code **)(pcVar17 + 0x1067ec))();\n  iVar3 = sqlite3_realloc(*piVar14,piVar9);\n  if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }\n  *puStack_11c = piVar9;\n  *piVar14 = iVar3;\n  return iVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int **ppiVar4;" primitive_type (pointer_declarator "**ppiVar4" * (pointer_declarator "*ppiVar4" * identifier)) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int **ppiVar10;" primitive_type (pointer_declarator "**ppiVar10" * (pointer_declarator "*ppiVar10" * identifier)) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "code *pcVar18;" type_identifier (pointer_declarator "*pcVar18" * identifier) ;) (declaration "undefined4 *puStack_11c;" type_identifier (pointer_declarator "*puStack_11c" * identifier) ;) (declaration "int aiStack_fc [2];" primitive_type (array_declarator "aiStack_fc [2]" identifier [ number_literal ]) ;) (declaration "int *piStack_f4;" primitive_type (pointer_declarator "*piStack_f4" * identifier) ;) (declaration "int iStack_f0;" primitive_type identifier ;) (declaration "int iStack_ec;" primitive_type identifier ;) (declaration "undefined4 uStack_e8;" type_identifier identifier ;) (declaration "int *piStack_e4;" primitive_type (pointer_declarator "*piStack_e4" * identifier) ;) (declaration "int *piStack_e0;" primitive_type (pointer_declarator "*piStack_e0" * identifier) ;) (declaration "int *piStack_dc;" primitive_type (pointer_declarator "*piStack_dc" * identifier) ;) (declaration "int *piStack_d8;" primitive_type (pointer_declarator "*piStack_d8" * identifier) ;) (declaration "undefined1 *puStack_d4;" type_identifier (pointer_declarator "*puStack_d4" * identifier) ;) (declaration "uint uStack_cc;" type_identifier identifier ;) (declaration "int **ppiStack_c8;" primitive_type (pointer_declarator "**ppiStack_c8" * (pointer_declarator "*ppiStack_c8" * identifier)) ;) (declaration "undefined4 *puStack_c4;" type_identifier (pointer_declarator "*puStack_c4" * identifier) ;) (declaration "undefined *puStack_c0;" type_identifier (pointer_declarator "*puStack_c0" * identifier) ;) (declaration "code *pcStack_bc;" type_identifier (pointer_declarator "*pcStack_bc" * identifier) ;) (declaration "int *piStack_a8;" primitive_type (pointer_declarator "*piStack_a8" * identifier) ;) (declaration "uint uStack_a4;" type_identifier identifier ;) (declaration "int iStack_a0;" primitive_type identifier ;) (declaration "int **ppiStack_9c;" primitive_type (pointer_declarator "**ppiStack_9c" * (pointer_declarator "*ppiStack_9c" * identifier)) ;) (declaration "int *piStack_98;" primitive_type (pointer_declarator "*piStack_98" * identifier) ;) (declaration "undefined *puStack_90;" type_identifier (pointer_declarator "*puStack_90" * identifier) ;) (declaration "int *piStack_84;" primitive_type (pointer_declarator "*piStack_84" * identifier) ;) (declaration "int iStack_80;" primitive_type identifier ;) (declaration "int iStack_7c;" primitive_type identifier ;) (declaration "int *piStack_74;" primitive_type (pointer_declarator "*piStack_74" * identifier) ;) (declaration "int **ppiStack_70;" primitive_type (pointer_declarator "**ppiStack_70" * (pointer_declarator "*ppiStack_70" * identifier)) ;) (declaration "int **ppiStack_6c;" primitive_type (pointer_declarator "**ppiStack_6c" * (pointer_declarator "*ppiStack_6c" * identifier)) ;) (declaration "int iStack_68;" primitive_type identifier ;) (declaration "uint uStack_64;" type_identifier identifier ;) (declaration "int **ppiStack_60;" primitive_type (pointer_declarator "**ppiStack_60" * (pointer_declarator "*ppiStack_60" * identifier)) ;) (declaration "undefined4 *puStack_5c;" type_identifier (pointer_declarator "*puStack_5c" * identifier) ;) (declaration "uint uStack_58;" type_identifier identifier ;) (declaration "code *pcStack_54;" type_identifier (pointer_declarator "*pcStack_54" * identifier) ;) (declaration "undefined4 *puStack_3c;" type_identifier (pointer_declarator "*puStack_3c" * identifier) ;) (declaration "int *piStack_38;" primitive_type (pointer_declarator "*piStack_38" * identifier) ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "local_30 = (int *)*param_1;" (assignment_expression "local_30 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(int **)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar8 = param_3;" (assignment_expression "uVar8 = param_3" identifier = identifier) ;) (expression_statement "ppiVar10 = param_4;" (assignment_expression "ppiVar10 = param_4" identifier = identifier) ;) (if_statement "if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" if (parenthesized_expression "(local_30 == (int *)0x0)" ( (binary_expression "local_30 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" { (labeled_statement "LAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);" statement_identifier : (expression_statement "iVar3 = FUN_00054cbc(&local_30);" (assignment_expression "iVar3 = FUN_00054cbc(&local_30)" identifier = (call_expression "FUN_00054cbc(&local_30)" identifier (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) )))) ;)) (if_statement "if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }" { (expression_statement "local_30[4] = param_3;" (assignment_expression "local_30[4] = param_3" (subscript_expression "local_30[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[5] = (int)param_4;" (assignment_expression "local_30[5] = (int)param_4" (subscript_expression "local_30[5]" identifier [ number_literal ]) = (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_30[9] = 0;" (assignment_expression "local_30[9] = 0" (subscript_expression "local_30[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2 = (undefined4 *)0xffffffff;" (assignment_expression "param_2 = (undefined4 *)0xffffffff" identifier = (cast_expression "(undefined4 *)0xffffffff" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_30[8] = 0;" (assignment_expression "local_30[8] = 0" (subscript_expression "local_30[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[7] = -1;" (assignment_expression "local_30[7] = -1" (subscript_expression "local_30[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[6] = -1;" (assignment_expression "local_30[6] = -1" (subscript_expression "local_30[6]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_00054efc;" goto statement_identifier ;) })) (labeled_statement "LAB_00054f60:\n    *param_9 = iVar3;" statement_identifier : (expression_statement "*param_9 = iVar3;" (assignment_expression "*param_9 = iVar3" (pointer_expression "*param_9" * identifier) = identifier) ;)) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if ((int *)*param_1 == local_30) goto LAB_00054f78;" if (parenthesized_expression "((int *)*param_1 == local_30)" ( (binary_expression "(int *)*param_1 == local_30" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) == identifier) )) (goto_statement "goto LAB_00054f78;" goto statement_identifier ;)) }) (else_clause "else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" else (compound_statement "{\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" { (expression_statement "uVar8 = local_30[4];" (assignment_expression "uVar8 = local_30[4]" identifier = (subscript_expression "local_30[4]" identifier [ number_literal ])) ;) (expression_statement "ppiVar10 = (int **)local_30[5];" (assignment_expression "ppiVar10 = (int **)local_30[5]" identifier = (cast_expression "(int **)local_30[5]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "local_30[5]" identifier [ number_literal ]))) ;) (if_statement "if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }" if (parenthesized_expression "((uVar8 != param_3) || (ppiVar10 != param_4))" ( (binary_expression "(uVar8 != param_3) || (ppiVar10 != param_4)" (parenthesized_expression "(uVar8 != param_3)" ( (binary_expression "uVar8 != param_3" identifier != identifier) )) || (parenthesized_expression "(ppiVar10 != param_4)" ( (binary_expression "ppiVar10 != param_4" identifier != identifier) ))) )) (compound_statement "{\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }" { (expression_statement "ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);" (assignment_expression "ppiVar10 = (int **)((int)param_4 - (int)ppiVar10)" identifier = (cast_expression "(int **)((int)param_4 - (int)ppiVar10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_4 - (int)ppiVar10)" ( (binary_expression "(int)param_4 - (int)ppiVar10" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)ppiVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);" (assignment_expression "uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10)" identifier = (binary_expression "(param_3 - uVar8) - (uint)(param_4 < ppiVar10)" (parenthesized_expression "(param_3 - uVar8)" ( (binary_expression "param_3 - uVar8" identifier - identifier) )) - (call_expression "(uint)(param_4 < ppiVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 < ppiVar10)" ( (binary_expression "param_4 < ppiVar10" identifier < identifier) ))))) ;) (expression_statement "*local_30 = *local_30 + 1;" (assignment_expression "*local_30 = *local_30 + 1" (pointer_expression "*local_30" * identifier) = (binary_expression "*local_30 + 1" (pointer_expression "*local_30" * identifier) + number_literal)) ;) (goto_statement "goto LAB_00054eb8;" goto statement_identifier ;) })) (labeled_statement "LAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;" statement_identifier : (expression_statement "puVar16 = PTR_LAB_0015b700;" (assignment_expression "puVar16 = PTR_LAB_0015b700" identifier = identifier) ;)) (if_statement "if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }" if (parenthesized_expression "((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0))))" ( (binary_expression "(0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))" (parenthesized_expression "(0 < (int)param_5)" ( (binary_expression "0 < (int)param_5" number_literal < (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) )) || (parenthesized_expression "((param_5 == 0 && (param_6 != (int **)0x0)))" ( (parenthesized_expression "(param_5 == 0 && (param_6 != (int **)0x0))" ( (binary_expression "param_5 == 0 && (param_6 != (int **)0x0)" (binary_expression "param_5 == 0" identifier == number_literal) && (parenthesized_expression "(param_6 != (int **)0x0)" ( (binary_expression "param_6 != (int **)0x0" identifier != (cast_expression "(int **)0x0" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ))) )) ))) )) (compound_statement "{\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }" { (if_statement "if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;" if (parenthesized_expression "((local_30[6] == param_5) && ((int **)local_30[7] == param_6))" ( (binary_expression "(local_30[6] == param_5) && ((int **)local_30[7] == param_6)" (parenthesized_expression "(local_30[6] == param_5)" ( (binary_expression "local_30[6] == param_5" (subscript_expression "local_30[6]" identifier [ number_literal ]) == identifier) )) && (parenthesized_expression "((int **)local_30[7] == param_6)" ( (binary_expression "(int **)local_30[7] == param_6" (cast_expression "(int **)local_30[7]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "local_30[7]" identifier [ number_literal ])) == identifier) ))) )) (goto_statement "goto LAB_00054f1c;" goto statement_identifier ;)) (expression_statement "param_4 = &local_30;" (assignment_expression "param_4 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;) (expression_statement "ppiVar10 = (int **)0x1;" (assignment_expression "ppiVar10 = (int **)0x1" identifier = (cast_expression "(int **)0x1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc)" identifier = (cast_expression "(code *)(PTR_LAB_0015b700 + 0x4cbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b700 + 0x4cbc)" ( (binary_expression "PTR_LAB_0015b700 + 0x4cbc" identifier + number_literal) )))) ;) (expression_statement "iVar3 = FUN_00054cbc(param_4);" (assignment_expression "iVar3 = FUN_00054cbc(param_4)" identifier = (call_expression "FUN_00054cbc(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;" if (parenthesized_expression "((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))" ( (binary_expression "(iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0)" ( (comma_expression "uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0" (assignment_expression "uVar8 = param_5" identifier = identifier) , (comma_expression "ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0" (assignment_expression "ppiVar10 = param_6" identifier = identifier) , (comma_expression "iVar3 = (*pcVar17)(param_4), iVar3 != 0" (assignment_expression "iVar3 = (*pcVar17)(param_4)" identifier = (call_expression "(*pcVar17)(param_4)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(param_4)" ( identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)))) ))) )) (goto_statement "goto LAB_00054f60;" goto statement_identifier ;)) (expression_statement "param_2 = (undefined4 *)0x0;" (assignment_expression "param_2 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "local_30[9] = 0;" (assignment_expression "local_30[9] = 0" (subscript_expression "local_30[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[8] = 0;" (assignment_expression "local_30[8] = 0" (subscript_expression "local_30[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[6] = param_5;" (assignment_expression "local_30[6] = param_5" (subscript_expression "local_30[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[7] = (int)param_6;" (assignment_expression "local_30[7] = (int)param_6" (subscript_expression "local_30[7]" identifier [ number_literal ]) = (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_00054f30:\n      param_4 = &local_30;" statement_identifier : (expression_statement "param_4 = &local_30;" (assignment_expression "param_4 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;)) (expression_statement "ppiVar4 = (int **)((int)param_8 + 2);" (assignment_expression "ppiVar4 = (int **)((int)param_8 + 2)" identifier = (cast_expression "(int **)((int)param_8 + 2)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_8 + 2)" ( (binary_expression "(int)param_8 + 2" (cast_expression "(int)param_8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "ppiVar10 = (int **)((int)ppiVar4 - iVar3);" (assignment_expression "ppiVar10 = (int **)((int)ppiVar4 - iVar3)" identifier = (cast_expression "(int **)((int)ppiVar4 - iVar3)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppiVar4 - iVar3)" ( (binary_expression "(int)ppiVar4 - iVar3" (cast_expression "(int)ppiVar4" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (expression_statement "uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);" (assignment_expression "uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10)" identifier = (binary_expression "(((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10)" (parenthesized_expression "(((uint)(ppiVar4 < param_8) + param_7) - (int)param_2)" ( (binary_expression "((uint)(ppiVar4 < param_8) + param_7) - (int)param_2" (parenthesized_expression "((uint)(ppiVar4 < param_8) + param_7)" ( (binary_expression "(uint)(ppiVar4 < param_8) + param_7" (call_expression "(uint)(ppiVar4 < param_8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ppiVar4 < param_8)" ( (binary_expression "ppiVar4 < param_8" identifier < identifier) ))) + identifier) )) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) - (call_expression "(uint)(ppiVar4 < ppiVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ppiVar4 < ppiVar10)" ( (binary_expression "ppiVar4 < ppiVar10" identifier < identifier) ))))) ;) (expression_statement "iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);" (assignment_expression "iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4)" identifier = (call_expression "(*(code *)(puVar16 + 0x4cbc))(param_4)" (parenthesized_expression "(*(code *)(puVar16 + 0x4cbc))" ( (pointer_expression "*(code *)(puVar16 + 0x4cbc)" * (cast_expression "(code *)(puVar16 + 0x4cbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x4cbc)" ( (binary_expression "puVar16 + 0x4cbc" identifier + number_literal) )))) )) (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }" { (expression_statement "local_30[8] = param_7;" (assignment_expression "local_30[8] = param_7" (subscript_expression "local_30[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[9] = (int)param_8;" (assignment_expression "local_30[9] = (int)param_8" (subscript_expression "local_30[9]" identifier [ number_literal ]) = (cast_expression "(int)param_8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (goto_statement "goto LAB_00054f60;" goto statement_identifier ;) })) (expression_statement "param_6 = (int **)(param_5 | (uint)param_6);" (assignment_expression "param_6 = (int **)(param_5 | (uint)param_6)" identifier = (cast_expression "(int **)(param_5 | (uint)param_6)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_5 | (uint)param_6)" ( (binary_expression "param_5 | (uint)param_6" identifier | (cast_expression "(uint)param_6" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }" if (parenthesized_expression "(param_6 == (int **)0x0)" ( (binary_expression "param_6 == (int **)0x0" identifier == (cast_expression "(int **)0x0" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }" { (labeled_statement "LAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];" statement_identifier : (expression_statement "param_2 = (undefined4 *)local_30[8];" (assignment_expression "param_2 = (undefined4 *)local_30[8]" identifier = (cast_expression "(undefined4 *)local_30[8]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_30[8]" identifier [ number_literal ]))) ;)) (expression_statement "iVar3 = local_30[9];" (assignment_expression "iVar3 = local_30[9]" identifier = (subscript_expression "local_30[9]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_00054f30;" goto statement_identifier ;) })) (expression_statement "*param_9 = 0;" (assignment_expression "*param_9 = 0" (pointer_expression "*param_9" * identifier) = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if ((int *)*param_1 == local_30) goto LAB_00054f78;" if (parenthesized_expression "((int *)*param_1 == local_30)" ( (binary_expression "(int *)*param_1 == local_30" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) == identifier) )) (goto_statement "goto LAB_00054f78;" goto statement_identifier ;)) }))) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "*param_1 = local_30;" (assignment_expression "*param_1 = local_30" (pointer_expression "*param_1" * identifier) = identifier) ;) (labeled_statement "LAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }" statement_identifier : (if_statement "if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_2c == *(int **)puVar1)" ( (binary_expression "local_2c == *(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 iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) }))) (expression_statement "pcVar17 = FUN_00055088;" (assignment_expression "pcVar17 = FUN_00055088" identifier = identifier) ;) (expression_statement "piVar12 = local_2c;" (assignment_expression "piVar12 = local_2c" identifier = identifier) ;) (expression_statement "puVar16 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar16 = PTR___stack_chk_fail_0015ba10" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_90 = puVar16 + 0x10e528;" (assignment_expression "puStack_90 = puVar16 + 0x10e528" identifier = (binary_expression "puVar16 + 0x10e528" identifier + number_literal)) ;) (expression_statement "ppiStack_6c = param_8;" (assignment_expression "ppiStack_6c = param_8" identifier = identifier) ;) (expression_statement "uStack_64 = param_5;" (assignment_expression "uStack_64 = param_5" identifier = identifier) ;) (expression_statement "iStack_68 = param_7;" (assignment_expression "iStack_68 = param_7" identifier = identifier) ;) (expression_statement "piStack_74 = param_9;" (assignment_expression "piStack_74 = param_9" identifier = identifier) ;) (expression_statement "piVar14 = *(int **)(puVar16 + 0x1069a4);" (assignment_expression "piVar14 = *(int **)(puVar16 + 0x1069a4)" identifier = (pointer_expression "*(int **)(puVar16 + 0x1069a4)" * (cast_expression "(int **)(puVar16 + 0x1069a4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x1069a4)" ( (binary_expression "puVar16 + 0x1069a4" identifier + number_literal) ))))) ;) (expression_statement "iStack_7c = *piVar14;" (assignment_expression "iStack_7c = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (expression_statement "iStack_80 = 0;" (assignment_expression "iStack_80 = 0" identifier = number_literal) ;) (expression_statement "puStack_11c = puStack_3c;" (assignment_expression "puStack_11c = puStack_3c" identifier = identifier) ;) (expression_statement "ppiStack_70 = param_6;" (assignment_expression "ppiStack_70 = param_6" identifier = identifier) ;) (expression_statement "ppiStack_60 = param_4;" (assignment_expression "ppiStack_60 = param_4" identifier = identifier) ;) (expression_statement "puStack_5c = param_1;" (assignment_expression "puStack_5c = param_1" identifier = identifier) ;) (expression_statement "uStack_58 = param_3;" (assignment_expression "uStack_58 = param_3" identifier = identifier) ;) (expression_statement "pcStack_54 = pcVar17;" (assignment_expression "pcStack_54 = pcVar17" identifier = identifier) ;) (expression_statement "iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);" (assignment_expression "iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38)" identifier = (call_expression "FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38)" identifier (argument_list "(&_gp_1,puStack_3c,piStack_38)" ( (pointer_expression "&_gp_1" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    piStack_84 = (int *)0x0;\n  }" { (expression_statement "piStack_84 = (int *)0x0;" (assignment_expression "piStack_84 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }" else (compound_statement "{\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }" { (expression_statement "piStack_84 = *(int **)(iVar3 + 8);" (assignment_expression "piStack_84 = *(int **)(iVar3 + 8)" identifier = (pointer_expression "*(int **)(iVar3 + 8)" * (cast_expression "(int **)(iVar3 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (if_statement "if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }" if (parenthesized_expression "(piStack_84 != (int *)0x0)" ( (binary_expression "piStack_84 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }" { (expression_statement "*piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);" (assignment_expression "*piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84)" (pointer_expression "*piVar12" * identifier) = (binary_expression "(*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84)" (parenthesized_expression "(*piVar12 + -0x14)" ( (binary_expression "*piVar12 + -0x14" (pointer_expression "*piVar12" * identifier) + number_literal) )) - (parenthesized_expression "((int)piStack_38 + *piStack_84)" ( (binary_expression "(int)piStack_38 + *piStack_84" (cast_expression "(int)piStack_38" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*piStack_84" * identifier)) )))) ;) })) }))) (expression_statement "piStack_98 = &iStack_80;" (assignment_expression "piStack_98 = &iStack_80" identifier = (pointer_expression "&iStack_80" & identifier)) ;) (expression_statement "piVar11 = (int *)param_2[1];" (assignment_expression "piVar11 = (int *)param_2[1]" identifier = (cast_expression "(int *)param_2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (expression_statement "iStack_a0 = (int)ppiVar10 >> 0x1f;" (assignment_expression "iStack_a0 = (int)ppiVar10 >> 0x1f" identifier = (binary_expression "(int)ppiVar10 >> 0x1f" (cast_expression "(int)ppiVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "piVar9 = (int *)*param_2;" (assignment_expression "piVar9 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "piStack_a8 = (int *)((int)uVar8 >> 0x1f);" (assignment_expression "piStack_a8 = (int *)((int)uVar8 >> 0x1f)" identifier = (cast_expression "(int *)((int)uVar8 >> 0x1f)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)uVar8 >> 0x1f)" ( (binary_expression "(int)uVar8 >> 0x1f" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "uStack_a4 = uVar8;" (assignment_expression "uStack_a4 = uVar8" identifier = identifier) ;) (expression_statement "ppiStack_9c = ppiVar10;" (assignment_expression "ppiStack_9c = ppiVar10" identifier = identifier) ;) (expression_statement "iVar3 = FUN_00054e1c(&piStack_84);" (assignment_expression "iVar3 = FUN_00054e1c(&piStack_84)" identifier = (call_expression "FUN_00054e1c(&piStack_84)" identifier (argument_list "(&piStack_84)" ( (pointer_expression "&piStack_84" & identifier) )))) ;) (if_statement "if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }" if (parenthesized_expression "((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84))" ( (binary_expression "(iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)" ( (comma_expression "piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "piVar9 = piStack_38" identifier = identifier) , (comma_expression "piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "piVar11 = piStack_84" identifier = identifier) , (comma_expression "piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "piVar5 = (int *)FUN_000543f8(&_gp_1)" identifier = (cast_expression "(int *)FUN_000543f8(&_gp_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000543f8(&_gp_1)" identifier (argument_list "(&_gp_1)" ( (pointer_expression "&_gp_1" & identifier) ))))) , (comma_expression "puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "puStack_11c = puStack_3c" identifier = identifier) , (binary_expression "piVar5 != piStack_84" identifier != identifier))))) ))) )) (compound_statement "{\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }" { (expression_statement "iVar3 = iStack_80;" (assignment_expression "iVar3 = iStack_80" identifier = identifier) ;) (if_statement "if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }" if (parenthesized_expression "(iStack_80 == 0)" ( (binary_expression "iStack_80 == 0" identifier == number_literal) )) (compound_statement "{\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }" { (expression_statement "piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);" (assignment_expression "piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84)" identifier = (cast_expression "(int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piStack_38 + *piVar12 + 0x14 + *piStack_84)" ( (binary_expression "(int)piStack_38 + *piVar12 + 0x14 + *piStack_84" (binary_expression "(int)piStack_38 + *piVar12 + 0x14" (binary_expression "(int)piStack_38 + *piVar12" (cast_expression "(int)piStack_38" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*piVar12" * identifier)) + number_literal) + (pointer_expression "*piStack_84" * identifier)) )))) ;) (expression_statement "*piVar12 = (int)piStack_38;" (assignment_expression "*piVar12 = (int)piStack_38" (pointer_expression "*piVar12" * identifier) = (cast_expression "(int)piStack_38" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) }) (else_clause "else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }" else (compound_statement "{\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }" { (expression_statement "(**(code **)(puStack_90 + -0x7f90))(piVar5);" (call_expression "(**(code **)(puStack_90 + -0x7f90))(piVar5)" (parenthesized_expression "(**(code **)(puStack_90 + -0x7f90))" ( (pointer_expression "**(code **)(puStack_90 + -0x7f90)" * (pointer_expression "*(code **)(puStack_90 + -0x7f90)" * (cast_expression "(code **)(puStack_90 + -0x7f90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_90 + -0x7f90)" ( (binary_expression "puStack_90 + -0x7f90" identifier + number_literal) ))))) )) (argument_list "(piVar5)" ( identifier ))) ;) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) (expression_statement "puStack_11c = puStack_3c;" (assignment_expression "puStack_11c = puStack_3c" identifier = identifier) ;) }))) (if_statement "if (iStack_7c == *piVar14) {\n    return iVar3;\n  }" if (parenthesized_expression "(iStack_7c == *piVar14)" ( (binary_expression "iStack_7c == *piVar14" identifier == (pointer_expression "*piVar14" * identifier)) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "pcVar17 = *(code **)(puStack_90 + -0x7ba0);" (assignment_expression "pcVar17 = *(code **)(puStack_90 + -0x7ba0)" identifier = (pointer_expression "*(code **)(puStack_90 + -0x7ba0)" * (cast_expression "(code **)(puStack_90 + -0x7ba0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_90 + -0x7ba0)" ( (binary_expression "puStack_90 + -0x7ba0" identifier + number_literal) ))))) ;) (expression_statement "pcVar18 = FUN_00055224;" (assignment_expression "pcVar18 = FUN_00055224" identifier = identifier) ;) (expression_statement "iVar3 = iStack_7c;" (assignment_expression "iVar3 = iStack_7c" identifier = identifier) ;) (expression_statement "(*pcVar17)();" (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar5 = piStack_a8;" (assignment_expression "piVar5 = piStack_a8" identifier = identifier) ;) (expression_statement "puVar6 = *(undefined4 **)(pcVar17 + 0x106808);" (assignment_expression "puVar6 = *(undefined4 **)(pcVar17 + 0x106808)" identifier = (pointer_expression "*(undefined4 **)(pcVar17 + 0x106808)" * (cast_expression "(undefined4 **)(pcVar17 + 0x106808)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x106808)" ( (binary_expression "pcVar17 + 0x106808" identifier + number_literal) ))))) ;) (expression_statement "puStack_c0 = puVar1;" (assignment_expression "puStack_c0 = puVar1" identifier = identifier) ;) (expression_statement "aiStack_fc[0] = 0;" (assignment_expression "aiStack_fc[0] = 0" (subscript_expression "aiStack_fc[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_fc[1] = 0;" (assignment_expression "aiStack_fc[1] = 0" (subscript_expression "aiStack_fc[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piStack_f4 = (int *)0x0;" (assignment_expression "piStack_f4 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_ec = 0;" (assignment_expression "iStack_ec = 0" identifier = number_literal) ;) (expression_statement "piStack_e4 = (int *)*puVar6;" (assignment_expression "piStack_e4 = (int *)*puVar6" identifier = (cast_expression "(int *)*puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) (expression_statement "piStack_e0 = piStack_38;" (assignment_expression "piStack_e0 = piStack_38" identifier = identifier) ;) (expression_statement "piStack_dc = piVar12;" (assignment_expression "piStack_dc = piVar12" identifier = identifier) ;) (expression_statement "piStack_d8 = piVar14;" (assignment_expression "piStack_d8 = piVar14" identifier = identifier) ;) (expression_statement "puStack_d4 = &_gp_1;" (assignment_expression "puStack_d4 = &_gp_1" identifier = (pointer_expression "&_gp_1" & identifier)) ;) (expression_statement "uStack_cc = uVar8;" (assignment_expression "uStack_cc = uVar8" identifier = identifier) ;) (expression_statement "ppiStack_c8 = ppiVar10;" (assignment_expression "ppiStack_c8 = ppiVar10" identifier = identifier) ;) (expression_statement "puStack_c4 = param_2;" (assignment_expression "puStack_c4 = param_2" identifier = identifier) ;) (expression_statement "pcStack_bc = pcVar18;" (assignment_expression "pcStack_bc = pcVar18" identifier = identifier) ;) (if_statement "if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }" if (parenthesized_expression "(piVar9 == (int *)0x0)" ( (binary_expression "piVar9 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }" { (expression_statement "*piStack_a8 = 0;" (assignment_expression "*piStack_a8 = 0" (pointer_expression "*piStack_a8" * identifier) = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "piVar12 = piVar11;" (assignment_expression "piVar12 = piVar11" identifier = identifier) ;) }) (else_clause "else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }" else (compound_statement "{\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }" { (expression_statement "piVar12 = (int *)0xffffffff;" (assignment_expression "piVar12 = (int *)0xffffffff" identifier = (cast_expression "(int *)0xffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar13 = **(int **)(iVar3 + 0x24);" (assignment_expression "iVar13 = **(int **)(iVar3 + 0x24)" identifier = (pointer_expression "**(int **)(iVar3 + 0x24)" * (pointer_expression "*(int **)(iVar3 + 0x24)" * (cast_expression "(int **)(iVar3 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))))) ;) (expression_statement "iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));" (assignment_expression "iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24))" identifier = (call_expression "(*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24))" (parenthesized_expression "(*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))" ( (pointer_expression "*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0)" * (cast_expression "(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar17 + 0x106438) + 0x23b0)" ( (binary_expression "*(int *)(pcVar17 + 0x106438) + 0x23b0" (pointer_expression "*(int *)(pcVar17 + 0x106438)" * (cast_expression "(int *)(pcVar17 + 0x106438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x106438)" ( (binary_expression "pcVar17 + 0x106438" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(*(int **)(iVar3 + 0x24))" ( (pointer_expression "*(int **)(iVar3 + 0x24)" * (cast_expression "(int **)(iVar3 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }" { (expression_statement "pcVar18 = *(code **)(iVar13 + 0x14);" (assignment_expression "pcVar18 = *(code **)(iVar13 + 0x14)" identifier = (pointer_expression "*(code **)(iVar13 + 0x14)" * (cast_expression "(code **)(iVar13 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x14)" ( (binary_expression "iVar13 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "puStack_11c = (undefined4 *)0x0;" (assignment_expression "puStack_11c = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000552fc:\n      piVar9 = &iStack_ec;" statement_identifier : (expression_statement "piVar9 = &iStack_ec;" (assignment_expression "piVar9 = &iStack_ec" identifier = (pointer_expression "&iStack_ec" & identifier)) ;)) (expression_statement "piVar12 = aiStack_fc;" (assignment_expression "piVar12 = aiStack_fc" identifier = identifier) ;) (expression_statement "iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);" (assignment_expression "iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4)" identifier = (call_expression "(*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4)" (parenthesized_expression "(*pcVar18)" ( (pointer_expression "*pcVar18" * identifier) )) (argument_list "(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4)" ( identifier , (pointer_expression "&iStack_f0" & identifier) , (pointer_expression "&iStack_ec" & identifier) , identifier , (binary_expression "aiStack_fc + 1" identifier + number_literal) , (pointer_expression "&piStack_f4" & identifier) )))) ;) (if_statement "if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = (undefined4 *)((int)piStack_f4 + 1);" (assignment_expression "puVar2 = (undefined4 *)((int)piStack_f4 + 1)" identifier = (cast_expression "(undefined4 *)((int)piStack_f4 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piStack_f4 + 1)" ( (binary_expression "(int)piStack_f4 + 1" (cast_expression "(int)piStack_f4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "piVar12 = piStack_f4;" (assignment_expression "piVar12 = piStack_f4" identifier = identifier) ;) (if_statement "if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }" if (parenthesized_expression "(((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1))" ( (binary_expression "((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)" (parenthesized_expression "((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0))" ( (binary_expression "(((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)" (parenthesized_expression "(((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))" ( (binary_expression "((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0)" (parenthesized_expression "((int)piStack_f4 < (int)puStack_11c)" ( (binary_expression "(int)piStack_f4 < (int)puStack_11c" (cast_expression "(int)piStack_f4" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)puStack_11c" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(puVar2 = puStack_11c, (int)piStack_f4 < 0)" ( (comma_expression "puVar2 = puStack_11c, (int)piStack_f4 < 0" (assignment_expression "puVar2 = puStack_11c" identifier = identifier) , (binary_expression "(int)piStack_f4 < 0" (cast_expression "(int)piStack_f4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) || (parenthesized_expression "(puStack_11c = puVar2, iStack_f0 == 0)" ( (comma_expression "puStack_11c = puVar2, iStack_f0 == 0" (assignment_expression "puStack_11c = puVar2" identifier = identifier) , (binary_expression "iStack_f0 == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "(iVar7 = iVar3 + 0x110, iStack_ec < 1)" ( (comma_expression "iVar7 = iVar3 + 0x110, iStack_ec < 1" (assignment_expression "iVar7 = iVar3 + 0x110" identifier = (binary_expression "iVar3 + 0x110" identifier + number_literal)) , (binary_expression "iStack_ec < 1" identifier < number_literal)) ))) )) (compound_statement "{\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }" { (expression_statement "(**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);" (call_expression "(**(code **)(iVar13 + 0x10))(uStack_e8,iVar7)" (parenthesized_expression "(**(code **)(iVar13 + 0x10))" ( (pointer_expression "**(code **)(iVar13 + 0x10)" * (pointer_expression "*(code **)(iVar13 + 0x10)" * (cast_expression "(code **)(iVar13 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x10)" ( (binary_expression "iVar13 + 0x10" identifier + number_literal) ))))) )) (argument_list "(uStack_e8,iVar7)" ( identifier , identifier ))) ;) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (expression_statement "*piVar5 = *piVar5 + (int)puStack_11c;" (assignment_expression "*piVar5 = *piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" * identifier) = (binary_expression "*piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" * identifier) + (cast_expression "(int)puStack_11c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_0005545c;" goto statement_identifier ;) })) (expression_statement "piVar9 = piVar11;" (assignment_expression "piVar9 = piVar11" identifier = identifier) ;) (expression_statement "iVar7 = FUN_00055088(iVar3 + 0x108);" (assignment_expression "iVar7 = FUN_00055088(iVar3 + 0x108)" identifier = (call_expression "FUN_00055088(iVar3 + 0x108)" identifier (argument_list "(iVar3 + 0x108)" ( (binary_expression "iVar3 + 0x108" identifier + number_literal) )))) ;) (if_statement "if (iVar7 != 0) goto LAB_0005541c;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0005541c;" goto statement_identifier ;)) (expression_statement "iVar15 = 1;" (assignment_expression "iVar15 = 1" identifier = number_literal) ;) (while_statement "while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }" while (parenthesized_expression "(iVar15 < *(int *)(iVar3 + 0xfc))" ( (binary_expression "iVar15 < *(int *)(iVar3 + 0xfc)" identifier < (pointer_expression "*(int *)(iVar3 + 0xfc)" * (cast_expression "(int *)(iVar3 + 0xfc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xfc)" ( (binary_expression "iVar3 + 0xfc" identifier + number_literal) ))))) )) (compound_statement "{\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }" { (expression_statement "piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);" (assignment_expression "piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18)" identifier = (cast_expression "(int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x100) + iVar15 * 0x18)" ( (binary_expression "*(int *)(iVar3 + 0x100) + iVar15 * 0x18" (pointer_expression "*(int *)(iVar3 + 0x100)" * (cast_expression "(int *)(iVar3 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x100)" ( (binary_expression "iVar3 + 0x100" identifier + number_literal) )))) + (binary_expression "iVar15 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "iVar7 = *piVar14;" (assignment_expression "iVar7 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (if_statement "if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }" if (parenthesized_expression "(iStack_ec < iVar7)" ( (binary_expression "iStack_ec < iVar7" identifier < identifier) )) (compound_statement "{\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }" { (expression_statement "piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);" (assignment_expression "piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18)" identifier = (cast_expression "(int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18)" ( (binary_expression "*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18" (binary_expression "*(int *)(iVar3 + 0x100) + iVar15 * 0x18" (pointer_expression "*(int *)(iVar3 + 0x100)" * (cast_expression "(int *)(iVar3 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x100)" ( (binary_expression "iVar3 + 0x100" identifier + number_literal) )))) + (binary_expression "iVar15 * 0x18" identifier * number_literal)) + number_literal) )))) ;) (do_statement "do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);" do (compound_statement "{\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            }" { (expression_statement "piVar14 = piVar12;" (assignment_expression "piVar14 = piVar12" identifier = identifier) ;) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (if_statement "if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;" if (parenthesized_expression "(iVar15 == *(int *)(iVar3 + 0xfc))" ( (binary_expression "iVar15 == *(int *)(iVar3 + 0xfc)" identifier == (pointer_expression "*(int *)(iVar3 + 0xfc)" * (cast_expression "(int *)(iVar3 + 0xfc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xfc)" ( (binary_expression "iVar3 + 0xfc" identifier + number_literal) ))))) )) (goto_statement "goto LAB_000552fc;" goto statement_identifier ;)) (expression_statement "iVar7 = *piVar14;" (assignment_expression "iVar7 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (expression_statement "piVar12 = piVar14 + 6;" (assignment_expression "piVar12 = piVar14 + 6" identifier = (binary_expression "piVar14 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(iStack_ec < iVar7)" ( (binary_expression "iStack_ec < iVar7" identifier < identifier) )) ;) })) (expression_statement "piVar9 = piVar11;" (assignment_expression "piVar9 = piVar11" identifier = identifier) ;) (expression_statement "piVar12 = piStack_f4;" (assignment_expression "piVar12 = piStack_f4" identifier = identifier) ;) (expression_statement "iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);" (assignment_expression "iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7)" identifier = (call_expression "FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7)" identifier (argument_list "(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7)" ( (binary_expression "iVar3 + 0x108" identifier + number_literal) , (binary_expression "iVar3 + 0x110" identifier + number_literal) , identifier , identifier , (binary_expression "piVar14 + 1" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (if_statement "if (iVar7 != 0) goto LAB_0005541c;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0005541c;" goto statement_identifier ;)) })) (goto_statement "goto LAB_000552fc;" goto statement_identifier ;) })) (labeled_statement "LAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);" statement_identifier : (expression_statement "(**(code **)(iVar13 + 0x10))(uStack_e8);" (call_expression "(**(code **)(iVar13 + 0x10))(uStack_e8)" (parenthesized_expression "(**(code **)(iVar13 + 0x10))" ( (pointer_expression "**(code **)(iVar13 + 0x10)" * (pointer_expression "*(code **)(iVar13 + 0x10)" * (cast_expression "(code **)(iVar13 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x10)" ( (binary_expression "iVar13 + 0x10" identifier + number_literal) ))))) )) (argument_list "(uStack_e8)" ( identifier ))) ;)) (if_statement "if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }" if (parenthesized_expression "(iVar7 == 0x65)" ( (binary_expression "iVar7 == 0x65" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 0;\n      }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) })) (expression_statement "*piVar5 = *piVar5 + (int)puStack_11c;" (assignment_expression "*piVar5 = *piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" * identifier) = (binary_expression "*piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" * identifier) + (cast_expression "(int)puStack_11c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) }))) (labeled_statement "LAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }" statement_identifier : (if_statement "if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }" if (parenthesized_expression "(piStack_e4 == (int *)*puVar6)" ( (binary_expression "piStack_e4 == (int *)*puVar6" identifier == (cast_expression "(int *)*puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) )) (compound_statement "{\n    return iVar7;\n  }" { (return_statement "return iVar7;" return identifier ;) }))) (expression_statement "piVar14 = piStack_e4;" (assignment_expression "piVar14 = piStack_e4" identifier = identifier) ;) (expression_statement "(**(code **)(pcVar17 + 0x1067ec))();" (call_expression "(**(code **)(pcVar17 + 0x1067ec))()" (parenthesized_expression "(**(code **)(pcVar17 + 0x1067ec))" ( (pointer_expression "**(code **)(pcVar17 + 0x1067ec)" * (pointer_expression "*(code **)(pcVar17 + 0x1067ec)" * (cast_expression "(code **)(pcVar17 + 0x1067ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x1067ec)" ( (binary_expression "pcVar17 + 0x1067ec" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = sqlite3_realloc(*piVar14,piVar9);" (assignment_expression "iVar3 = sqlite3_realloc(*piVar14,piVar9)" identifier = (call_expression "sqlite3_realloc(*piVar14,piVar9)" identifier (argument_list "(*piVar14,piVar9)" ( (pointer_expression "*piVar14" * identifier) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    *piVar12 = 7;\n    return 7;\n  }" { (expression_statement "*piVar12 = 7;" (assignment_expression "*piVar12 = 7" (pointer_expression "*piVar12" * identifier) = number_literal) ;) (return_statement "return 7;" return number_literal ;) })) (expression_statement "*puStack_11c = piVar9;" (assignment_expression "*puStack_11c = piVar9" (pointer_expression "*puStack_11c" * identifier) = identifier) ;) (expression_statement "*piVar14 = iVar3;" (assignment_expression "*piVar14 = iVar3" (pointer_expression "*piVar14" * identifier) = identifier) ;) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x00054fbc) */\n\nint fts3PendingListAppend\n              (PendingList **pp,sqlite3_int64 iDocid,sqlite3_int64 iCol,sqlite3_int64 iPos,int *pRc)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int in_a2;\n  int in_a3;\n  int iVar4;\n  code *pcVar5;\n  undefined1 *puVar6;\n  undefined4 in_stack_ffffffc4;\n  PendingList *p;\n  int iStack_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  puVar6 = &_gp;\n  p = *pp;\n  iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  if (p == (PendingList *)0x0) {\nLAB_00054eb8:\n    iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(&_gp,in_stack_ffffffc4));\n    if (iVar2 == 0) {\n      *(int *)&p->iLastDocid = in_a2;\n      *(int *)((int)&p->iLastDocid + 4) = in_a3;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      *(undefined4 *)((int)&p->iLastCol + 4) = 0xffffffff;\n      *(undefined4 *)&p->iLastCol = 0xffffffff;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *iPos._0_4_ = iVar2;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }\n  else {\n    if ((*(int *)&p->iLastDocid != in_a2) || ((int)p->iLastDocid != in_a3)) {\n      p->nData = p->nData + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    if (0 < iDocid) {\n      if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))\n      goto LAB_00054f1c;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));\n      if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;\n      iVar2 = 0;\n      iVar4 = 0;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      p->iLastCol = iDocid;\nLAB_00054f30:\n      uVar3 = iCol._4_4_ + 2;\n      iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4));\n      if (iVar2 == 0) {\n        p->iLastPos = iCol;\n      }\n      goto LAB_00054f60;\n    }\n    if (iDocid == 0) {\nLAB_00054f1c:\n      iVar2 = *(int *)&p->iLastPos;\n      iVar4 = (int)p->iLastPos;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      goto LAB_00054f30;\n    }\n    *iPos._0_4_ = 0;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }\n  iVar2 = 1;\n  *pp = p;\nLAB_00054f78:\n  if (iStack_2c == *(int *)puVar1) {\n    return iVar2;\n  }\n  iVar2 = (**(code **)(puVar6 + -0x7ba0))();\n  return iVar2;\n}\n\n" comment (function_definition "int fts3PendingListAppend\n              (PendingList **pp,sqlite3_int64 iDocid,sqlite3_int64 iCol,sqlite3_int64 iPos,int *pRc)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int in_a2;\n  int in_a3;\n  int iVar4;\n  code *pcVar5;\n  undefined1 *puVar6;\n  undefined4 in_stack_ffffffc4;\n  PendingList *p;\n  int iStack_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  puVar6 = &_gp;\n  p = *pp;\n  iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  if (p == (PendingList *)0x0) {\nLAB_00054eb8:\n    iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(&_gp,in_stack_ffffffc4));\n    if (iVar2 == 0) {\n      *(int *)&p->iLastDocid = in_a2;\n      *(int *)((int)&p->iLastDocid + 4) = in_a3;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      *(undefined4 *)((int)&p->iLastCol + 4) = 0xffffffff;\n      *(undefined4 *)&p->iLastCol = 0xffffffff;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *iPos._0_4_ = iVar2;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }\n  else {\n    if ((*(int *)&p->iLastDocid != in_a2) || ((int)p->iLastDocid != in_a3)) {\n      p->nData = p->nData + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    if (0 < iDocid) {\n      if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))\n      goto LAB_00054f1c;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));\n      if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;\n      iVar2 = 0;\n      iVar4 = 0;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      p->iLastCol = iDocid;\nLAB_00054f30:\n      uVar3 = iCol._4_4_ + 2;\n      iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4));\n      if (iVar2 == 0) {\n        p->iLastPos = iCol;\n      }\n      goto LAB_00054f60;\n    }\n    if (iDocid == 0) {\nLAB_00054f1c:\n      iVar2 = *(int *)&p->iLastPos;\n      iVar4 = (int)p->iLastPos;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      goto LAB_00054f30;\n    }\n    *iPos._0_4_ = 0;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }\n  iVar2 = 1;\n  *pp = p;\nLAB_00054f78:\n  if (iStack_2c == *(int *)puVar1) {\n    return iVar2;\n  }\n  iVar2 = (**(code **)(puVar6 + -0x7ba0))();\n  return iVar2;\n}" primitive_type (function_declarator "fts3PendingListAppend\n              (PendingList **pp,sqlite3_int64 iDocid,sqlite3_int64 iCol,sqlite3_int64 iPos,int *pRc)" identifier (parameter_list "(PendingList **pp,sqlite3_int64 iDocid,sqlite3_int64 iCol,sqlite3_int64 iPos,int *pRc)" ( (parameter_declaration "PendingList **pp" type_identifier (pointer_declarator "**pp" * (pointer_declarator "*pp" * identifier))) , (parameter_declaration "sqlite3_int64 iDocid" type_identifier identifier) , (parameter_declaration "sqlite3_int64 iCol" type_identifier identifier) , (parameter_declaration "sqlite3_int64 iPos" type_identifier identifier) , (parameter_declaration "int *pRc" primitive_type (pointer_declarator "*pRc" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int in_a2;\n  int in_a3;\n  int iVar4;\n  code *pcVar5;\n  undefined1 *puVar6;\n  undefined4 in_stack_ffffffc4;\n  PendingList *p;\n  int iStack_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  puVar6 = &_gp;\n  p = *pp;\n  iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  if (p == (PendingList *)0x0) {\nLAB_00054eb8:\n    iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(&_gp,in_stack_ffffffc4));\n    if (iVar2 == 0) {\n      *(int *)&p->iLastDocid = in_a2;\n      *(int *)((int)&p->iLastDocid + 4) = in_a3;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      *(undefined4 *)((int)&p->iLastCol + 4) = 0xffffffff;\n      *(undefined4 *)&p->iLastCol = 0xffffffff;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *iPos._0_4_ = iVar2;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }\n  else {\n    if ((*(int *)&p->iLastDocid != in_a2) || ((int)p->iLastDocid != in_a3)) {\n      p->nData = p->nData + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    if (0 < iDocid) {\n      if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))\n      goto LAB_00054f1c;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));\n      if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;\n      iVar2 = 0;\n      iVar4 = 0;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      p->iLastCol = iDocid;\nLAB_00054f30:\n      uVar3 = iCol._4_4_ + 2;\n      iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4));\n      if (iVar2 == 0) {\n        p->iLastPos = iCol;\n      }\n      goto LAB_00054f60;\n    }\n    if (iDocid == 0) {\nLAB_00054f1c:\n      iVar2 = *(int *)&p->iLastPos;\n      iVar4 = (int)p->iLastPos;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      goto LAB_00054f30;\n    }\n    *iPos._0_4_ = 0;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }\n  iVar2 = 1;\n  *pp = p;\nLAB_00054f78:\n  if (iStack_2c == *(int *)puVar1) {\n    return iVar2;\n  }\n  iVar2 = (**(code **)(puVar6 + -0x7ba0))();\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int in_a2;" primitive_type identifier ;) (declaration "int in_a3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 in_stack_ffffffc4;" type_identifier identifier ;) (declaration "PendingList *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "int iStack_2c;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "puVar6 = &_gp;" (assignment_expression "puVar6 = &_gp" identifier = (pointer_expression "&_gp" & identifier)) ;) (expression_statement "p = *pp;" (assignment_expression "p = *pp" identifier = (pointer_expression "*pp" * identifier)) ;) (expression_statement "iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (p == (PendingList *)0x0) {\nLAB_00054eb8:\n    iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(&_gp,in_stack_ffffffc4));\n    if (iVar2 == 0) {\n      *(int *)&p->iLastDocid = in_a2;\n      *(int *)((int)&p->iLastDocid + 4) = in_a3;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      *(undefined4 *)((int)&p->iLastCol + 4) = 0xffffffff;\n      *(undefined4 *)&p->iLastCol = 0xffffffff;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *iPos._0_4_ = iVar2;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }\n  else {\n    if ((*(int *)&p->iLastDocid != in_a2) || ((int)p->iLastDocid != in_a3)) {\n      p->nData = p->nData + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    if (0 < iDocid) {\n      if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))\n      goto LAB_00054f1c;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));\n      if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;\n      iVar2 = 0;\n      iVar4 = 0;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      p->iLastCol = iDocid;\nLAB_00054f30:\n      uVar3 = iCol._4_4_ + 2;\n      iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4));\n      if (iVar2 == 0) {\n        p->iLastPos = iCol;\n      }\n      goto LAB_00054f60;\n    }\n    if (iDocid == 0) {\nLAB_00054f1c:\n      iVar2 = *(int *)&p->iLastPos;\n      iVar4 = (int)p->iLastPos;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      goto LAB_00054f30;\n    }\n    *iPos._0_4_ = 0;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }" if (parenthesized_expression "(p == (PendingList *)0x0)" ( (binary_expression "p == (PendingList *)0x0" identifier == (cast_expression "(PendingList *)0x0" ( (type_descriptor "PendingList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00054eb8:\n    iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(&_gp,in_stack_ffffffc4));\n    if (iVar2 == 0) {\n      *(int *)&p->iLastDocid = in_a2;\n      *(int *)((int)&p->iLastDocid + 4) = in_a3;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      *(undefined4 *)((int)&p->iLastCol + 4) = 0xffffffff;\n      *(undefined4 *)&p->iLastCol = 0xffffffff;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *iPos._0_4_ = iVar2;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }" { (labeled_statement "LAB_00054eb8:\n    iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(&_gp,in_stack_ffffffc4));" statement_identifier : (expression_statement "iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(&_gp,in_stack_ffffffc4));" (assignment_expression "iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(&_gp,in_stack_ffffffc4))" identifier = (call_expression "fts3PendingListAppendVarint(&p,CONCAT44(&_gp,in_stack_ffffffc4))" identifier (argument_list "(&p,CONCAT44(&_gp,in_stack_ffffffc4))" ( (pointer_expression "&p" & identifier) , (call_expression "CONCAT44(&_gp,in_stack_ffffffc4)" identifier (argument_list "(&_gp,in_stack_ffffffc4)" ( (pointer_expression "&_gp" & identifier) , identifier ))) )))) ;)) (if_statement "if (iVar2 == 0) {\n      *(int *)&p->iLastDocid = in_a2;\n      *(int *)((int)&p->iLastDocid + 4) = in_a3;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      *(undefined4 *)((int)&p->iLastCol + 4) = 0xffffffff;\n      *(undefined4 *)&p->iLastCol = 0xffffffff;\n      goto LAB_00054efc;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      *(int *)&p->iLastDocid = in_a2;\n      *(int *)((int)&p->iLastDocid + 4) = in_a3;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      *(undefined4 *)((int)&p->iLastCol + 4) = 0xffffffff;\n      *(undefined4 *)&p->iLastCol = 0xffffffff;\n      goto LAB_00054efc;\n    }" { (expression_statement "*(int *)&p->iLastDocid = in_a2;" (assignment_expression "*(int *)&p->iLastDocid = in_a2" (pointer_expression "*(int *)&p->iLastDocid" * (cast_expression "(int *)&p->iLastDocid" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->iLastDocid" & (field_expression "p->iLastDocid" identifier -> field_identifier)))) = identifier) ;) (expression_statement "*(int *)((int)&p->iLastDocid + 4) = in_a3;" (assignment_expression "*(int *)((int)&p->iLastDocid + 4) = in_a3" (pointer_expression "*(int *)((int)&p->iLastDocid + 4)" * (cast_expression "(int *)((int)&p->iLastDocid + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&p->iLastDocid + 4)" ( (binary_expression "(int)&p->iLastDocid + 4" (cast_expression "(int)&p->iLastDocid" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p->iLastDocid" & (field_expression "p->iLastDocid" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&p->iLastPos + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&p->iLastPos + 4) = 0" (pointer_expression "*(undefined4 *)((int)&p->iLastPos + 4)" * (cast_expression "(undefined4 *)((int)&p->iLastPos + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&p->iLastPos + 4)" ( (binary_expression "(int)&p->iLastPos + 4" (cast_expression "(int)&p->iLastPos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p->iLastPos" & (field_expression "p->iLastPos" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&p->iLastPos = 0;" (assignment_expression "*(undefined4 *)&p->iLastPos = 0" (pointer_expression "*(undefined4 *)&p->iLastPos" * (cast_expression "(undefined4 *)&p->iLastPos" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->iLastPos" & (field_expression "p->iLastPos" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&p->iLastCol + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&p->iLastCol + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&p->iLastCol + 4)" * (cast_expression "(undefined4 *)((int)&p->iLastCol + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&p->iLastCol + 4)" ( (binary_expression "(int)&p->iLastCol + 4" (cast_expression "(int)&p->iLastCol" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p->iLastCol" & (field_expression "p->iLastCol" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&p->iLastCol = 0xffffffff;" (assignment_expression "*(undefined4 *)&p->iLastCol = 0xffffffff" (pointer_expression "*(undefined4 *)&p->iLastCol" * (cast_expression "(undefined4 *)&p->iLastCol" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->iLastCol" & (field_expression "p->iLastCol" identifier -> field_identifier)))) = number_literal) ;) (goto_statement "goto LAB_00054efc;" goto statement_identifier ;) })) (labeled_statement "LAB_00054f60:\n    *iPos._0_4_ = iVar2;" statement_identifier : (expression_statement "*iPos._0_4_ = iVar2;" (assignment_expression "*iPos._0_4_ = iVar2" (pointer_expression "*iPos._0_4_" * (field_expression "iPos._0_4_" identifier . field_identifier)) = identifier) ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (*pp == p) goto LAB_00054f78;" if (parenthesized_expression "(*pp == p)" ( (binary_expression "*pp == p" (pointer_expression "*pp" * identifier) == identifier) )) (goto_statement "goto LAB_00054f78;" goto statement_identifier ;)) }) (else_clause "else {\n    if ((*(int *)&p->iLastDocid != in_a2) || ((int)p->iLastDocid != in_a3)) {\n      p->nData = p->nData + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    if (0 < iDocid) {\n      if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))\n      goto LAB_00054f1c;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));\n      if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;\n      iVar2 = 0;\n      iVar4 = 0;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      p->iLastCol = iDocid;\nLAB_00054f30:\n      uVar3 = iCol._4_4_ + 2;\n      iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4));\n      if (iVar2 == 0) {\n        p->iLastPos = iCol;\n      }\n      goto LAB_00054f60;\n    }\n    if (iDocid == 0) {\nLAB_00054f1c:\n      iVar2 = *(int *)&p->iLastPos;\n      iVar4 = (int)p->iLastPos;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      goto LAB_00054f30;\n    }\n    *iPos._0_4_ = 0;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }" else (compound_statement "{\n    if ((*(int *)&p->iLastDocid != in_a2) || ((int)p->iLastDocid != in_a3)) {\n      p->nData = p->nData + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    if (0 < iDocid) {\n      if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))\n      goto LAB_00054f1c;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));\n      if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;\n      iVar2 = 0;\n      iVar4 = 0;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      p->iLastCol = iDocid;\nLAB_00054f30:\n      uVar3 = iCol._4_4_ + 2;\n      iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4));\n      if (iVar2 == 0) {\n        p->iLastPos = iCol;\n      }\n      goto LAB_00054f60;\n    }\n    if (iDocid == 0) {\nLAB_00054f1c:\n      iVar2 = *(int *)&p->iLastPos;\n      iVar4 = (int)p->iLastPos;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      goto LAB_00054f30;\n    }\n    *iPos._0_4_ = 0;\n    iVar2 = 0;\n    if (*pp == p) goto LAB_00054f78;\n  }" { (if_statement "if ((*(int *)&p->iLastDocid != in_a2) || ((int)p->iLastDocid != in_a3)) {\n      p->nData = p->nData + 1;\n      goto LAB_00054eb8;\n    }" if (parenthesized_expression "((*(int *)&p->iLastDocid != in_a2) || ((int)p->iLastDocid != in_a3))" ( (binary_expression "(*(int *)&p->iLastDocid != in_a2) || ((int)p->iLastDocid != in_a3)" (parenthesized_expression "(*(int *)&p->iLastDocid != in_a2)" ( (binary_expression "*(int *)&p->iLastDocid != in_a2" (pointer_expression "*(int *)&p->iLastDocid" * (cast_expression "(int *)&p->iLastDocid" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->iLastDocid" & (field_expression "p->iLastDocid" identifier -> field_identifier)))) != identifier) )) || (parenthesized_expression "((int)p->iLastDocid != in_a3)" ( (binary_expression "(int)p->iLastDocid != in_a3" (cast_expression "(int)p->iLastDocid" ( (type_descriptor "int" primitive_type) ) (field_expression "p->iLastDocid" identifier -> field_identifier)) != identifier) ))) )) (compound_statement "{\n      p->nData = p->nData + 1;\n      goto LAB_00054eb8;\n    }" { (expression_statement "p->nData = p->nData + 1;" (assignment_expression "p->nData = p->nData + 1" (field_expression "p->nData" identifier -> field_identifier) = (binary_expression "p->nData + 1" (field_expression "p->nData" identifier -> field_identifier) + number_literal)) ;) (goto_statement "goto LAB_00054eb8;" goto statement_identifier ;) })) (labeled_statement "LAB_00054efc:\n    if (0 < iDocid) {\n      if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))\n      goto LAB_00054f1c;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));\n      if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;\n      iVar2 = 0;\n      iVar4 = 0;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      p->iLastCol = iDocid;\nLAB_00054f30:\n      uVar3 = iCol._4_4_ + 2;\n      iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4));\n      if (iVar2 == 0) {\n        p->iLastPos = iCol;\n      }\n      goto LAB_00054f60;\n    }" statement_identifier : (if_statement "if (0 < iDocid) {\n      if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))\n      goto LAB_00054f1c;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));\n      if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;\n      iVar2 = 0;\n      iVar4 = 0;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      p->iLastCol = iDocid;\nLAB_00054f30:\n      uVar3 = iCol._4_4_ + 2;\n      iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4));\n      if (iVar2 == 0) {\n        p->iLastPos = iCol;\n      }\n      goto LAB_00054f60;\n    }" if (parenthesized_expression "(0 < iDocid)" ( (binary_expression "0 < iDocid" number_literal < identifier) )) (compound_statement "{\n      if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))\n      goto LAB_00054f1c;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));\n      if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;\n      iVar2 = 0;\n      iVar4 = 0;\n      *(undefined4 *)((int)&p->iLastPos + 4) = 0;\n      *(undefined4 *)&p->iLastPos = 0;\n      p->iLastCol = iDocid;\nLAB_00054f30:\n      uVar3 = iCol._4_4_ + 2;\n      iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4));\n      if (iVar2 == 0) {\n        p->iLastPos = iCol;\n      }\n      goto LAB_00054f60;\n    }" { (if_statement "if ((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))\n      goto LAB_00054f1c;" if (parenthesized_expression "((*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_))" ( (binary_expression "(*(int *)&p->iLastCol == iDocid._0_4_) && ((int)p->iLastCol == iDocid._4_4_)" (parenthesized_expression "(*(int *)&p->iLastCol == iDocid._0_4_)" ( (binary_expression "*(int *)&p->iLastCol == iDocid._0_4_" (pointer_expression "*(int *)&p->iLastCol" * (cast_expression "(int *)&p->iLastCol" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->iLastCol" & (field_expression "p->iLastCol" identifier -> field_identifier)))) == (field_expression "iDocid._0_4_" identifier . field_identifier)) )) && (parenthesized_expression "((int)p->iLastCol == iDocid._4_4_)" ( (binary_expression "(int)p->iLastCol == iDocid._4_4_" (cast_expression "(int)p->iLastCol" ( (type_descriptor "int" primitive_type) ) (field_expression "p->iLastCol" identifier -> field_identifier)) == (field_expression "iDocid._4_4_" identifier . field_identifier)) ))) )) (goto_statement "goto LAB_00054f1c;" goto statement_identifier ;)) (expression_statement "pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);" (assignment_expression "pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc)" identifier = (cast_expression "(code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + -0x7eb0) + 0x4cbc)" ( (binary_expression "*(int *)(puVar6 + -0x7eb0) + 0x4cbc" (pointer_expression "*(int *)(puVar6 + -0x7eb0)" * (cast_expression "(int *)(puVar6 + -0x7eb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x7eb0)" ( (binary_expression "puVar6 + -0x7eb0" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4));" (assignment_expression "iVar2 = fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4))" identifier = (call_expression "fts3PendingListAppendVarint(&p,CONCAT44(puVar6,in_stack_ffffffc4))" identifier (argument_list "(&p,CONCAT44(puVar6,in_stack_ffffffc4))" ( (pointer_expression "&p" & identifier) , (call_expression "CONCAT44(puVar6,in_stack_ffffffc4)" identifier (argument_list "(puVar6,in_stack_ffffffc4)" ( identifier , identifier ))) )))) ;) (if_statement "if ((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)) goto LAB_00054f60;" if (parenthesized_expression "((iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) || (iVar2 = (*pcVar5)(&p), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar2 = (*pcVar5)(&p), iVar2 != 0)" ( (comma_expression "iVar2 = (*pcVar5)(&p), iVar2 != 0" (assignment_expression "iVar2 = (*pcVar5)(&p)" identifier = (call_expression "(*pcVar5)(&p)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(&p)" ( (pointer_expression "&p" & identifier) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_00054f60;" goto statement_identifier ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "*(undefined4 *)((int)&p->iLastPos + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&p->iLastPos + 4) = 0" (pointer_expression "*(undefined4 *)((int)&p->iLastPos + 4)" * (cast_expression "(undefined4 *)((int)&p->iLastPos + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&p->iLastPos + 4)" ( (binary_expression "(int)&p->iLastPos + 4" (cast_expression "(int)&p->iLastPos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p->iLastPos" & (field_expression "p->iLastPos" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&p->iLastPos = 0;" (assignment_expression "*(undefined4 *)&p->iLastPos = 0" (pointer_expression "*(undefined4 *)&p->iLastPos" * (cast_expression "(undefined4 *)&p->iLastPos" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->iLastPos" & (field_expression "p->iLastPos" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "p->iLastCol = iDocid;" (assignment_expression "p->iLastCol = iDocid" (field_expression "p->iLastCol" identifier -> field_identifier) = identifier) ;) (labeled_statement "LAB_00054f30:\n      uVar3 = iCol._4_4_ + 2;" statement_identifier : (expression_statement "uVar3 = iCol._4_4_ + 2;" (assignment_expression "uVar3 = iCol._4_4_ + 2" identifier = (binary_expression "iCol._4_4_ + 2" (field_expression "iCol._4_4_" identifier . field_identifier) + number_literal)) ;)) (expression_statement "iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4));" (assignment_expression "iVar2 = (*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4))" identifier = (call_expression "(*pcVar5)(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4))" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(&p,iVar2,(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4))" ( (pointer_expression "&p" & identifier) , identifier , (binary_expression "(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2) -\n                                 (uint)(uVar3 < uVar3 - iVar4)" (parenthesized_expression "(((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2)" ( (binary_expression "((uint)(uVar3 < iCol._4_4_) + iCol._0_4_) - iVar2" (parenthesized_expression "((uint)(uVar3 < iCol._4_4_) + iCol._0_4_)" ( (binary_expression "(uint)(uVar3 < iCol._4_4_) + iCol._0_4_" (call_expression "(uint)(uVar3 < iCol._4_4_)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < iCol._4_4_)" ( (binary_expression "uVar3 < iCol._4_4_" identifier < (field_expression "iCol._4_4_" identifier . field_identifier)) ))) + (field_expression "iCol._0_4_" identifier . field_identifier)) )) - identifier) )) - (call_expression "(uint)(uVar3 < uVar3 - iVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar3 - iVar4)" ( (binary_expression "uVar3 < uVar3 - iVar4" identifier < (binary_expression "uVar3 - iVar4" identifier - identifier)) )))) )))) ;) (if_statement "if (iVar2 == 0) {\n        p->iLastPos = iCol;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        p->iLastPos = iCol;\n      }" { (expression_statement "p->iLastPos = iCol;" (assignment_expression "p->iLastPos = iCol" (field_expression "p->iLastPos" identifier -> field_identifier) = identifier) ;) })) (goto_statement "goto LAB_00054f60;" goto statement_identifier ;) }))) (if_statement "if (iDocid == 0) {\nLAB_00054f1c:\n      iVar2 = *(int *)&p->iLastPos;\n      iVar4 = (int)p->iLastPos;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      goto LAB_00054f30;\n    }" if (parenthesized_expression "(iDocid == 0)" ( (binary_expression "iDocid == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00054f1c:\n      iVar2 = *(int *)&p->iLastPos;\n      iVar4 = (int)p->iLastPos;\n      pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);\n      goto LAB_00054f30;\n    }" { (labeled_statement "LAB_00054f1c:\n      iVar2 = *(int *)&p->iLastPos;" statement_identifier : (expression_statement "iVar2 = *(int *)&p->iLastPos;" (assignment_expression "iVar2 = *(int *)&p->iLastPos" identifier = (pointer_expression "*(int *)&p->iLastPos" * (cast_expression "(int *)&p->iLastPos" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->iLastPos" & (field_expression "p->iLastPos" identifier -> field_identifier))))) ;)) (expression_statement "iVar4 = (int)p->iLastPos;" (assignment_expression "iVar4 = (int)p->iLastPos" identifier = (cast_expression "(int)p->iLastPos" ( (type_descriptor "int" primitive_type) ) (field_expression "p->iLastPos" identifier -> field_identifier))) ;) (expression_statement "pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc);" (assignment_expression "pcVar5 = (code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc)" identifier = (cast_expression "(code *)(*(int *)(puVar6 + -0x7eb0) + 0x4cbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + -0x7eb0) + 0x4cbc)" ( (binary_expression "*(int *)(puVar6 + -0x7eb0) + 0x4cbc" (pointer_expression "*(int *)(puVar6 + -0x7eb0)" * (cast_expression "(int *)(puVar6 + -0x7eb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x7eb0)" ( (binary_expression "puVar6 + -0x7eb0" identifier + number_literal) )))) + number_literal) )))) ;) (goto_statement "goto LAB_00054f30;" goto statement_identifier ;) })) (expression_statement "*iPos._0_4_ = 0;" (assignment_expression "*iPos._0_4_ = 0" (pointer_expression "*iPos._0_4_" * (field_expression "iPos._0_4_" identifier . field_identifier)) = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (*pp == p) goto LAB_00054f78;" if (parenthesized_expression "(*pp == p)" ( (binary_expression "*pp == p" (pointer_expression "*pp" * identifier) == identifier) )) (goto_statement "goto LAB_00054f78;" goto statement_identifier ;)) }))) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "*pp = p;" (assignment_expression "*pp = p" (pointer_expression "*pp" * identifier) = identifier) ;) (labeled_statement "LAB_00054f78:\n  if (iStack_2c == *(int *)puVar1) {\n    return iVar2;\n  }" statement_identifier : (if_statement "if (iStack_2c == *(int *)puVar1) {\n    return iVar2;\n  }" if (parenthesized_expression "(iStack_2c == *(int *)puVar1)" ( (binary_expression "iStack_2c == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) }))) (expression_statement "iVar2 = (**(code **)(puVar6 + -0x7ba0))();" (assignment_expression "iVar2 = (**(code **)(puVar6 + -0x7ba0))()" identifier = (call_expression "(**(code **)(puVar6 + -0x7ba0))()" (parenthesized_expression "(**(code **)(puVar6 + -0x7ba0))" ( (pointer_expression "**(code **)(puVar6 + -0x7ba0)" * (pointer_expression "*(code **)(puVar6 + -0x7ba0)" * (cast_expression "(code **)(puVar6 + -0x7ba0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -0x7ba0)" ( (binary_expression "puVar6 + -0x7ba0" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int FUN_00054e1c(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int **ppiVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  int *piVar9;\n  int **ppiVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  int *piVar14;\n  int iVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 *puStack_11c;\n  int aiStack_fc [2];\n  int *piStack_f4;\n  int iStack_f0;\n  int iStack_ec;\n  undefined4 uStack_e8;\n  int *piStack_e4;\n  int *piStack_e0;\n  int *piStack_dc;\n  int *piStack_d8;\n  undefined1 *puStack_d4;\n  uint uStack_cc;\n  int **ppiStack_c8;\n  undefined4 *puStack_c4;\n  undefined *puStack_c0;\n  code *pcStack_bc;\n  int *piStack_a8;\n  uint uStack_a4;\n  int iStack_a0;\n  int **ppiStack_9c;\n  int *piStack_98;\n  undefined *puStack_90;\n  int *piStack_84;\n  int iStack_80;\n  int iStack_7c;\n  int *piStack_74;\n  int **ppiStack_70;\n  int **ppiStack_6c;\n  int iStack_68;\n  uint uStack_64;\n  int **ppiStack_60;\n  undefined4 *puStack_5c;\n  uint uStack_58;\n  code *pcStack_54;\n  undefined4 *puStack_3c;\n  int *piStack_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  local_30 = (int *)*param_1;\n  local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;\n  uVar8 = param_3;\n  ppiVar10 = param_4;\n  if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  iVar3 = 1;\n  *param_1 = local_30;\nLAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }\n  pcVar17 = FUN_00055088;\n  piVar12 = local_2c;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_90 = puVar16 + 0x10e528;\n  ppiStack_6c = param_8;\n  uStack_64 = param_5;\n  iStack_68 = param_7;\n  piStack_74 = param_9;\n  piVar14 = *(int **)(puVar16 + 0x1069a4);\n  iStack_7c = *piVar14;\n  iStack_80 = 0;\n  puStack_11c = puStack_3c;\n  ppiStack_70 = param_6;\n  ppiStack_60 = param_4;\n  puStack_5c = param_1;\n  uStack_58 = param_3;\n  pcStack_54 = pcVar17;\n  iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);\n  if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }\n  piStack_98 = &iStack_80;\n  piVar11 = (int *)param_2[1];\n  iStack_a0 = (int)ppiVar10 >> 0x1f;\n  piVar9 = (int *)*param_2;\n  piStack_a8 = (int *)((int)uVar8 >> 0x1f);\n  uStack_a4 = uVar8;\n  ppiStack_9c = ppiVar10;\n  iVar3 = FUN_00054e1c(&piStack_84);\n  if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }\n  if (iStack_7c == *piVar14) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_90 + -0x7ba0);\n  pcVar18 = FUN_00055224;\n  iVar3 = iStack_7c;\n  (*pcVar17)();\n  piVar5 = piStack_a8;\n  puVar6 = *(undefined4 **)(pcVar17 + 0x106808);\n  puStack_c0 = puVar1;\n  aiStack_fc[0] = 0;\n  aiStack_fc[1] = 0;\n  piStack_f4 = (int *)0x0;\n  iStack_ec = 0;\n  piStack_e4 = (int *)*puVar6;\n  piStack_e0 = piStack_38;\n  piStack_dc = piVar12;\n  piStack_d8 = piVar14;\n  puStack_d4 = &_gp_1;\n  uStack_cc = uVar8;\n  ppiStack_c8 = ppiVar10;\n  puStack_c4 = param_2;\n  pcStack_bc = pcVar18;\n  if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }\nLAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }\n  piVar14 = piStack_e4;\n  (**(code **)(pcVar17 + 0x1067ec))();\n  iVar3 = sqlite3_realloc(*piVar14,piVar9);\n  if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }\n  *puStack_11c = piVar9;\n  *piVar14 = iVar3;\n  return iVar3;\n}\n\n" (function_definition "int FUN_00054e1c(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int **ppiVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  int *piVar9;\n  int **ppiVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  int *piVar14;\n  int iVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 *puStack_11c;\n  int aiStack_fc [2];\n  int *piStack_f4;\n  int iStack_f0;\n  int iStack_ec;\n  undefined4 uStack_e8;\n  int *piStack_e4;\n  int *piStack_e0;\n  int *piStack_dc;\n  int *piStack_d8;\n  undefined1 *puStack_d4;\n  uint uStack_cc;\n  int **ppiStack_c8;\n  undefined4 *puStack_c4;\n  undefined *puStack_c0;\n  code *pcStack_bc;\n  int *piStack_a8;\n  uint uStack_a4;\n  int iStack_a0;\n  int **ppiStack_9c;\n  int *piStack_98;\n  undefined *puStack_90;\n  int *piStack_84;\n  int iStack_80;\n  int iStack_7c;\n  int *piStack_74;\n  int **ppiStack_70;\n  int **ppiStack_6c;\n  int iStack_68;\n  uint uStack_64;\n  int **ppiStack_60;\n  undefined4 *puStack_5c;\n  uint uStack_58;\n  code *pcStack_54;\n  undefined4 *puStack_3c;\n  int *piStack_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  local_30 = (int *)*param_1;\n  local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;\n  uVar8 = param_3;\n  ppiVar10 = param_4;\n  if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  iVar3 = 1;\n  *param_1 = local_30;\nLAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }\n  pcVar17 = FUN_00055088;\n  piVar12 = local_2c;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_90 = puVar16 + 0x10e528;\n  ppiStack_6c = param_8;\n  uStack_64 = param_5;\n  iStack_68 = param_7;\n  piStack_74 = param_9;\n  piVar14 = *(int **)(puVar16 + 0x1069a4);\n  iStack_7c = *piVar14;\n  iStack_80 = 0;\n  puStack_11c = puStack_3c;\n  ppiStack_70 = param_6;\n  ppiStack_60 = param_4;\n  puStack_5c = param_1;\n  uStack_58 = param_3;\n  pcStack_54 = pcVar17;\n  iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);\n  if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }\n  piStack_98 = &iStack_80;\n  piVar11 = (int *)param_2[1];\n  iStack_a0 = (int)ppiVar10 >> 0x1f;\n  piVar9 = (int *)*param_2;\n  piStack_a8 = (int *)((int)uVar8 >> 0x1f);\n  uStack_a4 = uVar8;\n  ppiStack_9c = ppiVar10;\n  iVar3 = FUN_00054e1c(&piStack_84);\n  if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }\n  if (iStack_7c == *piVar14) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_90 + -0x7ba0);\n  pcVar18 = FUN_00055224;\n  iVar3 = iStack_7c;\n  (*pcVar17)();\n  piVar5 = piStack_a8;\n  puVar6 = *(undefined4 **)(pcVar17 + 0x106808);\n  puStack_c0 = puVar1;\n  aiStack_fc[0] = 0;\n  aiStack_fc[1] = 0;\n  piStack_f4 = (int *)0x0;\n  iStack_ec = 0;\n  piStack_e4 = (int *)*puVar6;\n  piStack_e0 = piStack_38;\n  piStack_dc = piVar12;\n  piStack_d8 = piVar14;\n  puStack_d4 = &_gp_1;\n  uStack_cc = uVar8;\n  ppiStack_c8 = ppiVar10;\n  puStack_c4 = param_2;\n  pcStack_bc = pcVar18;\n  if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }\nLAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }\n  piVar14 = piStack_e4;\n  (**(code **)(pcVar17 + 0x1067ec))();\n  iVar3 = sqlite3_realloc(*piVar14,piVar9);\n  if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }\n  *puStack_11c = piVar9;\n  *piVar14 = iVar3;\n  return iVar3;\n}" primitive_type (function_declarator "FUN_00054e1c(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int **param_4" primitive_type (pointer_declarator "**param_4" * (pointer_declarator "*param_4" * identifier))) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "int **param_6" primitive_type (pointer_declarator "**param_6" * (pointer_declarator "*param_6" * identifier))) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "int **param_8" primitive_type (pointer_declarator "**param_8" * (pointer_declarator "*param_8" * identifier))) , (parameter_declaration "int *param_9" primitive_type (pointer_declarator "*param_9" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int **ppiVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  int *piVar9;\n  int **ppiVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  int *piVar14;\n  int iVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 *puStack_11c;\n  int aiStack_fc [2];\n  int *piStack_f4;\n  int iStack_f0;\n  int iStack_ec;\n  undefined4 uStack_e8;\n  int *piStack_e4;\n  int *piStack_e0;\n  int *piStack_dc;\n  int *piStack_d8;\n  undefined1 *puStack_d4;\n  uint uStack_cc;\n  int **ppiStack_c8;\n  undefined4 *puStack_c4;\n  undefined *puStack_c0;\n  code *pcStack_bc;\n  int *piStack_a8;\n  uint uStack_a4;\n  int iStack_a0;\n  int **ppiStack_9c;\n  int *piStack_98;\n  undefined *puStack_90;\n  int *piStack_84;\n  int iStack_80;\n  int iStack_7c;\n  int *piStack_74;\n  int **ppiStack_70;\n  int **ppiStack_6c;\n  int iStack_68;\n  uint uStack_64;\n  int **ppiStack_60;\n  undefined4 *puStack_5c;\n  uint uStack_58;\n  code *pcStack_54;\n  undefined4 *puStack_3c;\n  int *piStack_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  local_30 = (int *)*param_1;\n  local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;\n  uVar8 = param_3;\n  ppiVar10 = param_4;\n  if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  iVar3 = 1;\n  *param_1 = local_30;\nLAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }\n  pcVar17 = FUN_00055088;\n  piVar12 = local_2c;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_90 = puVar16 + 0x10e528;\n  ppiStack_6c = param_8;\n  uStack_64 = param_5;\n  iStack_68 = param_7;\n  piStack_74 = param_9;\n  piVar14 = *(int **)(puVar16 + 0x1069a4);\n  iStack_7c = *piVar14;\n  iStack_80 = 0;\n  puStack_11c = puStack_3c;\n  ppiStack_70 = param_6;\n  ppiStack_60 = param_4;\n  puStack_5c = param_1;\n  uStack_58 = param_3;\n  pcStack_54 = pcVar17;\n  iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);\n  if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }\n  piStack_98 = &iStack_80;\n  piVar11 = (int *)param_2[1];\n  iStack_a0 = (int)ppiVar10 >> 0x1f;\n  piVar9 = (int *)*param_2;\n  piStack_a8 = (int *)((int)uVar8 >> 0x1f);\n  uStack_a4 = uVar8;\n  ppiStack_9c = ppiVar10;\n  iVar3 = FUN_00054e1c(&piStack_84);\n  if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }\n  if (iStack_7c == *piVar14) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_90 + -0x7ba0);\n  pcVar18 = FUN_00055224;\n  iVar3 = iStack_7c;\n  (*pcVar17)();\n  piVar5 = piStack_a8;\n  puVar6 = *(undefined4 **)(pcVar17 + 0x106808);\n  puStack_c0 = puVar1;\n  aiStack_fc[0] = 0;\n  aiStack_fc[1] = 0;\n  piStack_f4 = (int *)0x0;\n  iStack_ec = 0;\n  piStack_e4 = (int *)*puVar6;\n  piStack_e0 = piStack_38;\n  piStack_dc = piVar12;\n  piStack_d8 = piVar14;\n  puStack_d4 = &_gp_1;\n  uStack_cc = uVar8;\n  ppiStack_c8 = ppiVar10;\n  puStack_c4 = param_2;\n  pcStack_bc = pcVar18;\n  if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }\nLAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }\n  piVar14 = piStack_e4;\n  (**(code **)(pcVar17 + 0x1067ec))();\n  iVar3 = sqlite3_realloc(*piVar14,piVar9);\n  if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }\n  *puStack_11c = piVar9;\n  *piVar14 = iVar3;\n  return iVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int **ppiVar4;" primitive_type (pointer_declarator "**ppiVar4" * (pointer_declarator "*ppiVar4" * identifier)) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int **ppiVar10;" primitive_type (pointer_declarator "**ppiVar10" * (pointer_declarator "*ppiVar10" * identifier)) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "code *pcVar18;" type_identifier (pointer_declarator "*pcVar18" * identifier) ;) (declaration "undefined4 *puStack_11c;" type_identifier (pointer_declarator "*puStack_11c" * identifier) ;) (declaration "int aiStack_fc [2];" primitive_type (array_declarator "aiStack_fc [2]" identifier [ number_literal ]) ;) (declaration "int *piStack_f4;" primitive_type (pointer_declarator "*piStack_f4" * identifier) ;) (declaration "int iStack_f0;" primitive_type identifier ;) (declaration "int iStack_ec;" primitive_type identifier ;) (declaration "undefined4 uStack_e8;" type_identifier identifier ;) (declaration "int *piStack_e4;" primitive_type (pointer_declarator "*piStack_e4" * identifier) ;) (declaration "int *piStack_e0;" primitive_type (pointer_declarator "*piStack_e0" * identifier) ;) (declaration "int *piStack_dc;" primitive_type (pointer_declarator "*piStack_dc" * identifier) ;) (declaration "int *piStack_d8;" primitive_type (pointer_declarator "*piStack_d8" * identifier) ;) (declaration "undefined1 *puStack_d4;" type_identifier (pointer_declarator "*puStack_d4" * identifier) ;) (declaration "uint uStack_cc;" type_identifier identifier ;) (declaration "int **ppiStack_c8;" primitive_type (pointer_declarator "**ppiStack_c8" * (pointer_declarator "*ppiStack_c8" * identifier)) ;) (declaration "undefined4 *puStack_c4;" type_identifier (pointer_declarator "*puStack_c4" * identifier) ;) (declaration "undefined *puStack_c0;" type_identifier (pointer_declarator "*puStack_c0" * identifier) ;) (declaration "code *pcStack_bc;" type_identifier (pointer_declarator "*pcStack_bc" * identifier) ;) (declaration "int *piStack_a8;" primitive_type (pointer_declarator "*piStack_a8" * identifier) ;) (declaration "uint uStack_a4;" type_identifier identifier ;) (declaration "int iStack_a0;" primitive_type identifier ;) (declaration "int **ppiStack_9c;" primitive_type (pointer_declarator "**ppiStack_9c" * (pointer_declarator "*ppiStack_9c" * identifier)) ;) (declaration "int *piStack_98;" primitive_type (pointer_declarator "*piStack_98" * identifier) ;) (declaration "undefined *puStack_90;" type_identifier (pointer_declarator "*puStack_90" * identifier) ;) (declaration "int *piStack_84;" primitive_type (pointer_declarator "*piStack_84" * identifier) ;) (declaration "int iStack_80;" primitive_type identifier ;) (declaration "int iStack_7c;" primitive_type identifier ;) (declaration "int *piStack_74;" primitive_type (pointer_declarator "*piStack_74" * identifier) ;) (declaration "int **ppiStack_70;" primitive_type (pointer_declarator "**ppiStack_70" * (pointer_declarator "*ppiStack_70" * identifier)) ;) (declaration "int **ppiStack_6c;" primitive_type (pointer_declarator "**ppiStack_6c" * (pointer_declarator "*ppiStack_6c" * identifier)) ;) (declaration "int iStack_68;" primitive_type identifier ;) (declaration "uint uStack_64;" type_identifier identifier ;) (declaration "int **ppiStack_60;" primitive_type (pointer_declarator "**ppiStack_60" * (pointer_declarator "*ppiStack_60" * identifier)) ;) (declaration "undefined4 *puStack_5c;" type_identifier (pointer_declarator "*puStack_5c" * identifier) ;) (declaration "uint uStack_58;" type_identifier identifier ;) (declaration "code *pcStack_54;" type_identifier (pointer_declarator "*pcStack_54" * identifier) ;) (declaration "undefined4 *puStack_3c;" type_identifier (pointer_declarator "*puStack_3c" * identifier) ;) (declaration "int *piStack_38;" primitive_type (pointer_declarator "*piStack_38" * identifier) ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "local_30 = (int *)*param_1;" (assignment_expression "local_30 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(int **)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar8 = param_3;" (assignment_expression "uVar8 = param_3" identifier = identifier) ;) (expression_statement "ppiVar10 = param_4;" (assignment_expression "ppiVar10 = param_4" identifier = identifier) ;) (if_statement "if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" if (parenthesized_expression "(local_30 == (int *)0x0)" ( (binary_expression "local_30 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" { (labeled_statement "LAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);" statement_identifier : (expression_statement "iVar3 = FUN_00054cbc(&local_30);" (assignment_expression "iVar3 = FUN_00054cbc(&local_30)" identifier = (call_expression "FUN_00054cbc(&local_30)" identifier (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) )))) ;)) (if_statement "if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }" { (expression_statement "local_30[4] = param_3;" (assignment_expression "local_30[4] = param_3" (subscript_expression "local_30[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[5] = (int)param_4;" (assignment_expression "local_30[5] = (int)param_4" (subscript_expression "local_30[5]" identifier [ number_literal ]) = (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_30[9] = 0;" (assignment_expression "local_30[9] = 0" (subscript_expression "local_30[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2 = (undefined4 *)0xffffffff;" (assignment_expression "param_2 = (undefined4 *)0xffffffff" identifier = (cast_expression "(undefined4 *)0xffffffff" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_30[8] = 0;" (assignment_expression "local_30[8] = 0" (subscript_expression "local_30[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[7] = -1;" (assignment_expression "local_30[7] = -1" (subscript_expression "local_30[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[6] = -1;" (assignment_expression "local_30[6] = -1" (subscript_expression "local_30[6]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_00054efc;" goto statement_identifier ;) })) (labeled_statement "LAB_00054f60:\n    *param_9 = iVar3;" statement_identifier : (expression_statement "*param_9 = iVar3;" (assignment_expression "*param_9 = iVar3" (pointer_expression "*param_9" * identifier) = identifier) ;)) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if ((int *)*param_1 == local_30) goto LAB_00054f78;" if (parenthesized_expression "((int *)*param_1 == local_30)" ( (binary_expression "(int *)*param_1 == local_30" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) == identifier) )) (goto_statement "goto LAB_00054f78;" goto statement_identifier ;)) }) (else_clause "else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" else (compound_statement "{\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" { (expression_statement "uVar8 = local_30[4];" (assignment_expression "uVar8 = local_30[4]" identifier = (subscript_expression "local_30[4]" identifier [ number_literal ])) ;) (expression_statement "ppiVar10 = (int **)local_30[5];" (assignment_expression "ppiVar10 = (int **)local_30[5]" identifier = (cast_expression "(int **)local_30[5]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "local_30[5]" identifier [ number_literal ]))) ;) (if_statement "if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }" if (parenthesized_expression "((uVar8 != param_3) || (ppiVar10 != param_4))" ( (binary_expression "(uVar8 != param_3) || (ppiVar10 != param_4)" (parenthesized_expression "(uVar8 != param_3)" ( (binary_expression "uVar8 != param_3" identifier != identifier) )) || (parenthesized_expression "(ppiVar10 != param_4)" ( (binary_expression "ppiVar10 != param_4" identifier != identifier) ))) )) (compound_statement "{\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }" { (expression_statement "ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);" (assignment_expression "ppiVar10 = (int **)((int)param_4 - (int)ppiVar10)" identifier = (cast_expression "(int **)((int)param_4 - (int)ppiVar10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_4 - (int)ppiVar10)" ( (binary_expression "(int)param_4 - (int)ppiVar10" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)ppiVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);" (assignment_expression "uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10)" identifier = (binary_expression "(param_3 - uVar8) - (uint)(param_4 < ppiVar10)" (parenthesized_expression "(param_3 - uVar8)" ( (binary_expression "param_3 - uVar8" identifier - identifier) )) - (call_expression "(uint)(param_4 < ppiVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 < ppiVar10)" ( (binary_expression "param_4 < ppiVar10" identifier < identifier) ))))) ;) (expression_statement "*local_30 = *local_30 + 1;" (assignment_expression "*local_30 = *local_30 + 1" (pointer_expression "*local_30" * identifier) = (binary_expression "*local_30 + 1" (pointer_expression "*local_30" * identifier) + number_literal)) ;) (goto_statement "goto LAB_00054eb8;" goto statement_identifier ;) })) (labeled_statement "LAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;" statement_identifier : (expression_statement "puVar16 = PTR_LAB_0015b700;" (assignment_expression "puVar16 = PTR_LAB_0015b700" identifier = identifier) ;)) (if_statement "if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }" if (parenthesized_expression "((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0))))" ( (binary_expression "(0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))" (parenthesized_expression "(0 < (int)param_5)" ( (binary_expression "0 < (int)param_5" number_literal < (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) )) || (parenthesized_expression "((param_5 == 0 && (param_6 != (int **)0x0)))" ( (parenthesized_expression "(param_5 == 0 && (param_6 != (int **)0x0))" ( (binary_expression "param_5 == 0 && (param_6 != (int **)0x0)" (binary_expression "param_5 == 0" identifier == number_literal) && (parenthesized_expression "(param_6 != (int **)0x0)" ( (binary_expression "param_6 != (int **)0x0" identifier != (cast_expression "(int **)0x0" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ))) )) ))) )) (compound_statement "{\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }" { (if_statement "if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;" if (parenthesized_expression "((local_30[6] == param_5) && ((int **)local_30[7] == param_6))" ( (binary_expression "(local_30[6] == param_5) && ((int **)local_30[7] == param_6)" (parenthesized_expression "(local_30[6] == param_5)" ( (binary_expression "local_30[6] == param_5" (subscript_expression "local_30[6]" identifier [ number_literal ]) == identifier) )) && (parenthesized_expression "((int **)local_30[7] == param_6)" ( (binary_expression "(int **)local_30[7] == param_6" (cast_expression "(int **)local_30[7]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "local_30[7]" identifier [ number_literal ])) == identifier) ))) )) (goto_statement "goto LAB_00054f1c;" goto statement_identifier ;)) (expression_statement "param_4 = &local_30;" (assignment_expression "param_4 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;) (expression_statement "ppiVar10 = (int **)0x1;" (assignment_expression "ppiVar10 = (int **)0x1" identifier = (cast_expression "(int **)0x1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc)" identifier = (cast_expression "(code *)(PTR_LAB_0015b700 + 0x4cbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b700 + 0x4cbc)" ( (binary_expression "PTR_LAB_0015b700 + 0x4cbc" identifier + number_literal) )))) ;) (expression_statement "iVar3 = FUN_00054cbc(param_4);" (assignment_expression "iVar3 = FUN_00054cbc(param_4)" identifier = (call_expression "FUN_00054cbc(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;" if (parenthesized_expression "((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))" ( (binary_expression "(iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0)" ( (comma_expression "uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0" (assignment_expression "uVar8 = param_5" identifier = identifier) , (comma_expression "ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0" (assignment_expression "ppiVar10 = param_6" identifier = identifier) , (comma_expression "iVar3 = (*pcVar17)(param_4), iVar3 != 0" (assignment_expression "iVar3 = (*pcVar17)(param_4)" identifier = (call_expression "(*pcVar17)(param_4)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(param_4)" ( identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)))) ))) )) (goto_statement "goto LAB_00054f60;" goto statement_identifier ;)) (expression_statement "param_2 = (undefined4 *)0x0;" (assignment_expression "param_2 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "local_30[9] = 0;" (assignment_expression "local_30[9] = 0" (subscript_expression "local_30[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[8] = 0;" (assignment_expression "local_30[8] = 0" (subscript_expression "local_30[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[6] = param_5;" (assignment_expression "local_30[6] = param_5" (subscript_expression "local_30[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[7] = (int)param_6;" (assignment_expression "local_30[7] = (int)param_6" (subscript_expression "local_30[7]" identifier [ number_literal ]) = (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_00054f30:\n      param_4 = &local_30;" statement_identifier : (expression_statement "param_4 = &local_30;" (assignment_expression "param_4 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;)) (expression_statement "ppiVar4 = (int **)((int)param_8 + 2);" (assignment_expression "ppiVar4 = (int **)((int)param_8 + 2)" identifier = (cast_expression "(int **)((int)param_8 + 2)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_8 + 2)" ( (binary_expression "(int)param_8 + 2" (cast_expression "(int)param_8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "ppiVar10 = (int **)((int)ppiVar4 - iVar3);" (assignment_expression "ppiVar10 = (int **)((int)ppiVar4 - iVar3)" identifier = (cast_expression "(int **)((int)ppiVar4 - iVar3)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppiVar4 - iVar3)" ( (binary_expression "(int)ppiVar4 - iVar3" (cast_expression "(int)ppiVar4" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (expression_statement "uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);" (assignment_expression "uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10)" identifier = (binary_expression "(((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10)" (parenthesized_expression "(((uint)(ppiVar4 < param_8) + param_7) - (int)param_2)" ( (binary_expression "((uint)(ppiVar4 < param_8) + param_7) - (int)param_2" (parenthesized_expression "((uint)(ppiVar4 < param_8) + param_7)" ( (binary_expression "(uint)(ppiVar4 < param_8) + param_7" (call_expression "(uint)(ppiVar4 < param_8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ppiVar4 < param_8)" ( (binary_expression "ppiVar4 < param_8" identifier < identifier) ))) + identifier) )) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) - (call_expression "(uint)(ppiVar4 < ppiVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ppiVar4 < ppiVar10)" ( (binary_expression "ppiVar4 < ppiVar10" identifier < identifier) ))))) ;) (expression_statement "iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);" (assignment_expression "iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4)" identifier = (call_expression "(*(code *)(puVar16 + 0x4cbc))(param_4)" (parenthesized_expression "(*(code *)(puVar16 + 0x4cbc))" ( (pointer_expression "*(code *)(puVar16 + 0x4cbc)" * (cast_expression "(code *)(puVar16 + 0x4cbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x4cbc)" ( (binary_expression "puVar16 + 0x4cbc" identifier + number_literal) )))) )) (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }" { (expression_statement "local_30[8] = param_7;" (assignment_expression "local_30[8] = param_7" (subscript_expression "local_30[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[9] = (int)param_8;" (assignment_expression "local_30[9] = (int)param_8" (subscript_expression "local_30[9]" identifier [ number_literal ]) = (cast_expression "(int)param_8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (goto_statement "goto LAB_00054f60;" goto statement_identifier ;) })) (expression_statement "param_6 = (int **)(param_5 | (uint)param_6);" (assignment_expression "param_6 = (int **)(param_5 | (uint)param_6)" identifier = (cast_expression "(int **)(param_5 | (uint)param_6)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_5 | (uint)param_6)" ( (binary_expression "param_5 | (uint)param_6" identifier | (cast_expression "(uint)param_6" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }" if (parenthesized_expression "(param_6 == (int **)0x0)" ( (binary_expression "param_6 == (int **)0x0" identifier == (cast_expression "(int **)0x0" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }" { (labeled_statement "LAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];" statement_identifier : (expression_statement "param_2 = (undefined4 *)local_30[8];" (assignment_expression "param_2 = (undefined4 *)local_30[8]" identifier = (cast_expression "(undefined4 *)local_30[8]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_30[8]" identifier [ number_literal ]))) ;)) (expression_statement "iVar3 = local_30[9];" (assignment_expression "iVar3 = local_30[9]" identifier = (subscript_expression "local_30[9]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_00054f30;" goto statement_identifier ;) })) (expression_statement "*param_9 = 0;" (assignment_expression "*param_9 = 0" (pointer_expression "*param_9" * identifier) = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if ((int *)*param_1 == local_30) goto LAB_00054f78;" if (parenthesized_expression "((int *)*param_1 == local_30)" ( (binary_expression "(int *)*param_1 == local_30" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) == identifier) )) (goto_statement "goto LAB_00054f78;" goto statement_identifier ;)) }))) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "*param_1 = local_30;" (assignment_expression "*param_1 = local_30" (pointer_expression "*param_1" * identifier) = identifier) ;) (labeled_statement "LAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }" statement_identifier : (if_statement "if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_2c == *(int **)puVar1)" ( (binary_expression "local_2c == *(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 iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) }))) (expression_statement "pcVar17 = FUN_00055088;" (assignment_expression "pcVar17 = FUN_00055088" identifier = identifier) ;) (expression_statement "piVar12 = local_2c;" (assignment_expression "piVar12 = local_2c" identifier = identifier) ;) (expression_statement "puVar16 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar16 = PTR___stack_chk_fail_0015ba10" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_90 = puVar16 + 0x10e528;" (assignment_expression "puStack_90 = puVar16 + 0x10e528" identifier = (binary_expression "puVar16 + 0x10e528" identifier + number_literal)) ;) (expression_statement "ppiStack_6c = param_8;" (assignment_expression "ppiStack_6c = param_8" identifier = identifier) ;) (expression_statement "uStack_64 = param_5;" (assignment_expression "uStack_64 = param_5" identifier = identifier) ;) (expression_statement "iStack_68 = param_7;" (assignment_expression "iStack_68 = param_7" identifier = identifier) ;) (expression_statement "piStack_74 = param_9;" (assignment_expression "piStack_74 = param_9" identifier = identifier) ;) (expression_statement "piVar14 = *(int **)(puVar16 + 0x1069a4);" (assignment_expression "piVar14 = *(int **)(puVar16 + 0x1069a4)" identifier = (pointer_expression "*(int **)(puVar16 + 0x1069a4)" * (cast_expression "(int **)(puVar16 + 0x1069a4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x1069a4)" ( (binary_expression "puVar16 + 0x1069a4" identifier + number_literal) ))))) ;) (expression_statement "iStack_7c = *piVar14;" (assignment_expression "iStack_7c = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (expression_statement "iStack_80 = 0;" (assignment_expression "iStack_80 = 0" identifier = number_literal) ;) (expression_statement "puStack_11c = puStack_3c;" (assignment_expression "puStack_11c = puStack_3c" identifier = identifier) ;) (expression_statement "ppiStack_70 = param_6;" (assignment_expression "ppiStack_70 = param_6" identifier = identifier) ;) (expression_statement "ppiStack_60 = param_4;" (assignment_expression "ppiStack_60 = param_4" identifier = identifier) ;) (expression_statement "puStack_5c = param_1;" (assignment_expression "puStack_5c = param_1" identifier = identifier) ;) (expression_statement "uStack_58 = param_3;" (assignment_expression "uStack_58 = param_3" identifier = identifier) ;) (expression_statement "pcStack_54 = pcVar17;" (assignment_expression "pcStack_54 = pcVar17" identifier = identifier) ;) (expression_statement "iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);" (assignment_expression "iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38)" identifier = (call_expression "FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38)" identifier (argument_list "(&_gp_1,puStack_3c,piStack_38)" ( (pointer_expression "&_gp_1" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    piStack_84 = (int *)0x0;\n  }" { (expression_statement "piStack_84 = (int *)0x0;" (assignment_expression "piStack_84 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }" else (compound_statement "{\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }" { (expression_statement "piStack_84 = *(int **)(iVar3 + 8);" (assignment_expression "piStack_84 = *(int **)(iVar3 + 8)" identifier = (pointer_expression "*(int **)(iVar3 + 8)" * (cast_expression "(int **)(iVar3 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (if_statement "if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }" if (parenthesized_expression "(piStack_84 != (int *)0x0)" ( (binary_expression "piStack_84 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }" { (expression_statement "*piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);" (assignment_expression "*piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84)" (pointer_expression "*piVar12" * identifier) = (binary_expression "(*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84)" (parenthesized_expression "(*piVar12 + -0x14)" ( (binary_expression "*piVar12 + -0x14" (pointer_expression "*piVar12" * identifier) + number_literal) )) - (parenthesized_expression "((int)piStack_38 + *piStack_84)" ( (binary_expression "(int)piStack_38 + *piStack_84" (cast_expression "(int)piStack_38" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*piStack_84" * identifier)) )))) ;) })) }))) (expression_statement "piStack_98 = &iStack_80;" (assignment_expression "piStack_98 = &iStack_80" identifier = (pointer_expression "&iStack_80" & identifier)) ;) (expression_statement "piVar11 = (int *)param_2[1];" (assignment_expression "piVar11 = (int *)param_2[1]" identifier = (cast_expression "(int *)param_2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (expression_statement "iStack_a0 = (int)ppiVar10 >> 0x1f;" (assignment_expression "iStack_a0 = (int)ppiVar10 >> 0x1f" identifier = (binary_expression "(int)ppiVar10 >> 0x1f" (cast_expression "(int)ppiVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "piVar9 = (int *)*param_2;" (assignment_expression "piVar9 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "piStack_a8 = (int *)((int)uVar8 >> 0x1f);" (assignment_expression "piStack_a8 = (int *)((int)uVar8 >> 0x1f)" identifier = (cast_expression "(int *)((int)uVar8 >> 0x1f)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)uVar8 >> 0x1f)" ( (binary_expression "(int)uVar8 >> 0x1f" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "uStack_a4 = uVar8;" (assignment_expression "uStack_a4 = uVar8" identifier = identifier) ;) (expression_statement "ppiStack_9c = ppiVar10;" (assignment_expression "ppiStack_9c = ppiVar10" identifier = identifier) ;) (expression_statement "iVar3 = FUN_00054e1c(&piStack_84);" (assignment_expression "iVar3 = FUN_00054e1c(&piStack_84)" identifier = (call_expression "FUN_00054e1c(&piStack_84)" identifier (argument_list "(&piStack_84)" ( (pointer_expression "&piStack_84" & identifier) )))) ;) (if_statement "if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }" if (parenthesized_expression "((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84))" ( (binary_expression "(iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)" ( (comma_expression "piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "piVar9 = piStack_38" identifier = identifier) , (comma_expression "piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "piVar11 = piStack_84" identifier = identifier) , (comma_expression "piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "piVar5 = (int *)FUN_000543f8(&_gp_1)" identifier = (cast_expression "(int *)FUN_000543f8(&_gp_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000543f8(&_gp_1)" identifier (argument_list "(&_gp_1)" ( (pointer_expression "&_gp_1" & identifier) ))))) , (comma_expression "puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "puStack_11c = puStack_3c" identifier = identifier) , (binary_expression "piVar5 != piStack_84" identifier != identifier))))) ))) )) (compound_statement "{\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }" { (expression_statement "iVar3 = iStack_80;" (assignment_expression "iVar3 = iStack_80" identifier = identifier) ;) (if_statement "if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }" if (parenthesized_expression "(iStack_80 == 0)" ( (binary_expression "iStack_80 == 0" identifier == number_literal) )) (compound_statement "{\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }" { (expression_statement "piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);" (assignment_expression "piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84)" identifier = (cast_expression "(int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piStack_38 + *piVar12 + 0x14 + *piStack_84)" ( (binary_expression "(int)piStack_38 + *piVar12 + 0x14 + *piStack_84" (binary_expression "(int)piStack_38 + *piVar12 + 0x14" (binary_expression "(int)piStack_38 + *piVar12" (cast_expression "(int)piStack_38" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*piVar12" * identifier)) + number_literal) + (pointer_expression "*piStack_84" * identifier)) )))) ;) (expression_statement "*piVar12 = (int)piStack_38;" (assignment_expression "*piVar12 = (int)piStack_38" (pointer_expression "*piVar12" * identifier) = (cast_expression "(int)piStack_38" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) }) (else_clause "else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }" else (compound_statement "{\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }" { (expression_statement "(**(code **)(puStack_90 + -0x7f90))(piVar5);" (call_expression "(**(code **)(puStack_90 + -0x7f90))(piVar5)" (parenthesized_expression "(**(code **)(puStack_90 + -0x7f90))" ( (pointer_expression "**(code **)(puStack_90 + -0x7f90)" * (pointer_expression "*(code **)(puStack_90 + -0x7f90)" * (cast_expression "(code **)(puStack_90 + -0x7f90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_90 + -0x7f90)" ( (binary_expression "puStack_90 + -0x7f90" identifier + number_literal) ))))) )) (argument_list "(piVar5)" ( identifier ))) ;) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) (expression_statement "puStack_11c = puStack_3c;" (assignment_expression "puStack_11c = puStack_3c" identifier = identifier) ;) }))) (if_statement "if (iStack_7c == *piVar14) {\n    return iVar3;\n  }" if (parenthesized_expression "(iStack_7c == *piVar14)" ( (binary_expression "iStack_7c == *piVar14" identifier == (pointer_expression "*piVar14" * identifier)) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "pcVar17 = *(code **)(puStack_90 + -0x7ba0);" (assignment_expression "pcVar17 = *(code **)(puStack_90 + -0x7ba0)" identifier = (pointer_expression "*(code **)(puStack_90 + -0x7ba0)" * (cast_expression "(code **)(puStack_90 + -0x7ba0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_90 + -0x7ba0)" ( (binary_expression "puStack_90 + -0x7ba0" identifier + number_literal) ))))) ;) (expression_statement "pcVar18 = FUN_00055224;" (assignment_expression "pcVar18 = FUN_00055224" identifier = identifier) ;) (expression_statement "iVar3 = iStack_7c;" (assignment_expression "iVar3 = iStack_7c" identifier = identifier) ;) (expression_statement "(*pcVar17)();" (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar5 = piStack_a8;" (assignment_expression "piVar5 = piStack_a8" identifier = identifier) ;) (expression_statement "puVar6 = *(undefined4 **)(pcVar17 + 0x106808);" (assignment_expression "puVar6 = *(undefined4 **)(pcVar17 + 0x106808)" identifier = (pointer_expression "*(undefined4 **)(pcVar17 + 0x106808)" * (cast_expression "(undefined4 **)(pcVar17 + 0x106808)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x106808)" ( (binary_expression "pcVar17 + 0x106808" identifier + number_literal) ))))) ;) (expression_statement "puStack_c0 = puVar1;" (assignment_expression "puStack_c0 = puVar1" identifier = identifier) ;) (expression_statement "aiStack_fc[0] = 0;" (assignment_expression "aiStack_fc[0] = 0" (subscript_expression "aiStack_fc[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_fc[1] = 0;" (assignment_expression "aiStack_fc[1] = 0" (subscript_expression "aiStack_fc[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piStack_f4 = (int *)0x0;" (assignment_expression "piStack_f4 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_ec = 0;" (assignment_expression "iStack_ec = 0" identifier = number_literal) ;) (expression_statement "piStack_e4 = (int *)*puVar6;" (assignment_expression "piStack_e4 = (int *)*puVar6" identifier = (cast_expression "(int *)*puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) (expression_statement "piStack_e0 = piStack_38;" (assignment_expression "piStack_e0 = piStack_38" identifier = identifier) ;) (expression_statement "piStack_dc = piVar12;" (assignment_expression "piStack_dc = piVar12" identifier = identifier) ;) (expression_statement "piStack_d8 = piVar14;" (assignment_expression "piStack_d8 = piVar14" identifier = identifier) ;) (expression_statement "puStack_d4 = &_gp_1;" (assignment_expression "puStack_d4 = &_gp_1" identifier = (pointer_expression "&_gp_1" & identifier)) ;) (expression_statement "uStack_cc = uVar8;" (assignment_expression "uStack_cc = uVar8" identifier = identifier) ;) (expression_statement "ppiStack_c8 = ppiVar10;" (assignment_expression "ppiStack_c8 = ppiVar10" identifier = identifier) ;) (expression_statement "puStack_c4 = param_2;" (assignment_expression "puStack_c4 = param_2" identifier = identifier) ;) (expression_statement "pcStack_bc = pcVar18;" (assignment_expression "pcStack_bc = pcVar18" identifier = identifier) ;) (if_statement "if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }" if (parenthesized_expression "(piVar9 == (int *)0x0)" ( (binary_expression "piVar9 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }" { (expression_statement "*piStack_a8 = 0;" (assignment_expression "*piStack_a8 = 0" (pointer_expression "*piStack_a8" * identifier) = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "piVar12 = piVar11;" (assignment_expression "piVar12 = piVar11" identifier = identifier) ;) }) (else_clause "else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }" else (compound_statement "{\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }" { (expression_statement "piVar12 = (int *)0xffffffff;" (assignment_expression "piVar12 = (int *)0xffffffff" identifier = (cast_expression "(int *)0xffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar13 = **(int **)(iVar3 + 0x24);" (assignment_expression "iVar13 = **(int **)(iVar3 + 0x24)" identifier = (pointer_expression "**(int **)(iVar3 + 0x24)" * (pointer_expression "*(int **)(iVar3 + 0x24)" * (cast_expression "(int **)(iVar3 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))))) ;) (expression_statement "iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));" (assignment_expression "iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24))" identifier = (call_expression "(*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24))" (parenthesized_expression "(*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))" ( (pointer_expression "*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0)" * (cast_expression "(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar17 + 0x106438) + 0x23b0)" ( (binary_expression "*(int *)(pcVar17 + 0x106438) + 0x23b0" (pointer_expression "*(int *)(pcVar17 + 0x106438)" * (cast_expression "(int *)(pcVar17 + 0x106438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x106438)" ( (binary_expression "pcVar17 + 0x106438" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(*(int **)(iVar3 + 0x24))" ( (pointer_expression "*(int **)(iVar3 + 0x24)" * (cast_expression "(int **)(iVar3 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }" { (expression_statement "pcVar18 = *(code **)(iVar13 + 0x14);" (assignment_expression "pcVar18 = *(code **)(iVar13 + 0x14)" identifier = (pointer_expression "*(code **)(iVar13 + 0x14)" * (cast_expression "(code **)(iVar13 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x14)" ( (binary_expression "iVar13 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "puStack_11c = (undefined4 *)0x0;" (assignment_expression "puStack_11c = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000552fc:\n      piVar9 = &iStack_ec;" statement_identifier : (expression_statement "piVar9 = &iStack_ec;" (assignment_expression "piVar9 = &iStack_ec" identifier = (pointer_expression "&iStack_ec" & identifier)) ;)) (expression_statement "piVar12 = aiStack_fc;" (assignment_expression "piVar12 = aiStack_fc" identifier = identifier) ;) (expression_statement "iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);" (assignment_expression "iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4)" identifier = (call_expression "(*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4)" (parenthesized_expression "(*pcVar18)" ( (pointer_expression "*pcVar18" * identifier) )) (argument_list "(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4)" ( identifier , (pointer_expression "&iStack_f0" & identifier) , (pointer_expression "&iStack_ec" & identifier) , identifier , (binary_expression "aiStack_fc + 1" identifier + number_literal) , (pointer_expression "&piStack_f4" & identifier) )))) ;) (if_statement "if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = (undefined4 *)((int)piStack_f4 + 1);" (assignment_expression "puVar2 = (undefined4 *)((int)piStack_f4 + 1)" identifier = (cast_expression "(undefined4 *)((int)piStack_f4 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piStack_f4 + 1)" ( (binary_expression "(int)piStack_f4 + 1" (cast_expression "(int)piStack_f4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "piVar12 = piStack_f4;" (assignment_expression "piVar12 = piStack_f4" identifier = identifier) ;) (if_statement "if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }" if (parenthesized_expression "(((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1))" ( (binary_expression "((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)" (parenthesized_expression "((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0))" ( (binary_expression "(((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)" (parenthesized_expression "(((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))" ( (binary_expression "((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0)" (parenthesized_expression "((int)piStack_f4 < (int)puStack_11c)" ( (binary_expression "(int)piStack_f4 < (int)puStack_11c" (cast_expression "(int)piStack_f4" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)puStack_11c" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(puVar2 = puStack_11c, (int)piStack_f4 < 0)" ( (comma_expression "puVar2 = puStack_11c, (int)piStack_f4 < 0" (assignment_expression "puVar2 = puStack_11c" identifier = identifier) , (binary_expression "(int)piStack_f4 < 0" (cast_expression "(int)piStack_f4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) || (parenthesized_expression "(puStack_11c = puVar2, iStack_f0 == 0)" ( (comma_expression "puStack_11c = puVar2, iStack_f0 == 0" (assignment_expression "puStack_11c = puVar2" identifier = identifier) , (binary_expression "iStack_f0 == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "(iVar7 = iVar3 + 0x110, iStack_ec < 1)" ( (comma_expression "iVar7 = iVar3 + 0x110, iStack_ec < 1" (assignment_expression "iVar7 = iVar3 + 0x110" identifier = (binary_expression "iVar3 + 0x110" identifier + number_literal)) , (binary_expression "iStack_ec < 1" identifier < number_literal)) ))) )) (compound_statement "{\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }" { (expression_statement "(**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);" (call_expression "(**(code **)(iVar13 + 0x10))(uStack_e8,iVar7)" (parenthesized_expression "(**(code **)(iVar13 + 0x10))" ( (pointer_expression "**(code **)(iVar13 + 0x10)" * (pointer_expression "*(code **)(iVar13 + 0x10)" * (cast_expression "(code **)(iVar13 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x10)" ( (binary_expression "iVar13 + 0x10" identifier + number_literal) ))))) )) (argument_list "(uStack_e8,iVar7)" ( identifier , identifier ))) ;) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (expression_statement "*piVar5 = *piVar5 + (int)puStack_11c;" (assignment_expression "*piVar5 = *piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" * identifier) = (binary_expression "*piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" * identifier) + (cast_expression "(int)puStack_11c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_0005545c;" goto statement_identifier ;) })) (expression_statement "piVar9 = piVar11;" (assignment_expression "piVar9 = piVar11" identifier = identifier) ;) (expression_statement "iVar7 = FUN_00055088(iVar3 + 0x108);" (assignment_expression "iVar7 = FUN_00055088(iVar3 + 0x108)" identifier = (call_expression "FUN_00055088(iVar3 + 0x108)" identifier (argument_list "(iVar3 + 0x108)" ( (binary_expression "iVar3 + 0x108" identifier + number_literal) )))) ;) (if_statement "if (iVar7 != 0) goto LAB_0005541c;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0005541c;" goto statement_identifier ;)) (expression_statement "iVar15 = 1;" (assignment_expression "iVar15 = 1" identifier = number_literal) ;) (while_statement "while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }" while (parenthesized_expression "(iVar15 < *(int *)(iVar3 + 0xfc))" ( (binary_expression "iVar15 < *(int *)(iVar3 + 0xfc)" identifier < (pointer_expression "*(int *)(iVar3 + 0xfc)" * (cast_expression "(int *)(iVar3 + 0xfc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xfc)" ( (binary_expression "iVar3 + 0xfc" identifier + number_literal) ))))) )) (compound_statement "{\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }" { (expression_statement "piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);" (assignment_expression "piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18)" identifier = (cast_expression "(int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x100) + iVar15 * 0x18)" ( (binary_expression "*(int *)(iVar3 + 0x100) + iVar15 * 0x18" (pointer_expression "*(int *)(iVar3 + 0x100)" * (cast_expression "(int *)(iVar3 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x100)" ( (binary_expression "iVar3 + 0x100" identifier + number_literal) )))) + (binary_expression "iVar15 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "iVar7 = *piVar14;" (assignment_expression "iVar7 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (if_statement "if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }" if (parenthesized_expression "(iStack_ec < iVar7)" ( (binary_expression "iStack_ec < iVar7" identifier < identifier) )) (compound_statement "{\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }" { (expression_statement "piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);" (assignment_expression "piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18)" identifier = (cast_expression "(int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18)" ( (binary_expression "*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18" (binary_expression "*(int *)(iVar3 + 0x100) + iVar15 * 0x18" (pointer_expression "*(int *)(iVar3 + 0x100)" * (cast_expression "(int *)(iVar3 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x100)" ( (binary_expression "iVar3 + 0x100" identifier + number_literal) )))) + (binary_expression "iVar15 * 0x18" identifier * number_literal)) + number_literal) )))) ;) (do_statement "do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);" do (compound_statement "{\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            }" { (expression_statement "piVar14 = piVar12;" (assignment_expression "piVar14 = piVar12" identifier = identifier) ;) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (if_statement "if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;" if (parenthesized_expression "(iVar15 == *(int *)(iVar3 + 0xfc))" ( (binary_expression "iVar15 == *(int *)(iVar3 + 0xfc)" identifier == (pointer_expression "*(int *)(iVar3 + 0xfc)" * (cast_expression "(int *)(iVar3 + 0xfc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xfc)" ( (binary_expression "iVar3 + 0xfc" identifier + number_literal) ))))) )) (goto_statement "goto LAB_000552fc;" goto statement_identifier ;)) (expression_statement "iVar7 = *piVar14;" (assignment_expression "iVar7 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (expression_statement "piVar12 = piVar14 + 6;" (assignment_expression "piVar12 = piVar14 + 6" identifier = (binary_expression "piVar14 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(iStack_ec < iVar7)" ( (binary_expression "iStack_ec < iVar7" identifier < identifier) )) ;) })) (expression_statement "piVar9 = piVar11;" (assignment_expression "piVar9 = piVar11" identifier = identifier) ;) (expression_statement "piVar12 = piStack_f4;" (assignment_expression "piVar12 = piStack_f4" identifier = identifier) ;) (expression_statement "iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);" (assignment_expression "iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7)" identifier = (call_expression "FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7)" identifier (argument_list "(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7)" ( (binary_expression "iVar3 + 0x108" identifier + number_literal) , (binary_expression "iVar3 + 0x110" identifier + number_literal) , identifier , identifier , (binary_expression "piVar14 + 1" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (if_statement "if (iVar7 != 0) goto LAB_0005541c;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0005541c;" goto statement_identifier ;)) })) (goto_statement "goto LAB_000552fc;" goto statement_identifier ;) })) (labeled_statement "LAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);" statement_identifier : (expression_statement "(**(code **)(iVar13 + 0x10))(uStack_e8);" (call_expression "(**(code **)(iVar13 + 0x10))(uStack_e8)" (parenthesized_expression "(**(code **)(iVar13 + 0x10))" ( (pointer_expression "**(code **)(iVar13 + 0x10)" * (pointer_expression "*(code **)(iVar13 + 0x10)" * (cast_expression "(code **)(iVar13 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x10)" ( (binary_expression "iVar13 + 0x10" identifier + number_literal) ))))) )) (argument_list "(uStack_e8)" ( identifier ))) ;)) (if_statement "if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }" if (parenthesized_expression "(iVar7 == 0x65)" ( (binary_expression "iVar7 == 0x65" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 0;\n      }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) })) (expression_statement "*piVar5 = *piVar5 + (int)puStack_11c;" (assignment_expression "*piVar5 = *piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" * identifier) = (binary_expression "*piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" * identifier) + (cast_expression "(int)puStack_11c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) }))) (labeled_statement "LAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }" statement_identifier : (if_statement "if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }" if (parenthesized_expression "(piStack_e4 == (int *)*puVar6)" ( (binary_expression "piStack_e4 == (int *)*puVar6" identifier == (cast_expression "(int *)*puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) )) (compound_statement "{\n    return iVar7;\n  }" { (return_statement "return iVar7;" return identifier ;) }))) (expression_statement "piVar14 = piStack_e4;" (assignment_expression "piVar14 = piStack_e4" identifier = identifier) ;) (expression_statement "(**(code **)(pcVar17 + 0x1067ec))();" (call_expression "(**(code **)(pcVar17 + 0x1067ec))()" (parenthesized_expression "(**(code **)(pcVar17 + 0x1067ec))" ( (pointer_expression "**(code **)(pcVar17 + 0x1067ec)" * (pointer_expression "*(code **)(pcVar17 + 0x1067ec)" * (cast_expression "(code **)(pcVar17 + 0x1067ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x1067ec)" ( (binary_expression "pcVar17 + 0x1067ec" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = sqlite3_realloc(*piVar14,piVar9);" (assignment_expression "iVar3 = sqlite3_realloc(*piVar14,piVar9)" identifier = (call_expression "sqlite3_realloc(*piVar14,piVar9)" identifier (argument_list "(*piVar14,piVar9)" ( (pointer_expression "*piVar14" * identifier) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    *piVar12 = 7;\n    return 7;\n  }" { (expression_statement "*piVar12 = 7;" (assignment_expression "*piVar12 = 7" (pointer_expression "*piVar12" * identifier) = number_literal) ;) (return_statement "return 7;" return number_literal ;) })) (expression_statement "*puStack_11c = piVar9;" (assignment_expression "*puStack_11c = piVar9" (pointer_expression "*puStack_11c" * identifier) = identifier) ;) (expression_statement "*piVar14 = iVar3;" (assignment_expression "*piVar14 = iVar3" (pointer_expression "*piVar14" * identifier) = identifier) ;) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * (pointer_declarator * IDENT))) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * (pointer_declarator * IDENT))) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * (pointer_declarator * IDENT))) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) || (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT)) ))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == IDENT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])) == IDENT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT)) ;) (expression_statement (assignment_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 IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) , (binary_expression IDENT != LIT)))) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + IDENT) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT | (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (labeled_statement statement_identifier : (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 (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 = (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_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 = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )) - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * IDENT)) )))) ;) })) }))) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != IDENT))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * IDENT)) + LIT) + (pointer_expression * IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return IDENT ;) })) (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 = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 (subscript_expression IDENT [ LIT ]) = 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 IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * 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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (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 (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT)) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT)) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT < LIT)) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT , IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00054e1c(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int **ppiVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  int *piVar9;\n  int **ppiVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  int *piVar14;\n  int iVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 *puStack_11c;\n  int aiStack_fc [2];\n  int *piStack_f4;\n  int iStack_f0;\n  int iStack_ec;\n  undefined4 uStack_e8;\n  int *piStack_e4;\n  int *piStack_e0;\n  int *piStack_dc;\n  int *piStack_d8;\n  undefined1 *puStack_d4;\n  uint uStack_cc;\n  int **ppiStack_c8;\n  undefined4 *puStack_c4;\n  undefined *puStack_c0;\n  code *pcStack_bc;\n  int *piStack_a8;\n  uint uStack_a4;\n  int iStack_a0;\n  int **ppiStack_9c;\n  int *piStack_98;\n  undefined *puStack_90;\n  int *piStack_84;\n  int iStack_80;\n  int iStack_7c;\n  int *piStack_74;\n  int **ppiStack_70;\n  int **ppiStack_6c;\n  int iStack_68;\n  uint uStack_64;\n  int **ppiStack_60;\n  undefined4 *puStack_5c;\n  uint uStack_58;\n  code *pcStack_54;\n  undefined4 *puStack_3c;\n  int *piStack_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  local_30 = (int *)*param_1;\n  local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;\n  uVar8 = param_3;\n  ppiVar10 = param_4;\n  if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  iVar3 = 1;\n  *param_1 = local_30;\nLAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }\n  pcVar17 = FUN_00055088;\n  piVar12 = local_2c;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_90 = puVar16 + 0x10e528;\n  ppiStack_6c = param_8;\n  uStack_64 = param_5;\n  iStack_68 = param_7;\n  piStack_74 = param_9;\n  piVar14 = *(int **)(puVar16 + 0x1069a4);\n  iStack_7c = *piVar14;\n  iStack_80 = 0;\n  puStack_11c = puStack_3c;\n  ppiStack_70 = param_6;\n  ppiStack_60 = param_4;\n  puStack_5c = param_1;\n  uStack_58 = param_3;\n  pcStack_54 = pcVar17;\n  iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);\n  if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }\n  piStack_98 = &iStack_80;\n  piVar11 = (int *)param_2[1];\n  iStack_a0 = (int)ppiVar10 >> 0x1f;\n  piVar9 = (int *)*param_2;\n  piStack_a8 = (int *)((int)uVar8 >> 0x1f);\n  uStack_a4 = uVar8;\n  ppiStack_9c = ppiVar10;\n  iVar3 = FUN_00054e1c(&piStack_84);\n  if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }\n  if (iStack_7c == *piVar14) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_90 + -0x7ba0);\n  pcVar18 = FUN_00055224;\n  iVar3 = iStack_7c;\n  (*pcVar17)();\n  piVar5 = piStack_a8;\n  puVar6 = *(undefined4 **)(pcVar17 + 0x106808);\n  puStack_c0 = puVar1;\n  aiStack_fc[0] = 0;\n  aiStack_fc[1] = 0;\n  piStack_f4 = (int *)0x0;\n  iStack_ec = 0;\n  piStack_e4 = (int *)*puVar6;\n  piStack_e0 = piStack_38;\n  piStack_dc = piVar12;\n  piStack_d8 = piVar14;\n  puStack_d4 = &_gp_1;\n  uStack_cc = uVar8;\n  ppiStack_c8 = ppiVar10;\n  puStack_c4 = param_2;\n  pcStack_bc = pcVar18;\n  if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }\nLAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }\n  piVar14 = piStack_e4;\n  (**(code **)(pcVar17 + 0x1067ec))();\n  iVar3 = sqlite3_realloc(*piVar14,piVar9);\n  if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }\n  *puStack_11c = piVar9;\n  *piVar14 = iVar3;\n  return iVar3;\n}" (primitive_type "int") (function_declarator "FUN_00054e1c(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)" (identifier "FUN_00054e1c") (parameter_list "(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,\n                int **param_6,int param_7,int **param_8,int *param_9)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "int **param_4" (primitive_type "int") (pointer_declarator "**param_4" (* "*") (pointer_declarator "*param_4" (* "*") (identifier "param_4")))) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) (, ",") (parameter_declaration "int **param_6" (primitive_type "int") (pointer_declarator "**param_6" (* "*") (pointer_declarator "*param_6" (* "*") (identifier "param_6")))) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) (, ",") (parameter_declaration "int **param_8" (primitive_type "int") (pointer_declarator "**param_8" (* "*") (pointer_declarator "*param_8" (* "*") (identifier "param_8")))) (, ",") (parameter_declaration "int *param_9" (primitive_type "int") (pointer_declarator "*param_9" (* "*") (identifier "param_9"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int **ppiVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  int *piVar9;\n  int **ppiVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  int *piVar14;\n  int iVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 *puStack_11c;\n  int aiStack_fc [2];\n  int *piStack_f4;\n  int iStack_f0;\n  int iStack_ec;\n  undefined4 uStack_e8;\n  int *piStack_e4;\n  int *piStack_e0;\n  int *piStack_dc;\n  int *piStack_d8;\n  undefined1 *puStack_d4;\n  uint uStack_cc;\n  int **ppiStack_c8;\n  undefined4 *puStack_c4;\n  undefined *puStack_c0;\n  code *pcStack_bc;\n  int *piStack_a8;\n  uint uStack_a4;\n  int iStack_a0;\n  int **ppiStack_9c;\n  int *piStack_98;\n  undefined *puStack_90;\n  int *piStack_84;\n  int iStack_80;\n  int iStack_7c;\n  int *piStack_74;\n  int **ppiStack_70;\n  int **ppiStack_6c;\n  int iStack_68;\n  uint uStack_64;\n  int **ppiStack_60;\n  undefined4 *puStack_5c;\n  uint uStack_58;\n  code *pcStack_54;\n  undefined4 *puStack_3c;\n  int *piStack_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_0015ba2c;\n  local_30 = (int *)*param_1;\n  local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;\n  uVar8 = param_3;\n  ppiVar10 = param_4;\n  if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  iVar3 = 1;\n  *param_1 = local_30;\nLAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }\n  pcVar17 = FUN_00055088;\n  piVar12 = local_2c;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_90 = puVar16 + 0x10e528;\n  ppiStack_6c = param_8;\n  uStack_64 = param_5;\n  iStack_68 = param_7;\n  piStack_74 = param_9;\n  piVar14 = *(int **)(puVar16 + 0x1069a4);\n  iStack_7c = *piVar14;\n  iStack_80 = 0;\n  puStack_11c = puStack_3c;\n  ppiStack_70 = param_6;\n  ppiStack_60 = param_4;\n  puStack_5c = param_1;\n  uStack_58 = param_3;\n  pcStack_54 = pcVar17;\n  iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);\n  if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }\n  piStack_98 = &iStack_80;\n  piVar11 = (int *)param_2[1];\n  iStack_a0 = (int)ppiVar10 >> 0x1f;\n  piVar9 = (int *)*param_2;\n  piStack_a8 = (int *)((int)uVar8 >> 0x1f);\n  uStack_a4 = uVar8;\n  ppiStack_9c = ppiVar10;\n  iVar3 = FUN_00054e1c(&piStack_84);\n  if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }\n  if (iStack_7c == *piVar14) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_90 + -0x7ba0);\n  pcVar18 = FUN_00055224;\n  iVar3 = iStack_7c;\n  (*pcVar17)();\n  piVar5 = piStack_a8;\n  puVar6 = *(undefined4 **)(pcVar17 + 0x106808);\n  puStack_c0 = puVar1;\n  aiStack_fc[0] = 0;\n  aiStack_fc[1] = 0;\n  piStack_f4 = (int *)0x0;\n  iStack_ec = 0;\n  piStack_e4 = (int *)*puVar6;\n  piStack_e0 = piStack_38;\n  piStack_dc = piVar12;\n  piStack_d8 = piVar14;\n  puStack_d4 = &_gp_1;\n  uStack_cc = uVar8;\n  ppiStack_c8 = ppiVar10;\n  puStack_c4 = param_2;\n  pcStack_bc = pcVar18;\n  if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }\nLAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }\n  piVar14 = piStack_e4;\n  (**(code **)(pcVar17 + 0x1067ec))();\n  iVar3 = sqlite3_realloc(*piVar14,piVar9);\n  if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }\n  *puStack_11c = piVar9;\n  *piVar14 = iVar3;\n  return iVar3;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int **ppiVar4;" (primitive_type "int") (pointer_declarator "**ppiVar4" (* "*") (pointer_declarator "*ppiVar4" (* "*") (identifier "ppiVar4"))) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "int **ppiVar10;" (primitive_type "int") (pointer_declarator "**ppiVar10" (* "*") (pointer_declarator "*ppiVar10" (* "*") (identifier "ppiVar10"))) (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int *piVar14;" (primitive_type "int") (pointer_declarator "*piVar14" (* "*") (identifier "piVar14")) (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "undefined *puVar16;" (type_identifier "undefined") (pointer_declarator "*puVar16" (* "*") (identifier "puVar16")) (; ";")) (declaration "code *pcVar17;" (type_identifier "code") (pointer_declarator "*pcVar17" (* "*") (identifier "pcVar17")) (; ";")) (declaration "code *pcVar18;" (type_identifier "code") (pointer_declarator "*pcVar18" (* "*") (identifier "pcVar18")) (; ";")) (declaration "undefined4 *puStack_11c;" (type_identifier "undefined4") (pointer_declarator "*puStack_11c" (* "*") (identifier "puStack_11c")) (; ";")) (declaration "int aiStack_fc [2];" (primitive_type "int") (array_declarator "aiStack_fc [2]" (identifier "aiStack_fc") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "int *piStack_f4;" (primitive_type "int") (pointer_declarator "*piStack_f4" (* "*") (identifier "piStack_f4")) (; ";")) (declaration "int iStack_f0;" (primitive_type "int") (identifier "iStack_f0") (; ";")) (declaration "int iStack_ec;" (primitive_type "int") (identifier "iStack_ec") (; ";")) (declaration "undefined4 uStack_e8;" (type_identifier "undefined4") (identifier "uStack_e8") (; ";")) (declaration "int *piStack_e4;" (primitive_type "int") (pointer_declarator "*piStack_e4" (* "*") (identifier "piStack_e4")) (; ";")) (declaration "int *piStack_e0;" (primitive_type "int") (pointer_declarator "*piStack_e0" (* "*") (identifier "piStack_e0")) (; ";")) (declaration "int *piStack_dc;" (primitive_type "int") (pointer_declarator "*piStack_dc" (* "*") (identifier "piStack_dc")) (; ";")) (declaration "int *piStack_d8;" (primitive_type "int") (pointer_declarator "*piStack_d8" (* "*") (identifier "piStack_d8")) (; ";")) (declaration "undefined1 *puStack_d4;" (type_identifier "undefined1") (pointer_declarator "*puStack_d4" (* "*") (identifier "puStack_d4")) (; ";")) (declaration "uint uStack_cc;" (type_identifier "uint") (identifier "uStack_cc") (; ";")) (declaration "int **ppiStack_c8;" (primitive_type "int") (pointer_declarator "**ppiStack_c8" (* "*") (pointer_declarator "*ppiStack_c8" (* "*") (identifier "ppiStack_c8"))) (; ";")) (declaration "undefined4 *puStack_c4;" (type_identifier "undefined4") (pointer_declarator "*puStack_c4" (* "*") (identifier "puStack_c4")) (; ";")) (declaration "undefined *puStack_c0;" (type_identifier "undefined") (pointer_declarator "*puStack_c0" (* "*") (identifier "puStack_c0")) (; ";")) (declaration "code *pcStack_bc;" (type_identifier "code") (pointer_declarator "*pcStack_bc" (* "*") (identifier "pcStack_bc")) (; ";")) (declaration "int *piStack_a8;" (primitive_type "int") (pointer_declarator "*piStack_a8" (* "*") (identifier "piStack_a8")) (; ";")) (declaration "uint uStack_a4;" (type_identifier "uint") (identifier "uStack_a4") (; ";")) (declaration "int iStack_a0;" (primitive_type "int") (identifier "iStack_a0") (; ";")) (declaration "int **ppiStack_9c;" (primitive_type "int") (pointer_declarator "**ppiStack_9c" (* "*") (pointer_declarator "*ppiStack_9c" (* "*") (identifier "ppiStack_9c"))) (; ";")) (declaration "int *piStack_98;" (primitive_type "int") (pointer_declarator "*piStack_98" (* "*") (identifier "piStack_98")) (; ";")) (declaration "undefined *puStack_90;" (type_identifier "undefined") (pointer_declarator "*puStack_90" (* "*") (identifier "puStack_90")) (; ";")) (declaration "int *piStack_84;" (primitive_type "int") (pointer_declarator "*piStack_84" (* "*") (identifier "piStack_84")) (; ";")) (declaration "int iStack_80;" (primitive_type "int") (identifier "iStack_80") (; ";")) (declaration "int iStack_7c;" (primitive_type "int") (identifier "iStack_7c") (; ";")) (declaration "int *piStack_74;" (primitive_type "int") (pointer_declarator "*piStack_74" (* "*") (identifier "piStack_74")) (; ";")) (declaration "int **ppiStack_70;" (primitive_type "int") (pointer_declarator "**ppiStack_70" (* "*") (pointer_declarator "*ppiStack_70" (* "*") (identifier "ppiStack_70"))) (; ";")) (declaration "int **ppiStack_6c;" (primitive_type "int") (pointer_declarator "**ppiStack_6c" (* "*") (pointer_declarator "*ppiStack_6c" (* "*") (identifier "ppiStack_6c"))) (; ";")) (declaration "int iStack_68;" (primitive_type "int") (identifier "iStack_68") (; ";")) (declaration "uint uStack_64;" (type_identifier "uint") (identifier "uStack_64") (; ";")) (declaration "int **ppiStack_60;" (primitive_type "int") (pointer_declarator "**ppiStack_60" (* "*") (pointer_declarator "*ppiStack_60" (* "*") (identifier "ppiStack_60"))) (; ";")) (declaration "undefined4 *puStack_5c;" (type_identifier "undefined4") (pointer_declarator "*puStack_5c" (* "*") (identifier "puStack_5c")) (; ";")) (declaration "uint uStack_58;" (type_identifier "uint") (identifier "uStack_58") (; ";")) (declaration "code *pcStack_54;" (type_identifier "code") (pointer_declarator "*pcStack_54" (* "*") (identifier "pcStack_54")) (; ";")) (declaration "undefined4 *puStack_3c;" (type_identifier "undefined4") (pointer_declarator "*puStack_3c" (* "*") (identifier "puStack_3c")) (; ";")) (declaration "int *piStack_38;" (primitive_type "int") (pointer_declarator "*piStack_38" (* "*") (identifier "piStack_38")) (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "int *local_2c;" (primitive_type "int") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0015ba2c" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_0015ba2c")) (; ";")) (expression_statement "local_30 = (int *)*param_1;" (assignment_expression "local_30 = (int *)*param_1" (identifier "local_30") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_0015ba2c" (identifier "local_2c") (= "=") (pointer_expression "*(int **)PTR___stack_chk_guard_0015ba2c" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_0015ba2c" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_0015ba2c")))) (; ";")) (expression_statement "uVar8 = param_3;" (assignment_expression "uVar8 = param_3" (identifier "uVar8") (= "=") (identifier "param_3")) (; ";")) (expression_statement "ppiVar10 = param_4;" (assignment_expression "ppiVar10 = param_4" (identifier "ppiVar10") (= "=") (identifier "param_4")) (; ";")) (if_statement "if (local_30 == (int *)0x0) {\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }\n  else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" (if "if") (parenthesized_expression "(local_30 == (int *)0x0)" (( "(") (binary_expression "local_30 == (int *)0x0" (identifier "local_30") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);\n    if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }\nLAB_00054f60:\n    *param_9 = iVar3;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" ({ "{") (labeled_statement "LAB_00054eb8:\n    iVar3 = FUN_00054cbc(&local_30);" (statement_identifier "LAB_00054eb8") (: ":") (expression_statement "iVar3 = FUN_00054cbc(&local_30);" (assignment_expression "iVar3 = FUN_00054cbc(&local_30)" (identifier "iVar3") (= "=") (call_expression "FUN_00054cbc(&local_30)" (identifier "FUN_00054cbc") (argument_list "(&local_30)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";"))) (if_statement "if (iVar3 == 0) {\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_30[4] = param_3;\n      local_30[5] = (int)param_4;\n      local_30[9] = 0;\n      param_2 = (undefined4 *)0xffffffff;\n      local_30[8] = 0;\n      local_30[7] = -1;\n      local_30[6] = -1;\n      goto LAB_00054efc;\n    }" ({ "{") (expression_statement "local_30[4] = param_3;" (assignment_expression "local_30[4] = param_3" (subscript_expression "local_30[4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_30[5] = (int)param_4;" (assignment_expression "local_30[5] = (int)param_4" (subscript_expression "local_30[5]" (identifier "local_30") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4"))) (; ";")) (expression_statement "local_30[9] = 0;" (assignment_expression "local_30[9] = 0" (subscript_expression "local_30[9]" (identifier "local_30") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2 = (undefined4 *)0xffffffff;" (assignment_expression "param_2 = (undefined4 *)0xffffffff" (identifier "param_2") (= "=") (cast_expression "(undefined4 *)0xffffffff" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) (; ";")) (expression_statement "local_30[8] = 0;" (assignment_expression "local_30[8] = 0" (subscript_expression "local_30[8]" (identifier "local_30") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[7] = -1;" (assignment_expression "local_30[7] = -1" (subscript_expression "local_30[7]" (identifier "local_30") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "local_30[6] = -1;" (assignment_expression "local_30[6] = -1" (subscript_expression "local_30[6]" (identifier "local_30") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "-1")) (; ";")) (goto_statement "goto LAB_00054efc;" (goto "goto") (statement_identifier "LAB_00054efc") (; ";")) (} "}"))) (labeled_statement "LAB_00054f60:\n    *param_9 = iVar3;" (statement_identifier "LAB_00054f60") (: ":") (expression_statement "*param_9 = iVar3;" (assignment_expression "*param_9 = iVar3" (pointer_expression "*param_9" (* "*") (identifier "param_9")) (= "=") (identifier "iVar3")) (; ";"))) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((int *)*param_1 == local_30) goto LAB_00054f78;" (if "if") (parenthesized_expression "((int *)*param_1 == local_30)" (( "(") (binary_expression "(int *)*param_1 == local_30" (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (== "==") (identifier "local_30")) () ")")) (goto_statement "goto LAB_00054f78;" (goto "goto") (statement_identifier "LAB_00054f78") (; ";"))) (} "}")) (else_clause "else {\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" (else "else") (compound_statement "{\n    uVar8 = local_30[4];\n    ppiVar10 = (int **)local_30[5];\n    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }\nLAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;\n    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }\n    param_6 = (int **)(param_5 | (uint)param_6);\n    if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }\n    *param_9 = 0;\n    iVar3 = 0;\n    if ((int *)*param_1 == local_30) goto LAB_00054f78;\n  }" ({ "{") (expression_statement "uVar8 = local_30[4];" (assignment_expression "uVar8 = local_30[4]" (identifier "uVar8") (= "=") (subscript_expression "local_30[4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "ppiVar10 = (int **)local_30[5];" (assignment_expression "ppiVar10 = (int **)local_30[5]" (identifier "ppiVar10") (= "=") (cast_expression "(int **)local_30[5]" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "local_30[5]" (identifier "local_30") ([ "[") (number_literal "5") (] "]")))) (; ";")) (if_statement "if ((uVar8 != param_3) || (ppiVar10 != param_4)) {\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }" (if "if") (parenthesized_expression "((uVar8 != param_3) || (ppiVar10 != param_4))" (( "(") (binary_expression "(uVar8 != param_3) || (ppiVar10 != param_4)" (parenthesized_expression "(uVar8 != param_3)" (( "(") (binary_expression "uVar8 != param_3" (identifier "uVar8") (!= "!=") (identifier "param_3")) () ")")) (|| "||") (parenthesized_expression "(ppiVar10 != param_4)" (( "(") (binary_expression "ppiVar10 != param_4" (identifier "ppiVar10") (!= "!=") (identifier "param_4")) () ")"))) () ")")) (compound_statement "{\n      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);\n      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);\n      *local_30 = *local_30 + 1;\n      goto LAB_00054eb8;\n    }" ({ "{") (expression_statement "ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);" (assignment_expression "ppiVar10 = (int **)((int)param_4 - (int)ppiVar10)" (identifier "ppiVar10") (= "=") (cast_expression "(int **)((int)param_4 - (int)ppiVar10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_4 - (int)ppiVar10)" (( "(") (binary_expression "(int)param_4 - (int)ppiVar10" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (- "-") (cast_expression "(int)ppiVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppiVar10"))) () ")")))) (; ";")) (expression_statement "uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);" (assignment_expression "uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10)" (identifier "uVar8") (= "=") (binary_expression "(param_3 - uVar8) - (uint)(param_4 < ppiVar10)" (parenthesized_expression "(param_3 - uVar8)" (( "(") (binary_expression "param_3 - uVar8" (identifier "param_3") (- "-") (identifier "uVar8")) () ")")) (- "-") (call_expression "(uint)(param_4 < ppiVar10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_4 < ppiVar10)" (( "(") (binary_expression "param_4 < ppiVar10" (identifier "param_4") (< "<") (identifier "ppiVar10")) () ")"))))) (; ";")) (expression_statement "*local_30 = *local_30 + 1;" (assignment_expression "*local_30 = *local_30 + 1" (pointer_expression "*local_30" (* "*") (identifier "local_30")) (= "=") (binary_expression "*local_30 + 1" (pointer_expression "*local_30" (* "*") (identifier "local_30")) (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_00054eb8;" (goto "goto") (statement_identifier "LAB_00054eb8") (; ";")) (} "}"))) (labeled_statement "LAB_00054efc:\n    puVar16 = PTR_LAB_0015b700;" (statement_identifier "LAB_00054efc") (: ":") (expression_statement "puVar16 = PTR_LAB_0015b700;" (assignment_expression "puVar16 = PTR_LAB_0015b700" (identifier "puVar16") (= "=") (identifier "PTR_LAB_0015b700")) (; ";"))) (if_statement "if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }" (if "if") (parenthesized_expression "((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0))))" (( "(") (binary_expression "(0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))" (parenthesized_expression "(0 < (int)param_5)" (( "(") (binary_expression "0 < (int)param_5" (number_literal "0") (< "<") (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5"))) () ")")) (|| "||") (parenthesized_expression "((param_5 == 0 && (param_6 != (int **)0x0)))" (( "(") (parenthesized_expression "(param_5 == 0 && (param_6 != (int **)0x0))" (( "(") (binary_expression "param_5 == 0 && (param_6 != (int **)0x0)" (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) (&& "&&") (parenthesized_expression "(param_6 != (int **)0x0)" (( "(") (binary_expression "param_6 != (int **)0x0" (identifier "param_6") (!= "!=") (cast_expression "(int **)0x0" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;\n      param_4 = &local_30;\n      ppiVar10 = (int **)0x1;\n      uVar8 = 0;\n      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);\n      iVar3 = FUN_00054cbc(param_4);\n      if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;\n      param_2 = (undefined4 *)0x0;\n      iVar3 = 0;\n      local_30[9] = 0;\n      local_30[8] = 0;\n      local_30[6] = param_5;\n      local_30[7] = (int)param_6;\nLAB_00054f30:\n      param_4 = &local_30;\n      ppiVar4 = (int **)((int)param_8 + 2);\n      ppiVar10 = (int **)((int)ppiVar4 - iVar3);\n      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);\n      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);\n      if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }\n      goto LAB_00054f60;\n    }" ({ "{") (if_statement "if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;" (if "if") (parenthesized_expression "((local_30[6] == param_5) && ((int **)local_30[7] == param_6))" (( "(") (binary_expression "(local_30[6] == param_5) && ((int **)local_30[7] == param_6)" (parenthesized_expression "(local_30[6] == param_5)" (( "(") (binary_expression "local_30[6] == param_5" (subscript_expression "local_30[6]" (identifier "local_30") ([ "[") (number_literal "6") (] "]")) (== "==") (identifier "param_5")) () ")")) (&& "&&") (parenthesized_expression "((int **)local_30[7] == param_6)" (( "(") (binary_expression "(int **)local_30[7] == param_6" (cast_expression "(int **)local_30[7]" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "local_30[7]" (identifier "local_30") ([ "[") (number_literal "7") (] "]"))) (== "==") (identifier "param_6")) () ")"))) () ")")) (goto_statement "goto LAB_00054f1c;" (goto "goto") (statement_identifier "LAB_00054f1c") (; ";"))) (expression_statement "param_4 = &local_30;" (assignment_expression "param_4 = &local_30" (identifier "param_4") (= "=") (pointer_expression "&local_30" (& "&") (identifier "local_30"))) (; ";")) (expression_statement "ppiVar10 = (int **)0x1;" (assignment_expression "ppiVar10 = (int **)0x1" (identifier "ppiVar10") (= "=") (cast_expression "(int **)0x1" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x1"))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc)" (identifier "pcVar17") (= "=") (cast_expression "(code *)(PTR_LAB_0015b700 + 0x4cbc)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b700 + 0x4cbc)" (( "(") (binary_expression "PTR_LAB_0015b700 + 0x4cbc" (identifier "PTR_LAB_0015b700") (+ "+") (number_literal "0x4cbc")) () ")")))) (; ";")) (expression_statement "iVar3 = FUN_00054cbc(param_4);" (assignment_expression "iVar3 = FUN_00054cbc(param_4)" (identifier "iVar3") (= "=") (call_expression "FUN_00054cbc(param_4)" (identifier "FUN_00054cbc") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (if_statement "if ((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))\n      goto LAB_00054f60;" (if "if") (parenthesized_expression "((iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))" (( "(") (binary_expression "(iVar3 != 0) ||\n         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0)" (( "(") (comma_expression "uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0" (assignment_expression "uVar8 = param_5" (identifier "uVar8") (= "=") (identifier "param_5")) (, ",") (comma_expression "ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0" (assignment_expression "ppiVar10 = param_6" (identifier "ppiVar10") (= "=") (identifier "param_6")) (, ",") (comma_expression "iVar3 = (*pcVar17)(param_4), iVar3 != 0" (assignment_expression "iVar3 = (*pcVar17)(param_4)" (identifier "iVar3") (= "=") (call_expression "(*pcVar17)(param_4)" (parenthesized_expression "(*pcVar17)" (( "(") (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) () ")")) (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))))) () ")"))) () ")")) (goto_statement "goto LAB_00054f60;" (goto "goto") (statement_identifier "LAB_00054f60") (; ";"))) (expression_statement "param_2 = (undefined4 *)0x0;" (assignment_expression "param_2 = (undefined4 *)0x0" (identifier "param_2") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[9] = 0;" (assignment_expression "local_30[9] = 0" (subscript_expression "local_30[9]" (identifier "local_30") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[8] = 0;" (assignment_expression "local_30[8] = 0" (subscript_expression "local_30[8]" (identifier "local_30") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[6] = param_5;" (assignment_expression "local_30[6] = param_5" (subscript_expression "local_30[6]" (identifier "local_30") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "local_30[7] = (int)param_6;" (assignment_expression "local_30[7] = (int)param_6" (subscript_expression "local_30[7]" (identifier "local_30") ([ "[") (number_literal "7") (] "]")) (= "=") (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6"))) (; ";")) (labeled_statement "LAB_00054f30:\n      param_4 = &local_30;" (statement_identifier "LAB_00054f30") (: ":") (expression_statement "param_4 = &local_30;" (assignment_expression "param_4 = &local_30" (identifier "param_4") (= "=") (pointer_expression "&local_30" (& "&") (identifier "local_30"))) (; ";"))) (expression_statement "ppiVar4 = (int **)((int)param_8 + 2);" (assignment_expression "ppiVar4 = (int **)((int)param_8 + 2)" (identifier "ppiVar4") (= "=") (cast_expression "(int **)((int)param_8 + 2)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_8 + 2)" (( "(") (binary_expression "(int)param_8 + 2" (cast_expression "(int)param_8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_8")) (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "ppiVar10 = (int **)((int)ppiVar4 - iVar3);" (assignment_expression "ppiVar10 = (int **)((int)ppiVar4 - iVar3)" (identifier "ppiVar10") (= "=") (cast_expression "(int **)((int)ppiVar4 - iVar3)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)ppiVar4 - iVar3)" (( "(") (binary_expression "(int)ppiVar4 - iVar3" (cast_expression "(int)ppiVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppiVar4")) (- "-") (identifier "iVar3")) () ")")))) (; ";")) (expression_statement "uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);" (assignment_expression "uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10)" (identifier "uVar8") (= "=") (binary_expression "(((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10)" (parenthesized_expression "(((uint)(ppiVar4 < param_8) + param_7) - (int)param_2)" (( "(") (binary_expression "((uint)(ppiVar4 < param_8) + param_7) - (int)param_2" (parenthesized_expression "((uint)(ppiVar4 < param_8) + param_7)" (( "(") (binary_expression "(uint)(ppiVar4 < param_8) + param_7" (call_expression "(uint)(ppiVar4 < param_8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(ppiVar4 < param_8)" (( "(") (binary_expression "ppiVar4 < param_8" (identifier "ppiVar4") (< "<") (identifier "param_8")) () ")"))) (+ "+") (identifier "param_7")) () ")")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")) (- "-") (call_expression "(uint)(ppiVar4 < ppiVar10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(ppiVar4 < ppiVar10)" (( "(") (binary_expression "ppiVar4 < ppiVar10" (identifier "ppiVar4") (< "<") (identifier "ppiVar10")) () ")"))))) (; ";")) (expression_statement "iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);" (assignment_expression "iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4)" (identifier "iVar3") (= "=") (call_expression "(*(code *)(puVar16 + 0x4cbc))(param_4)" (parenthesized_expression "(*(code *)(puVar16 + 0x4cbc))" (( "(") (pointer_expression "*(code *)(puVar16 + 0x4cbc)" (* "*") (cast_expression "(code *)(puVar16 + 0x4cbc)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + 0x4cbc)" (( "(") (binary_expression "puVar16 + 0x4cbc" (identifier "puVar16") (+ "+") (number_literal "0x4cbc")) () ")")))) () ")")) (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_30[8] = param_7;\n        local_30[9] = (int)param_8;\n      }" ({ "{") (expression_statement "local_30[8] = param_7;" (assignment_expression "local_30[8] = param_7" (subscript_expression "local_30[8]" (identifier "local_30") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "param_7")) (; ";")) (expression_statement "local_30[9] = (int)param_8;" (assignment_expression "local_30[9] = (int)param_8" (subscript_expression "local_30[9]" (identifier "local_30") ([ "[") (number_literal "9") (] "]")) (= "=") (cast_expression "(int)param_8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_8"))) (; ";")) (} "}"))) (goto_statement "goto LAB_00054f60;" (goto "goto") (statement_identifier "LAB_00054f60") (; ";")) (} "}"))) (expression_statement "param_6 = (int **)(param_5 | (uint)param_6);" (assignment_expression "param_6 = (int **)(param_5 | (uint)param_6)" (identifier "param_6") (= "=") (cast_expression "(int **)(param_5 | (uint)param_6)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_5 | (uint)param_6)" (( "(") (binary_expression "param_5 | (uint)param_6" (identifier "param_5") (| "|") (cast_expression "(uint)param_6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_6"))) () ")")))) (; ";")) (if_statement "if (param_6 == (int **)0x0) {\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }" (if "if") (parenthesized_expression "(param_6 == (int **)0x0)" (( "(") (binary_expression "param_6 == (int **)0x0" (identifier "param_6") (== "==") (cast_expression "(int **)0x0" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];\n      iVar3 = local_30[9];\n      goto LAB_00054f30;\n    }" ({ "{") (labeled_statement "LAB_00054f1c:\n      param_2 = (undefined4 *)local_30[8];" (statement_identifier "LAB_00054f1c") (: ":") (expression_statement "param_2 = (undefined4 *)local_30[8];" (assignment_expression "param_2 = (undefined4 *)local_30[8]" (identifier "param_2") (= "=") (cast_expression "(undefined4 *)local_30[8]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_30[8]" (identifier "local_30") ([ "[") (number_literal "8") (] "]")))) (; ";"))) (expression_statement "iVar3 = local_30[9];" (assignment_expression "iVar3 = local_30[9]" (identifier "iVar3") (= "=") (subscript_expression "local_30[9]" (identifier "local_30") ([ "[") (number_literal "9") (] "]"))) (; ";")) (goto_statement "goto LAB_00054f30;" (goto "goto") (statement_identifier "LAB_00054f30") (; ";")) (} "}"))) (expression_statement "*param_9 = 0;" (assignment_expression "*param_9 = 0" (pointer_expression "*param_9" (* "*") (identifier "param_9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((int *)*param_1 == local_30) goto LAB_00054f78;" (if "if") (parenthesized_expression "((int *)*param_1 == local_30)" (( "(") (binary_expression "(int *)*param_1 == local_30" (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (== "==") (identifier "local_30")) () ")")) (goto_statement "goto LAB_00054f78;" (goto "goto") (statement_identifier "LAB_00054f78") (; ";"))) (} "}")))) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "*param_1 = local_30;" (assignment_expression "*param_1 = local_30" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_30")) (; ";")) (labeled_statement "LAB_00054f78:\n  if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }" (statement_identifier "LAB_00054f78") (: ":") (if_statement "if (local_2c == *(int **)puVar1) {\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int **)puVar1)" (( "(") (binary_expression "local_2c == *(int **)puVar1" (identifier "local_2c") (== "==") (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 iVar3;\n  }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))) (expression_statement "pcVar17 = FUN_00055088;" (assignment_expression "pcVar17 = FUN_00055088" (identifier "pcVar17") (= "=") (identifier "FUN_00055088")) (; ";")) (expression_statement "piVar12 = local_2c;" (assignment_expression "piVar12 = local_2c" (identifier "piVar12") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar16 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar16 = PTR___stack_chk_fail_0015ba10" (identifier "puVar16") (= "=") (identifier "PTR___stack_chk_fail_0015ba10")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0015ba10"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puStack_90 = puVar16 + 0x10e528;" (assignment_expression "puStack_90 = puVar16 + 0x10e528" (identifier "puStack_90") (= "=") (binary_expression "puVar16 + 0x10e528" (identifier "puVar16") (+ "+") (number_literal "0x10e528"))) (; ";")) (expression_statement "ppiStack_6c = param_8;" (assignment_expression "ppiStack_6c = param_8" (identifier "ppiStack_6c") (= "=") (identifier "param_8")) (; ";")) (expression_statement "uStack_64 = param_5;" (assignment_expression "uStack_64 = param_5" (identifier "uStack_64") (= "=") (identifier "param_5")) (; ";")) (expression_statement "iStack_68 = param_7;" (assignment_expression "iStack_68 = param_7" (identifier "iStack_68") (= "=") (identifier "param_7")) (; ";")) (expression_statement "piStack_74 = param_9;" (assignment_expression "piStack_74 = param_9" (identifier "piStack_74") (= "=") (identifier "param_9")) (; ";")) (expression_statement "piVar14 = *(int **)(puVar16 + 0x1069a4);" (assignment_expression "piVar14 = *(int **)(puVar16 + 0x1069a4)" (identifier "piVar14") (= "=") (pointer_expression "*(int **)(puVar16 + 0x1069a4)" (* "*") (cast_expression "(int **)(puVar16 + 0x1069a4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x1069a4)" (( "(") (binary_expression "puVar16 + 0x1069a4" (identifier "puVar16") (+ "+") (number_literal "0x1069a4")) () ")"))))) (; ";")) (expression_statement "iStack_7c = *piVar14;" (assignment_expression "iStack_7c = *piVar14" (identifier "iStack_7c") (= "=") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) (; ";")) (expression_statement "iStack_80 = 0;" (assignment_expression "iStack_80 = 0" (identifier "iStack_80") (= "=") (number_literal "0")) (; ";")) (expression_statement "puStack_11c = puStack_3c;" (assignment_expression "puStack_11c = puStack_3c" (identifier "puStack_11c") (= "=") (identifier "puStack_3c")) (; ";")) (expression_statement "ppiStack_70 = param_6;" (assignment_expression "ppiStack_70 = param_6" (identifier "ppiStack_70") (= "=") (identifier "param_6")) (; ";")) (expression_statement "ppiStack_60 = param_4;" (assignment_expression "ppiStack_60 = param_4" (identifier "ppiStack_60") (= "=") (identifier "param_4")) (; ";")) (expression_statement "puStack_5c = param_1;" (assignment_expression "puStack_5c = param_1" (identifier "puStack_5c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uStack_58 = param_3;" (assignment_expression "uStack_58 = param_3" (identifier "uStack_58") (= "=") (identifier "param_3")) (; ";")) (expression_statement "pcStack_54 = pcVar17;" (assignment_expression "pcStack_54 = pcVar17" (identifier "pcStack_54") (= "=") (identifier "pcVar17")) (; ";")) (expression_statement "iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);" (assignment_expression "iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38)" (identifier "iVar3") (= "=") (call_expression "FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38)" (identifier "FUN_0003d3dc") (argument_list "(&_gp_1,puStack_3c,piStack_38)" (( "(") (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (, ",") (identifier "puStack_3c") (, ",") (identifier "piStack_38") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    piStack_84 = (int *)0x0;\n  }\n  else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piStack_84 = (int *)0x0;\n  }" ({ "{") (expression_statement "piStack_84 = (int *)0x0;" (assignment_expression "piStack_84 = (int *)0x0" (identifier "piStack_84") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }" (else "else") (compound_statement "{\n    piStack_84 = *(int **)(iVar3 + 8);\n    if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }\n  }" ({ "{") (expression_statement "piStack_84 = *(int **)(iVar3 + 8);" (assignment_expression "piStack_84 = *(int **)(iVar3 + 8)" (identifier "piStack_84") (= "=") (pointer_expression "*(int **)(iVar3 + 8)" (* "*") (cast_expression "(int **)(iVar3 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (piStack_84 != (int *)0x0) {\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }" (if "if") (parenthesized_expression "(piStack_84 != (int *)0x0)" (( "(") (binary_expression "piStack_84 != (int *)0x0" (identifier "piStack_84") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);\n    }" ({ "{") (expression_statement "*piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);" (assignment_expression "*piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84)" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (= "=") (binary_expression "(*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84)" (parenthesized_expression "(*piVar12 + -0x14)" (( "(") (binary_expression "*piVar12 + -0x14" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (+ "+") (number_literal "-0x14")) () ")")) (- "-") (parenthesized_expression "((int)piStack_38 + *piStack_84)" (( "(") (binary_expression "(int)piStack_38 + *piStack_84" (cast_expression "(int)piStack_38" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piStack_38")) (+ "+") (pointer_expression "*piStack_84" (* "*") (identifier "piStack_84"))) () ")")))) (; ";")) (} "}"))) (} "}")))) (expression_statement "piStack_98 = &iStack_80;" (assignment_expression "piStack_98 = &iStack_80" (identifier "piStack_98") (= "=") (pointer_expression "&iStack_80" (& "&") (identifier "iStack_80"))) (; ";")) (expression_statement "piVar11 = (int *)param_2[1];" (assignment_expression "piVar11 = (int *)param_2[1]" (identifier "piVar11") (= "=") (cast_expression "(int *)param_2[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iStack_a0 = (int)ppiVar10 >> 0x1f;" (assignment_expression "iStack_a0 = (int)ppiVar10 >> 0x1f" (identifier "iStack_a0") (= "=") (binary_expression "(int)ppiVar10 >> 0x1f" (cast_expression "(int)ppiVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppiVar10")) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "piVar9 = (int *)*param_2;" (assignment_expression "piVar9 = (int *)*param_2" (identifier "piVar9") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "piStack_a8 = (int *)((int)uVar8 >> 0x1f);" (assignment_expression "piStack_a8 = (int *)((int)uVar8 >> 0x1f)" (identifier "piStack_a8") (= "=") (cast_expression "(int *)((int)uVar8 >> 0x1f)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)uVar8 >> 0x1f)" (( "(") (binary_expression "(int)uVar8 >> 0x1f" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uStack_a4 = uVar8;" (assignment_expression "uStack_a4 = uVar8" (identifier "uStack_a4") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "ppiStack_9c = ppiVar10;" (assignment_expression "ppiStack_9c = ppiVar10" (identifier "ppiStack_9c") (= "=") (identifier "ppiVar10")) (; ";")) (expression_statement "iVar3 = FUN_00054e1c(&piStack_84);" (assignment_expression "iVar3 = FUN_00054e1c(&piStack_84)" (identifier "iVar3") (= "=") (call_expression "FUN_00054e1c(&piStack_84)" (identifier "FUN_00054e1c") (argument_list "(&piStack_84)" (( "(") (pointer_expression "&piStack_84" (& "&") (identifier "piStack_84")) () ")")))) (; ";")) (if_statement "if ((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)) {\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }\n  else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }" (if "if") (parenthesized_expression "((iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84))" (( "(") (binary_expression "(iVar3 == 0) ||\n     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)" (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84)" (( "(") (comma_expression "piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "piVar9 = piStack_38" (identifier "piVar9") (= "=") (identifier "piStack_38")) (, ",") (comma_expression "piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "piVar11 = piStack_84" (identifier "piVar11") (= "=") (identifier "piStack_84")) (, ",") (comma_expression "piVar5 = (int *)FUN_000543f8(&_gp_1),\n     puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "piVar5 = (int *)FUN_000543f8(&_gp_1)" (identifier "piVar5") (= "=") (cast_expression "(int *)FUN_000543f8(&_gp_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000543f8(&_gp_1)" (identifier "FUN_000543f8") (argument_list "(&_gp_1)" (( "(") (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) () ")"))))) (, ",") (comma_expression "puStack_11c = puStack_3c, piVar5 != piStack_84" (assignment_expression "puStack_11c = puStack_3c" (identifier "puStack_11c") (= "=") (identifier "puStack_3c")) (, ",") (binary_expression "piVar5 != piStack_84" (identifier "piVar5") (!= "!=") (identifier "piStack_84")))))) () ")"))) () ")")) (compound_statement "{\n    iVar3 = iStack_80;\n    if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }\n  }" ({ "{") (expression_statement "iVar3 = iStack_80;" (assignment_expression "iVar3 = iStack_80" (identifier "iVar3") (= "=") (identifier "iStack_80")) (; ";")) (if_statement "if (iStack_80 == 0) {\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }" (if "if") (parenthesized_expression "(iStack_80 == 0)" (( "(") (binary_expression "iStack_80 == 0" (identifier "iStack_80") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);\n      *piVar12 = (int)piStack_38;\n    }" ({ "{") (expression_statement "piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);" (assignment_expression "piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84)" (identifier "piStack_38") (= "=") (cast_expression "(int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piStack_38 + *piVar12 + 0x14 + *piStack_84)" (( "(") (binary_expression "(int)piStack_38 + *piVar12 + 0x14 + *piStack_84" (binary_expression "(int)piStack_38 + *piVar12 + 0x14" (binary_expression "(int)piStack_38 + *piVar12" (cast_expression "(int)piStack_38" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piStack_38")) (+ "+") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (+ "+") (number_literal "0x14")) (+ "+") (pointer_expression "*piStack_84" (* "*") (identifier "piStack_84"))) () ")")))) (; ";")) (expression_statement "*piVar12 = (int)piStack_38;" (assignment_expression "*piVar12 = (int)piStack_38" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (= "=") (cast_expression "(int)piStack_38" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piStack_38"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }" (else "else") (compound_statement "{\n    (**(code **)(puStack_90 + -0x7f90))(piVar5);\n    iVar3 = 7;\n    puStack_11c = puStack_3c;\n  }" ({ "{") (expression_statement "(**(code **)(puStack_90 + -0x7f90))(piVar5);" (call_expression "(**(code **)(puStack_90 + -0x7f90))(piVar5)" (parenthesized_expression "(**(code **)(puStack_90 + -0x7f90))" (( "(") (pointer_expression "**(code **)(puStack_90 + -0x7f90)" (* "*") (pointer_expression "*(code **)(puStack_90 + -0x7f90)" (* "*") (cast_expression "(code **)(puStack_90 + -0x7f90)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_90 + -0x7f90)" (( "(") (binary_expression "puStack_90 + -0x7f90" (identifier "puStack_90") (+ "+") (number_literal "-0x7f90")) () ")"))))) () ")")) (argument_list "(piVar5)" (( "(") (identifier "piVar5") () ")"))) (; ";")) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" (identifier "iVar3") (= "=") (number_literal "7")) (; ";")) (expression_statement "puStack_11c = puStack_3c;" (assignment_expression "puStack_11c = puStack_3c" (identifier "puStack_11c") (= "=") (identifier "puStack_3c")) (; ";")) (} "}")))) (if_statement "if (iStack_7c == *piVar14) {\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(iStack_7c == *piVar14)" (( "(") (binary_expression "iStack_7c == *piVar14" (identifier "iStack_7c") (== "==") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) () ")")) (compound_statement "{\n    return iVar3;\n  }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "pcVar17 = *(code **)(puStack_90 + -0x7ba0);" (assignment_expression "pcVar17 = *(code **)(puStack_90 + -0x7ba0)" (identifier "pcVar17") (= "=") (pointer_expression "*(code **)(puStack_90 + -0x7ba0)" (* "*") (cast_expression "(code **)(puStack_90 + -0x7ba0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_90 + -0x7ba0)" (( "(") (binary_expression "puStack_90 + -0x7ba0" (identifier "puStack_90") (+ "+") (number_literal "-0x7ba0")) () ")"))))) (; ";")) (expression_statement "pcVar18 = FUN_00055224;" (assignment_expression "pcVar18 = FUN_00055224" (identifier "pcVar18") (= "=") (identifier "FUN_00055224")) (; ";")) (expression_statement "iVar3 = iStack_7c;" (assignment_expression "iVar3 = iStack_7c" (identifier "iVar3") (= "=") (identifier "iStack_7c")) (; ";")) (expression_statement "(*pcVar17)();" (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" (( "(") (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar5 = piStack_a8;" (assignment_expression "piVar5 = piStack_a8" (identifier "piVar5") (= "=") (identifier "piStack_a8")) (; ";")) (expression_statement "puVar6 = *(undefined4 **)(pcVar17 + 0x106808);" (assignment_expression "puVar6 = *(undefined4 **)(pcVar17 + 0x106808)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined4 **)(pcVar17 + 0x106808)" (* "*") (cast_expression "(undefined4 **)(pcVar17 + 0x106808)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x106808)" (( "(") (binary_expression "pcVar17 + 0x106808" (identifier "pcVar17") (+ "+") (number_literal "0x106808")) () ")"))))) (; ";")) (expression_statement "puStack_c0 = puVar1;" (assignment_expression "puStack_c0 = puVar1" (identifier "puStack_c0") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "aiStack_fc[0] = 0;" (assignment_expression "aiStack_fc[0] = 0" (subscript_expression "aiStack_fc[0]" (identifier "aiStack_fc") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_fc[1] = 0;" (assignment_expression "aiStack_fc[1] = 0" (subscript_expression "aiStack_fc[1]" (identifier "aiStack_fc") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piStack_f4 = (int *)0x0;" (assignment_expression "piStack_f4 = (int *)0x0" (identifier "piStack_f4") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iStack_ec = 0;" (assignment_expression "iStack_ec = 0" (identifier "iStack_ec") (= "=") (number_literal "0")) (; ";")) (expression_statement "piStack_e4 = (int *)*puVar6;" (assignment_expression "piStack_e4 = (int *)*puVar6" (identifier "piStack_e4") (= "=") (cast_expression "(int *)*puVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (; ";")) (expression_statement "piStack_e0 = piStack_38;" (assignment_expression "piStack_e0 = piStack_38" (identifier "piStack_e0") (= "=") (identifier "piStack_38")) (; ";")) (expression_statement "piStack_dc = piVar12;" (assignment_expression "piStack_dc = piVar12" (identifier "piStack_dc") (= "=") (identifier "piVar12")) (; ";")) (expression_statement "piStack_d8 = piVar14;" (assignment_expression "piStack_d8 = piVar14" (identifier "piStack_d8") (= "=") (identifier "piVar14")) (; ";")) (expression_statement "puStack_d4 = &_gp_1;" (assignment_expression "puStack_d4 = &_gp_1" (identifier "puStack_d4") (= "=") (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1"))) (; ";")) (expression_statement "uStack_cc = uVar8;" (assignment_expression "uStack_cc = uVar8" (identifier "uStack_cc") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "ppiStack_c8 = ppiVar10;" (assignment_expression "ppiStack_c8 = ppiVar10" (identifier "ppiStack_c8") (= "=") (identifier "ppiVar10")) (; ";")) (expression_statement "puStack_c4 = param_2;" (assignment_expression "puStack_c4 = param_2" (identifier "puStack_c4") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pcStack_bc = pcVar18;" (assignment_expression "pcStack_bc = pcVar18" (identifier "pcStack_bc") (= "=") (identifier "pcVar18")) (; ";")) (if_statement "if (piVar9 == (int *)0x0) {\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }\n  else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }" (if "if") (parenthesized_expression "(piVar9 == (int *)0x0)" (( "(") (binary_expression "piVar9 == (int *)0x0" (identifier "piVar9") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *piStack_a8 = 0;\n    iVar7 = 0;\n    piVar12 = piVar11;\n  }" ({ "{") (expression_statement "*piStack_a8 = 0;" (assignment_expression "*piStack_a8 = 0" (pointer_expression "*piStack_a8" (* "*") (identifier "piStack_a8")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar12 = piVar11;" (assignment_expression "piVar12 = piVar11" (identifier "piVar12") (= "=") (identifier "piVar11")) (; ";")) (} "}")) (else_clause "else {\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }" (else "else") (compound_statement "{\n    piVar12 = (int *)0xffffffff;\n    iVar13 = **(int **)(iVar3 + 0x24);\n    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));\n    if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }\n  }" ({ "{") (expression_statement "piVar12 = (int *)0xffffffff;" (assignment_expression "piVar12 = (int *)0xffffffff" (identifier "piVar12") (= "=") (cast_expression "(int *)0xffffffff" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) (; ";")) (expression_statement "iVar13 = **(int **)(iVar3 + 0x24);" (assignment_expression "iVar13 = **(int **)(iVar3 + 0x24)" (identifier "iVar13") (= "=") (pointer_expression "**(int **)(iVar3 + 0x24)" (* "*") (pointer_expression "*(int **)(iVar3 + 0x24)" (* "*") (cast_expression "(int **)(iVar3 + 0x24)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x24)" (( "(") (binary_expression "iVar3 + 0x24" (identifier "iVar3") (+ "+") (number_literal "0x24")) () ")")))))) (; ";")) (expression_statement "iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));" (assignment_expression "iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24))" (identifier "iVar7") (= "=") (call_expression "(*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24))" (parenthesized_expression "(*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))" (( "(") (pointer_expression "*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0)" (* "*") (cast_expression "(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar17 + 0x106438) + 0x23b0)" (( "(") (binary_expression "*(int *)(pcVar17 + 0x106438) + 0x23b0" (pointer_expression "*(int *)(pcVar17 + 0x106438)" (* "*") (cast_expression "(int *)(pcVar17 + 0x106438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar17 + 0x106438)" (( "(") (binary_expression "pcVar17 + 0x106438" (identifier "pcVar17") (+ "+") (number_literal "0x106438")) () ")")))) (+ "+") (number_literal "0x23b0")) () ")")))) () ")")) (argument_list "(*(int **)(iVar3 + 0x24))" (( "(") (pointer_expression "*(int **)(iVar3 + 0x24)" (* "*") (cast_expression "(int **)(iVar3 + 0x24)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x24)" (( "(") (binary_expression "iVar3 + 0x24" (identifier "iVar3") (+ "+") (number_literal "0x24")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar18 = *(code **)(iVar13 + 0x14);\n      puStack_11c = (undefined4 *)0x0;\nLAB_000552fc:\n      piVar9 = &iStack_ec;\n      piVar12 = aiStack_fc;\n      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);\n      if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }\nLAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);\n      if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }\n      *piVar5 = *piVar5 + (int)puStack_11c;\n    }" ({ "{") (expression_statement "pcVar18 = *(code **)(iVar13 + 0x14);" (assignment_expression "pcVar18 = *(code **)(iVar13 + 0x14)" (identifier "pcVar18") (= "=") (pointer_expression "*(code **)(iVar13 + 0x14)" (* "*") (cast_expression "(code **)(iVar13 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar13 + 0x14)" (( "(") (binary_expression "iVar13 + 0x14" (identifier "iVar13") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "puStack_11c = (undefined4 *)0x0;" (assignment_expression "puStack_11c = (undefined4 *)0x0" (identifier "puStack_11c") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_000552fc:\n      piVar9 = &iStack_ec;" (statement_identifier "LAB_000552fc") (: ":") (expression_statement "piVar9 = &iStack_ec;" (assignment_expression "piVar9 = &iStack_ec" (identifier "piVar9") (= "=") (pointer_expression "&iStack_ec" (& "&") (identifier "iStack_ec"))) (; ";"))) (expression_statement "piVar12 = aiStack_fc;" (assignment_expression "piVar12 = aiStack_fc" (identifier "piVar12") (= "=") (identifier "aiStack_fc")) (; ";")) (expression_statement "iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);" (assignment_expression "iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4)" (identifier "iVar7") (= "=") (call_expression "(*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4)" (parenthesized_expression "(*pcVar18)" (( "(") (pointer_expression "*pcVar18" (* "*") (identifier "pcVar18")) () ")")) (argument_list "(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4)" (( "(") (identifier "uStack_e8") (, ",") (pointer_expression "&iStack_f0" (& "&") (identifier "iStack_f0")) (, ",") (pointer_expression "&iStack_ec" (& "&") (identifier "iStack_ec")) (, ",") (identifier "aiStack_fc") (, ",") (binary_expression "aiStack_fc + 1" (identifier "aiStack_fc") (+ "+") (number_literal "1")) (, ",") (pointer_expression "&piStack_f4" (& "&") (identifier "piStack_f4")) () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar7 = 0;\n        puVar2 = (undefined4 *)((int)piStack_f4 + 1);\n        piVar12 = piStack_f4;\n        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }\n        piVar9 = piVar11;\n        iVar7 = FUN_00055088(iVar3 + 0x108);\n        if (iVar7 != 0) goto LAB_0005541c;\n        iVar15 = 1;\n        while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }\n        goto LAB_000552fc;\n      }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = (undefined4 *)((int)piStack_f4 + 1);" (assignment_expression "puVar2 = (undefined4 *)((int)piStack_f4 + 1)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)((int)piStack_f4 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piStack_f4 + 1)" (( "(") (binary_expression "(int)piStack_f4 + 1" (cast_expression "(int)piStack_f4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piStack_f4")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "piVar12 = piStack_f4;" (assignment_expression "piVar12 = piStack_f4" (identifier "piVar12") (= "=") (identifier "piStack_f4")) (; ";")) (if_statement "if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }" (if "if") (parenthesized_expression "(((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1))" (( "(") (binary_expression "((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)" (parenthesized_expression "((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0))" (( "(") (binary_expression "(((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))\n            || (puStack_11c = puVar2, iStack_f0 == 0)" (parenthesized_expression "(((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))" (( "(") (binary_expression "((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0)" (parenthesized_expression "((int)piStack_f4 < (int)puStack_11c)" (( "(") (binary_expression "(int)piStack_f4 < (int)puStack_11c" (cast_expression "(int)piStack_f4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piStack_f4")) (< "<") (cast_expression "(int)puStack_11c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puStack_11c"))) () ")")) (&& "&&") (parenthesized_expression "(puVar2 = puStack_11c, (int)piStack_f4 < 0)" (( "(") (comma_expression "puVar2 = puStack_11c, (int)piStack_f4 < 0" (assignment_expression "puVar2 = puStack_11c" (identifier "puVar2") (= "=") (identifier "puStack_11c")) (, ",") (binary_expression "(int)piStack_f4 < 0" (cast_expression "(int)piStack_f4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piStack_f4")) (< "<") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(puStack_11c = puVar2, iStack_f0 == 0)" (( "(") (comma_expression "puStack_11c = puVar2, iStack_f0 == 0" (assignment_expression "puStack_11c = puVar2" (identifier "puStack_11c") (= "=") (identifier "puVar2")) (, ",") (binary_expression "iStack_f0 == 0" (identifier "iStack_f0") (== "==") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar7 = iVar3 + 0x110, iStack_ec < 1)" (( "(") (comma_expression "iVar7 = iVar3 + 0x110, iStack_ec < 1" (assignment_expression "iVar7 = iVar3 + 0x110" (identifier "iVar7") (= "=") (binary_expression "iVar3 + 0x110" (identifier "iVar3") (+ "+") (number_literal "0x110"))) (, ",") (binary_expression "iStack_ec < 1" (identifier "iStack_ec") (< "<") (number_literal "1"))) () ")"))) () ")")) (compound_statement "{\n          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);\n          iVar7 = 1;\n          *piVar5 = *piVar5 + (int)puStack_11c;\n          goto LAB_0005545c;\n        }" ({ "{") (expression_statement "(**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);" (call_expression "(**(code **)(iVar13 + 0x10))(uStack_e8,iVar7)" (parenthesized_expression "(**(code **)(iVar13 + 0x10))" (( "(") (pointer_expression "**(code **)(iVar13 + 0x10)" (* "*") (pointer_expression "*(code **)(iVar13 + 0x10)" (* "*") (cast_expression "(code **)(iVar13 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar13 + 0x10)" (( "(") (binary_expression "iVar13 + 0x10" (identifier "iVar13") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(uStack_e8,iVar7)" (( "(") (identifier "uStack_e8") (, ",") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" (identifier "iVar7") (= "=") (number_literal "1")) (; ";")) (expression_statement "*piVar5 = *piVar5 + (int)puStack_11c;" (assignment_expression "*piVar5 = *piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (binary_expression "*piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (cast_expression "(int)puStack_11c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puStack_11c")))) (; ";")) (goto_statement "goto LAB_0005545c;" (goto "goto") (statement_identifier "LAB_0005545c") (; ";")) (} "}"))) (expression_statement "piVar9 = piVar11;" (assignment_expression "piVar9 = piVar11" (identifier "piVar9") (= "=") (identifier "piVar11")) (; ";")) (expression_statement "iVar7 = FUN_00055088(iVar3 + 0x108);" (assignment_expression "iVar7 = FUN_00055088(iVar3 + 0x108)" (identifier "iVar7") (= "=") (call_expression "FUN_00055088(iVar3 + 0x108)" (identifier "FUN_00055088") (argument_list "(iVar3 + 0x108)" (( "(") (binary_expression "iVar3 + 0x108" (identifier "iVar3") (+ "+") (number_literal "0x108")) () ")")))) (; ";")) (if_statement "if (iVar7 != 0) goto LAB_0005541c;" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0005541c;" (goto "goto") (statement_identifier "LAB_0005541c") (; ";"))) (expression_statement "iVar15 = 1;" (assignment_expression "iVar15 = 1" (identifier "iVar15") (= "=") (number_literal "1")) (; ";")) (while_statement "while (iVar15 < *(int *)(iVar3 + 0xfc)) {\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }" (while "while") (parenthesized_expression "(iVar15 < *(int *)(iVar3 + 0xfc))" (( "(") (binary_expression "iVar15 < *(int *)(iVar3 + 0xfc)" (identifier "iVar15") (< "<") (pointer_expression "*(int *)(iVar3 + 0xfc)" (* "*") (cast_expression "(int *)(iVar3 + 0xfc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xfc)" (( "(") (binary_expression "iVar3 + 0xfc" (identifier "iVar3") (+ "+") (number_literal "0xfc")) () ")"))))) () ")")) (compound_statement "{\n          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);\n          iVar7 = *piVar14;\n          if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }\n          piVar9 = piVar11;\n          piVar12 = piStack_f4;\n          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);\n          iVar15 = iVar15 + 1;\n          if (iVar7 != 0) goto LAB_0005541c;\n        }" ({ "{") (expression_statement "piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);" (assignment_expression "piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18)" (identifier "piVar14") (= "=") (cast_expression "(int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x100) + iVar15 * 0x18)" (( "(") (binary_expression "*(int *)(iVar3 + 0x100) + iVar15 * 0x18" (pointer_expression "*(int *)(iVar3 + 0x100)" (* "*") (cast_expression "(int *)(iVar3 + 0x100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x100)" (( "(") (binary_expression "iVar3 + 0x100" (identifier "iVar3") (+ "+") (number_literal "0x100")) () ")")))) (+ "+") (binary_expression "iVar15 * 0x18" (identifier "iVar15") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "iVar7 = *piVar14;" (assignment_expression "iVar7 = *piVar14" (identifier "iVar7") (= "=") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) (; ";")) (if_statement "if (iStack_ec < iVar7) {\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }" (if "if") (parenthesized_expression "(iStack_ec < iVar7)" (( "(") (binary_expression "iStack_ec < iVar7" (identifier "iStack_ec") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);\n            do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);\n          }" ({ "{") (expression_statement "piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);" (assignment_expression "piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18)" (identifier "piVar12") (= "=") (cast_expression "(int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18)" (( "(") (binary_expression "*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18" (binary_expression "*(int *)(iVar3 + 0x100) + iVar15 * 0x18" (pointer_expression "*(int *)(iVar3 + 0x100)" (* "*") (cast_expression "(int *)(iVar3 + 0x100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x100)" (( "(") (binary_expression "iVar3 + 0x100" (identifier "iVar3") (+ "+") (number_literal "0x100")) () ")")))) (+ "+") (binary_expression "iVar15 * 0x18" (identifier "iVar15") (* "*") (number_literal "0x18"))) (+ "+") (number_literal "0x18")) () ")")))) (; ";")) (do_statement "do {\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            } while (iStack_ec < iVar7);" (do "do") (compound_statement "{\n              piVar14 = piVar12;\n              iVar15 = iVar15 + 1;\n              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;\n              iVar7 = *piVar14;\n              piVar12 = piVar14 + 6;\n            }" ({ "{") (expression_statement "piVar14 = piVar12;" (assignment_expression "piVar14 = piVar12" (identifier "piVar14") (= "=") (identifier "piVar12")) (; ";")) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" (identifier "iVar15") (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;" (if "if") (parenthesized_expression "(iVar15 == *(int *)(iVar3 + 0xfc))" (( "(") (binary_expression "iVar15 == *(int *)(iVar3 + 0xfc)" (identifier "iVar15") (== "==") (pointer_expression "*(int *)(iVar3 + 0xfc)" (* "*") (cast_expression "(int *)(iVar3 + 0xfc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xfc)" (( "(") (binary_expression "iVar3 + 0xfc" (identifier "iVar3") (+ "+") (number_literal "0xfc")) () ")"))))) () ")")) (goto_statement "goto LAB_000552fc;" (goto "goto") (statement_identifier "LAB_000552fc") (; ";"))) (expression_statement "iVar7 = *piVar14;" (assignment_expression "iVar7 = *piVar14" (identifier "iVar7") (= "=") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) (; ";")) (expression_statement "piVar12 = piVar14 + 6;" (assignment_expression "piVar12 = piVar14 + 6" (identifier "piVar12") (= "=") (binary_expression "piVar14 + 6" (identifier "piVar14") (+ "+") (number_literal "6"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iStack_ec < iVar7)" (( "(") (binary_expression "iStack_ec < iVar7" (identifier "iStack_ec") (< "<") (identifier "iVar7")) () ")")) (; ";")) (} "}"))) (expression_statement "piVar9 = piVar11;" (assignment_expression "piVar9 = piVar11" (identifier "piVar9") (= "=") (identifier "piVar11")) (; ";")) (expression_statement "piVar12 = piStack_f4;" (assignment_expression "piVar12 = piStack_f4" (identifier "piVar12") (= "=") (identifier "piStack_f4")) (; ";")) (expression_statement "iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7);" (assignment_expression "iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7)" (identifier "iVar7") (= "=") (call_expression "FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7)" (identifier "FUN_00055088") (argument_list "(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,\n                               iVar7)" (( "(") (binary_expression "iVar3 + 0x108" (identifier "iVar3") (+ "+") (number_literal "0x108")) (, ",") (binary_expression "iVar3 + 0x110" (identifier "iVar3") (+ "+") (number_literal "0x110")) (, ",") (identifier "piVar11") (, ",") (identifier "piStack_f4") (, ",") (binary_expression "piVar14 + 1" (identifier "piVar14") (+ "+") (number_literal "1")) (, ",") (identifier "iStack_f0") (, ",") (identifier "iVar7") () ")")))) (; ";")) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" (identifier "iVar15") (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar7 != 0) goto LAB_0005541c;" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0005541c;" (goto "goto") (statement_identifier "LAB_0005541c") (; ";"))) (} "}"))) (goto_statement "goto LAB_000552fc;" (goto "goto") (statement_identifier "LAB_000552fc") (; ";")) (} "}"))) (labeled_statement "LAB_0005541c:\n      (**(code **)(iVar13 + 0x10))(uStack_e8);" (statement_identifier "LAB_0005541c") (: ":") (expression_statement "(**(code **)(iVar13 + 0x10))(uStack_e8);" (call_expression "(**(code **)(iVar13 + 0x10))(uStack_e8)" (parenthesized_expression "(**(code **)(iVar13 + 0x10))" (( "(") (pointer_expression "**(code **)(iVar13 + 0x10)" (* "*") (pointer_expression "*(code **)(iVar13 + 0x10)" (* "*") (cast_expression "(code **)(iVar13 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar13 + 0x10)" (( "(") (binary_expression "iVar13 + 0x10" (identifier "iVar13") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(uStack_e8)" (( "(") (identifier "uStack_e8") () ")"))) (; ";"))) (if_statement "if (iVar7 == 0x65) {\n        iVar7 = 0;\n      }" (if "if") (parenthesized_expression "(iVar7 == 0x65)" (( "(") (binary_expression "iVar7 == 0x65" (identifier "iVar7") (== "==") (number_literal "0x65")) () ")")) (compound_statement "{\n        iVar7 = 0;\n      }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*piVar5 = *piVar5 + (int)puStack_11c;" (assignment_expression "*piVar5 = *piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (binary_expression "*piVar5 + (int)puStack_11c" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (cast_expression "(int)puStack_11c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puStack_11c")))) (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_0005545c:\n  if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }" (statement_identifier "LAB_0005545c") (: ":") (if_statement "if (piStack_e4 == (int *)*puVar6) {\n    return iVar7;\n  }" (if "if") (parenthesized_expression "(piStack_e4 == (int *)*puVar6)" (( "(") (binary_expression "piStack_e4 == (int *)*puVar6" (identifier "piStack_e4") (== "==") (cast_expression "(int *)*puVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) () ")")) (compound_statement "{\n    return iVar7;\n  }" ({ "{") (return_statement "return iVar7;" (return "return") (identifier "iVar7") (; ";")) (} "}")))) (expression_statement "piVar14 = piStack_e4;" (assignment_expression "piVar14 = piStack_e4" (identifier "piVar14") (= "=") (identifier "piStack_e4")) (; ";")) (expression_statement "(**(code **)(pcVar17 + 0x1067ec))();" (call_expression "(**(code **)(pcVar17 + 0x1067ec))()" (parenthesized_expression "(**(code **)(pcVar17 + 0x1067ec))" (( "(") (pointer_expression "**(code **)(pcVar17 + 0x1067ec)" (* "*") (pointer_expression "*(code **)(pcVar17 + 0x1067ec)" (* "*") (cast_expression "(code **)(pcVar17 + 0x1067ec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x1067ec)" (( "(") (binary_expression "pcVar17 + 0x1067ec" (identifier "pcVar17") (+ "+") (number_literal "0x1067ec")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = sqlite3_realloc(*piVar14,piVar9);" (assignment_expression "iVar3 = sqlite3_realloc(*piVar14,piVar9)" (identifier "iVar3") (= "=") (call_expression "sqlite3_realloc(*piVar14,piVar9)" (identifier "sqlite3_realloc") (argument_list "(*piVar14,piVar9)" (( "(") (pointer_expression "*piVar14" (* "*") (identifier "piVar14")) (, ",") (identifier "piVar9") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    *piVar12 = 7;\n    return 7;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *piVar12 = 7;\n    return 7;\n  }" ({ "{") (expression_statement "*piVar12 = 7;" (assignment_expression "*piVar12 = 7" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (= "=") (number_literal "7")) (; ";")) (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (expression_statement "*puStack_11c = piVar9;" (assignment_expression "*puStack_11c = piVar9" (pointer_expression "*puStack_11c" (* "*") (identifier "puStack_11c")) (= "=") (identifier "piVar9")) (; ";")) (expression_statement "*piVar14 = iVar3;" (assignment_expression "*piVar14 = iVar3" (pointer_expression "*piVar14" (* "*") (identifier "piVar14")) (= "=") (identifier "iVar3")) (; ";")) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))

/* WARNING: Removing unreachable block (ram,0x00054fbc) */

int function_1
              (type_1 **pp,type_2 var_7,type_2 iCol,type_2 iPos,int *pRc)

{
  type_3 *puVar1;
  int var_4;
  type_4 var_9;
  int var_5;
  int var_6;
  int var_10;
  type_5 *pcVar5;
  type_6 *var_8;
  type_7 in_stack_ffffffc4;
  type_1 *var_1;
  int var_11;
  
  puVar1 = PTR___stack_chk_guard_0015ba2c;
  var_8 = &_gp;
  var_1 = *pp;
  var_11 = *(int *)PTR___stack_chk_guard_0015ba2c;
  if (var_1 == (type_1 *)0x0) {
LAB_00054eb8:
    var_4 = var_2(&var_1,var_3(&_gp,in_stack_ffffffc4));
    if (var_4 == 0) {
      *(int *)&var_1->iLastDocid = var_5;
      *(int *)((int)&var_1->iLastDocid + 4) = var_6;
      *(type_7 *)((int)&var_1->iLastPos + 4) = 0;
      *(type_7 *)&var_1->iLastPos = 0;
      *(type_7 *)((int)&var_1->iLastCol + 4) = 0xffffffff;
      *(type_7 *)&var_1->iLastCol = 0xffffffff;
      goto LAB_00054efc;
    }
LAB_00054f60:
    *iPos._0_4_ = var_4;
    var_4 = 0;
    if (*pp == var_1) goto LAB_00054f78;
  }
  else {
    if ((*(int *)&var_1->iLastDocid != var_5) || ((int)var_1->iLastDocid != var_6)) {
      var_1->nData = var_1->nData + 1;
      goto LAB_00054eb8;
    }
LAB_00054efc:
    if (0 < var_7) {
      if ((*(int *)&var_1->iLastCol == var_7._0_4_) && ((int)var_1->iLastCol == var_7._4_4_))
      goto LAB_00054f1c;
      pcVar5 = (type_5 *)(*(int *)(var_8 + -0x7eb0) + 0x4cbc);
      var_4 = var_2(&var_1,var_3(var_8,in_stack_ffffffc4));
      if ((var_4 != 0) || (var_4 = (*pcVar5)(&var_1), var_4 != 0)) goto LAB_00054f60;
      var_4 = 0;
      var_10 = 0;
      *(type_7 *)((int)&var_1->iLastPos + 4) = 0;
      *(type_7 *)&var_1->iLastPos = 0;
      var_1->iLastCol = var_7;
LAB_00054f30:
      var_9 = iCol._4_4_ + 2;
      var_4 = (*pcVar5)(&var_1,var_4,(((type_4)(var_9 < iCol._4_4_) + iCol._0_4_) - var_4) -
                                 (type_4)(var_9 < var_9 - var_10));
      if (var_4 == 0) {
        var_1->iLastPos = iCol;
      }
      goto LAB_00054f60;
    }
    if (var_7 == 0) {
LAB_00054f1c:
      var_4 = *(int *)&var_1->iLastPos;
      var_10 = (int)var_1->iLastPos;
      pcVar5 = (type_5 *)(*(int *)(var_8 + -0x7eb0) + 0x4cbc);
      goto LAB_00054f30;
    }
    *iPos._0_4_ = 0;
    var_4 = 0;
    if (*pp == var_1) goto LAB_00054f78;
  }
  var_4 = 1;
  *pp = var_1;
LAB_00054f78:
  if (var_11 == *(int *)puVar1) {
    return var_4;
  }
  var_4 = (**(type_5 **)(var_8 + -0x7ba0))();
  return var_4;
}


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

/* WARNING: Type propagation algorithm not settling */

int MASKED(undefined4 *param_1,undefined4 *param_2,uint param_3,int **param_4,uint param_5,
                int **param_6,int param_7,int **param_8,int *param_9)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  int **ppiVar4;
  int *piVar5;
  undefined4 *puVar6;
  int iVar7;
  uint uVar8;
  int *piVar9;
  int **ppiVar10;
  int *piVar11;
  int *piVar12;
  int iVar13;
  int *piVar14;
  int iVar15;
  undefined *puVar16;
  code *pcVar17;
  code *pcVar18;
  undefined4 *puStack_11c;
  int aiStack_fc [2];
  int *piStack_f4;
  int iStack_f0;
  int iStack_ec;
  undefined4 uStack_e8;
  int *piStack_e4;
  int *piStack_e0;
  int *piStack_dc;
  int *piStack_d8;
  undefined1 *puStack_d4;
  uint uStack_cc;
  int **ppiStack_c8;
  undefined4 *puStack_c4;
  undefined *puStack_c0;
  code *pcStack_bc;
  int *piStack_a8;
  uint uStack_a4;
  int iStack_a0;
  int **ppiStack_9c;
  int *piStack_98;
  undefined *puStack_90;
  int *piStack_84;
  int iStack_80;
  int iStack_7c;
  int *piStack_74;
  int **ppiStack_70;
  int **ppiStack_6c;
  int iStack_68;
  uint uStack_64;
  int **ppiStack_60;
  undefined4 *puStack_5c;
  uint uStack_58;
  code *pcStack_54;
  undefined4 *puStack_3c;
  int *piStack_38;
  int *local_30;
  int *local_2c;
  
  puVar1 = PTR___stack_chk_guard_0015ba2c;
  local_30 = (int *)*param_1;
  local_2c = *(int **)PTR___stack_chk_guard_0015ba2c;
  uVar8 = param_3;
  ppiVar10 = param_4;
  if (local_30 == (int *)0x0) {
LAB_00054eb8:
    iVar3 = FUN_00054cbc(&local_30);
    if (iVar3 == 0) {
      local_30[4] = param_3;
      local_30[5] = (int)param_4;
      local_30[9] = 0;
      param_2 = (undefined4 *)0xffffffff;
      local_30[8] = 0;
      local_30[7] = -1;
      local_30[6] = -1;
      goto LAB_00054efc;
    }
LAB_00054f60:
    *param_9 = iVar3;
    iVar3 = 0;
    if ((int *)*param_1 == local_30) goto LAB_00054f78;
  }
  else {
    uVar8 = local_30[4];
    ppiVar10 = (int **)local_30[5];
    if ((uVar8 != param_3) || (ppiVar10 != param_4)) {
      ppiVar10 = (int **)((int)param_4 - (int)ppiVar10);
      uVar8 = (param_3 - uVar8) - (uint)(param_4 < ppiVar10);
      *local_30 = *local_30 + 1;
      goto LAB_00054eb8;
    }
LAB_00054efc:
    puVar16 = PTR_LAB_0015b700;
    if ((0 < (int)param_5) || ((param_5 == 0 && (param_6 != (int **)0x0)))) {
      if ((local_30[6] == param_5) && ((int **)local_30[7] == param_6)) goto LAB_00054f1c;
      param_4 = &local_30;
      ppiVar10 = (int **)0x1;
      uVar8 = 0;
      pcVar17 = (code *)(PTR_LAB_0015b700 + 0x4cbc);
      iVar3 = FUN_00054cbc(param_4);
      if ((iVar3 != 0) ||
         (uVar8 = param_5, ppiVar10 = param_6, iVar3 = (*pcVar17)(param_4), iVar3 != 0))
      goto LAB_00054f60;
      param_2 = (undefined4 *)0x0;
      iVar3 = 0;
      local_30[9] = 0;
      local_30[8] = 0;
      local_30[6] = param_5;
      local_30[7] = (int)param_6;
LAB_00054f30:
      param_4 = &local_30;
      ppiVar4 = (int **)((int)param_8 + 2);
      ppiVar10 = (int **)((int)ppiVar4 - iVar3);
      uVar8 = (((uint)(ppiVar4 < param_8) + param_7) - (int)param_2) - (uint)(ppiVar4 < ppiVar10);
      iVar3 = (*(code *)(puVar16 + 0x4cbc))(param_4);
      if (iVar3 == 0) {
        local_30[8] = param_7;
        local_30[9] = (int)param_8;
      }
      goto LAB_00054f60;
    }
    param_6 = (int **)(param_5 | (uint)param_6);
    if (param_6 == (int **)0x0) {
LAB_00054f1c:
      param_2 = (undefined4 *)local_30[8];
      iVar3 = local_30[9];
      goto LAB_00054f30;
    }
    *param_9 = 0;
    iVar3 = 0;
    if ((int *)*param_1 == local_30) goto LAB_00054f78;
  }
  iVar3 = 1;
  *param_1 = local_30;
LAB_00054f78:
  if (local_2c == *(int **)puVar1) {
    return iVar3;
  }
  pcVar17 = FUN_00055088;
  piVar12 = local_2c;
  puVar16 = PTR___stack_chk_fail_0015ba10;
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  puStack_90 = puVar16 + 0x10e528;
  ppiStack_6c = param_8;
  uStack_64 = param_5;
  iStack_68 = param_7;
  piStack_74 = param_9;
  piVar14 = *(int **)(puVar16 + 0x1069a4);
  iStack_7c = *piVar14;
  iStack_80 = 0;
  puStack_11c = puStack_3c;
  ppiStack_70 = param_6;
  ppiStack_60 = param_4;
  puStack_5c = param_1;
  uStack_58 = param_3;
  pcStack_54 = pcVar17;
  iVar3 = FUN_0003d3dc(&_gp_1,puStack_3c,piStack_38);
  if (iVar3 == 0) {
    piStack_84 = (int *)0x0;
  }
  else {
    piStack_84 = *(int **)(iVar3 + 8);
    if (piStack_84 != (int *)0x0) {
      *piVar12 = (*piVar12 + -0x14) - ((int)piStack_38 + *piStack_84);
    }
  }
  piStack_98 = &iStack_80;
  piVar11 = (int *)param_2[1];
  iStack_a0 = (int)ppiVar10 >> 0x1f;
  piVar9 = (int *)*param_2;
  piStack_a8 = (int *)((int)uVar8 >> 0x1f);
  uStack_a4 = uVar8;
  ppiStack_9c = ppiVar10;
  iVar3 = MASKED(&piStack_84);
  if ((iVar3 == 0) ||
     (piVar9 = piStack_38, piVar11 = piStack_84, piVar5 = (int *)FUN_000543f8(&_gp_1),
     puStack_11c = puStack_3c, piVar5 != piStack_84)) {
    iVar3 = iStack_80;
    if (iStack_80 == 0) {
      piStack_38 = (int *)((int)piStack_38 + *piVar12 + 0x14 + *piStack_84);
      *piVar12 = (int)piStack_38;
    }
  }
  else {
    (**(code **)(puStack_90 + -0x7f90))(piVar5);
    iVar3 = 7;
    puStack_11c = puStack_3c;
  }
  if (iStack_7c == *piVar14) {
    return iVar3;
  }
  pcVar17 = *(code **)(puStack_90 + -0x7ba0);
  pcVar18 = FUN_00055224;
  iVar3 = iStack_7c;
  (*pcVar17)();
  piVar5 = piStack_a8;
  puVar6 = *(undefined4 **)(pcVar17 + 0x106808);
  puStack_c0 = puVar1;
  aiStack_fc[0] = 0;
  aiStack_fc[1] = 0;
  piStack_f4 = (int *)0x0;
  iStack_ec = 0;
  piStack_e4 = (int *)*puVar6;
  piStack_e0 = piStack_38;
  piStack_dc = piVar12;
  piStack_d8 = piVar14;
  puStack_d4 = &_gp_1;
  uStack_cc = uVar8;
  ppiStack_c8 = ppiVar10;
  puStack_c4 = param_2;
  pcStack_bc = pcVar18;
  if (piVar9 == (int *)0x0) {
    *piStack_a8 = 0;
    iVar7 = 0;
    piVar12 = piVar11;
  }
  else {
    piVar12 = (int *)0xffffffff;
    iVar13 = **(int **)(iVar3 + 0x24);
    iVar7 = (*(code *)(*(int *)(pcVar17 + 0x106438) + 0x23b0))(*(int **)(iVar3 + 0x24));
    if (iVar7 == 0) {
      pcVar18 = *(code **)(iVar13 + 0x14);
      puStack_11c = (undefined4 *)0x0;
LAB_000552fc:
      piVar9 = &iStack_ec;
      piVar12 = aiStack_fc;
      iVar7 = (*pcVar18)(uStack_e8,&iStack_f0,&iStack_ec,aiStack_fc,aiStack_fc + 1,&piStack_f4);
      if (iVar7 == 0) {
        iVar7 = 0;
        puVar2 = (undefined4 *)((int)piStack_f4 + 1);
        piVar12 = piStack_f4;
        if (((((int)piStack_f4 < (int)puStack_11c) && (puVar2 = puStack_11c, (int)piStack_f4 < 0))
            || (puStack_11c = puVar2, iStack_f0 == 0)) || (iVar7 = iVar3 + 0x110, iStack_ec < 1)) {
          (**(code **)(iVar13 + 0x10))(uStack_e8,iVar7);
          iVar7 = 1;
          *piVar5 = *piVar5 + (int)puStack_11c;
          goto LAB_0005545c;
        }
        piVar9 = piVar11;
        iVar7 = FUN_00055088(iVar3 + 0x108);
        if (iVar7 != 0) goto LAB_0005541c;
        iVar15 = 1;
        while (iVar15 < *(int *)(iVar3 + 0xfc)) {
          piVar14 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18);
          iVar7 = *piVar14;
          if (iStack_ec < iVar7) {
            piVar12 = (int *)(*(int *)(iVar3 + 0x100) + iVar15 * 0x18 + 0x18);
            do {
              piVar14 = piVar12;
              iVar15 = iVar15 + 1;
              if (iVar15 == *(int *)(iVar3 + 0xfc)) goto LAB_000552fc;
              iVar7 = *piVar14;
              piVar12 = piVar14 + 6;
            } while (iStack_ec < iVar7);
          }
          piVar9 = piVar11;
          piVar12 = piStack_f4;
          iVar7 = FUN_00055088(iVar3 + 0x108,iVar3 + 0x110,piVar11,piStack_f4,piVar14 + 1,iStack_f0,
                               iVar7);
          iVar15 = iVar15 + 1;
          if (iVar7 != 0) goto LAB_0005541c;
        }
        goto LAB_000552fc;
      }
LAB_0005541c:
      (**(code **)(iVar13 + 0x10))(uStack_e8);
      if (iVar7 == 0x65) {
        iVar7 = 0;
      }
      *piVar5 = *piVar5 + (int)puStack_11c;
    }
  }
LAB_0005545c:
  if (piStack_e4 == (int *)*puVar6) {
    return iVar7;
  }
  piVar14 = piStack_e4;
  (**(code **)(pcVar17 + 0x1067ec))();
  iVar3 = sqlite3_realloc(*piVar14,piVar9);
  if (iVar3 == 0) {
    *piVar12 = 7;
    return 7;
  }
  *puStack_11c = piVar9;
  *piVar14 = iVar3;
  return iVar3;
}

