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

int sqlite3_expert_sql(sqlite3expert *p,char *zSql,char **pzErr)

{
  sqlite3expert *p_00;
  int iVar1;
  int *piVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  void *pvVar6;
  undefined4 *puVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  undefined4 uVar11;
  int iVar12;
  sqlite3_stmt *psVar13;
  sqlite3 *psVar14;
  int iVar15;
  int iVar16;
  sqlite3expert *unaff_s0;
  IdxWrite *pIVar17;
  IdxScan *pScan;
  IdxHashEntry *pIVar18;
  IdxTable *pIVar19;
  char *pcVar20;
  int in_t9;
  code *pcVar21;
  code *pcVar22;
  int iVar23;
  double dVar24;
  longlong lVar25;
  int *piStack_f0;
  int iStack_e4;
  int iStack_e0;
  undefined4 uStack_dc;
  undefined4 uStack_d8;
  undefined4 uStack_d4;
  undefined4 uStack_d0;
  int iStack_cc;
  sqlite3_stmt *apsStack_c8 [2];
  double dStack_c0;
  undefined4 uStack_b8;
  undefined4 uStack_b4;
  undefined4 uStack_b0;
  undefined4 uStack_ac;
  int iStack_a4;
  sqlite3expert *psStack_a0;
  int rc;
  char *zStmt;
  sqlite3_stmt *pStmt;
  
  p_00 = (sqlite3expert *)**(int **)(in_t9 + 0x15f534);
  if (p->bRun == 0) {
    iVar1 = 0;
    if ((zSql != (char *)0x0) && (unaff_s0 = p, *zSql != '\0')) {
      iVar1 = FUN_00031a10();
      return iVar1;
    }
  }
  else {
    iVar1 = 0x15;
  }
  if (p_00 == (sqlite3expert *)**(int **)(in_t9 + 0x15f534)) {
    return iVar1;
  }
  pcVar21 = *(code **)(in_t9 + 0x15f508);
  (*pcVar21)();
  piVar2 = *(int **)(pcVar21 + 0x15f2f4);
  pIVar17 = p_00->pWrite;
  iStack_a4 = *piVar2;
  iVar1 = *(int *)(pcVar21 + 0x15ee2c);
  psStack_a0 = unaff_s0;
  if ((pIVar17 == (IdxWrite *)0x0) || (pIVar17 == (IdxWrite *)0x0)) {
    pScan = p_00->pScan;
    iStack_e4 = 0;
    if (pScan != (IdxScan *)0x0) {
      do {
        while( true ) {
          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);
          if (iVar1 != 0) goto LAB_000320ec;
          if (pScan->pOrder != (IdxConstraint *)0x0) break;
          pScan = pScan->pNextScan;
          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;
        }
        iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);
        pScan = pScan->pNextScan;
        if (pScan == (IdxScan *)0x0) {
          iStack_e4 = iVar1;
          if (iVar1 == 0) goto LAB_0003211c;
          break;
        }
      } while (iVar1 == 0);
LAB_000320ec:
      iStack_e4 = iVar1;
      pIVar18 = (p_00->hIdx).pFirst;
      if (pIVar18 == (IdxHashEntry *)0x0) {
        iVar1 = FUN_00031db8();
        return iVar1;
      }
      iVar5 = *(int *)(pcVar21 + 0x15ee28);
      iVar3 = *(int *)(pcVar21 + 0x15ee28);
      iVar1 = *(int *)(pcVar21 + 0x15ee28);
      pcVar20 = p_00->zCandidates;
      do {
        iVar15 = iVar1 + 0x30a8;
        if (pIVar18->zVal2 != (char *)0x0) {
          iVar15 = iVar3 + 0x2a20;
        }
        pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,
                                pIVar18->zVal2);
        p_00->zCandidates = pcVar20;
        pIVar18 = pIVar18->pNext;
      } while (pIVar18 != (IdxHashEntry *)0x0);
      iVar1 = iStack_e4;
      if ((iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)) {
        p_00->bRun = 1;
      }
      if (iStack_a4 == *piVar2) {
        return iVar1;
      }
      (**(code **)(pcVar21 + 0x15f2c8))();
      if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {
        return **(int **)(iStack_a4 + 0x1c) + 1;
      }
      return 0;
    }
LAB_0003210c:
    iStack_e4 = 0;
LAB_0003211c:
    iStack_e0 = 0;
    uStack_dc = 0;
    uStack_d8 = 0;
    uStack_d4 = 0;
    if (p_00->iSample == 0) {
LAB_00032138:
      iVar1 = FUN_00031d34();
      return iVar1;
    }
    pcVar22 = (code *)(*(int *)(pcVar21 + 0x15ee24) + -0x2194);
    apsStack_c8[0] = (sqlite3_stmt *)0x0;
    iVar1 = idxPrepareStmt(p_00->dbm,apsStack_c8,(char **)zSql,
                           (char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70));
    if (iVar1 != 0) {
      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);
      iVar1 = FUN_00031d34();
      return iVar1;
    }
    iVar1 = (**(code **)(pcVar21 + 0x15ee60))(apsStack_c8[0]);
    if (iVar1 != 100) {
      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);
      iVar1 = FUN_00031d34();
      return iVar1;
    }
    iVar1 = (**(code **)(pcVar21 + 0x15ef1c))(apsStack_c8[0],0);
    iStack_e0 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);
    if ((iVar1 + 1 < 1) || (iStack_e0 != 0)) goto LAB_00032138;
    iStack_e0 = (**(code **)(pcVar21 + 0x15ef18))
                          (p_00->dbm,*(int *)(pcVar21 + 0x15ee28) + 0x2bfc,0,0,0);
    if (iStack_e0 == 0) {
      piStack_f0 = (int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30);
      iVar3 = iStack_e0;
      if (iStack_e0 == 0) {
        if (p_00->iSample == 100) {
          psVar14 = p_00->db;
        }
        else {
          psVar14 = p_00->dbv;
        }
        iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))
                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,
                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);
        iVar3 = iStack_e0;
        if ((iStack_e0 == 0) &&
           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))
                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,
                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,
           iStack_e0 == 0)) {
          iVar3 = *(int *)(pcVar21 + 0x15ee28);
          *piStack_f0 = iVar1 + 2;
          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);
          iVar3 = iStack_e0;
          if ((iStack_e0 == 0) &&
             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,
                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,
              iStack_e0 == 0 &&
              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,
                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,
              iStack_e0 == 0)))) {
            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);
            iVar1 = *(int *)(pcVar21 + 0x15ee28);
            iVar3 = *(int *)(pcVar21 + 0x15ee28);
            iVar5 = *(int *)(pcVar21 + 0x15ee24);
            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);
            if (iVar15 == 100) {
              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);
              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);
              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);
              uVar4 = uStack_d8;
              psVar13 = (sqlite3_stmt *)p_00->iSample;
              if ((99 < (int)psVar13) || (lVar25 == -100000)) {
                uStack_d0 = 0;
                iStack_cc = 0;
                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);
                if (iStack_cc == 0) {
                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);
                  uVar9 = 0;
                  iVar23 = *(int *)(pcVar21 + 0x15ee28);
                  pvVar6 = (void *)0x0;
                  iVar16 = *(int *)(pcVar21 + 0x15ee28);
                  iVar1 = 0;
                  do {
                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);
                    if (iVar12 != 100) break;
                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);
                    iVar12 = iVar3 + 0x30a8;
                    if (pvVar6 != (void *)0x0) {
                      iVar12 = iVar15 + 0x1114;
                    }
                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);
                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))
                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,
                                                iVar1,uVar10,uVar11);
                    uVar9 = (*(code *)(iVar5 + 0x51c))
                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);
                    iVar1 = iVar1 + 1;
                  } while (iStack_cc == 0);
                }
                else {
                  uVar9 = 0;
                  pvVar6 = (void *)0x0;
                }
                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);
                if (iStack_cc == 0) {
                  if (p_00->iSample == 100) {
                    (**(code **)(pcVar21 + 0x15ee34))
                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);
                  }
                  else {
                    (**(code **)(pcVar21 + 0x15ee34))
                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);
                  }
                }
                    /* WARNING: Subroutine does not return */
                sqlite3_free(pvVar6);
              }
              uStack_b4 = 0;
              uStack_b8 = 0;
              uStack_ac = 0;
              uStack_b0 = 0;
              dStack_c0 = (double)(int)psVar13 / dVar24;
              apsStack_c8[0] = psVar13;
              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);
              if (iVar3 == 0) {
                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))
                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);
                if (pvVar6 != (void *)0x0) {
                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);
                    /* WARNING: Subroutine does not return */
                  sqlite3_free(pvVar6);
                }
                iStack_e0 = 7;
                iVar3 = iStack_e0;
              }
            }
            else {
              iVar3 = iStack_e0;
              if (iStack_e0 == 0) {
                pcVar22 = *(code **)(pcVar21 + 0x15ee40);
                if (99 < p_00->iSample) goto LAB_00032240;
                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);
              }
            }
          }
        }
      }
    }
    else {
      piStack_f0 = (int *)0x0;
      iVar3 = iStack_e0;
    }
    iStack_e0 = iVar3;
    pcVar22 = *(code **)(pcVar21 + 0x15ee40);
LAB_00032240:
    iVar1 = (*pcVar22)(uStack_dc);
    if (iStack_e0 == 0) {
      iStack_e0 = iVar1;
    }
    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d8);
    if (iStack_e0 == 0) {
      iStack_e0 = iVar1;
    }
    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d4);
    if (iStack_e0 == 0) {
      iStack_e0 = iVar1;
    }
    if (0 < *piStack_f0) {
                    /* WARNING: Subroutine does not return */
      sqlite3_free((void *)piStack_f0[10]);
    }
                    /* WARNING: Subroutine does not return */
    sqlite3_free(piStack_f0);
  }
  iVar3 = *(int *)(pcVar21 + 0x15ee28);
  pIVar19 = pIVar17->pTab;
  pcVar20 = pIVar19->zName;
  uStack_d0 = 0;
  iStack_cc = 0;
  iStack_cc = (*(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x884))
                        (p_00->db,&uStack_d0,zSql,*(int *)(pcVar21 + 0x15ee28) + 0x2a2c,pcVar20,
                         pcVar20);
  if (iStack_cc == 0) {
    do {
      iVar5 = (**(code **)(pcVar21 + 0x15ee60))(uStack_d0);
      if (iVar5 != 100) break;
      uVar4 = (**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0);
      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql);
    } while (iStack_cc == 0);
    pcVar22 = *(code **)(pcVar21 + 0x15ee40);
  }
  else {
    pcVar22 = *(code **)(pcVar21 + 0x15ee40);
  }
  iVar5 = (*pcVar22)(uStack_d0);
  if ((iStack_cc == 0) && (iStack_cc = iVar5, iVar5 == 0)) {
    iVar5 = *(int *)(pcVar21 + 0x15ee28);
    pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))
                               (*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac);
    if (pvVar6 != (void *)0x0) {
      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql);
                    /* WARNING: Subroutine does not return */
      sqlite3_free(pvVar6);
    }
    iStack_cc = 7;
    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;
    if (pIVar17->eOp != 0x17) goto LAB_00031d18;
LAB_00031ef8:
    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac);
    if (0 < pIVar19->nCol) {
      iVar16 = 0;
      iVar5 = *(int *)(pcVar21 + 0x15ee28);
      iVar15 = 0;
      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;
      do {
        iVar16 = iVar16 + 1;
        puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);
        iVar15 = iVar15 + 0xc;
        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);
        iVar3 = iVar1 + 0x1114;
      } while (iVar16 < pIVar19->nCol);
    }
  }
  else {
    if (pIVar17->eOp != 0x12) {
      if (pIVar17->eOp == 0x17) {
        iVar5 = *(int *)(pcVar21 + 0x15ee28);
        goto LAB_00031ef8;
      }
      if (iStack_cc == 0) {
        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))
                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,
                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);
        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;
        iStack_cc = 7;
      }
LAB_00031d18:
      pcVar20 = (char *)0x0;
      goto LAB_00031d20;
    }
    iVar5 = *(int *)(pcVar21 + 0x15ee28);
LAB_00031fc8:
    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),
                            iVar5 + 0x2aac);
    if (0 < pIVar19->nCol) {
      iVar5 = 0;
      iVar15 = *(int *)(pcVar21 + 0x15ee28);
      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;
      do {
        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);
        iVar5 = iVar5 + 1;
        iVar3 = iVar1 + 0x1114;
      } while (iVar5 < pIVar19->nCol);
    }
    pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034));
  }
LAB_00031e1c:
  if (iStack_cc == 0) {
    apsStack_c8[0] = (sqlite3_stmt *)0x0;
    iStack_cc = (**(code **)(pcVar21 + 0x15ee38))(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0);
    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);
    if ((iStack_cc != 0) || (iStack_cc = iVar1, iVar1 != 0)) {
      idxDatabaseError(p_00->dbv,(char **)zSql);
                    /* WARNING: Subroutine does not return */
      sqlite3_free(pcVar20);
    }
  }
LAB_00031d20:
                    /* WARNING: Subroutine does not return */
  sqlite3_free(pcVar20);
}



int sqlite3_expert_sql(int param_1,char *param_2,undefined4 param_3)

{
  int *piVar1;
  longlong lVar2;
  undefined *puVar3;
  undefined4 uVar4;
  code *pcVar5;
  code *pcVar6;
  int *piVar7;
  int *piVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  undefined4 *puVar13;
  undefined4 uVar14;
  undefined4 uVar15;
  undefined4 uVar16;
  undefined4 uVar17;
  int iVar18;
  undefined4 uVar19;
  int *piVar20;
  char **ppcVar21;
  char *pcVar22;
  int unaff_s0;
  undefined4 *puVar23;
  undefined4 *puVar24;
  char **unaff_s1;
  char *unaff_s2;
  int *piVar25;
  undefined *unaff_s3;
  undefined4 unaff_s5;
  int iVar26;
  undefined4 uVar27;
  undefined4 *puVar28;
  int *unaff_s7;
  int iVar29;
  int iVar30;
  undefined *puVar31;
  int *unaff_s8;
  int iVar32;
  double dVar33;
  longlong lVar34;
  int iStack_f4;
  int *piStack_f0;
  int iStack_e4;
  int iStack_e0;
  undefined4 uStack_dc;
  undefined4 uStack_d8;
  undefined4 uStack_d4;
  undefined4 uStack_d0;
  int iStack_cc;
  int aiStack_c8 [2];
  double dStack_c0;
  undefined4 uStack_b8;
  undefined4 uStack_b4;
  undefined4 uStack_b0;
  undefined4 uStack_ac;
  int iStack_a4;
  int iStack_a0;
  char **ppcStack_9c;
  char *pcStack_98;
  undefined *puStack_94;
  int iStack_90;
  undefined4 uStack_8c;
  undefined *puStack_88;
  int *piStack_84;
  int *piStack_80;
  code *pcStack_7c;
  char **local_60;
  int local_38;
  char *local_34;
  int local_30;
  int *local_2c;
  
  puVar3 = PTR___stack_chk_guard_00190e24;
  ppcVar21 = *(char ***)(param_1 + 0x14);
  local_38 = 0;
  local_2c = *(int **)PTR___stack_chk_guard_00190e24;
  pcVar22 = *(char **)(param_1 + 0x1c);
  local_34 = param_2;
  if (*(int *)(param_1 + 0x20) == 0) {
    iVar9 = 0;
    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {
      unaff_s8 = &local_30;
      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);
      unaff_s1 = &local_34;
      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);
      unaff_s7 = &local_38;
      unaff_s2 = PTR_LAB_00190954;
      unaff_s3 = PTR_LAB_00190954;
      do {
        local_30 = 0;
        local_60 = unaff_s1;
        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)
                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);
        unaff_s5 = param_3;
        if (local_38 == 0) {
          if (local_30 != 0) {
            unaff_s3 = (undefined *)sqlite3_sql();
            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);
            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);
            puVar31 = PTR_memcpy_00190e2c;
            if (local_38 == 0) {
              piVar7[1] = (int)(piVar7 + 5);
              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);
              piVar8 = *(int **)(param_1 + 0x1c);
              piVar7[4] = (int)piVar8;
              if (piVar8 != (int *)0x0) {
                *piVar7 = *piVar8 + 1;
              }
              *(int **)(param_1 + 0x1c) = piVar7;
            }
            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);
            goto joined_r0x000319f0;
          }
        }
        else {
          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);
joined_r0x000319f0:
          if (local_38 != 0) {
            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);
            param_2 = pcVar22;
            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));
            *(char ***)(param_1 + 0x14) = ppcVar21;
            *(char **)(param_1 + 0x1c) = pcVar22;
            unaff_s1 = ppcVar21;
            unaff_s2 = pcVar22;
            iVar9 = local_38;
            break;
          }
        }
        param_2 = local_34;
        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;
      } while( true );
    }
  }
  else {
    iVar9 = 0x15;
  }
  if (local_2c == *(int **)puVar3) {
    return iVar9;
  }
  pcVar5 = sqlite3_expert_analyze;
  piVar7 = local_2c;
  puVar31 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  piVar8 = *(int **)(puVar31 + 0x15f2f4);
  puStack_88 = puVar3;
  iStack_a4 = *piVar8;
  iVar29 = *(int *)(puVar31 + 0x15ee2c);
  iStack_a0 = unaff_s0;
  ppcStack_9c = unaff_s1;
  pcStack_98 = unaff_s2;
  puStack_94 = unaff_s3;
  iStack_90 = iVar9;
  uStack_8c = unaff_s5;
  piStack_84 = unaff_s7;
  piStack_80 = unaff_s8;
  pcStack_7c = pcVar5;
  if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {
    puVar24 = (undefined4 *)piVar7[6];
    puVar28 = (undefined4 *)0x0;
    do {
      puVar23 = puVar24;
      puVar24 = puVar23;
      if (puVar28 != puVar23) {
        iVar9 = *(int *)(puVar31 + 0x15ee28);
        iVar10 = *(int *)(puVar31 + 0x15ee28);
        iVar11 = *(int *)(puVar31 + 0x15ee24);
        do {
          piVar25 = (int *)*puVar24;
          iVar26 = piVar25[1];
          uStack_d0 = 0;
          iStack_cc = 0;
          iStack_cc = (*(code *)(iVar11 + -0x884))
                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);
          if (iStack_cc == 0) {
            do {
              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);
              if (iVar12 != 100) break;
              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);
              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);
            } while (iStack_cc == 0);
            pcVar5 = *(code **)(puVar31 + 0x15ee40);
          }
          else {
            pcVar5 = *(code **)(puVar31 + 0x15ee40);
          }
          iVar12 = (*pcVar5)(uStack_d0);
          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {
            iVar12 = *(int *)(puVar31 + 0x15ee28);
            iVar26 = (**(code **)(puVar31 + 0x15ee34))
                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);
            if (iVar26 != 0) {
              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);
              sqlite3_free(iVar26);
              goto LAB_00031cf4;
            }
            iStack_cc = 7;
            if (puVar24[1] == 0x12) goto LAB_00031fc8;
            if (puVar24[1] != 0x17) goto LAB_00031d18;
LAB_00031ef8:
            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);
            if (0 < *piVar25) {
              iVar18 = 0;
              iVar30 = *(int *)(puVar31 + 0x15ee28);
              iVar32 = 0;
              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;
              do {
                iVar18 = iVar18 + 1;
                puVar13 = (undefined4 *)(piVar25[2] + iVar32);
                iVar32 = iVar32 + 0xc;
                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);
                iVar12 = iVar29 + 0x1114;
              } while (iVar18 < *piVar25);
            }
LAB_00031e1c:
            if (iStack_cc != 0) goto LAB_00031d20;
            aiStack_c8[0] = 0;
            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);
            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);
            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;
            FUN_0001de18(piVar7[3],param_2);
            sqlite3_free(iVar26);
          }
          else {
LAB_00031cf4:
            if (puVar24[1] == 0x12) {
              iVar12 = *(int *)(puVar31 + 0x15ee28);
LAB_00031fc8:
              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,
                                    iVar12 + 0x2aac);
              if (0 < *piVar25) {
                iVar12 = 0;
                iVar30 = *(int *)(puVar31 + 0x15ee28);
                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;
                do {
                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);
                  iVar12 = iVar12 + 1;
                  iVar26 = iVar29 + 0x1114;
                } while (iVar12 < *piVar25);
              }
              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);
              goto LAB_00031e1c;
            }
            if (puVar24[1] == 0x17) {
              iVar12 = *(int *)(puVar31 + 0x15ee28);
              goto LAB_00031ef8;
            }
            if (iStack_cc == 0) {
              iVar26 = (**(code **)(puVar31 + 0x15ee34))
                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,
                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);
              if (iVar26 != 0) goto LAB_00031e1c;
              iStack_cc = 7;
            }
LAB_00031d18:
            iVar26 = 0;
LAB_00031d20:
            sqlite3_free(iVar26);
          }
          iVar26 = iStack_cc;
          if (iStack_cc != 0) goto LAB_00031d34;
          iVar26 = (**(code **)(puVar31 + 0x15ef18))
                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);
          puVar24 = (undefined4 *)puVar24[2];
          if (iVar26 != 0) goto LAB_00031d34;
        } while (puVar24 != puVar28);
        puVar24 = (undefined4 *)piVar7[6];
      }
      puVar28 = puVar23;
    } while (puVar23 != puVar24);
  }
  iVar9 = piVar7[5];
  iStack_e4 = 0;
  if (iVar9 == 0) {
LAB_0003210c:
    iStack_e4 = 0;
LAB_0003211c:
    iVar26 = *piVar7;
    iStack_e0 = 0;
    uStack_dc = 0;
    uStack_d8 = 0;
    uStack_d4 = 0;
    if (iVar26 != 0) {
      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);
      aiStack_c8[0] = 0;
      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);
      if (iVar26 == 0) {
        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);
        if (iVar9 == 100) {
          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);
          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);
          iStack_e0 = iVar26;
          if ((0 < iVar9 + 1) && (iVar26 == 0)) {
            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))
                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);
            if (iStack_e0 == 0) {
              iVar29 = *(int *)(puVar31 + 0x15ee24);
              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);
              if (iStack_e0 == 0) {
                if (*piVar7 == 100) {
                  iVar10 = piVar7[1];
                }
                else {
                  iVar10 = piVar7[3];
                }
                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))
                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,
                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);
                if ((iStack_e0 == 0) &&
                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))
                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,
                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),
                   iStack_e0 == 0)) {
                  iVar10 = *(int *)(puVar31 + 0x15ee28);
                  *piStack_f0 = iVar9 + 2;
                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);
                  if ((iStack_e0 == 0) &&
                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,
                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0
                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,
                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),
                         iStack_e0 == 0)))) {
                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);
                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);
                    iVar9 = *(int *)(puVar31 + 0x15ee28);
                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);
                    lVar2 = -100000;
LAB_0003249c:
                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);
                    if (iVar10 != 100) {
                      iVar10 = iStack_e0;
                      if (iStack_e0 == 0) {
                        pcVar5 = *(code **)(puVar31 + 0x15ee40);
                        if (99 < *piVar7) goto LAB_00032240;
                        iVar10 = (**(code **)(puVar31 + 0x15ef18))
                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);
                      }
                      goto LAB_0003223c;
                    }
                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);
                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);
                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);
                    iVar10 = *piVar7;
                    if ((iVar10 < 100) && (lVar34 != lVar2)) {
                      uStack_b4 = 0;
                      uStack_b8 = 0;
                      uStack_ac = 0;
                      uStack_b0 = 0;
                      dStack_c0 = (double)iVar10 / dVar33;
                      aiStack_c8[0] = iVar10;
                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)
                      ;
                      if (iVar10 != 0) goto LAB_0003223c;
                      iVar11 = (**(code **)(puVar31 + 0x15ee34))
                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);
                      if (iVar11 == 0) {
                        iStack_e0 = 7;
                        iVar10 = iStack_e0;
                        goto LAB_0003223c;
                      }
                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);
                      sqlite3_free(iVar11);
                      iStack_e0 = iVar10;
                      if (iVar10 != 0) goto LAB_0003223c;
                    }
                    uVar4 = uStack_d4;
                    uVar19 = uStack_d8;
                    uStack_d0 = 0;
                    iStack_cc = 0;
                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);
                    if (iStack_cc == 0) {
                      iVar12 = *(int *)(puVar31 + 0x15ee2c);
                      uVar27 = 0;
                      iVar32 = *(int *)(puVar31 + 0x15ee28);
                      iVar11 = 0;
                      iVar30 = *(int *)(puVar31 + 0x15ee28);
                      iVar26 = 0;
                      do {
                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);
                        iVar10 = iVar26;
                        if (iVar18 != 100) break;
                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);
                        iVar18 = iVar9 + 0x30a8;
                        if (iVar11 != 0) {
                          iVar18 = iVar12 + 0x1114;
                        }
                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);
                        iVar10 = iVar26 + 1;
                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,
                                           uVar16,uVar17);
                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);
                        iVar26 = iVar10;
                      } while (iStack_cc == 0);
                    }
                    else {
                      iVar10 = 0;
                      uVar27 = 0;
                      iVar11 = 0;
                    }
                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);
                    if (iStack_cc == 0) {
                      if (*piVar7 == 100) {
                        uVar19 = (**(code **)(puVar31 + 0x15ee34))
                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,
                                            uVar27);
                      }
                      else {
                        uVar19 = (**(code **)(puVar31 + 0x15ee34))
                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);
                      }
                    }
                    else {
                      uVar19 = 0;
                    }
                    sqlite3_free(iVar11);
                    sqlite3_free(uVar27);
                    if (iStack_cc == 0) {
                      if (*piVar7 == 100) {
                        iVar11 = piVar7[1];
                      }
                      else {
                        iVar11 = piVar7[3];
                      }
                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);
                    }
                    sqlite3_free(uVar19);
                    if (iStack_cc == 0) {
                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);
                      if ((iStack_cc != 0) ||
                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))
                      goto LAB_000327a8;
                      piVar20 = piVar25;
                      do {
                        *piVar20 = 1;
                        piVar20 = piVar20 + 1;
                      } while (piVar25 + iVar10 + 1 != piVar20);
LAB_00032874:
                      if (iStack_cc == 0) {
                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);
                        if (iVar11 != 100) {
                          if (iStack_cc == 0) {
                            iVar26 = *piVar25;
                            iVar11 = (**(code **)(puVar31 + 0x15ee34))
                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);
                            if (iVar11 == 0) {
                              iStack_cc = 7;
                              goto LAB_00032928;
                            }
                            if (iStack_cc != 0) goto LAB_00032928;
                            iVar12 = *(int *)(puVar31 + 0x15ee2c);
                            if (iVar10 == 0) goto LAB_00032a64;
                            piVar20 = piVar25;
                            goto LAB_000329d0;
                          }
                          goto LAB_00032924;
                        }
                        *piVar25 = *piVar25 + 1;
                        iVar11 = 0;
                        if (iVar10 != 0) {
                          do {
                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);
                            if (iVar26 == 0) {
                              if (iVar11 < iVar10) {
                                piVar20 = piVar25 + iVar11;
                                do {
                                  piVar1 = piVar20 + 1;
                                  piVar20 = piVar20 + 1;
                                  *piVar20 = *piVar1 + 1;
                                } while (piVar25 + iVar10 != piVar20);
                              }
                              break;
                            }
                            iVar11 = iVar11 + 1;
                          } while (iVar10 != iVar11);
                        }
                        goto LAB_00032874;
                      }
LAB_00032924:
                      iVar11 = 0;
                      goto LAB_00032928;
                    }
                    piVar25 = (int *)0x0;
                    goto LAB_000327a8;
                  }
                }
              }
            }
            else {
              piStack_f0 = (int *)0x0;
            }
            iStack_f4 = *(int *)(puVar31 + 0x15ee28);
            iVar10 = iStack_e0;
LAB_0003223c:
            iStack_e0 = iVar10;
            pcVar5 = *(code **)(puVar31 + 0x15ee40);
LAB_00032240:
            iVar9 = (*pcVar5)(uStack_dc);
            if (iStack_e0 == 0) {
              iStack_e0 = iVar9;
            }
            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);
            if (iStack_e0 == 0) {
              iStack_e0 = iVar9;
            }
            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);
            if (iStack_e0 == 0) {
              iStack_e0 = iVar9;
            }
            if (0 < *piStack_f0) {
              iVar9 = 0;
              piVar25 = piStack_f0;
              do {
                piVar25 = piVar25 + 10;
                iVar9 = iVar9 + 1;
                sqlite3_free(*piVar25);
              } while (iVar9 < *piStack_f0);
            }
            sqlite3_free(piStack_f0);
            if (iStack_e0 == 0) {
              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))
                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);
            }
            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);
            iVar26 = iStack_e0;
          }
        }
        else {
          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);
        }
      }
      else {
        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);
      }
    }
LAB_00031d34:
    iVar29 = piVar7[0xb];
    iStack_e4 = iVar26;
    if (iVar29 != 0) goto LAB_00031d40;
  }
  else {
    do {
      while( true ) {
        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);
        if (iVar29 != 0) goto LAB_000320ec;
        if (*(int *)(iVar9 + 0x10) != 0) break;
        iVar9 = *(int *)(iVar9 + 0x1c);
        if (iVar9 == 0) goto LAB_0003210c;
      }
      iVar29 = FUN_0002bdc0(piVar7,iVar9);
      iVar9 = *(int *)(iVar9 + 0x1c);
      if (iVar9 == 0) {
        iStack_e4 = iVar29;
        if (iVar29 == 0) goto LAB_0003211c;
        break;
      }
    } while (iVar29 == 0);
LAB_000320ec:
    iStack_e4 = iVar29;
    iVar29 = piVar7[0xb];
    iVar9 = iStack_e4;
    if (iVar29 == 0) goto LAB_00031db8;
LAB_00031d40:
    iVar26 = *(int *)(puVar31 + 0x15ee28);
    iVar11 = *(int *)(puVar31 + 0x15ee28);
    iVar10 = *(int *)(puVar31 + 0x15ee28);
    iVar9 = piVar7[0x40b];
    do {
      iVar12 = iVar10 + 0x30a8;
      if (*(int *)(iVar29 + 8) != 0) {
        iVar12 = iVar11 + 0x2a20;
      }
      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,
                           *(int *)(iVar29 + 8));
      piVar7[0x40b] = iVar9;
      iVar29 = *(int *)(iVar29 + 0x10);
    } while (iVar29 != 0);
  }
  iVar9 = iStack_e4;
  if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {
    piVar7[8] = 1;
  }
LAB_00031db8:
  if (iStack_a4 == *piVar8) {
    return iVar9;
  }
  (**(code **)(puVar31 + 0x15f2c8))();
  if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {
    return **(int **)(iStack_a4 + 0x1c) + 1;
  }
  return 0;
  while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {
LAB_000329d0:
    iVar30 = piVar20[1];
    if (iVar30 == 0) {
      trap(7);
    }
    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);
    if (iStack_cc != 0) goto LAB_00032928;
  }
LAB_00032a64:
  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);
  (**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);
  (**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);
  (**(code **)(puVar31 + 0x15ee60))(uVar4);
  iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);
LAB_00032928:
  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);
  iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);
  if (iVar10 == 0) {
    sqlite3_free(iVar11);
  }
  else {
    *(int *)(iVar10 + 8) = iVar11;
  }
LAB_000327a8:
  sqlite3_free(piVar25);
  iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);
  if (iStack_cc != 0) {
    iStack_e0 = iStack_cc;
    iVar10 = iStack_e0;
    goto LAB_0003223c;
  }
  iVar10 = iStack_e0;
  lVar2 = lVar34;
  if (iStack_e0 != 0) goto LAB_0003223c;
  goto LAB_0003249c;
}


lui gp,0x16
addiu gp,gp,0x7030
addu gp,gp,t9
addiu sp,sp,-0x70
sw s6,0x60(sp)
sw gp,0x18(sp)
sw ra,0x6c(sp)
sw s8,0x68(sp)
sw s7,0x64(sp)
sw s5,0x5c(sp)
sw s4,0x58(sp)
sw s3,0x54(sp)
sw s2,0x50(sp)
sw s1,0x4c(sp)
sw s0,0x48(sp)
lw s6,-0x7afc(gp)
lw v1,0x14(a0)
lw s4,0x20(a0)
sw zero,0x38(sp)
sw v1,0x30(sp)
sw a1,0x3c(sp)
lw v0,0x0(s6)
lw v1,0x1c(a0)
sw v0,0x44(sp)
bne s4,zero,0x00031b1c
_sw v1,0x34(sp)
beq a1,zero,0x00031a98
_nop
lb v0,0x0(a1)
beq v0,zero,0x00031a98
_or s0,a0,zero
lw s3,-0x7fcc(gp)
lw s2,-0x7fcc(gp)
or s5,a2,zero
addiu s8,sp,0x40
addiu v0,s3,-0x21e8
addiu s1,sp,0x3c
sw v0,0x28(sp)
addiu v0,s2,0x368
addiu s7,sp,0x38
b 0x00031a10
_sw v0,0x24(sp)
lw a0,0x40(sp)
beq a0,zero,0x000319f8
_lw t9,-0x7f94(gp)
bal 0x00041c44
_nop
lw gp,0x18(sp)
or a0,v0,zero
lw t9,-0x7ba0(gp)
jalr t9
_or s3,v0,zero
or a0,s7,zero
lw t9,0x24(sp)
addiu a1,v0,0x15
jalr t9
_or s2,v0,zero
lw a0,0x38(sp)
beq a0,zero,0x00031ad8
_lw gp,0x18(sp)
lw t9,-0x7fb0(gp)
jalr t9
_lw a0,0x40(sp)
lw v0,0x38(sp)
bne v0,zero,0x00031a54
_lw gp,0x18(sp)
lw a1,0x3c(sp)
beq a1,zero,0x00031a98
_nop
lb v0,0x0(a1)
beq v0,zero,0x00031a98
_nop
lw t9,-0x7fb8(gp)
li a2,-0x1
lw a0,0xc(s0)
or a3,s8,zero
sw s1,0x10(sp)
jalr t9
_sw zero,0x40(sp)
lw gp,0x18(sp)
beq v0,zero,0x00031998
_sw v0,0x38(sp)
lw a0,0xc(s0)
lw t9,0x28(sp)
jalr t9
_or a1,s5,zero
lw v0,0x38(sp)
beq v0,zero,0x000319f8
_lw gp,0x18(sp)
lw t9,-0x7fcc(gp)
lw s1,0x30(sp)
lw a0,0x14(s0)
addiu t9,t9,-0x2058
bal 0x0001dfa8
_or a1,s1,zero
lw gp,0x18(sp)
lw s2,0x34(sp)
lw a0,0x1c(s0)
lw t9,-0x7fcc(gp)
addiu t9,t9,-0x1f78
bal 0x0001e088
_or a1,s2,zero
lw s4,0x38(sp)
lw gp,0x18(sp)
sw s1,0x14(s0)
sw s2,0x1c(s0)
lw a0,0x44(sp)
or v0,s4,zero
lw v1,0x0(s6)
bne a0,v1,0x00031b24
_lw ra,0x6c(sp)
lw s8,0x68(sp)
lw s7,0x64(sp)
lw s6,0x60(sp)
lw s5,0x5c(sp)
lw s4,0x58(sp)
lw s3,0x54(sp)
lw s2,0x50(sp)
lw s1,0x4c(sp)
lw s0,0x48(sp)
jr ra
_addiu sp,sp,0x70
lw t9,-0x7af4(gp)
addiu a0,v0,0x14
addiu a2,s2,0x1
sw v0,0x2c(sp)
sw a0,0x4(v0)
jalr t9
_or a1,s3,zero
lw a3,0x2c(sp)
lw v0,0x1c(s0)
lw gp,0x18(sp)
beq v0,zero,0x00031b14
_sw v0,0x10(a3)
lw v0,0x0(v0)
addiu v0,v0,0x1
sw v0,0x0(a3)
b 0x000319e0
_sw a3,0x1c(s0)
b 0x00031a98
_li s4,0x15
lw t9,-0x7b28(gp)
jalr t9
_nop
(translation_unit "int sqlite3_expert_sql(int param_1,char *param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  code *pcVar5;\n  code *pcVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  int iVar18;\n  undefined4 uVar19;\n  int *piVar20;\n  char **ppcVar21;\n  char *pcVar22;\n  int unaff_s0;\n  undefined4 *puVar23;\n  undefined4 *puVar24;\n  char **unaff_s1;\n  char *unaff_s2;\n  int *piVar25;\n  undefined *unaff_s3;\n  undefined4 unaff_s5;\n  int iVar26;\n  undefined4 uVar27;\n  undefined4 *puVar28;\n  int *unaff_s7;\n  int iVar29;\n  int iVar30;\n  undefined *puVar31;\n  int *unaff_s8;\n  int iVar32;\n  double dVar33;\n  longlong lVar34;\n  int iStack_f4;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  int aiStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  int iStack_a0;\n  char **ppcStack_9c;\n  char *pcStack_98;\n  undefined *puStack_94;\n  int iStack_90;\n  undefined4 uStack_8c;\n  undefined *puStack_88;\n  int *piStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  char **local_60;\n  int local_38;\n  char *local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  ppcVar21 = *(char ***)(param_1 + 0x14);\n  local_38 = 0;\n  local_2c = *(int **)PTR___stack_chk_guard_00190e24;\n  pcVar22 = *(char **)(param_1 + 0x1c);\n  local_34 = param_2;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }\n  if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }\n  pcVar5 = sqlite3_expert_analyze;\n  piVar7 = local_2c;\n  puVar31 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar8 = *(int **)(puVar31 + 0x15f2f4);\n  puStack_88 = puVar3;\n  iStack_a4 = *piVar8;\n  iVar29 = *(int *)(puVar31 + 0x15ee2c);\n  iStack_a0 = unaff_s0;\n  ppcStack_9c = unaff_s1;\n  pcStack_98 = unaff_s2;\n  puStack_94 = unaff_s3;\n  iStack_90 = iVar9;\n  uStack_8c = unaff_s5;\n  piStack_84 = unaff_s7;\n  piStack_80 = unaff_s8;\n  pcStack_7c = pcVar5;\n  if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }\n  iVar9 = piVar7[5];\n  iStack_e4 = 0;\n  if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }\n  iVar9 = iStack_e4;\n  if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }\nLAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }\n  (**(code **)(puVar31 + 0x15f2c8))();\n  if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ee60))(uVar4);\n  iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);\nLAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);\n  iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);\n  if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar25);\n  iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);\n  if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }\n  iVar10 = iStack_e0;\n  lVar2 = lVar34;\n  if (iStack_e0 != 0) goto LAB_0003223c;\n  goto LAB_0003249c;\n}\n\n" (function_definition "int sqlite3_expert_sql(int param_1,char *param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  code *pcVar5;\n  code *pcVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  int iVar18;\n  undefined4 uVar19;\n  int *piVar20;\n  char **ppcVar21;\n  char *pcVar22;\n  int unaff_s0;\n  undefined4 *puVar23;\n  undefined4 *puVar24;\n  char **unaff_s1;\n  char *unaff_s2;\n  int *piVar25;\n  undefined *unaff_s3;\n  undefined4 unaff_s5;\n  int iVar26;\n  undefined4 uVar27;\n  undefined4 *puVar28;\n  int *unaff_s7;\n  int iVar29;\n  int iVar30;\n  undefined *puVar31;\n  int *unaff_s8;\n  int iVar32;\n  double dVar33;\n  longlong lVar34;\n  int iStack_f4;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  int aiStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  int iStack_a0;\n  char **ppcStack_9c;\n  char *pcStack_98;\n  undefined *puStack_94;\n  int iStack_90;\n  undefined4 uStack_8c;\n  undefined *puStack_88;\n  int *piStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  char **local_60;\n  int local_38;\n  char *local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  ppcVar21 = *(char ***)(param_1 + 0x14);\n  local_38 = 0;\n  local_2c = *(int **)PTR___stack_chk_guard_00190e24;\n  pcVar22 = *(char **)(param_1 + 0x1c);\n  local_34 = param_2;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }\n  if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }\n  pcVar5 = sqlite3_expert_analyze;\n  piVar7 = local_2c;\n  puVar31 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar8 = *(int **)(puVar31 + 0x15f2f4);\n  puStack_88 = puVar3;\n  iStack_a4 = *piVar8;\n  iVar29 = *(int *)(puVar31 + 0x15ee2c);\n  iStack_a0 = unaff_s0;\n  ppcStack_9c = unaff_s1;\n  pcStack_98 = unaff_s2;\n  puStack_94 = unaff_s3;\n  iStack_90 = iVar9;\n  uStack_8c = unaff_s5;\n  piStack_84 = unaff_s7;\n  piStack_80 = unaff_s8;\n  pcStack_7c = pcVar5;\n  if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }\n  iVar9 = piVar7[5];\n  iStack_e4 = 0;\n  if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }\n  iVar9 = iStack_e4;\n  if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }\nLAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }\n  (**(code **)(puVar31 + 0x15f2c8))();\n  if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ee60))(uVar4);\n  iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);\nLAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);\n  iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);\n  if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar25);\n  iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);\n  if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }\n  iVar10 = iStack_e0;\n  lVar2 = lVar34;\n  if (iStack_e0 != 0) goto LAB_0003223c;\n  goto LAB_0003249c;\n}" primitive_type (function_declarator "sqlite3_expert_sql(int param_1,char *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,char *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  code *pcVar5;\n  code *pcVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  int iVar18;\n  undefined4 uVar19;\n  int *piVar20;\n  char **ppcVar21;\n  char *pcVar22;\n  int unaff_s0;\n  undefined4 *puVar23;\n  undefined4 *puVar24;\n  char **unaff_s1;\n  char *unaff_s2;\n  int *piVar25;\n  undefined *unaff_s3;\n  undefined4 unaff_s5;\n  int iVar26;\n  undefined4 uVar27;\n  undefined4 *puVar28;\n  int *unaff_s7;\n  int iVar29;\n  int iVar30;\n  undefined *puVar31;\n  int *unaff_s8;\n  int iVar32;\n  double dVar33;\n  longlong lVar34;\n  int iStack_f4;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  int aiStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  int iStack_a0;\n  char **ppcStack_9c;\n  char *pcStack_98;\n  undefined *puStack_94;\n  int iStack_90;\n  undefined4 uStack_8c;\n  undefined *puStack_88;\n  int *piStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  char **local_60;\n  int local_38;\n  char *local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  ppcVar21 = *(char ***)(param_1 + 0x14);\n  local_38 = 0;\n  local_2c = *(int **)PTR___stack_chk_guard_00190e24;\n  pcVar22 = *(char **)(param_1 + 0x1c);\n  local_34 = param_2;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }\n  if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }\n  pcVar5 = sqlite3_expert_analyze;\n  piVar7 = local_2c;\n  puVar31 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar8 = *(int **)(puVar31 + 0x15f2f4);\n  puStack_88 = puVar3;\n  iStack_a4 = *piVar8;\n  iVar29 = *(int *)(puVar31 + 0x15ee2c);\n  iStack_a0 = unaff_s0;\n  ppcStack_9c = unaff_s1;\n  pcStack_98 = unaff_s2;\n  puStack_94 = unaff_s3;\n  iStack_90 = iVar9;\n  uStack_8c = unaff_s5;\n  piStack_84 = unaff_s7;\n  piStack_80 = unaff_s8;\n  pcStack_7c = pcVar5;\n  if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }\n  iVar9 = piVar7[5];\n  iStack_e4 = 0;\n  if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }\n  iVar9 = iStack_e4;\n  if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }\nLAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }\n  (**(code **)(puVar31 + 0x15f2c8))();\n  if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ee60))(uVar4);\n  iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);\nLAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);\n  iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);\n  if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar25);\n  iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);\n  if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }\n  iVar10 = iStack_e0;\n  lVar2 = lVar34;\n  if (iStack_e0 != 0) goto LAB_0003223c;\n  goto LAB_0003249c;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "undefined4 uVar16;" type_identifier identifier ;) (declaration "undefined4 uVar17;" type_identifier identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "undefined4 uVar19;" type_identifier identifier ;) (declaration "int *piVar20;" primitive_type (pointer_declarator "*piVar20" * identifier) ;) (declaration "char **ppcVar21;" primitive_type (pointer_declarator "**ppcVar21" * (pointer_declarator "*ppcVar21" * identifier)) ;) (declaration "char *pcVar22;" primitive_type (pointer_declarator "*pcVar22" * identifier) ;) (declaration "int unaff_s0;" primitive_type identifier ;) (declaration "undefined4 *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "undefined4 *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "char **unaff_s1;" primitive_type (pointer_declarator "**unaff_s1" * (pointer_declarator "*unaff_s1" * identifier)) ;) (declaration "char *unaff_s2;" primitive_type (pointer_declarator "*unaff_s2" * identifier) ;) (declaration "int *piVar25;" primitive_type (pointer_declarator "*piVar25" * identifier) ;) (declaration "undefined *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "undefined4 unaff_s5;" type_identifier identifier ;) (declaration "int iVar26;" primitive_type identifier ;) (declaration "undefined4 uVar27;" type_identifier identifier ;) (declaration "undefined4 *puVar28;" type_identifier (pointer_declarator "*puVar28" * identifier) ;) (declaration "int *unaff_s7;" primitive_type (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "int iVar29;" primitive_type identifier ;) (declaration "int iVar30;" primitive_type identifier ;) (declaration "undefined *puVar31;" type_identifier (pointer_declarator "*puVar31" * identifier) ;) (declaration "int *unaff_s8;" primitive_type (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "int iVar32;" primitive_type identifier ;) (declaration "double dVar33;" primitive_type identifier ;) (declaration "longlong lVar34;" type_identifier identifier ;) (declaration "int iStack_f4;" primitive_type identifier ;) (declaration "int *piStack_f0;" primitive_type (pointer_declarator "*piStack_f0" * identifier) ;) (declaration "int iStack_e4;" primitive_type identifier ;) (declaration "int iStack_e0;" primitive_type identifier ;) (declaration "undefined4 uStack_dc;" type_identifier identifier ;) (declaration "undefined4 uStack_d8;" type_identifier identifier ;) (declaration "undefined4 uStack_d4;" type_identifier identifier ;) (declaration "undefined4 uStack_d0;" type_identifier identifier ;) (declaration "int iStack_cc;" primitive_type identifier ;) (declaration "int aiStack_c8 [2];" primitive_type (array_declarator "aiStack_c8 [2]" identifier [ number_literal ]) ;) (declaration "double dStack_c0;" primitive_type identifier ;) (declaration "undefined4 uStack_b8;" type_identifier identifier ;) (declaration "undefined4 uStack_b4;" type_identifier identifier ;) (declaration "undefined4 uStack_b0;" type_identifier identifier ;) (declaration "undefined4 uStack_ac;" type_identifier identifier ;) (declaration "int iStack_a4;" primitive_type identifier ;) (declaration "int iStack_a0;" primitive_type identifier ;) (declaration "char **ppcStack_9c;" primitive_type (pointer_declarator "**ppcStack_9c" * (pointer_declarator "*ppcStack_9c" * identifier)) ;) (declaration "char *pcStack_98;" primitive_type (pointer_declarator "*pcStack_98" * identifier) ;) (declaration "undefined *puStack_94;" type_identifier (pointer_declarator "*puStack_94" * identifier) ;) (declaration "int iStack_90;" primitive_type identifier ;) (declaration "undefined4 uStack_8c;" type_identifier identifier ;) (declaration "undefined *puStack_88;" type_identifier (pointer_declarator "*puStack_88" * identifier) ;) (declaration "int *piStack_84;" primitive_type (pointer_declarator "*piStack_84" * identifier) ;) (declaration "int *piStack_80;" primitive_type (pointer_declarator "*piStack_80" * identifier) ;) (declaration "code *pcStack_7c;" type_identifier (pointer_declarator "*pcStack_7c" * identifier) ;) (declaration "char **local_60;" primitive_type (pointer_declarator "**local_60" * (pointer_declarator "*local_60" * identifier)) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "ppcVar21 = *(char ***)(param_1 + 0x14);" (assignment_expression "ppcVar21 = *(char ***)(param_1 + 0x14)" identifier = (pointer_expression "*(char ***)(param_1 + 0x14)" * (cast_expression "(char ***)(param_1 + 0x14)" ( (type_descriptor "char ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_00190e24" * (cast_expression "(int **)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar22 = *(char **)(param_1 + 0x1c);" (assignment_expression "pcVar22 = *(char **)(param_1 + 0x1c)" identifier = (pointer_expression "*(char **)(param_1 + 0x1c)" * (cast_expression "(char **)(param_1 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "local_34 = param_2;" (assignment_expression "local_34 = param_2" identifier = identifier) ;) (if_statement "if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" ( (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (if_statement "if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }" if (parenthesized_expression "((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0'))" ( (binary_expression "(param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')" (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(unaff_s0 = param_1, *param_2 != '\0')" ( (comma_expression "unaff_s0 = param_1, *param_2 != '\0'" (assignment_expression "unaff_s0 = param_1" identifier = identifier) , (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }" { (expression_statement "unaff_s8 = &local_30;" (assignment_expression "unaff_s8 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + -0x21e8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + -0x21e8)" ( (binary_expression "PTR_LAB_00190954 + -0x21e8" identifier + number_literal) )))) ;) (expression_statement "unaff_s1 = &local_34;" (assignment_expression "unaff_s1 = &local_34" identifier = (pointer_expression "&local_34" & identifier)) ;) (expression_statement "pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_00190954 + 0x368)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + 0x368)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + 0x368)" ( (binary_expression "PTR_LAB_00190954 + 0x368" identifier + number_literal) )))) ;) (expression_statement "unaff_s7 = &local_38;" (assignment_expression "unaff_s7 = &local_38" identifier = (pointer_expression "&local_38" & identifier)) ;) (expression_statement "unaff_s2 = PTR_LAB_00190954;" (assignment_expression "unaff_s2 = PTR_LAB_00190954" identifier = identifier) ;) (expression_statement "unaff_s3 = PTR_LAB_00190954;" (assignment_expression "unaff_s3 = PTR_LAB_00190954" identifier = identifier) ;) (do_statement "do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );" do (compound_statement "{\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      }" { (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_60 = unaff_s1;" (assignment_expression "local_60 = unaff_s1" identifier = identifier) ;) (expression_statement "local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);" (assignment_expression "local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8)" identifier = (call_expression "(*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8)" (parenthesized_expression "(*(code *)PTR_sqlite3_prepare_v2_00190968)" ( (pointer_expression "*(code *)PTR_sqlite3_prepare_v2_00190968" * (cast_expression "(code *)PTR_sqlite3_prepare_v2_00190968" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier , number_literal , identifier )))) ;) (expression_statement "unaff_s5 = param_3;" (assignment_expression "unaff_s5 = param_3" identifier = identifier) ;) (if_statement "if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }" if (parenthesized_expression "(local_38 == 0)" ( (binary_expression "local_38 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }" { (if_statement "if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }" { (expression_statement "unaff_s3 = (undefined *)sqlite3_sql();" (assignment_expression "unaff_s3 = (undefined *)sqlite3_sql()" identifier = (cast_expression "(undefined *)sqlite3_sql()" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_sql()" identifier (argument_list "()" ( ))))) ;) (expression_statement "unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);" (assignment_expression "unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3)" identifier = (cast_expression "(char *)(*(code *)PTR_strlen_00190d80)(unaff_s3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strlen_00190d80)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_strlen_00190d80)" ( (pointer_expression "*(code *)PTR_strlen_00190d80" * (cast_expression "(code *)PTR_strlen_00190d80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))))) ;) (expression_statement "piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);" (assignment_expression "piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15)" identifier = (cast_expression "(int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar6)(unaff_s7,unaff_s2 + 0x15)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(unaff_s7,unaff_s2 + 0x15)" ( identifier , (binary_expression "unaff_s2 + 0x15" identifier + number_literal) ))))) ;) (expression_statement "puVar31 = PTR_memcpy_00190e2c;" (assignment_expression "puVar31 = PTR_memcpy_00190e2c" identifier = identifier) ;) (if_statement "if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }" if (parenthesized_expression "(local_38 == 0)" ( (binary_expression "local_38 == 0" identifier == number_literal) )) (compound_statement "{\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }" { (expression_statement "piVar7[1] = (int)(piVar7 + 5);" (assignment_expression "piVar7[1] = (int)(piVar7 + 5)" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = (cast_expression "(int)(piVar7 + 5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar7 + 5)" ( (binary_expression "piVar7 + 5" identifier + number_literal) )))) ;) (expression_statement "(*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);" (call_expression "(*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1)" (parenthesized_expression "(*(code *)puVar31)" ( (pointer_expression "*(code *)puVar31" * (cast_expression "(code *)puVar31" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7 + 5,unaff_s3,unaff_s2 + 1)" ( (binary_expression "piVar7 + 5" identifier + number_literal) , identifier , (binary_expression "unaff_s2 + 1" identifier + number_literal) ))) ;) (expression_statement "piVar8 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar8 = *(int **)(param_1 + 0x1c)" identifier = (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "piVar7[4] = (int)piVar8;" (assignment_expression "piVar7[4] = (int)piVar8" (subscript_expression "piVar7[4]" identifier [ number_literal ]) = (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }" if (parenthesized_expression "(piVar8 != (int *)0x0)" ( (binary_expression "piVar8 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                *piVar7 = *piVar8 + 1;\n              }" { (expression_statement "*piVar7 = *piVar8 + 1;" (assignment_expression "*piVar7 = *piVar8 + 1" (pointer_expression "*piVar7" * identifier) = (binary_expression "*piVar8 + 1" (pointer_expression "*piVar8" * identifier) + number_literal)) ;) })) (expression_statement "*(int **)(param_1 + 0x1c) = piVar7;" (assignment_expression "*(int **)(param_1 + 0x1c) = piVar7" (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "(*(code *)PTR_sqlite3_finalize_00190970)(local_30);" (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_30)" (parenthesized_expression "(*(code *)PTR_sqlite3_finalize_00190970)" ( (pointer_expression "*(code *)PTR_sqlite3_finalize_00190970" * (cast_expression "(code *)PTR_sqlite3_finalize_00190970" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier ))) ;) (goto_statement "goto joined_r0x000319f0;" goto statement_identifier ;) })) }) (else_clause "else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }" else (compound_statement "{\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }" { (expression_statement "(*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);" (call_expression "(*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*(undefined4 *)(param_1 + 0xc),param_3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier ))) ;) (labeled_statement "joined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }" statement_identifier : (if_statement "if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }" if (parenthesized_expression "(local_38 != 0)" ( (binary_expression "local_38 != 0" identifier != number_literal) )) (compound_statement "{\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }" { (expression_statement "FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);" (call_expression "FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x14),ppcVar21)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "param_2 = pcVar22;" (assignment_expression "param_2 = pcVar22" identifier = identifier) ;) (expression_statement "FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));" (call_expression "FUN_0001e088(*(undefined4 *)(param_1 + 0x1c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) ))) ;) (expression_statement "*(char ***)(param_1 + 0x14) = ppcVar21;" (assignment_expression "*(char ***)(param_1 + 0x14) = ppcVar21" (pointer_expression "*(char ***)(param_1 + 0x14)" * (cast_expression "(char ***)(param_1 + 0x14)" ( (type_descriptor "char ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(param_1 + 0x1c) = pcVar22;" (assignment_expression "*(char **)(param_1 + 0x1c) = pcVar22" (pointer_expression "*(char **)(param_1 + 0x1c)" * (cast_expression "(char **)(param_1 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "unaff_s1 = ppcVar21;" (assignment_expression "unaff_s1 = ppcVar21" identifier = identifier) ;) (expression_statement "unaff_s2 = pcVar22;" (assignment_expression "unaff_s2 = pcVar22" identifier = identifier) ;) (expression_statement "iVar9 = local_38;" (assignment_expression "iVar9 = local_38" identifier = identifier) ;) (break_statement "break;" break ;) }))) }))) (expression_statement "param_2 = local_34;" (assignment_expression "param_2 = local_34" identifier = identifier) ;) (if_statement "if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;" if (parenthesized_expression "((local_34 == (char *)0x0) || (*local_34 == '\0'))" ( (binary_expression "(local_34 == (char *)0x0) || (*local_34 == '\0')" (parenthesized_expression "(local_34 == (char *)0x0)" ( (binary_expression "local_34 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*local_34 == '\0')" ( (binary_expression "*local_34 == '\0'" (pointer_expression "*local_34" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) }) (else_clause "else {\n    iVar9 = 0x15;\n  }" else (compound_statement "{\n    iVar9 = 0x15;\n  }" { (expression_statement "iVar9 = 0x15;" (assignment_expression "iVar9 = 0x15" identifier = number_literal) ;) }))) (if_statement "if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }" if (parenthesized_expression "(local_2c == *(int **)puVar3)" ( (binary_expression "local_2c == *(int **)puVar3" identifier == (pointer_expression "*(int **)puVar3" * (cast_expression "(int **)puVar3" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar9;\n  }" { (return_statement "return iVar9;" return identifier ;) })) (expression_statement "pcVar5 = sqlite3_expert_analyze;" (assignment_expression "pcVar5 = sqlite3_expert_analyze" identifier = identifier) ;) (expression_statement "piVar7 = local_2c;" (assignment_expression "piVar7 = local_2c" identifier = identifier) ;) (expression_statement "puVar31 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar31 = PTR___stack_chk_fail_00190df8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar8 = *(int **)(puVar31 + 0x15f2f4);" (assignment_expression "piVar8 = *(int **)(puVar31 + 0x15f2f4)" identifier = (pointer_expression "*(int **)(puVar31 + 0x15f2f4)" * (cast_expression "(int **)(puVar31 + 0x15f2f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15f2f4)" ( (binary_expression "puVar31 + 0x15f2f4" identifier + number_literal) ))))) ;) (expression_statement "puStack_88 = puVar3;" (assignment_expression "puStack_88 = puVar3" identifier = identifier) ;) (expression_statement "iStack_a4 = *piVar8;" (assignment_expression "iStack_a4 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "iVar29 = *(int *)(puVar31 + 0x15ee2c);" (assignment_expression "iVar29 = *(int *)(puVar31 + 0x15ee2c)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" * (cast_expression "(int *)(puVar31 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee2c)" ( (binary_expression "puVar31 + 0x15ee2c" identifier + number_literal) ))))) ;) (expression_statement "iStack_a0 = unaff_s0;" (assignment_expression "iStack_a0 = unaff_s0" identifier = identifier) ;) (expression_statement "ppcStack_9c = unaff_s1;" (assignment_expression "ppcStack_9c = unaff_s1" identifier = identifier) ;) (expression_statement "pcStack_98 = unaff_s2;" (assignment_expression "pcStack_98 = unaff_s2" identifier = identifier) ;) (expression_statement "puStack_94 = unaff_s3;" (assignment_expression "puStack_94 = unaff_s3" identifier = identifier) ;) (expression_statement "iStack_90 = iVar9;" (assignment_expression "iStack_90 = iVar9" identifier = identifier) ;) (expression_statement "uStack_8c = unaff_s5;" (assignment_expression "uStack_8c = unaff_s5" identifier = identifier) ;) (expression_statement "piStack_84 = unaff_s7;" (assignment_expression "piStack_84 = unaff_s7" identifier = identifier) ;) (expression_statement "piStack_80 = unaff_s8;" (assignment_expression "piStack_80 = unaff_s8" identifier = identifier) ;) (expression_statement "pcStack_7c = pcVar5;" (assignment_expression "pcStack_7c = pcVar5" identifier = identifier) ;) (if_statement "if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }" if (parenthesized_expression "((undefined4 *)piVar7[6] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar7[6] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar7[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[6]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }" { (expression_statement "puVar24 = (undefined4 *)piVar7[6];" (assignment_expression "puVar24 = (undefined4 *)piVar7[6]" identifier = (cast_expression "(undefined4 *)piVar7[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[6]" identifier [ number_literal ]))) ;) (expression_statement "puVar28 = (undefined4 *)0x0;" (assignment_expression "puVar28 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);" do (compound_statement "{\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    }" { (expression_statement "puVar23 = puVar24;" (assignment_expression "puVar23 = puVar24" identifier = identifier) ;) (expression_statement "puVar24 = puVar23;" (assignment_expression "puVar24 = puVar23" identifier = identifier) ;) (if_statement "if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }" if (parenthesized_expression "(puVar28 != puVar23)" ( (binary_expression "puVar28 != puVar23" identifier != identifier) )) (compound_statement "{\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }" { (expression_statement "iVar9 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar9 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar10 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(puVar31 + 0x15ee24);" (assignment_expression "iVar11 = *(int *)(puVar31 + 0x15ee24)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) ))))) ;) (do_statement "do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);" do (compound_statement "{\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        }" { (expression_statement "piVar25 = (int *)*puVar24;" (assignment_expression "piVar25 = (int *)*puVar24" identifier = (cast_expression "(int *)*puVar24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar24" * identifier))) ;) (expression_statement "iVar26 = piVar25[1];" (assignment_expression "iVar26 = piVar25[1]" identifier = (subscript_expression "piVar25[1]" identifier [ number_literal ])) ;) (expression_statement "uStack_d0 = 0;" (assignment_expression "uStack_d0 = 0" identifier = number_literal) ;) (expression_statement "iStack_cc = 0;" (assignment_expression "iStack_cc = 0" identifier = number_literal) ;) (expression_statement "iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);" (assignment_expression "iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26)" identifier = (call_expression "(*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26)" (parenthesized_expression "(*(code *)(iVar11 + -0x884))" ( (pointer_expression "*(code *)(iVar11 + -0x884)" * (cast_expression "(code *)(iVar11 + -0x884)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + -0x884)" ( (binary_expression "iVar11 + -0x884" identifier + number_literal) )))) )) (argument_list "(piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26)" ( (subscript_expression "piVar7[1]" identifier [ number_literal ]) , (pointer_expression "&uStack_d0" & identifier) , identifier , (binary_expression "iVar9 + 0x2a2c" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" { (do_statement "do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);" do (compound_statement "{\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            }" { (expression_statement "iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);" (assignment_expression "iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uStack_d0)" ( identifier )))) ;) (if_statement "if (iVar12 != 100) break;" if (parenthesized_expression "(iVar12 != 100)" ( (binary_expression "iVar12 != 100" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);" (assignment_expression "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee78))(uStack_d0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee78)" * (pointer_expression "*(code **)(puVar31 + 0x15ee78)" * (cast_expression "(code **)(puVar31 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee78)" ( (binary_expression "puVar31 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uStack_d0,0)" ( identifier , number_literal )))) ;) (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],uVar14,0,0,param_2)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , identifier )))) ;) }) while (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) ;) (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" identifier = (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) ;) }) (else_clause "else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" else (compound_statement "{\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" { (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" identifier = (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar12 = (*pcVar5)(uStack_d0);" (assignment_expression "iVar12 = (*pcVar5)(uStack_d0)" identifier = (call_expression "(*pcVar5)(uStack_d0)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(uStack_d0)" ( identifier )))) ;) (if_statement "if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }" if (parenthesized_expression "((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0))" ( (binary_expression "(iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)" (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) && (parenthesized_expression "(iStack_cc = iVar12, iVar12 == 0)" ( (comma_expression "iStack_cc = iVar12, iVar12 == 0" (assignment_expression "iStack_cc = iVar12" identifier = identifier) , (binary_expression "iVar12 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }" { (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2ad4" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , (binary_expression "iVar12 + 0x2aac" identifier + number_literal) )))) ;) (if_statement "if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }" if (parenthesized_expression "(iVar26 != 0)" ( (binary_expression "iVar26 != 0" identifier != number_literal) )) (compound_statement "{\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }" { (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],iVar26,0,0,param_2)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "sqlite3_free(iVar26);" (call_expression "sqlite3_free(iVar26)" identifier (argument_list "(iVar26)" ( identifier ))) ;) (goto_statement "goto LAB_00031cf4;" goto statement_identifier ;) })) (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" identifier = number_literal) ;) (if_statement "if (puVar24[1] == 0x12) goto LAB_00031fc8;" if (parenthesized_expression "(puVar24[1] == 0x12)" ( (binary_expression "puVar24[1] == 0x12" (subscript_expression "puVar24[1]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00031fc8;" goto statement_identifier ;)) (if_statement "if (puVar24[1] != 0x17) goto LAB_00031d18;" if (parenthesized_expression "(puVar24[1] != 0x17)" ( (binary_expression "puVar24[1] != 0x17" (subscript_expression "puVar24[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_00031d18;" goto statement_identifier ;)) (labeled_statement "LAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);" statement_identifier : (expression_statement "iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);" (assignment_expression "iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac)" identifier = (call_expression "FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac)" identifier (argument_list "(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac)" ( (pointer_expression "&iStack_cc" & identifier) , number_literal , (binary_expression "iVar10 + 0x2b14" identifier + number_literal) , (binary_expression "iVar12 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }" if (parenthesized_expression "(0 < *piVar25)" ( (binary_expression "0 < *piVar25" number_literal < (pointer_expression "*piVar25" * identifier)) )) (compound_statement "{\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (expression_statement "iVar30 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar30 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar32 = 0;" (assignment_expression "iVar32 = 0" identifier = number_literal) ;) (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8" identifier = (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x30a8" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);" do (compound_statement "{\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              }" { (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "puVar13 = (undefined4 *)(piVar25[2] + iVar32);" (assignment_expression "puVar13 = (undefined4 *)(piVar25[2] + iVar32)" identifier = (cast_expression "(undefined4 *)(piVar25[2] + iVar32)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar25[2] + iVar32)" ( (binary_expression "piVar25[2] + iVar32" (subscript_expression "piVar25[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "iVar32 = iVar32 + 0xc;" (assignment_expression "iVar32 = iVar32 + 0xc" identifier = (binary_expression "iVar32 + 0xc" identifier + number_literal)) ;) (expression_statement "iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);" (assignment_expression "iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13)" identifier = (call_expression "FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13)" identifier (argument_list "(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar30 + 0x2b24" identifier + number_literal) , identifier , (pointer_expression "*puVar13" * identifier) )))) ;) (expression_statement "iVar12 = iVar29 + 0x1114;" (assignment_expression "iVar12 = iVar29 + 0x1114" identifier = (binary_expression "iVar29 + 0x1114" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar18 < *piVar25)" ( (binary_expression "iVar18 < *piVar25" identifier < (pointer_expression "*piVar25" * identifier)) )) ;) })) (labeled_statement "LAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;" statement_identifier : (if_statement "if (iStack_cc != 0) goto LAB_00031d20;" if (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d20;" goto statement_identifier ;))) (expression_statement "aiStack_c8[0] = 0;" (assignment_expression "aiStack_c8[0] = 0" (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee38))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee38)" * (pointer_expression "*(code **)(puVar31 + 0x15ee38)" * (cast_expression "(code **)(puVar31 + 0x15ee38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee38)" ( (binary_expression "puVar31 + 0x15ee38" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],iVar26,0xffffffff,aiStack_c8,0)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , identifier , number_literal , identifier , number_literal )))) ;) (expression_statement "iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (assignment_expression "iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0])" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) )))) ;) (if_statement "if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;" if (parenthesized_expression "((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0))" ( (binary_expression "(iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)" (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) && (parenthesized_expression "(iStack_cc = iVar12, iVar12 == 0)" ( (comma_expression "iStack_cc = iVar12, iVar12 == 0" (assignment_expression "iStack_cc = iVar12" identifier = identifier) , (binary_expression "iVar12 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00031d20;" goto statement_identifier ;)) (expression_statement "FUN_0001de18(piVar7[3],param_2);" (call_expression "FUN_0001de18(piVar7[3],param_2)" identifier (argument_list "(piVar7[3],param_2)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "sqlite3_free(iVar26);" (call_expression "sqlite3_free(iVar26)" identifier (argument_list "(iVar26)" ( identifier ))) ;) }) (else_clause "else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }" else (compound_statement "{\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }" { (labeled_statement "LAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }" statement_identifier : (if_statement "if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }" if (parenthesized_expression "(puVar24[1] == 0x12)" ( (binary_expression "puVar24[1] == 0x12" (subscript_expression "puVar24[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }" { (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);" statement_identifier : (expression_statement "uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);" (assignment_expression "uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac)" identifier = (call_expression "FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac)" identifier (argument_list "(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac)" ( (pointer_expression "&iStack_cc" & identifier) , number_literal , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 11000" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , (binary_expression "iVar12 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }" if (parenthesized_expression "(0 < *piVar25)" ( (binary_expression "0 < *piVar25" number_literal < (pointer_expression "*piVar25" * identifier)) )) (compound_statement "{\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "iVar30 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar30 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;" (assignment_expression "iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8" identifier = (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x30a8" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);" do (compound_statement "{\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                }" { (expression_statement "uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);" (assignment_expression "uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26)" identifier = (call_expression "FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26)" identifier (argument_list "(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar30 + 0x2b10" identifier + number_literal) , identifier )))) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "iVar26 = iVar29 + 0x1114;" (assignment_expression "iVar26 = iVar29 + 0x1114" identifier = (binary_expression "iVar29 + 0x1114" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar12 < *piVar25)" ( (binary_expression "iVar12 < *piVar25" identifier < (pointer_expression "*piVar25" * identifier)) )) ;) })) (expression_statement "iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);" (assignment_expression "iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034)" identifier = (call_expression "FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034)" identifier (argument_list "(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2034" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) ;) (goto_statement "goto LAB_00031e1c;" goto statement_identifier ;) }))) (if_statement "if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }" if (parenthesized_expression "(puVar24[1] == 0x17)" ( (binary_expression "puVar24[1] == 0x17" (subscript_expression "puVar24[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }" { (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_00031ef8;" goto statement_identifier ;) })) (if_statement "if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }" { (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2b2c" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2aac" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar26 != 0) goto LAB_00031e1c;" if (parenthesized_expression "(iVar26 != 0)" ( (binary_expression "iVar26 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031e1c;" goto statement_identifier ;)) (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" identifier = number_literal) ;) })) (labeled_statement "LAB_00031d18:\n            iVar26 = 0;" statement_identifier : (expression_statement "iVar26 = 0;" (assignment_expression "iVar26 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00031d20:\n            sqlite3_free(iVar26);" statement_identifier : (expression_statement "sqlite3_free(iVar26);" (call_expression "sqlite3_free(iVar26)" identifier (argument_list "(iVar26)" ( identifier ))) ;)) }))) (expression_statement "iVar26 = iStack_cc;" (assignment_expression "iVar26 = iStack_cc" identifier = identifier) ;) (if_statement "if (iStack_cc != 0) goto LAB_00031d34;" if (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d34;" goto statement_identifier ;)) (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2b3c" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , identifier )))) ;) (expression_statement "puVar24 = (undefined4 *)puVar24[2];" (assignment_expression "puVar24 = (undefined4 *)puVar24[2]" identifier = (cast_expression "(undefined4 *)puVar24[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar24[2]" identifier [ number_literal ]))) ;) (if_statement "if (iVar26 != 0) goto LAB_00031d34;" if (parenthesized_expression "(iVar26 != 0)" ( (binary_expression "iVar26 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d34;" goto statement_identifier ;)) }) while (parenthesized_expression "(puVar24 != puVar28)" ( (binary_expression "puVar24 != puVar28" identifier != identifier) )) ;) (expression_statement "puVar24 = (undefined4 *)piVar7[6];" (assignment_expression "puVar24 = (undefined4 *)piVar7[6]" identifier = (cast_expression "(undefined4 *)piVar7[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[6]" identifier [ number_literal ]))) ;) })) (expression_statement "puVar28 = puVar23;" (assignment_expression "puVar28 = puVar23" identifier = identifier) ;) }) while (parenthesized_expression "(puVar23 != puVar24)" ( (binary_expression "puVar23 != puVar24" identifier != identifier) )) ;) })) (expression_statement "iVar9 = piVar7[5];" (assignment_expression "iVar9 = piVar7[5]" identifier = (subscript_expression "piVar7[5]" identifier [ number_literal ])) ;) (expression_statement "iStack_e4 = 0;" (assignment_expression "iStack_e4 = 0" identifier = number_literal) ;) (if_statement "if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }" { (labeled_statement "LAB_0003210c:\n    iStack_e4 = 0;" statement_identifier : (expression_statement "iStack_e4 = 0;" (assignment_expression "iStack_e4 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_0003211c:\n    iVar26 = *piVar7;" statement_identifier : (expression_statement "iVar26 = *piVar7;" (assignment_expression "iVar26 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;)) (expression_statement "iStack_e0 = 0;" (assignment_expression "iStack_e0 = 0" identifier = number_literal) ;) (expression_statement "uStack_dc = 0;" (assignment_expression "uStack_dc = 0" identifier = number_literal) ;) (expression_statement "uStack_d8 = 0;" (assignment_expression "uStack_d8 = 0" identifier = number_literal) ;) (expression_statement "uStack_d4 = 0;" (assignment_expression "uStack_d4 = 0" identifier = number_literal) ;) (if_statement "if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }" if (parenthesized_expression "(iVar26 != 0)" ( (binary_expression "iVar26 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }" { (expression_statement "pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);" (assignment_expression "pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194)" identifier = (cast_expression "(code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar31 + 0x15ee24) + -0x2194)" ( (binary_expression "*(int *)(puVar31 + 0x15ee24) + -0x2194" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "aiStack_c8[0] = 0;" (assignment_expression "aiStack_c8[0] = 0" (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);" (assignment_expression "iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70)" identifier = (call_expression "FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70)" identifier (argument_list "(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , identifier , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2b70" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }" if (parenthesized_expression "(iVar26 == 0)" ( (binary_expression "iVar26 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }" { (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0])" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0])" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }" if (parenthesized_expression "(iVar9 == 100)" ( (binary_expression "iVar9 == 100" identifier == number_literal) )) (compound_statement "{\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }" { (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef1c))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef1c)" * (pointer_expression "*(code **)(puVar31 + 0x15ef1c)" * (cast_expression "(code **)(puVar31 + 0x15ef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef1c)" ( (binary_expression "puVar31 + 0x15ef1c" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0],0)" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0])" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) )))) ;) (expression_statement "iStack_e0 = iVar26;" (assignment_expression "iStack_e0 = iVar26" identifier = identifier) ;) (if_statement "if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }" if (parenthesized_expression "((0 < iVar9 + 1) && (iVar26 == 0))" ( (binary_expression "(0 < iVar9 + 1) && (iVar26 == 0)" (parenthesized_expression "(0 < iVar9 + 1)" ( (binary_expression "0 < iVar9 + 1" number_literal < (binary_expression "iVar9 + 1" identifier + number_literal)) )) && (parenthesized_expression "(iVar26 == 0)" ( (binary_expression "iVar26 == 0" identifier == number_literal) ))) )) (compound_statement "{\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }" { (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2bfc" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }" { (expression_statement "iVar29 = *(int *)(puVar31 + 0x15ee24);" (assignment_expression "iVar29 = *(int *)(puVar31 + 0x15ee24)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) ))))) ;) (expression_statement "piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);" (assignment_expression "piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" identifier = (cast_expression "(int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" identifier (argument_list "(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" ( (pointer_expression "&iStack_e0" & identifier) , (binary_expression "(iVar9 + 1) * 0x28 + 0x30" (binary_expression "(iVar9 + 1) * 0x28" (parenthesized_expression "(iVar9 + 1)" ( (binary_expression "iVar9 + 1" identifier + number_literal) )) * number_literal) + number_literal) ))))) ;) (if_statement "if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" { (if_statement "if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }" if (parenthesized_expression "(*piVar7 == 100)" ( (binary_expression "*piVar7 == 100" (pointer_expression "*piVar7" * identifier) == number_literal) )) (compound_statement "{\n                  iVar10 = piVar7[1];\n                }" { (expression_statement "iVar10 = piVar7[1];" (assignment_expression "iVar10 = piVar7[1]" identifier = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n                  iVar10 = piVar7[3];\n                }" else (compound_statement "{\n                  iVar10 = piVar7[3];\n                }" { (expression_statement "iVar10 = piVar7[3];" (assignment_expression "iVar10 = piVar7[3]" identifier = (subscript_expression "piVar7[3]" identifier [ number_literal ])) ;) }))) (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15eedc))" ( (pointer_expression "**(code **)(puVar31 + 0x15eedc)" * (pointer_expression "*(code **)(puVar31 + 0x15eedc)" * (cast_expression "(code **)(puVar31 + 0x15eedc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15eedc)" ( (binary_expression "puVar31 + 0x15eedc" identifier + number_literal) ))))) )) (argument_list "(iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0)" ( identifier , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2c20" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee24) + 0x3c44" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) )))) + number_literal) , number_literal , number_literal )))) ;) (if_statement "if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" if (parenthesized_expression "((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0))" ( (binary_expression "(iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)" (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) && (parenthesized_expression "(iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)" ( (comma_expression "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15eedc))" ( (pointer_expression "**(code **)(puVar31 + 0x15eedc)" * (pointer_expression "*(code **)(puVar31 + 0x15eedc)" * (cast_expression "(code **)(puVar31 + 0x15eedc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15eedc)" ( (binary_expression "puVar31 + 0x15eedc" identifier + number_literal) ))))) )) (argument_list "(piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0)" ( (subscript_expression "piVar7[1]" identifier [ number_literal ]) , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2c24" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee24) + 0x3b10" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) )))) + number_literal) , number_literal , number_literal )))) , (binary_expression "iStack_e0 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" { (expression_statement "iVar10 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar10 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "*piStack_f0 = iVar9 + 2;" (assignment_expression "*piStack_f0 = iVar9 + 2" (pointer_expression "*piStack_f0" * identifier) = (binary_expression "iVar9 + 2" identifier + number_literal)) ;) (expression_statement "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);" (assignment_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c)" identifier = (call_expression "(*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , (pointer_expression "&uStack_dc" & identifier) , identifier , (binary_expression "iVar10 + 0x2c2c" identifier + number_literal) )))) ;) (if_statement "if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" if (parenthesized_expression "((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0))))" ( (binary_expression "(iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))" (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) && (parenthesized_expression "((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))" ( (parenthesized_expression "(iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0))" ( (comma_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)" (assignment_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0)" identifier = (call_expression "(*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , (pointer_expression "&uStack_d8" & identifier) , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2ca0" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) , (binary_expression "iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)" (binary_expression "iStack_e0 == 0" identifier == number_literal) && (parenthesized_expression "(iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)" ( (comma_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0" (assignment_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8)" identifier = (call_expression "(*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , (pointer_expression "&uStack_d4" & identifier) , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2cd8" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) , (binary_expression "iStack_e0 == 0" identifier == number_literal)) )))) )) ))) )) (compound_statement "{\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" { (expression_statement "dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);" (assignment_expression "dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" identifier = (pointer_expression "*(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" * (cast_expression "(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" ( (binary_expression "*(int *)(puVar31 + 0x15ee2c) + -0x6648" (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" * (cast_expression "(int *)(puVar31 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee2c)" ( (binary_expression "puVar31 + 0x15ee2c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iStack_f4 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iStack_f4 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar9 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);" (assignment_expression "pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c)" identifier = (cast_expression "(code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar31 + 0x15ee24) + 0x51c)" ( (binary_expression "*(int *)(puVar31 + 0x15ee24) + 0x51c" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "lVar2 = -100000;" (assignment_expression "lVar2 = -100000" identifier = number_literal) ;) (labeled_statement "LAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);" statement_identifier : (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_dc)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uStack_dc)" ( identifier )))) ;)) (if_statement "if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }" if (parenthesized_expression "(iVar10 != 100)" ( (binary_expression "iVar10 != 100" identifier != number_literal) )) (compound_statement "{\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }" { (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" identifier = identifier) ;) (if_statement "if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }" { (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" identifier = (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) ;) (if_statement "if (99 < *piVar7) goto LAB_00032240;" if (parenthesized_expression "(99 < *piVar7)" ( (binary_expression "99 < *piVar7" number_literal < (pointer_expression "*piVar7" * identifier)) )) (goto_statement "goto LAB_00032240;" goto statement_identifier ;)) (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , (binary_expression "iStack_f4 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) })) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;) })) (expression_statement "lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);" (assignment_expression "lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee74))(uStack_dc,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee74))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee74)" * (pointer_expression "*(code **)(puVar31 + 0x15ee74)" * (cast_expression "(code **)(puVar31 + 0x15ee74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee74)" ( (binary_expression "puVar31 + 0x15ee74" identifier + number_literal) ))))) )) (argument_list "(uStack_dc,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);" (assignment_expression "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee78))(uStack_dc,1)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee78)" * (pointer_expression "*(code **)(puVar31 + 0x15ee78)" * (cast_expression "(code **)(puVar31 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee78)" ( (binary_expression "puVar31 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uStack_dc,1)" ( identifier , number_literal )))) ;) (expression_statement "uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);" (assignment_expression "uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee78))(uStack_dc,2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee78)" * (pointer_expression "*(code **)(puVar31 + 0x15ee78)" * (cast_expression "(code **)(puVar31 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee78)" ( (binary_expression "puVar31 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uStack_dc,2)" ( identifier , number_literal )))) ;) (expression_statement "iVar10 = *piVar7;" (assignment_expression "iVar10 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (if_statement "if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }" if (parenthesized_expression "((iVar10 < 100) && (lVar34 != lVar2))" ( (binary_expression "(iVar10 < 100) && (lVar34 != lVar2)" (parenthesized_expression "(iVar10 < 100)" ( (binary_expression "iVar10 < 100" identifier < number_literal) )) && (parenthesized_expression "(lVar34 != lVar2)" ( (binary_expression "lVar34 != lVar2" identifier != identifier) ))) )) (compound_statement "{\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }" { (expression_statement "uStack_b4 = 0;" (assignment_expression "uStack_b4 = 0" identifier = number_literal) ;) (expression_statement "uStack_b8 = 0;" (assignment_expression "uStack_b8 = 0" identifier = number_literal) ;) (expression_statement "uStack_ac = 0;" (assignment_expression "uStack_ac = 0" identifier = number_literal) ;) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" identifier = number_literal) ;) (expression_statement "dStack_c0 = (double)iVar10 / dVar33;" (assignment_expression "dStack_c0 = (double)iVar10 / dVar33" identifier = (binary_expression "(double)iVar10 / dVar33" (cast_expression "(double)iVar10" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (expression_statement "aiStack_c8[0] = iVar10;" (assignment_expression "aiStack_c8[0] = iVar10" (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , (binary_expression "iStack_f4 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar10 != 0) goto LAB_0003223c;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;)) (expression_statement "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2d44" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (if_statement "if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }" { (expression_statement "iStack_e0 = 7;" (assignment_expression "iStack_e0 = 7" identifier = number_literal) ;) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" identifier = identifier) ;) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;) })) (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],iVar11,0,0,0)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "sqlite3_free(iVar11);" (call_expression "sqlite3_free(iVar11)" identifier (argument_list "(iVar11)" ( identifier ))) ;) (expression_statement "iStack_e0 = iVar10;" (assignment_expression "iStack_e0 = iVar10" identifier = identifier) ;) (if_statement "if (iVar10 != 0) goto LAB_0003223c;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;)) })) (expression_statement "uVar4 = uStack_d4;" (assignment_expression "uVar4 = uStack_d4" identifier = identifier) ;) (expression_statement "uVar19 = uStack_d8;" (assignment_expression "uVar19 = uStack_d8" identifier = identifier) ;) (expression_statement "uStack_d0 = 0;" (assignment_expression "uStack_d0 = 0" identifier = number_literal) ;) (expression_statement "iStack_cc = 0;" (assignment_expression "iStack_cc = 0" identifier = number_literal) ;) (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef64)" * (pointer_expression "*(code **)(puVar31 + 0x15ef64)" * (cast_expression "(code **)(puVar31 + 0x15ef64)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef64)" ( (binary_expression "puVar31 + 0x15ef64" identifier + number_literal) ))))) )) (argument_list "(uStack_d8,1,uVar15,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (if_statement "if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }" { (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee2c);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee2c)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" * (cast_expression "(int *)(puVar31 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee2c)" ( (binary_expression "puVar31 + 0x15ee2c" identifier + number_literal) ))))) ;) (expression_statement "uVar27 = 0;" (assignment_expression "uVar27 = 0" identifier = number_literal) ;) (expression_statement "iVar32 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar32 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar30 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar30 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar26 = 0;" (assignment_expression "iVar26 = 0" identifier = number_literal) ;) (do_statement "do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);" do (compound_statement "{\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      }" { (expression_statement "iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);" (assignment_expression "iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(uVar19)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uVar19)" ( identifier )))) ;) (expression_statement "iVar10 = iVar26;" (assignment_expression "iVar10 = iVar26" identifier = identifier) ;) (if_statement "if (iVar18 != 100) break;" if (parenthesized_expression "(iVar18 != 100)" ( (binary_expression "iVar18 != 100" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);" (assignment_expression "uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee78))(uVar19,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee78)" * (pointer_expression "*(code **)(puVar31 + 0x15ee78)" * (cast_expression "(code **)(puVar31 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee78)" ( (binary_expression "puVar31 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uVar19,0)" ( identifier , number_literal )))) ;) (expression_statement "iVar18 = iVar9 + 0x30a8;" (assignment_expression "iVar18 = iVar9 + 0x30a8" identifier = (binary_expression "iVar9 + 0x30a8" identifier + number_literal)) ;) (if_statement "if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n                          iVar18 = iVar12 + 0x1114;\n                        }" { (expression_statement "iVar18 = iVar12 + 0x1114;" (assignment_expression "iVar18 = iVar12 + 0x1114" identifier = (binary_expression "iVar12 + 0x1114" identifier + number_literal)) ;) })) (expression_statement "uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);" (assignment_expression "uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee78))(uVar19,1)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee78)" * (pointer_expression "*(code **)(puVar31 + 0x15ee78)" * (cast_expression "(code **)(puVar31 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee78)" ( (binary_expression "puVar31 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uVar19,1)" ( identifier , number_literal )))) ;) (expression_statement "iVar10 = iVar26 + 1;" (assignment_expression "iVar10 = iVar26 + 1" identifier = (binary_expression "iVar26 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);" (assignment_expression "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17)" identifier = (call_expression "(*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar32 + 0x2d90" identifier + number_literal) , identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);" (assignment_expression "uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10)" identifier = (call_expression "(*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar30 + 0x2db4" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "iVar26 = iVar10;" (assignment_expression "iVar26 = iVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }" else (compound_statement "{\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "uVar27 = 0;" (assignment_expression "uVar27 = 0" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }))) (expression_statement "(**(code **)(puVar31 + 0x15ef2c))(uVar19);" (call_expression "(**(code **)(puVar31 + 0x15ef2c))(uVar19)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef2c))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef2c)" * (pointer_expression "*(code **)(puVar31 + 0x15ef2c)" * (cast_expression "(code **)(puVar31 + 0x15ef2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef2c)" ( (binary_expression "puVar31 + 0x15ef2c" identifier + number_literal) ))))) )) (argument_list "(uVar19)" ( identifier ))) ;) (if_statement "if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }" { (if_statement "if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }" if (parenthesized_expression "(*piVar7 == 100)" ( (binary_expression "*piVar7 == 100" (pointer_expression "*piVar7" * identifier) == number_literal) )) (compound_statement "{\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }" { (expression_statement "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);" (assignment_expression "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2dbc" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , identifier , identifier )))) ;) }) (else_clause "else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }" else (compound_statement "{\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }" { (expression_statement "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);" (assignment_expression "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2ddc" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , identifier )))) ;) }))) }) (else_clause "else {\n                      uVar19 = 0;\n                    }" else (compound_statement "{\n                      uVar19 = 0;\n                    }" { (expression_statement "uVar19 = 0;" (assignment_expression "uVar19 = 0" identifier = number_literal) ;) }))) (expression_statement "sqlite3_free(iVar11);" (call_expression "sqlite3_free(iVar11)" identifier (argument_list "(iVar11)" ( identifier ))) ;) (expression_statement "sqlite3_free(uVar27);" (call_expression "sqlite3_free(uVar27)" identifier (argument_list "(uVar27)" ( identifier ))) ;) (if_statement "if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }" { (if_statement "if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }" if (parenthesized_expression "(*piVar7 == 100)" ( (binary_expression "*piVar7 == 100" (pointer_expression "*piVar7" * identifier) == number_literal) )) (compound_statement "{\n                        iVar11 = piVar7[1];\n                      }" { (expression_statement "iVar11 = piVar7[1];" (assignment_expression "iVar11 = piVar7[1]" identifier = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n                        iVar11 = piVar7[3];\n                      }" else (compound_statement "{\n                        iVar11 = piVar7[3];\n                      }" { (expression_statement "iVar11 = piVar7[3];" (assignment_expression "iVar11 = piVar7[3]" identifier = (subscript_expression "piVar7[3]" identifier [ number_literal ])) ;) }))) (expression_statement "iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);" (assignment_expression "iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19)" identifier = (call_expression "(*pcVar5)(iVar11,&uStack_d0,param_2,uVar19)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(iVar11,&uStack_d0,param_2,uVar19)" ( identifier , (pointer_expression "&uStack_d0" & identifier) , identifier , identifier )))) ;) })) (expression_statement "sqlite3_free(uVar19);" (call_expression "sqlite3_free(uVar19)" identifier (argument_list "(uVar19)" ( identifier ))) ;) (if_statement "if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }" { (expression_statement "piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);" (assignment_expression "piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4)" identifier = (cast_expression "(int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4)" (parenthesized_expression "(*(code *)(iVar29 + 0x368))" ( (pointer_expression "*(code *)(iVar29 + 0x368)" * (cast_expression "(code *)(iVar29 + 0x368)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar29 + 0x368)" ( (binary_expression "iVar29 + 0x368" identifier + number_literal) )))) )) (argument_list "(&iStack_cc,(iVar10 + 1) * 4)" ( (pointer_expression "&iStack_cc" & identifier) , (binary_expression "(iVar10 + 1) * 4" (parenthesized_expression "(iVar10 + 1)" ( (binary_expression "iVar10 + 1" identifier + number_literal) )) * number_literal) ))))) ;) (if_statement "if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;" if (parenthesized_expression "((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))" ( (binary_expression "(iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100)" (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100)" ( (comma_expression "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uStack_d0)" ( identifier )))) , (binary_expression "iVar11 != 100" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000327a8;" goto statement_identifier ;)) (expression_statement "piVar20 = piVar25;" (assignment_expression "piVar20 = piVar25" identifier = identifier) ;) (do_statement "do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);" do (compound_statement "{\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      }" { (expression_statement "*piVar20 = 1;" (assignment_expression "*piVar20 = 1" (pointer_expression "*piVar20" * identifier) = number_literal) ;) (expression_statement "piVar20 = piVar20 + 1;" (assignment_expression "piVar20 = piVar20 + 1" identifier = (binary_expression "piVar20 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar25 + iVar10 + 1 != piVar20)" ( (binary_expression "piVar25 + iVar10 + 1 != piVar20" (binary_expression "piVar25 + iVar10 + 1" (binary_expression "piVar25 + iVar10" identifier + identifier) + number_literal) != identifier) )) ;) (labeled_statement "LAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }" statement_identifier : (if_statement "if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }" { (expression_statement "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uStack_d0)" ( identifier )))) ;) (if_statement "if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" if (parenthesized_expression "(iVar11 != 100)" ( (binary_expression "iVar11 != 100" identifier != number_literal) )) (compound_statement "{\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" { (if_statement "if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }" { (expression_statement "iVar26 = *piVar25;" (assignment_expression "iVar26 = *piVar25" identifier = (pointer_expression "*piVar25" * identifier)) ;) (expression_statement "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2918" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (if_statement "if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }" { (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00032928;" goto statement_identifier ;) })) (if_statement "if (iStack_cc != 0) goto LAB_00032928;" if (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032928;" goto statement_identifier ;)) (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee2c);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee2c)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" * (cast_expression "(int *)(puVar31 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee2c)" ( (binary_expression "puVar31 + 0x15ee2c" identifier + number_literal) ))))) ;) (if_statement "if (iVar10 == 0) goto LAB_00032a64;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00032a64;" goto statement_identifier ;)) (expression_statement "piVar20 = piVar25;" (assignment_expression "piVar20 = piVar25" identifier = identifier) ;) (goto_statement "goto LAB_000329d0;" goto statement_identifier ;) })) (goto_statement "goto LAB_00032924;" goto statement_identifier ;) })) (expression_statement "*piVar25 = *piVar25 + 1;" (assignment_expression "*piVar25 = *piVar25 + 1" (pointer_expression "*piVar25" * identifier) = (binary_expression "*piVar25 + 1" (pointer_expression "*piVar25" * identifier) + number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (if_statement "if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }" { (do_statement "do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);" do (compound_statement "{\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          }" { (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef1c))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef1c)" * (pointer_expression "*(code **)(puVar31 + 0x15ef1c)" * (cast_expression "(code **)(puVar31 + 0x15ef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef1c)" ( (binary_expression "puVar31 + 0x15ef1c" identifier + number_literal) ))))) )) (argument_list "(uStack_d0,iVar11)" ( identifier , identifier )))) ;) (if_statement "if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }" if (parenthesized_expression "(iVar26 == 0)" ( (binary_expression "iVar26 == 0" identifier == number_literal) )) (compound_statement "{\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }" { (if_statement "if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }" if (parenthesized_expression "(iVar11 < iVar10)" ( (binary_expression "iVar11 < iVar10" identifier < identifier) )) (compound_statement "{\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }" { (expression_statement "piVar20 = piVar25 + iVar11;" (assignment_expression "piVar20 = piVar25 + iVar11" identifier = (binary_expression "piVar25 + iVar11" identifier + identifier)) ;) (do_statement "do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);" do (compound_statement "{\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                }" { (expression_statement "piVar1 = piVar20 + 1;" (assignment_expression "piVar1 = piVar20 + 1" identifier = (binary_expression "piVar20 + 1" identifier + number_literal)) ;) (expression_statement "piVar20 = piVar20 + 1;" (assignment_expression "piVar20 = piVar20 + 1" identifier = (binary_expression "piVar20 + 1" identifier + number_literal)) ;) (expression_statement "*piVar20 = *piVar1 + 1;" (assignment_expression "*piVar20 = *piVar1 + 1" (pointer_expression "*piVar20" * identifier) = (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) }) while (parenthesized_expression "(piVar25 + iVar10 != piVar20)" ( (binary_expression "piVar25 + iVar10 != piVar20" (binary_expression "piVar25 + iVar10" identifier + identifier) != identifier) )) ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != iVar11)" ( (binary_expression "iVar10 != iVar11" identifier != identifier) )) ;) })) (goto_statement "goto LAB_00032874;" goto statement_identifier ;) }))) (labeled_statement "LAB_00032924:\n                      iVar11 = 0;" statement_identifier : (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;)) (goto_statement "goto LAB_00032928;" goto statement_identifier ;) })) (expression_statement "piVar25 = (int *)0x0;" (assignment_expression "piVar25 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000327a8;" goto statement_identifier ;) })) })) })) }) (else_clause "else {\n              piStack_f0 = (int *)0x0;\n            }" else (compound_statement "{\n              piStack_f0 = (int *)0x0;\n            }" { (expression_statement "piStack_f0 = (int *)0x0;" (assignment_expression "piStack_f0 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "iStack_f4 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iStack_f4 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" identifier = identifier) ;) (labeled_statement "LAB_0003223c:\n            iStack_e0 = iVar10;" statement_identifier : (expression_statement "iStack_e0 = iVar10;" (assignment_expression "iStack_e0 = iVar10" identifier = identifier) ;)) (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" identifier = (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);" statement_identifier : (expression_statement "iVar9 = (*pcVar5)(uStack_dc);" (assignment_expression "iVar9 = (*pcVar5)(uStack_dc)" identifier = (call_expression "(*pcVar5)(uStack_dc)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(uStack_dc)" ( identifier )))) ;)) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n              iStack_e0 = iVar9;\n            }" { (expression_statement "iStack_e0 = iVar9;" (assignment_expression "iStack_e0 = iVar9" identifier = identifier) ;) })) (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(uStack_d8)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(uStack_d8)" ( identifier )))) ;) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n              iStack_e0 = iVar9;\n            }" { (expression_statement "iStack_e0 = iVar9;" (assignment_expression "iStack_e0 = iVar9" identifier = identifier) ;) })) (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(uStack_d4)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(uStack_d4)" ( identifier )))) ;) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n              iStack_e0 = iVar9;\n            }" { (expression_statement "iStack_e0 = iVar9;" (assignment_expression "iStack_e0 = iVar9" identifier = identifier) ;) })) (if_statement "if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }" if (parenthesized_expression "(0 < *piStack_f0)" ( (binary_expression "0 < *piStack_f0" number_literal < (pointer_expression "*piStack_f0" * identifier)) )) (compound_statement "{\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "piVar25 = piStack_f0;" (assignment_expression "piVar25 = piStack_f0" identifier = identifier) ;) (do_statement "do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);" do (compound_statement "{\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              }" { (expression_statement "piVar25 = piVar25 + 10;" (assignment_expression "piVar25 = piVar25 + 10" identifier = (binary_expression "piVar25 + 10" identifier + number_literal)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3_free(*piVar25);" (call_expression "sqlite3_free(*piVar25)" identifier (argument_list "(*piVar25)" ( (pointer_expression "*piVar25" * identifier) ))) ;) }) while (parenthesized_expression "(iVar9 < *piStack_f0)" ( (binary_expression "iVar9 < *piStack_f0" identifier < (pointer_expression "*piStack_f0" * identifier)) )) ;) })) (expression_statement "sqlite3_free(piStack_f0);" (call_expression "sqlite3_free(piStack_f0)" identifier (argument_list "(piStack_f0)" ( identifier ))) ;) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }" { (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2e24" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , number_literal )))) ;) })) (expression_statement "(**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);" (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[1],iStack_f4 + 0x2d04,0,0,0)" ( (subscript_expression "piVar7[1]" identifier [ number_literal ]) , (binary_expression "iStack_f4 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal ))) ;) (expression_statement "iVar26 = iStack_e0;" (assignment_expression "iVar26 = iStack_e0" identifier = identifier) ;) })) }) (else_clause "else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }" else (compound_statement "{\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }" { (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0])" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) )))) ;) }))) }) (else_clause "else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }" else (compound_statement "{\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }" { (expression_statement "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0])" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) ))) ;) }))) })) (labeled_statement "LAB_00031d34:\n    iVar29 = piVar7[0xb];" statement_identifier : (expression_statement "iVar29 = piVar7[0xb];" (assignment_expression "iVar29 = piVar7[0xb]" identifier = (subscript_expression "piVar7[0xb]" identifier [ number_literal ])) ;)) (expression_statement "iStack_e4 = iVar26;" (assignment_expression "iStack_e4 = iVar26" identifier = identifier) ;) (if_statement "if (iVar29 != 0) goto LAB_00031d40;" if (parenthesized_expression "(iVar29 != 0)" ( (binary_expression "iVar29 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d40;" goto statement_identifier ;)) }) (else_clause "else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }" else (compound_statement "{\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }" { (do_statement "do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);" do (compound_statement "{\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    }" { (while_statement "while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }" { (expression_statement "iVar29 = FUN_0002bdc0(piVar7,iVar9,0);" (assignment_expression "iVar29 = FUN_0002bdc0(piVar7,iVar9,0)" identifier = (call_expression "FUN_0002bdc0(piVar7,iVar9,0)" identifier (argument_list "(piVar7,iVar9,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar29 != 0) goto LAB_000320ec;" if (parenthesized_expression "(iVar29 != 0)" ( (binary_expression "iVar29 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000320ec;" goto statement_identifier ;)) (if_statement "if (*(int *)(iVar9 + 0x10) != 0) break;" if (parenthesized_expression "(*(int *)(iVar9 + 0x10) != 0)" ( (binary_expression "*(int *)(iVar9 + 0x10) != 0" (pointer_expression "*(int *)(iVar9 + 0x10)" * (cast_expression "(int *)(iVar9 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x10)" ( (binary_expression "iVar9 + 0x10" identifier + number_literal) )))) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar9 = *(int *)(iVar9 + 0x1c);" (assignment_expression "iVar9 = *(int *)(iVar9 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar9 + 0x1c)" * (cast_expression "(int *)(iVar9 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x1c)" ( (binary_expression "iVar9 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 0) goto LAB_0003210c;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003210c;" goto statement_identifier ;)) })) (expression_statement "iVar29 = FUN_0002bdc0(piVar7,iVar9);" (assignment_expression "iVar29 = FUN_0002bdc0(piVar7,iVar9)" identifier = (call_expression "FUN_0002bdc0(piVar7,iVar9)" identifier (argument_list "(piVar7,iVar9)" ( identifier , identifier )))) ;) (expression_statement "iVar9 = *(int *)(iVar9 + 0x1c);" (assignment_expression "iVar9 = *(int *)(iVar9 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar9 + 0x1c)" * (cast_expression "(int *)(iVar9 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x1c)" ( (binary_expression "iVar9 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }" { (expression_statement "iStack_e4 = iVar29;" (assignment_expression "iStack_e4 = iVar29" identifier = identifier) ;) (if_statement "if (iVar29 == 0) goto LAB_0003211c;" if (parenthesized_expression "(iVar29 == 0)" ( (binary_expression "iVar29 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003211c;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(iVar29 == 0)" ( (binary_expression "iVar29 == 0" identifier == number_literal) )) ;) (labeled_statement "LAB_000320ec:\n    iStack_e4 = iVar29;" statement_identifier : (expression_statement "iStack_e4 = iVar29;" (assignment_expression "iStack_e4 = iVar29" identifier = identifier) ;)) (expression_statement "iVar29 = piVar7[0xb];" (assignment_expression "iVar29 = piVar7[0xb]" identifier = (subscript_expression "piVar7[0xb]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = iStack_e4;" (assignment_expression "iVar9 = iStack_e4" identifier = identifier) ;) (if_statement "if (iVar29 == 0) goto LAB_00031db8;" if (parenthesized_expression "(iVar29 == 0)" ( (binary_expression "iVar29 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00031db8;" goto statement_identifier ;)) (labeled_statement "LAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);" statement_identifier : (expression_statement "iVar26 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar26 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;)) (expression_statement "iVar11 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar11 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar10 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = piVar7[0x40b];" (assignment_expression "iVar9 = piVar7[0x40b]" identifier = (subscript_expression "piVar7[0x40b]" identifier [ number_literal ])) ;) (do_statement "do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);" do (compound_statement "{\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    }" { (expression_statement "iVar12 = iVar10 + 0x30a8;" (assignment_expression "iVar12 = iVar10 + 0x30a8" identifier = (binary_expression "iVar10 + 0x30a8" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }" if (parenthesized_expression "(*(int *)(iVar29 + 8) != 0)" ( (binary_expression "*(int *)(iVar29 + 8) != 0" (pointer_expression "*(int *)(iVar29 + 8)" * (cast_expression "(int *)(iVar29 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar29 + 8)" ( (binary_expression "iVar29 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        iVar12 = iVar11 + 0x2a20;\n      }" { (expression_statement "iVar12 = iVar11 + 0x2a20;" (assignment_expression "iVar12 = iVar11 + 0x2a20" identifier = (binary_expression "iVar11 + 0x2a20" identifier + number_literal)) ;) })) (expression_statement "iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));" (assignment_expression "iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8))" identifier = (call_expression "FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8))" identifier (argument_list "(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8))" ( (pointer_expression "&iStack_e4" & identifier) , identifier , (binary_expression "iVar26 + 0x2e3c" identifier + number_literal) , (pointer_expression "*(undefined4 *)(iVar29 + 4)" * (cast_expression "(undefined4 *)(iVar29 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar29 + 4)" ( (binary_expression "iVar29 + 4" identifier + number_literal) )))) , identifier , (pointer_expression "*(int *)(iVar29 + 8)" * (cast_expression "(int *)(iVar29 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar29 + 8)" ( (binary_expression "iVar29 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "piVar7[0x40b] = iVar9;" (assignment_expression "piVar7[0x40b] = iVar9" (subscript_expression "piVar7[0x40b]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar29 = *(int *)(iVar29 + 0x10);" (assignment_expression "iVar29 = *(int *)(iVar29 + 0x10)" identifier = (pointer_expression "*(int *)(iVar29 + 0x10)" * (cast_expression "(int *)(iVar29 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar29 + 0x10)" ( (binary_expression "iVar29 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar29 != 0)" ( (binary_expression "iVar29 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar9 = iStack_e4;" (assignment_expression "iVar9 = iStack_e4" identifier = identifier) ;) (if_statement "if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }" if (parenthesized_expression "((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0))" ( (binary_expression "(iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)" (parenthesized_expression "(iStack_e4 == 0)" ( (binary_expression "iStack_e4 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)" ( (comma_expression "iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0" (assignment_expression "iVar9 = idxFindIndexes(piVar7,param_2)" identifier = (call_expression "idxFindIndexes(piVar7,param_2)" identifier (argument_list "(piVar7,param_2)" ( identifier , identifier )))) , (binary_expression "iVar9 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    piVar7[8] = 1;\n  }" { (expression_statement "piVar7[8] = 1;" (assignment_expression "piVar7[8] = 1" (subscript_expression "piVar7[8]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }" statement_identifier : (if_statement "if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }" if (parenthesized_expression "(iStack_a4 == *piVar8)" ( (binary_expression "iStack_a4 == *piVar8" identifier == (pointer_expression "*piVar8" * identifier)) )) (compound_statement "{\n    return iVar9;\n  }" { (return_statement "return iVar9;" return identifier ;) }))) (expression_statement "(**(code **)(puVar31 + 0x15f2c8))();" (call_expression "(**(code **)(puVar31 + 0x15f2c8))()" (parenthesized_expression "(**(code **)(puVar31 + 0x15f2c8))" ( (pointer_expression "**(code **)(puVar31 + 0x15f2c8)" * (pointer_expression "*(code **)(puVar31 + 0x15f2c8)" * (cast_expression "(code **)(puVar31 + 0x15f2c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15f2c8)" ( (binary_expression "puVar31 + 0x15f2c8" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }" if (parenthesized_expression "(*(int **)(iStack_a4 + 0x1c) != (int *)0x0)" ( (binary_expression "*(int **)(iStack_a4 + 0x1c) != (int *)0x0" (pointer_expression "*(int **)(iStack_a4 + 0x1c)" * (cast_expression "(int **)(iStack_a4 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iStack_a4 + 0x1c)" ( (binary_expression "iStack_a4 + 0x1c" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }" { (return_statement "return **(int **)(iStack_a4 + 0x1c) + 1;" return (binary_expression "**(int **)(iStack_a4 + 0x1c) + 1" (pointer_expression "**(int **)(iStack_a4 + 0x1c)" * (pointer_expression "*(int **)(iStack_a4 + 0x1c)" * (cast_expression "(int **)(iStack_a4 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iStack_a4 + 0x1c)" ( (binary_expression "iStack_a4 + 0x1c" identifier + number_literal) ))))) + number_literal) ;) })) (return_statement "return 0;" return number_literal ;) (while_statement "while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }" while (parenthesized_expression "(piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20)" ( (comma_expression "piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20" (assignment_expression "piVar20 = piVar20 + 1" identifier = (binary_expression "piVar20 + 1" identifier + number_literal)) , (binary_expression "piVar25 + iVar10 != piVar20" (binary_expression "piVar25 + iVar10" identifier + identifier) != identifier)) )) (compound_statement "{\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }" { (labeled_statement "LAB_000329d0:\n    iVar30 = piVar20[1];" statement_identifier : (expression_statement "iVar30 = piVar20[1];" (assignment_expression "iVar30 = piVar20[1]" identifier = (subscript_expression "piVar20[1]" identifier [ number_literal ])) ;)) (if_statement "if (iVar30 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar30 == 0)" ( (binary_expression "iVar30 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);" (assignment_expression "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30)" identifier = (call_expression "(*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar12 + -0x556c" identifier + number_literal) , (binary_expression "(iVar30 / 2 + iVar26) / iVar30" (parenthesized_expression "(iVar30 / 2 + iVar26)" ( (binary_expression "iVar30 / 2 + iVar26" (binary_expression "iVar30 / 2" identifier / number_literal) + identifier) )) / identifier) )))) ;) (if_statement "if (iStack_cc != 0) goto LAB_00032928;" if (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032928;" goto statement_identifier ;)) })) (labeled_statement "LAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);" statement_identifier : (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef64)" * (pointer_expression "*(code **)(puVar31 + 0x15ef64)" * (cast_expression "(code **)(puVar31 + 0x15ef64)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef64)" ( (binary_expression "puVar31 + 0x15ef64" identifier + number_literal) ))))) )) (argument_list "(uVar4,1,uVar14,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;)) (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef64)" * (pointer_expression "*(code **)(puVar31 + 0x15ef64)" * (cast_expression "(code **)(puVar31 + 0x15ef64)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef64)" ( (binary_expression "puVar31 + 0x15ef64" identifier + number_literal) ))))) )) (argument_list "(uVar4,2,uVar15,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef64)" * (pointer_expression "*(code **)(puVar31 + 0x15ef64)" * (cast_expression "(code **)(puVar31 + 0x15ef64)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef64)" ( (binary_expression "puVar31 + 0x15ef64" identifier + number_literal) ))))) )) (argument_list "(uVar4,3,iVar11,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "(**(code **)(puVar31 + 0x15ee60))(uVar4);" (call_expression "(**(code **)(puVar31 + 0x15ee60))(uVar4)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef2c))(uVar4)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef2c))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef2c)" * (pointer_expression "*(code **)(puVar31 + 0x15ef2c)" * (cast_expression "(code **)(puVar31 + 0x15ef2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef2c)" ( (binary_expression "puVar31 + 0x15ef2c" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier )))) ;) (labeled_statement "LAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);" statement_identifier : (expression_statement "uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);" (assignment_expression "uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15)" identifier = (call_expression "(**(code **)(puVar31 + 0x15f250))(uVar15)" (parenthesized_expression "(**(code **)(puVar31 + 0x15f250))" ( (pointer_expression "**(code **)(puVar31 + 0x15f250)" * (pointer_expression "*(code **)(puVar31 + 0x15f250)" * (cast_expression "(code **)(puVar31 + 0x15f250)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15f250)" ( (binary_expression "puVar31 + 0x15f250" identifier + number_literal) ))))) )) (argument_list "(uVar15)" ( identifier )))) ;)) (expression_statement "iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);" (assignment_expression "iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14)" identifier = (call_expression "FUN_00021854(piVar7 + 0xb,uVar15,uVar14)" identifier (argument_list "(piVar7 + 0xb,uVar15,uVar14)" ( (binary_expression "piVar7 + 0xb" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    sqlite3_free(iVar11);\n  }" { (expression_statement "sqlite3_free(iVar11);" (call_expression "sqlite3_free(iVar11)" identifier (argument_list "(iVar11)" ( identifier ))) ;) }) (else_clause "else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }" else (compound_statement "{\n    *(int *)(iVar10 + 8) = iVar11;\n  }" { (expression_statement "*(int *)(iVar10 + 8) = iVar11;" (assignment_expression "*(int *)(iVar10 + 8) = iVar11" (pointer_expression "*(int *)(iVar10 + 8)" * (cast_expression "(int *)(iVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) )))) = identifier) ;) }))) (labeled_statement "LAB_000327a8:\n  sqlite3_free(piVar25);" statement_identifier : (expression_statement "sqlite3_free(piVar25);" (call_expression "sqlite3_free(piVar25)" identifier (argument_list "(piVar25)" ( identifier ))) ;)) (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(uStack_d0)" ( identifier )))) ;) (if_statement "if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }" if (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) (compound_statement "{\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }" { (expression_statement "iStack_e0 = iStack_cc;" (assignment_expression "iStack_e0 = iStack_cc" identifier = identifier) ;) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" identifier = identifier) ;) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;) })) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" identifier = identifier) ;) (expression_statement "lVar2 = lVar34;" (assignment_expression "lVar2 = lVar34" identifier = identifier) ;) (if_statement "if (iStack_e0 != 0) goto LAB_0003223c;" if (parenthesized_expression "(iStack_e0 != 0)" ( (binary_expression "iStack_e0 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;)) (goto_statement "goto LAB_0003249c;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x00031ed8) */\n\nint sqlite3_expert_sql(sqlite3expert *p,char *zSql,char **pzErr)\n\n{\n  sqlite3expert *p_00;\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  void *pvVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  int iVar12;\n  sqlite3_stmt *psVar13;\n  sqlite3 *psVar14;\n  int iVar15;\n  int iVar16;\n  sqlite3expert *unaff_s0;\n  IdxWrite *pIVar17;\n  IdxScan *pScan;\n  IdxHashEntry *pIVar18;\n  IdxTable *pIVar19;\n  char *pcVar20;\n  int in_t9;\n  code *pcVar21;\n  code *pcVar22;\n  int iVar23;\n  double dVar24;\n  longlong lVar25;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  sqlite3_stmt *apsStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  sqlite3expert *psStack_a0;\n  int rc;\n  char *zStmt;\n  sqlite3_stmt *pStmt;\n  \n  p_00 = (sqlite3expert *)**(int **)(in_t9 + 0x15f534);\n  if (p->bRun == 0) {\n    iVar1 = 0;\n    if ((zSql != (char *)0x0) && (unaff_s0 = p, *zSql != '\0')) {\n      iVar1 = FUN_00031a10();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x15;\n  }\n  if (p_00 == (sqlite3expert *)**(int **)(in_t9 + 0x15f534)) {\n    return iVar1;\n  }\n  pcVar21 = *(code **)(in_t9 + 0x15f508);\n  (*pcVar21)();\n  piVar2 = *(int **)(pcVar21 + 0x15f2f4);\n  pIVar17 = p_00->pWrite;\n  iStack_a4 = *piVar2;\n  iVar1 = *(int *)(pcVar21 + 0x15ee2c);\n  psStack_a0 = unaff_s0;\n  if ((pIVar17 == (IdxWrite *)0x0) || (pIVar17 == (IdxWrite *)0x0)) {\n    pScan = p_00->pScan;\n    iStack_e4 = 0;\n    if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }\n        iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar1 == 0);\nLAB_000320ec:\n      iStack_e4 = iVar1;\n      pIVar18 = (p_00->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar1 = FUN_00031db8();\n        return iVar1;\n      }\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28);\n      iVar1 = *(int *)(pcVar21 + 0x15ee28);\n      pcVar20 = p_00->zCandidates;\n      do {\n        iVar15 = iVar1 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar3 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p_00->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar1 = iStack_e4;\n      if ((iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)) {\n        p_00->bRun = 1;\n      }\n      if (iStack_a4 == *piVar2) {\n        return iVar1;\n      }\n      (**(code **)(pcVar21 + 0x15f2c8))();\n      if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_a4 + 0x1c) + 1;\n      }\n      return 0;\n    }\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (p_00->iSample == 0) {\nLAB_00032138:\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    pcVar22 = (code *)(*(int *)(pcVar21 + 0x15ee24) + -0x2194);\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iVar1 = idxPrepareStmt(p_00->dbm,apsStack_c8,(char **)zSql,\n                           (char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70));\n    if (iVar1 != 0) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee60))(apsStack_c8[0]);\n    if (iVar1 != 100) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ef1c))(apsStack_c8[0],0);\n    iStack_e0 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iVar1 + 1 < 1) || (iStack_e0 != 0)) goto LAB_00032138;\n    iStack_e0 = (**(code **)(pcVar21 + 0x15ef18))\n                          (p_00->dbm,*(int *)(pcVar21 + 0x15ee28) + 0x2bfc,0,0,0);\n    if (iStack_e0 == 0) {\n      piStack_f0 = (int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30);\n      iVar3 = iStack_e0;\n      if (iStack_e0 == 0) {\n        if (p_00->iSample == 100) {\n          psVar14 = p_00->db;\n        }\n        else {\n          psVar14 = p_00->dbv;\n        }\n        iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);\n        iVar3 = iStack_e0;\n        if ((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)) {\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_f0 = (int *)0x0;\n      iVar3 = iStack_e0;\n    }\n    iStack_e0 = iVar3;\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\nLAB_00032240:\n    iVar1 = (*pcVar22)(uStack_dc);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d8);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d4);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    if (0 < *piStack_f0) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_f0[10]);\n    }\n                    /* WARNING: Subroutine does not return */\n    sqlite3_free(piStack_f0);\n  }\n  iVar3 = *(int *)(pcVar21 + 0x15ee28);\n  pIVar19 = pIVar17->pTab;\n  pcVar20 = pIVar19->zName;\n  uStack_d0 = 0;\n  iStack_cc = 0;\n  iStack_cc = (*(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x884))\n                        (p_00->db,&uStack_d0,zSql,*(int *)(pcVar21 + 0x15ee28) + 0x2a2c,pcVar20,\n                         pcVar20);\n  if (iStack_cc == 0) {\n    do {\n      iVar5 = (**(code **)(pcVar21 + 0x15ee60))(uStack_d0);\n      if (iVar5 != 100) break;\n      uVar4 = (**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0);\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql);\n    } while (iStack_cc == 0);\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }\n  else {\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }\n  iVar5 = (*pcVar22)(uStack_d0);\n  if ((iStack_cc == 0) && (iStack_cc = iVar5, iVar5 == 0)) {\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\n    pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                               (*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac);\n    if (pvVar6 != (void *)0x0) {\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar6);\n    }\n    iStack_cc = 7;\n    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;\n    if (pIVar17->eOp != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar15 = 0;\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar16 < pIVar19->nCol);\n    }\n  }\n  else {\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar5 = *(int *)(pcVar21 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (iStack_cc == 0) {\n        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        iStack_cc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar5 = 0;\n      iVar15 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);\n        iVar5 = iVar5 + 1;\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar5 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034));\n  }\nLAB_00031e1c:\n  if (iStack_cc == 0) {\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iStack_cc = (**(code **)(pcVar21 + 0x15ee38))(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0);\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iStack_cc != 0) || (iStack_cc = iVar1, iVar1 != 0)) {\n      idxDatabaseError(p_00->dbv,(char **)zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }\n  }\nLAB_00031d20:\n                    /* WARNING: Subroutine does not return */\n  sqlite3_free(pcVar20);\n}\n\n" comment (function_definition "int sqlite3_expert_sql(sqlite3expert *p,char *zSql,char **pzErr)\n\n{\n  sqlite3expert *p_00;\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  void *pvVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  int iVar12;\n  sqlite3_stmt *psVar13;\n  sqlite3 *psVar14;\n  int iVar15;\n  int iVar16;\n  sqlite3expert *unaff_s0;\n  IdxWrite *pIVar17;\n  IdxScan *pScan;\n  IdxHashEntry *pIVar18;\n  IdxTable *pIVar19;\n  char *pcVar20;\n  int in_t9;\n  code *pcVar21;\n  code *pcVar22;\n  int iVar23;\n  double dVar24;\n  longlong lVar25;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  sqlite3_stmt *apsStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  sqlite3expert *psStack_a0;\n  int rc;\n  char *zStmt;\n  sqlite3_stmt *pStmt;\n  \n  p_00 = (sqlite3expert *)**(int **)(in_t9 + 0x15f534);\n  if (p->bRun == 0) {\n    iVar1 = 0;\n    if ((zSql != (char *)0x0) && (unaff_s0 = p, *zSql != '\0')) {\n      iVar1 = FUN_00031a10();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x15;\n  }\n  if (p_00 == (sqlite3expert *)**(int **)(in_t9 + 0x15f534)) {\n    return iVar1;\n  }\n  pcVar21 = *(code **)(in_t9 + 0x15f508);\n  (*pcVar21)();\n  piVar2 = *(int **)(pcVar21 + 0x15f2f4);\n  pIVar17 = p_00->pWrite;\n  iStack_a4 = *piVar2;\n  iVar1 = *(int *)(pcVar21 + 0x15ee2c);\n  psStack_a0 = unaff_s0;\n  if ((pIVar17 == (IdxWrite *)0x0) || (pIVar17 == (IdxWrite *)0x0)) {\n    pScan = p_00->pScan;\n    iStack_e4 = 0;\n    if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }\n        iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar1 == 0);\nLAB_000320ec:\n      iStack_e4 = iVar1;\n      pIVar18 = (p_00->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar1 = FUN_00031db8();\n        return iVar1;\n      }\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28);\n      iVar1 = *(int *)(pcVar21 + 0x15ee28);\n      pcVar20 = p_00->zCandidates;\n      do {\n        iVar15 = iVar1 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar3 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p_00->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar1 = iStack_e4;\n      if ((iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)) {\n        p_00->bRun = 1;\n      }\n      if (iStack_a4 == *piVar2) {\n        return iVar1;\n      }\n      (**(code **)(pcVar21 + 0x15f2c8))();\n      if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_a4 + 0x1c) + 1;\n      }\n      return 0;\n    }\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (p_00->iSample == 0) {\nLAB_00032138:\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    pcVar22 = (code *)(*(int *)(pcVar21 + 0x15ee24) + -0x2194);\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iVar1 = idxPrepareStmt(p_00->dbm,apsStack_c8,(char **)zSql,\n                           (char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70));\n    if (iVar1 != 0) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee60))(apsStack_c8[0]);\n    if (iVar1 != 100) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ef1c))(apsStack_c8[0],0);\n    iStack_e0 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iVar1 + 1 < 1) || (iStack_e0 != 0)) goto LAB_00032138;\n    iStack_e0 = (**(code **)(pcVar21 + 0x15ef18))\n                          (p_00->dbm,*(int *)(pcVar21 + 0x15ee28) + 0x2bfc,0,0,0);\n    if (iStack_e0 == 0) {\n      piStack_f0 = (int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30);\n      iVar3 = iStack_e0;\n      if (iStack_e0 == 0) {\n        if (p_00->iSample == 100) {\n          psVar14 = p_00->db;\n        }\n        else {\n          psVar14 = p_00->dbv;\n        }\n        iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);\n        iVar3 = iStack_e0;\n        if ((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)) {\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_f0 = (int *)0x0;\n      iVar3 = iStack_e0;\n    }\n    iStack_e0 = iVar3;\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\nLAB_00032240:\n    iVar1 = (*pcVar22)(uStack_dc);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d8);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d4);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    if (0 < *piStack_f0) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_f0[10]);\n    }\n                    /* WARNING: Subroutine does not return */\n    sqlite3_free(piStack_f0);\n  }\n  iVar3 = *(int *)(pcVar21 + 0x15ee28);\n  pIVar19 = pIVar17->pTab;\n  pcVar20 = pIVar19->zName;\n  uStack_d0 = 0;\n  iStack_cc = 0;\n  iStack_cc = (*(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x884))\n                        (p_00->db,&uStack_d0,zSql,*(int *)(pcVar21 + 0x15ee28) + 0x2a2c,pcVar20,\n                         pcVar20);\n  if (iStack_cc == 0) {\n    do {\n      iVar5 = (**(code **)(pcVar21 + 0x15ee60))(uStack_d0);\n      if (iVar5 != 100) break;\n      uVar4 = (**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0);\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql);\n    } while (iStack_cc == 0);\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }\n  else {\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }\n  iVar5 = (*pcVar22)(uStack_d0);\n  if ((iStack_cc == 0) && (iStack_cc = iVar5, iVar5 == 0)) {\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\n    pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                               (*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac);\n    if (pvVar6 != (void *)0x0) {\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar6);\n    }\n    iStack_cc = 7;\n    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;\n    if (pIVar17->eOp != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar15 = 0;\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar16 < pIVar19->nCol);\n    }\n  }\n  else {\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar5 = *(int *)(pcVar21 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (iStack_cc == 0) {\n        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        iStack_cc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar5 = 0;\n      iVar15 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);\n        iVar5 = iVar5 + 1;\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar5 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034));\n  }\nLAB_00031e1c:\n  if (iStack_cc == 0) {\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iStack_cc = (**(code **)(pcVar21 + 0x15ee38))(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0);\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iStack_cc != 0) || (iStack_cc = iVar1, iVar1 != 0)) {\n      idxDatabaseError(p_00->dbv,(char **)zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }\n  }\nLAB_00031d20:\n                    /* WARNING: Subroutine does not return */\n  sqlite3_free(pcVar20);\n}" primitive_type (function_declarator "sqlite3_expert_sql(sqlite3expert *p,char *zSql,char **pzErr)" identifier (parameter_list "(sqlite3expert *p,char *zSql,char **pzErr)" ( (parameter_declaration "sqlite3expert *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *zSql" primitive_type (pointer_declarator "*zSql" * identifier)) , (parameter_declaration "char **pzErr" primitive_type (pointer_declarator "**pzErr" * (pointer_declarator "*pzErr" * identifier))) ))) (compound_statement "{\n  sqlite3expert *p_00;\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  void *pvVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  int iVar12;\n  sqlite3_stmt *psVar13;\n  sqlite3 *psVar14;\n  int iVar15;\n  int iVar16;\n  sqlite3expert *unaff_s0;\n  IdxWrite *pIVar17;\n  IdxScan *pScan;\n  IdxHashEntry *pIVar18;\n  IdxTable *pIVar19;\n  char *pcVar20;\n  int in_t9;\n  code *pcVar21;\n  code *pcVar22;\n  int iVar23;\n  double dVar24;\n  longlong lVar25;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  sqlite3_stmt *apsStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  sqlite3expert *psStack_a0;\n  int rc;\n  char *zStmt;\n  sqlite3_stmt *pStmt;\n  \n  p_00 = (sqlite3expert *)**(int **)(in_t9 + 0x15f534);\n  if (p->bRun == 0) {\n    iVar1 = 0;\n    if ((zSql != (char *)0x0) && (unaff_s0 = p, *zSql != '\0')) {\n      iVar1 = FUN_00031a10();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x15;\n  }\n  if (p_00 == (sqlite3expert *)**(int **)(in_t9 + 0x15f534)) {\n    return iVar1;\n  }\n  pcVar21 = *(code **)(in_t9 + 0x15f508);\n  (*pcVar21)();\n  piVar2 = *(int **)(pcVar21 + 0x15f2f4);\n  pIVar17 = p_00->pWrite;\n  iStack_a4 = *piVar2;\n  iVar1 = *(int *)(pcVar21 + 0x15ee2c);\n  psStack_a0 = unaff_s0;\n  if ((pIVar17 == (IdxWrite *)0x0) || (pIVar17 == (IdxWrite *)0x0)) {\n    pScan = p_00->pScan;\n    iStack_e4 = 0;\n    if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }\n        iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar1 == 0);\nLAB_000320ec:\n      iStack_e4 = iVar1;\n      pIVar18 = (p_00->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar1 = FUN_00031db8();\n        return iVar1;\n      }\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28);\n      iVar1 = *(int *)(pcVar21 + 0x15ee28);\n      pcVar20 = p_00->zCandidates;\n      do {\n        iVar15 = iVar1 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar3 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p_00->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar1 = iStack_e4;\n      if ((iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)) {\n        p_00->bRun = 1;\n      }\n      if (iStack_a4 == *piVar2) {\n        return iVar1;\n      }\n      (**(code **)(pcVar21 + 0x15f2c8))();\n      if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_a4 + 0x1c) + 1;\n      }\n      return 0;\n    }\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (p_00->iSample == 0) {\nLAB_00032138:\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    pcVar22 = (code *)(*(int *)(pcVar21 + 0x15ee24) + -0x2194);\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iVar1 = idxPrepareStmt(p_00->dbm,apsStack_c8,(char **)zSql,\n                           (char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70));\n    if (iVar1 != 0) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee60))(apsStack_c8[0]);\n    if (iVar1 != 100) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ef1c))(apsStack_c8[0],0);\n    iStack_e0 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iVar1 + 1 < 1) || (iStack_e0 != 0)) goto LAB_00032138;\n    iStack_e0 = (**(code **)(pcVar21 + 0x15ef18))\n                          (p_00->dbm,*(int *)(pcVar21 + 0x15ee28) + 0x2bfc,0,0,0);\n    if (iStack_e0 == 0) {\n      piStack_f0 = (int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30);\n      iVar3 = iStack_e0;\n      if (iStack_e0 == 0) {\n        if (p_00->iSample == 100) {\n          psVar14 = p_00->db;\n        }\n        else {\n          psVar14 = p_00->dbv;\n        }\n        iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);\n        iVar3 = iStack_e0;\n        if ((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)) {\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_f0 = (int *)0x0;\n      iVar3 = iStack_e0;\n    }\n    iStack_e0 = iVar3;\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\nLAB_00032240:\n    iVar1 = (*pcVar22)(uStack_dc);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d8);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d4);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    if (0 < *piStack_f0) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_f0[10]);\n    }\n                    /* WARNING: Subroutine does not return */\n    sqlite3_free(piStack_f0);\n  }\n  iVar3 = *(int *)(pcVar21 + 0x15ee28);\n  pIVar19 = pIVar17->pTab;\n  pcVar20 = pIVar19->zName;\n  uStack_d0 = 0;\n  iStack_cc = 0;\n  iStack_cc = (*(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x884))\n                        (p_00->db,&uStack_d0,zSql,*(int *)(pcVar21 + 0x15ee28) + 0x2a2c,pcVar20,\n                         pcVar20);\n  if (iStack_cc == 0) {\n    do {\n      iVar5 = (**(code **)(pcVar21 + 0x15ee60))(uStack_d0);\n      if (iVar5 != 100) break;\n      uVar4 = (**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0);\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql);\n    } while (iStack_cc == 0);\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }\n  else {\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }\n  iVar5 = (*pcVar22)(uStack_d0);\n  if ((iStack_cc == 0) && (iStack_cc = iVar5, iVar5 == 0)) {\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\n    pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                               (*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac);\n    if (pvVar6 != (void *)0x0) {\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar6);\n    }\n    iStack_cc = 7;\n    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;\n    if (pIVar17->eOp != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar15 = 0;\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar16 < pIVar19->nCol);\n    }\n  }\n  else {\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar5 = *(int *)(pcVar21 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (iStack_cc == 0) {\n        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        iStack_cc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar5 = 0;\n      iVar15 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);\n        iVar5 = iVar5 + 1;\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar5 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034));\n  }\nLAB_00031e1c:\n  if (iStack_cc == 0) {\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iStack_cc = (**(code **)(pcVar21 + 0x15ee38))(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0);\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iStack_cc != 0) || (iStack_cc = iVar1, iVar1 != 0)) {\n      idxDatabaseError(p_00->dbv,(char **)zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }\n  }\nLAB_00031d20:\n                    /* WARNING: Subroutine does not return */\n  sqlite3_free(pcVar20);\n}" { (declaration "sqlite3expert *p_00;" type_identifier (pointer_declarator "*p_00" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "void *pvVar6;" primitive_type (pointer_declarator "*pvVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "sqlite3_stmt *psVar13;" type_identifier (pointer_declarator "*psVar13" * identifier) ;) (declaration "sqlite3 *psVar14;" type_identifier (pointer_declarator "*psVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "sqlite3expert *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "IdxWrite *pIVar17;" type_identifier (pointer_declarator "*pIVar17" * identifier) ;) (declaration "IdxScan *pScan;" type_identifier (pointer_declarator "*pScan" * identifier) ;) (declaration "IdxHashEntry *pIVar18;" type_identifier (pointer_declarator "*pIVar18" * identifier) ;) (declaration "IdxTable *pIVar19;" type_identifier (pointer_declarator "*pIVar19" * identifier) ;) (declaration "char *pcVar20;" primitive_type (pointer_declarator "*pcVar20" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar21;" type_identifier (pointer_declarator "*pcVar21" * identifier) ;) (declaration "code *pcVar22;" type_identifier (pointer_declarator "*pcVar22" * identifier) ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "double dVar24;" primitive_type identifier ;) (declaration "longlong lVar25;" type_identifier identifier ;) (declaration "int *piStack_f0;" primitive_type (pointer_declarator "*piStack_f0" * identifier) ;) (declaration "int iStack_e4;" primitive_type identifier ;) (declaration "int iStack_e0;" primitive_type identifier ;) (declaration "undefined4 uStack_dc;" type_identifier identifier ;) (declaration "undefined4 uStack_d8;" type_identifier identifier ;) (declaration "undefined4 uStack_d4;" type_identifier identifier ;) (declaration "undefined4 uStack_d0;" type_identifier identifier ;) (declaration "int iStack_cc;" primitive_type identifier ;) (declaration "sqlite3_stmt *apsStack_c8 [2];" type_identifier (pointer_declarator "*apsStack_c8 [2]" * (array_declarator "apsStack_c8 [2]" identifier [ number_literal ])) ;) (declaration "double dStack_c0;" primitive_type identifier ;) (declaration "undefined4 uStack_b8;" type_identifier identifier ;) (declaration "undefined4 uStack_b4;" type_identifier identifier ;) (declaration "undefined4 uStack_b0;" type_identifier identifier ;) (declaration "undefined4 uStack_ac;" type_identifier identifier ;) (declaration "int iStack_a4;" primitive_type identifier ;) (declaration "sqlite3expert *psStack_a0;" type_identifier (pointer_declarator "*psStack_a0" * identifier) ;) (declaration "int rc;" primitive_type identifier ;) (declaration "char *zStmt;" primitive_type (pointer_declarator "*zStmt" * identifier) ;) (declaration "sqlite3_stmt *pStmt;" type_identifier (pointer_declarator "*pStmt" * identifier) ;) (expression_statement "p_00 = (sqlite3expert *)**(int **)(in_t9 + 0x15f534);" (assignment_expression "p_00 = (sqlite3expert *)**(int **)(in_t9 + 0x15f534)" identifier = (cast_expression "(sqlite3expert *)**(int **)(in_t9 + 0x15f534)" ( (type_descriptor "sqlite3expert *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(in_t9 + 0x15f534)" * (pointer_expression "*(int **)(in_t9 + 0x15f534)" * (cast_expression "(int **)(in_t9 + 0x15f534)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15f534)" ( (binary_expression "in_t9 + 0x15f534" identifier + number_literal) ))))))) ;) (if_statement "if (p->bRun == 0) {\n    iVar1 = 0;\n    if ((zSql != (char *)0x0) && (unaff_s0 = p, *zSql != '\0')) {\n      iVar1 = FUN_00031a10();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x15;\n  }" if (parenthesized_expression "(p->bRun == 0)" ( (binary_expression "p->bRun == 0" (field_expression "p->bRun" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    iVar1 = 0;\n    if ((zSql != (char *)0x0) && (unaff_s0 = p, *zSql != '\0')) {\n      iVar1 = FUN_00031a10();\n      return iVar1;\n    }\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if ((zSql != (char *)0x0) && (unaff_s0 = p, *zSql != '\0')) {\n      iVar1 = FUN_00031a10();\n      return iVar1;\n    }" if (parenthesized_expression "((zSql != (char *)0x0) && (unaff_s0 = p, *zSql != '\0'))" ( (binary_expression "(zSql != (char *)0x0) && (unaff_s0 = p, *zSql != '\0')" (parenthesized_expression "(zSql != (char *)0x0)" ( (binary_expression "zSql != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(unaff_s0 = p, *zSql != '\0')" ( (comma_expression "unaff_s0 = p, *zSql != '\0'" (assignment_expression "unaff_s0 = p" identifier = identifier) , (binary_expression "*zSql != '\0'" (pointer_expression "*zSql" * identifier) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      iVar1 = FUN_00031a10();\n      return iVar1;\n    }" { (expression_statement "iVar1 = FUN_00031a10();" (assignment_expression "iVar1 = FUN_00031a10()" identifier = (call_expression "FUN_00031a10()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) }) (else_clause "else {\n    iVar1 = 0x15;\n  }" else (compound_statement "{\n    iVar1 = 0x15;\n  }" { (expression_statement "iVar1 = 0x15;" (assignment_expression "iVar1 = 0x15" identifier = number_literal) ;) }))) (if_statement "if (p_00 == (sqlite3expert *)**(int **)(in_t9 + 0x15f534)) {\n    return iVar1;\n  }" if (parenthesized_expression "(p_00 == (sqlite3expert *)**(int **)(in_t9 + 0x15f534))" ( (binary_expression "p_00 == (sqlite3expert *)**(int **)(in_t9 + 0x15f534)" identifier == (cast_expression "(sqlite3expert *)**(int **)(in_t9 + 0x15f534)" ( (type_descriptor "sqlite3expert *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(in_t9 + 0x15f534)" * (pointer_expression "*(int **)(in_t9 + 0x15f534)" * (cast_expression "(int **)(in_t9 + 0x15f534)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15f534)" ( (binary_expression "in_t9 + 0x15f534" identifier + number_literal) ))))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "pcVar21 = *(code **)(in_t9 + 0x15f508);" (assignment_expression "pcVar21 = *(code **)(in_t9 + 0x15f508)" identifier = (pointer_expression "*(code **)(in_t9 + 0x15f508)" * (cast_expression "(code **)(in_t9 + 0x15f508)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15f508)" ( (binary_expression "in_t9 + 0x15f508" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar21)();" (call_expression "(*pcVar21)()" (parenthesized_expression "(*pcVar21)" ( (pointer_expression "*pcVar21" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar2 = *(int **)(pcVar21 + 0x15f2f4);" (assignment_expression "piVar2 = *(int **)(pcVar21 + 0x15f2f4)" identifier = (pointer_expression "*(int **)(pcVar21 + 0x15f2f4)" * (cast_expression "(int **)(pcVar21 + 0x15f2f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15f2f4)" ( (binary_expression "pcVar21 + 0x15f2f4" identifier + number_literal) ))))) ;) (expression_statement "pIVar17 = p_00->pWrite;" (assignment_expression "pIVar17 = p_00->pWrite" identifier = (field_expression "p_00->pWrite" identifier -> field_identifier)) ;) (expression_statement "iStack_a4 = *piVar2;" (assignment_expression "iStack_a4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "iVar1 = *(int *)(pcVar21 + 0x15ee2c);" (assignment_expression "iVar1 = *(int *)(pcVar21 + 0x15ee2c)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee2c)" * (cast_expression "(int *)(pcVar21 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee2c)" ( (binary_expression "pcVar21 + 0x15ee2c" identifier + number_literal) ))))) ;) (expression_statement "psStack_a0 = unaff_s0;" (assignment_expression "psStack_a0 = unaff_s0" identifier = identifier) ;) (if_statement "if ((pIVar17 == (IdxWrite *)0x0) || (pIVar17 == (IdxWrite *)0x0)) {\n    pScan = p_00->pScan;\n    iStack_e4 = 0;\n    if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }\n        iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar1 == 0);\nLAB_000320ec:\n      iStack_e4 = iVar1;\n      pIVar18 = (p_00->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar1 = FUN_00031db8();\n        return iVar1;\n      }\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28);\n      iVar1 = *(int *)(pcVar21 + 0x15ee28);\n      pcVar20 = p_00->zCandidates;\n      do {\n        iVar15 = iVar1 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar3 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p_00->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar1 = iStack_e4;\n      if ((iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)) {\n        p_00->bRun = 1;\n      }\n      if (iStack_a4 == *piVar2) {\n        return iVar1;\n      }\n      (**(code **)(pcVar21 + 0x15f2c8))();\n      if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_a4 + 0x1c) + 1;\n      }\n      return 0;\n    }\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (p_00->iSample == 0) {\nLAB_00032138:\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    pcVar22 = (code *)(*(int *)(pcVar21 + 0x15ee24) + -0x2194);\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iVar1 = idxPrepareStmt(p_00->dbm,apsStack_c8,(char **)zSql,\n                           (char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70));\n    if (iVar1 != 0) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee60))(apsStack_c8[0]);\n    if (iVar1 != 100) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ef1c))(apsStack_c8[0],0);\n    iStack_e0 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iVar1 + 1 < 1) || (iStack_e0 != 0)) goto LAB_00032138;\n    iStack_e0 = (**(code **)(pcVar21 + 0x15ef18))\n                          (p_00->dbm,*(int *)(pcVar21 + 0x15ee28) + 0x2bfc,0,0,0);\n    if (iStack_e0 == 0) {\n      piStack_f0 = (int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30);\n      iVar3 = iStack_e0;\n      if (iStack_e0 == 0) {\n        if (p_00->iSample == 100) {\n          psVar14 = p_00->db;\n        }\n        else {\n          psVar14 = p_00->dbv;\n        }\n        iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);\n        iVar3 = iStack_e0;\n        if ((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)) {\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_f0 = (int *)0x0;\n      iVar3 = iStack_e0;\n    }\n    iStack_e0 = iVar3;\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\nLAB_00032240:\n    iVar1 = (*pcVar22)(uStack_dc);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d8);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d4);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    if (0 < *piStack_f0) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_f0[10]);\n    }\n                    /* WARNING: Subroutine does not return */\n    sqlite3_free(piStack_f0);\n  }" if (parenthesized_expression "((pIVar17 == (IdxWrite *)0x0) || (pIVar17 == (IdxWrite *)0x0))" ( (binary_expression "(pIVar17 == (IdxWrite *)0x0) || (pIVar17 == (IdxWrite *)0x0)" (parenthesized_expression "(pIVar17 == (IdxWrite *)0x0)" ( (binary_expression "pIVar17 == (IdxWrite *)0x0" identifier == (cast_expression "(IdxWrite *)0x0" ( (type_descriptor "IdxWrite *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pIVar17 == (IdxWrite *)0x0)" ( (binary_expression "pIVar17 == (IdxWrite *)0x0" identifier == (cast_expression "(IdxWrite *)0x0" ( (type_descriptor "IdxWrite *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    pScan = p_00->pScan;\n    iStack_e4 = 0;\n    if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }\n        iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar1 == 0);\nLAB_000320ec:\n      iStack_e4 = iVar1;\n      pIVar18 = (p_00->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar1 = FUN_00031db8();\n        return iVar1;\n      }\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28);\n      iVar1 = *(int *)(pcVar21 + 0x15ee28);\n      pcVar20 = p_00->zCandidates;\n      do {\n        iVar15 = iVar1 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar3 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p_00->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar1 = iStack_e4;\n      if ((iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)) {\n        p_00->bRun = 1;\n      }\n      if (iStack_a4 == *piVar2) {\n        return iVar1;\n      }\n      (**(code **)(pcVar21 + 0x15f2c8))();\n      if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_a4 + 0x1c) + 1;\n      }\n      return 0;\n    }\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (p_00->iSample == 0) {\nLAB_00032138:\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    pcVar22 = (code *)(*(int *)(pcVar21 + 0x15ee24) + -0x2194);\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iVar1 = idxPrepareStmt(p_00->dbm,apsStack_c8,(char **)zSql,\n                           (char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70));\n    if (iVar1 != 0) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee60))(apsStack_c8[0]);\n    if (iVar1 != 100) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ef1c))(apsStack_c8[0],0);\n    iStack_e0 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iVar1 + 1 < 1) || (iStack_e0 != 0)) goto LAB_00032138;\n    iStack_e0 = (**(code **)(pcVar21 + 0x15ef18))\n                          (p_00->dbm,*(int *)(pcVar21 + 0x15ee28) + 0x2bfc,0,0,0);\n    if (iStack_e0 == 0) {\n      piStack_f0 = (int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30);\n      iVar3 = iStack_e0;\n      if (iStack_e0 == 0) {\n        if (p_00->iSample == 100) {\n          psVar14 = p_00->db;\n        }\n        else {\n          psVar14 = p_00->dbv;\n        }\n        iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);\n        iVar3 = iStack_e0;\n        if ((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)) {\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_f0 = (int *)0x0;\n      iVar3 = iStack_e0;\n    }\n    iStack_e0 = iVar3;\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\nLAB_00032240:\n    iVar1 = (*pcVar22)(uStack_dc);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d8);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d4);\n    if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }\n    if (0 < *piStack_f0) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_f0[10]);\n    }\n                    /* WARNING: Subroutine does not return */\n    sqlite3_free(piStack_f0);\n  }" { (expression_statement "pScan = p_00->pScan;" (assignment_expression "pScan = p_00->pScan" identifier = (field_expression "p_00->pScan" identifier -> field_identifier)) ;) (expression_statement "iStack_e4 = 0;" (assignment_expression "iStack_e4 = 0" identifier = number_literal) ;) (if_statement "if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }\n        iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar1 == 0);\nLAB_000320ec:\n      iStack_e4 = iVar1;\n      pIVar18 = (p_00->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar1 = FUN_00031db8();\n        return iVar1;\n      }\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28);\n      iVar1 = *(int *)(pcVar21 + 0x15ee28);\n      pcVar20 = p_00->zCandidates;\n      do {\n        iVar15 = iVar1 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar3 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p_00->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar1 = iStack_e4;\n      if ((iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)) {\n        p_00->bRun = 1;\n      }\n      if (iStack_a4 == *piVar2) {\n        return iVar1;\n      }\n      (**(code **)(pcVar21 + 0x15f2c8))();\n      if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_a4 + 0x1c) + 1;\n      }\n      return 0;\n    }" if (parenthesized_expression "(pScan != (IdxScan *)0x0)" ( (binary_expression "pScan != (IdxScan *)0x0" identifier != (cast_expression "(IdxScan *)0x0" ( (type_descriptor "IdxScan *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        while( true ) {\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }\n        iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar1 == 0);\nLAB_000320ec:\n      iStack_e4 = iVar1;\n      pIVar18 = (p_00->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar1 = FUN_00031db8();\n        return iVar1;\n      }\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28);\n      iVar1 = *(int *)(pcVar21 + 0x15ee28);\n      pcVar20 = p_00->zCandidates;\n      do {\n        iVar15 = iVar1 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar3 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p_00->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar1 = iStack_e4;\n      if ((iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)) {\n        p_00->bRun = 1;\n      }\n      if (iStack_a4 == *piVar2) {\n        return iVar1;\n      }\n      (**(code **)(pcVar21 + 0x15f2c8))();\n      if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_a4 + 0x1c) + 1;\n      }\n      return 0;\n    }" { (do_statement "do {\n        while( true ) {\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }\n        iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar1 == 0);" do (compound_statement "{\n        while( true ) {\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }\n        iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }\n      }" { (while_statement "while( true ) {\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);\n          if (iVar1 != 0) goto LAB_000320ec;\n          if (pScan->pOrder != (IdxConstraint *)0x0) break;\n          pScan = pScan->pNextScan;\n          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;\n        }" { (expression_statement "iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0);" (assignment_expression "iVar1 = idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0)" identifier = (call_expression "idxCreateFromWhere(p_00,pScan,(IdxConstraint *)0x0)" identifier (argument_list "(p_00,pScan,(IdxConstraint *)0x0)" ( identifier , identifier , (cast_expression "(IdxConstraint *)0x0" ( (type_descriptor "IdxConstraint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (iVar1 != 0) goto LAB_000320ec;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000320ec;" goto statement_identifier ;)) (if_statement "if (pScan->pOrder != (IdxConstraint *)0x0) break;" if (parenthesized_expression "(pScan->pOrder != (IdxConstraint *)0x0)" ( (binary_expression "pScan->pOrder != (IdxConstraint *)0x0" (field_expression "pScan->pOrder" identifier -> field_identifier) != (cast_expression "(IdxConstraint *)0x0" ( (type_descriptor "IdxConstraint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pScan = pScan->pNextScan;" (assignment_expression "pScan = pScan->pNextScan" identifier = (field_expression "pScan->pNextScan" identifier -> field_identifier)) ;) (if_statement "if (pScan == (IdxScan *)0x0) goto LAB_0003210c;" if (parenthesized_expression "(pScan == (IdxScan *)0x0)" ( (binary_expression "pScan == (IdxScan *)0x0" identifier == (cast_expression "(IdxScan *)0x0" ( (type_descriptor "IdxScan *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003210c;" goto statement_identifier ;)) })) (expression_statement "iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder);" (assignment_expression "iVar1 = idxCreateFromWhere(p_00,pScan,pScan->pOrder)" identifier = (call_expression "idxCreateFromWhere(p_00,pScan,pScan->pOrder)" identifier (argument_list "(p_00,pScan,pScan->pOrder)" ( identifier , identifier , (field_expression "pScan->pOrder" identifier -> field_identifier) )))) ;) (expression_statement "pScan = pScan->pNextScan;" (assignment_expression "pScan = pScan->pNextScan" identifier = (field_expression "pScan->pNextScan" identifier -> field_identifier)) ;) (if_statement "if (pScan == (IdxScan *)0x0) {\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }" if (parenthesized_expression "(pScan == (IdxScan *)0x0)" ( (binary_expression "pScan == (IdxScan *)0x0" identifier == (cast_expression "(IdxScan *)0x0" ( (type_descriptor "IdxScan *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iStack_e4 = iVar1;\n          if (iVar1 == 0) goto LAB_0003211c;\n          break;\n        }" { (expression_statement "iStack_e4 = iVar1;" (assignment_expression "iStack_e4 = iVar1" identifier = identifier) ;) (if_statement "if (iVar1 == 0) goto LAB_0003211c;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003211c;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) ;) (labeled_statement "LAB_000320ec:\n      iStack_e4 = iVar1;" statement_identifier : (expression_statement "iStack_e4 = iVar1;" (assignment_expression "iStack_e4 = iVar1" identifier = identifier) ;)) (expression_statement "pIVar18 = (p_00->hIdx).pFirst;" (assignment_expression "pIVar18 = (p_00->hIdx).pFirst" identifier = (field_expression "(p_00->hIdx).pFirst" (parenthesized_expression "(p_00->hIdx)" ( (field_expression "p_00->hIdx" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar1 = FUN_00031db8();\n        return iVar1;\n      }" if (parenthesized_expression "(pIVar18 == (IdxHashEntry *)0x0)" ( (binary_expression "pIVar18 == (IdxHashEntry *)0x0" identifier == (cast_expression "(IdxHashEntry *)0x0" ( (type_descriptor "IdxHashEntry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar1 = FUN_00031db8();\n        return iVar1;\n      }" { (expression_statement "iVar1 = FUN_00031db8();" (assignment_expression "iVar1 = FUN_00031db8()" identifier = (call_expression "FUN_00031db8()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar5 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar5 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar3 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar1 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "pcVar20 = p_00->zCandidates;" (assignment_expression "pcVar20 = p_00->zCandidates" identifier = (field_expression "p_00->zCandidates" identifier -> field_identifier)) ;) (do_statement "do {\n        iVar15 = iVar1 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar3 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p_00->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);" do (compound_statement "{\n        iVar15 = iVar1 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar3 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p_00->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      }" { (expression_statement "iVar15 = iVar1 + 0x30a8;" (assignment_expression "iVar15 = iVar1 + 0x30a8" identifier = (binary_expression "iVar1 + 0x30a8" identifier + number_literal)) ;) (if_statement "if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar3 + 0x2a20;\n        }" if (parenthesized_expression "(pIVar18->zVal2 != (char *)0x0)" ( (binary_expression "pIVar18->zVal2 != (char *)0x0" (field_expression "pIVar18->zVal2" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar15 = iVar3 + 0x2a20;\n        }" { (expression_statement "iVar15 = iVar3 + 0x2a20;" (assignment_expression "iVar15 = iVar3 + 0x2a20" identifier = (binary_expression "iVar3 + 0x2a20" identifier + number_literal)) ;) })) (expression_statement "pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);" (assignment_expression "pcVar20 = idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2)" identifier = (call_expression "idxAppendText(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2)" identifier (argument_list "(&iStack_e4,pcVar20,(char *)(iVar5 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2)" ( (pointer_expression "&iStack_e4" & identifier) , identifier , (cast_expression "(char *)(iVar5 + 0x2e3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2e3c)" ( (binary_expression "iVar5 + 0x2e3c" identifier + number_literal) ))) , (field_expression "pIVar18->zVal" identifier -> field_identifier) , identifier , (field_expression "pIVar18->zVal2" identifier -> field_identifier) )))) ;) (expression_statement "p_00->zCandidates = pcVar20;" (assignment_expression "p_00->zCandidates = pcVar20" (field_expression "p_00->zCandidates" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar18 = pIVar18->pNext;" (assignment_expression "pIVar18 = pIVar18->pNext" identifier = (field_expression "pIVar18->pNext" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pIVar18 != (IdxHashEntry *)0x0)" ( (binary_expression "pIVar18 != (IdxHashEntry *)0x0" identifier != (cast_expression "(IdxHashEntry *)0x0" ( (type_descriptor "IdxHashEntry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar1 = iStack_e4;" (assignment_expression "iVar1 = iStack_e4" identifier = identifier) ;) (if_statement "if ((iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)) {\n        p_00->bRun = 1;\n      }" if (parenthesized_expression "((iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0))" ( (binary_expression "(iStack_e4 == 0) && (iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)" (parenthesized_expression "(iStack_e4 == 0)" ( (binary_expression "iStack_e4 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0)" ( (comma_expression "iVar1 = idxFindIndexes(p_00,(char **)zSql), iVar1 == 0" (assignment_expression "iVar1 = idxFindIndexes(p_00,(char **)zSql)" identifier = (call_expression "idxFindIndexes(p_00,(char **)zSql)" identifier (argument_list "(p_00,(char **)zSql)" ( identifier , (cast_expression "(char **)zSql" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        p_00->bRun = 1;\n      }" { (expression_statement "p_00->bRun = 1;" (assignment_expression "p_00->bRun = 1" (field_expression "p_00->bRun" identifier -> field_identifier) = number_literal) ;) })) (if_statement "if (iStack_a4 == *piVar2) {\n        return iVar1;\n      }" if (parenthesized_expression "(iStack_a4 == *piVar2)" ( (binary_expression "iStack_a4 == *piVar2" identifier == (pointer_expression "*piVar2" * identifier)) )) (compound_statement "{\n        return iVar1;\n      }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "(**(code **)(pcVar21 + 0x15f2c8))();" (call_expression "(**(code **)(pcVar21 + 0x15f2c8))()" (parenthesized_expression "(**(code **)(pcVar21 + 0x15f2c8))" ( (pointer_expression "**(code **)(pcVar21 + 0x15f2c8)" * (pointer_expression "*(code **)(pcVar21 + 0x15f2c8)" * (cast_expression "(code **)(pcVar21 + 0x15f2c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15f2c8)" ( (binary_expression "pcVar21 + 0x15f2c8" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_a4 + 0x1c) + 1;\n      }" if (parenthesized_expression "(*(int **)(iStack_a4 + 0x1c) != (int *)0x0)" ( (binary_expression "*(int **)(iStack_a4 + 0x1c) != (int *)0x0" (pointer_expression "*(int **)(iStack_a4 + 0x1c)" * (cast_expression "(int **)(iStack_a4 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iStack_a4 + 0x1c)" ( (binary_expression "iStack_a4 + 0x1c" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return **(int **)(iStack_a4 + 0x1c) + 1;\n      }" { (return_statement "return **(int **)(iStack_a4 + 0x1c) + 1;" return (binary_expression "**(int **)(iStack_a4 + 0x1c) + 1" (pointer_expression "**(int **)(iStack_a4 + 0x1c)" * (pointer_expression "*(int **)(iStack_a4 + 0x1c)" * (cast_expression "(int **)(iStack_a4 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iStack_a4 + 0x1c)" ( (binary_expression "iStack_a4 + 0x1c" identifier + number_literal) ))))) + number_literal) ;) })) (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_0003210c:\n    iStack_e4 = 0;" statement_identifier : (expression_statement "iStack_e4 = 0;" (assignment_expression "iStack_e4 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_0003211c:\n    iStack_e0 = 0;" statement_identifier : (expression_statement "iStack_e0 = 0;" (assignment_expression "iStack_e0 = 0" identifier = number_literal) ;)) (expression_statement "uStack_dc = 0;" (assignment_expression "uStack_dc = 0" identifier = number_literal) ;) (expression_statement "uStack_d8 = 0;" (assignment_expression "uStack_d8 = 0" identifier = number_literal) ;) (expression_statement "uStack_d4 = 0;" (assignment_expression "uStack_d4 = 0" identifier = number_literal) ;) (if_statement "if (p_00->iSample == 0) {\nLAB_00032138:\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }" if (parenthesized_expression "(p_00->iSample == 0)" ( (binary_expression "p_00->iSample == 0" (field_expression "p_00->iSample" identifier -> field_identifier) == number_literal) )) (compound_statement "{\nLAB_00032138:\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }" { (labeled_statement "LAB_00032138:\n      iVar1 = FUN_00031d34();" statement_identifier : (expression_statement "iVar1 = FUN_00031d34();" (assignment_expression "iVar1 = FUN_00031d34()" identifier = (call_expression "FUN_00031d34()" identifier (argument_list "()" ( )))) ;)) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "pcVar22 = (code *)(*(int *)(pcVar21 + 0x15ee24) + -0x2194);" (assignment_expression "pcVar22 = (code *)(*(int *)(pcVar21 + 0x15ee24) + -0x2194)" identifier = (cast_expression "(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x2194)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar21 + 0x15ee24) + -0x2194)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee24) + -0x2194" (pointer_expression "*(int *)(pcVar21 + 0x15ee24)" * (cast_expression "(int *)(pcVar21 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee24)" ( (binary_expression "pcVar21 + 0x15ee24" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "apsStack_c8[0] = (sqlite3_stmt *)0x0;" (assignment_expression "apsStack_c8[0] = (sqlite3_stmt *)0x0" (subscript_expression "apsStack_c8[0]" identifier [ number_literal ]) = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar1 = idxPrepareStmt(p_00->dbm,apsStack_c8,(char **)zSql,\n                           (char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70));" (assignment_expression "iVar1 = idxPrepareStmt(p_00->dbm,apsStack_c8,(char **)zSql,\n                           (char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70))" identifier = (call_expression "idxPrepareStmt(p_00->dbm,apsStack_c8,(char **)zSql,\n                           (char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70))" identifier (argument_list "(p_00->dbm,apsStack_c8,(char **)zSql,\n                           (char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70))" ( (field_expression "p_00->dbm" identifier -> field_identifier) , identifier , (cast_expression "(char **)zSql" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) , (cast_expression "(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2b70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar21 + 0x15ee28) + 0x2b70)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2b70" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) ))) )))) ;) (if_statement "if (iVar1 != 0) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }" { (expression_statement "(**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);" (call_expression "(**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0])" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee40))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee40)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee40)" * (cast_expression "(code **)(pcVar21 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee40)" ( (binary_expression "pcVar21 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(apsStack_c8[0])" ( (subscript_expression "apsStack_c8[0]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar1 = FUN_00031d34();" (assignment_expression "iVar1 = FUN_00031d34()" identifier = (call_expression "FUN_00031d34()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = (**(code **)(pcVar21 + 0x15ee60))(apsStack_c8[0]);" (assignment_expression "iVar1 = (**(code **)(pcVar21 + 0x15ee60))(apsStack_c8[0])" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee60))(apsStack_c8[0])" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee60))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee60)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee60)" * (cast_expression "(code **)(pcVar21 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee60)" ( (binary_expression "pcVar21 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(apsStack_c8[0])" ( (subscript_expression "apsStack_c8[0]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar1 != 100) {\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 != 100)" ( (binary_expression "iVar1 != 100" identifier != number_literal) )) (compound_statement "{\n      (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n      iVar1 = FUN_00031d34();\n      return iVar1;\n    }" { (expression_statement "(**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);" (call_expression "(**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0])" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee40))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee40)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee40)" * (cast_expression "(code **)(pcVar21 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee40)" ( (binary_expression "pcVar21 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(apsStack_c8[0])" ( (subscript_expression "apsStack_c8[0]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar1 = FUN_00031d34();" (assignment_expression "iVar1 = FUN_00031d34()" identifier = (call_expression "FUN_00031d34()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = (**(code **)(pcVar21 + 0x15ef1c))(apsStack_c8[0],0);" (assignment_expression "iVar1 = (**(code **)(pcVar21 + 0x15ef1c))(apsStack_c8[0],0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ef1c))(apsStack_c8[0],0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ef1c))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ef1c)" * (pointer_expression "*(code **)(pcVar21 + 0x15ef1c)" * (cast_expression "(code **)(pcVar21 + 0x15ef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ef1c)" ( (binary_expression "pcVar21 + 0x15ef1c" identifier + number_literal) ))))) )) (argument_list "(apsStack_c8[0],0)" ( (subscript_expression "apsStack_c8[0]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "iStack_e0 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);" (assignment_expression "iStack_e0 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0])" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0])" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee40))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee40)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee40)" * (cast_expression "(code **)(pcVar21 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee40)" ( (binary_expression "pcVar21 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(apsStack_c8[0])" ( (subscript_expression "apsStack_c8[0]" identifier [ number_literal ]) )))) ;) (if_statement "if ((iVar1 + 1 < 1) || (iStack_e0 != 0)) goto LAB_00032138;" if (parenthesized_expression "((iVar1 + 1 < 1) || (iStack_e0 != 0))" ( (binary_expression "(iVar1 + 1 < 1) || (iStack_e0 != 0)" (parenthesized_expression "(iVar1 + 1 < 1)" ( (binary_expression "iVar1 + 1 < 1" (binary_expression "iVar1 + 1" identifier + number_literal) < number_literal) )) || (parenthesized_expression "(iStack_e0 != 0)" ( (binary_expression "iStack_e0 != 0" identifier != number_literal) ))) )) (goto_statement "goto LAB_00032138;" goto statement_identifier ;)) (expression_statement "iStack_e0 = (**(code **)(pcVar21 + 0x15ef18))\n                          (p_00->dbm,*(int *)(pcVar21 + 0x15ee28) + 0x2bfc,0,0,0);" (assignment_expression "iStack_e0 = (**(code **)(pcVar21 + 0x15ef18))\n                          (p_00->dbm,*(int *)(pcVar21 + 0x15ee28) + 0x2bfc,0,0,0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ef18))\n                          (p_00->dbm,*(int *)(pcVar21 + 0x15ee28) + 0x2bfc,0,0,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ef18))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ef18)" * (pointer_expression "*(code **)(pcVar21 + 0x15ef18)" * (cast_expression "(code **)(pcVar21 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ef18)" ( (binary_expression "pcVar21 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p_00->dbm,*(int *)(pcVar21 + 0x15ee28) + 0x2bfc,0,0,0)" ( (field_expression "p_00->dbm" identifier -> field_identifier) , (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2bfc" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iStack_e0 == 0) {\n      piStack_f0 = (int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30);\n      iVar3 = iStack_e0;\n      if (iStack_e0 == 0) {\n        if (p_00->iSample == 100) {\n          psVar14 = p_00->db;\n        }\n        else {\n          psVar14 = p_00->dbv;\n        }\n        iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);\n        iVar3 = iStack_e0;\n        if ((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)) {\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_f0 = (int *)0x0;\n      iVar3 = iStack_e0;\n    }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n      piStack_f0 = (int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30);\n      iVar3 = iStack_e0;\n      if (iStack_e0 == 0) {\n        if (p_00->iSample == 100) {\n          psVar14 = p_00->db;\n        }\n        else {\n          psVar14 = p_00->dbv;\n        }\n        iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);\n        iVar3 = iStack_e0;\n        if ((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)) {\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }" { (expression_statement "piStack_f0 = (int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30);" (assignment_expression "piStack_f0 = (int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30)" identifier = (cast_expression "(int *)idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "idxMalloc(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30)" identifier (argument_list "(&iStack_e0,(iVar1 + 1) * 0x28 + 0x30)" ( (pointer_expression "&iStack_e0" & identifier) , (binary_expression "(iVar1 + 1) * 0x28 + 0x30" (binary_expression "(iVar1 + 1) * 0x28" (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) )) * number_literal) + number_literal) ))))) ;) (expression_statement "iVar3 = iStack_e0;" (assignment_expression "iVar3 = iStack_e0" identifier = identifier) ;) (if_statement "if (iStack_e0 == 0) {\n        if (p_00->iSample == 100) {\n          psVar14 = p_00->db;\n        }\n        else {\n          psVar14 = p_00->dbv;\n        }\n        iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);\n        iVar3 = iStack_e0;\n        if ((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)) {\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n        if (p_00->iSample == 100) {\n          psVar14 = p_00->db;\n        }\n        else {\n          psVar14 = p_00->dbv;\n        }\n        iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);\n        iVar3 = iStack_e0;\n        if ((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)) {\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }" { (if_statement "if (p_00->iSample == 100) {\n          psVar14 = p_00->db;\n        }\n        else {\n          psVar14 = p_00->dbv;\n        }" if (parenthesized_expression "(p_00->iSample == 100)" ( (binary_expression "p_00->iSample == 100" (field_expression "p_00->iSample" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n          psVar14 = p_00->db;\n        }" { (expression_statement "psVar14 = p_00->db;" (assignment_expression "psVar14 = p_00->db" identifier = (field_expression "p_00->db" identifier -> field_identifier)) ;) }) (else_clause "else {\n          psVar14 = p_00->dbv;\n        }" else (compound_statement "{\n          psVar14 = p_00->dbv;\n        }" { (expression_statement "psVar14 = p_00->dbv;" (assignment_expression "psVar14 = p_00->dbv" identifier = (field_expression "p_00->dbv" identifier -> field_identifier)) ;) }))) (expression_statement "iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0);" (assignment_expression "iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15eedc))\n                              (psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15eedc))" ( (pointer_expression "**(code **)(pcVar21 + 0x15eedc)" * (pointer_expression "*(code **)(pcVar21 + 0x15eedc)" * (cast_expression "(code **)(pcVar21 + 0x15eedc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15eedc)" ( (binary_expression "pcVar21 + 0x15eedc" identifier + number_literal) ))))) )) (argument_list "(psVar14,*(int *)(pcVar21 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                               *(int *)(pcVar21 + 0x15ee24) + 0x3c44,0,0)" ( identifier , (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2c20" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , identifier , (binary_expression "*(int *)(pcVar21 + 0x15ee24) + 0x3c44" (pointer_expression "*(int *)(pcVar21 + 0x15ee24)" * (cast_expression "(int *)(pcVar21 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee24)" ( (binary_expression "pcVar21 + 0x15ee24" identifier + number_literal) )))) + number_literal) , number_literal , number_literal )))) ;) (expression_statement "iVar3 = iStack_e0;" (assignment_expression "iVar3 = iStack_e0" identifier = identifier) ;) (if_statement "if ((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)) {\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }" if (parenthesized_expression "((iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0))" ( (binary_expression "(iStack_e0 == 0) &&\n           (iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)" (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) && (parenthesized_expression "(iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0)" ( (comma_expression "iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0), iVar3 = iStack_e0,\n           iStack_e0 == 0" (assignment_expression "iStack_e0 = (**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15eedc))\n                                  (p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15eedc))" ( (pointer_expression "**(code **)(pcVar21 + 0x15eedc)" * (pointer_expression "*(code **)(pcVar21 + 0x15eedc)" * (cast_expression "(code **)(pcVar21 + 0x15eedc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15eedc)" ( (binary_expression "pcVar21 + 0x15eedc" identifier + number_literal) ))))) )) (argument_list "(p_00->db,*(int *)(pcVar21 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,\n                                   *(int *)(pcVar21 + 0x15ee24) + 0x3b10,0,0)" ( (field_expression "p_00->db" identifier -> field_identifier) , (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2c24" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , identifier , (binary_expression "*(int *)(pcVar21 + 0x15ee24) + 0x3b10" (pointer_expression "*(int *)(pcVar21 + 0x15ee24)" * (cast_expression "(int *)(pcVar21 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee24)" ( (binary_expression "pcVar21 + 0x15ee24" identifier + number_literal) )))) + number_literal) , number_literal , number_literal )))) , (comma_expression "iVar3 = iStack_e0,\n           iStack_e0 == 0" (assignment_expression "iVar3 = iStack_e0" identifier = identifier) , (binary_expression "iStack_e0 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n          iVar3 = *(int *)(pcVar21 + 0x15ee28);\n          *piStack_f0 = iVar1 + 2;\n          iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);\n          iVar3 = iStack_e0;\n          if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }" { (expression_statement "iVar3 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar3 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "*piStack_f0 = iVar1 + 2;" (assignment_expression "*piStack_f0 = iVar1 + 2" (pointer_expression "*piStack_f0" * identifier) = (binary_expression "iVar1 + 2" identifier + number_literal)) ;) (expression_statement "iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c);" (assignment_expression "iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c)" identifier = (call_expression "(*pcVar22)(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c)" (parenthesized_expression "(*pcVar22)" ( (pointer_expression "*pcVar22" * identifier) )) (argument_list "(p_00->dbm,&uStack_dc,zSql,iVar3 + 0x2c2c)" ( (field_expression "p_00->dbm" identifier -> field_identifier) , (pointer_expression "&uStack_dc" & identifier) , identifier , (binary_expression "iVar3 + 0x2c2c" identifier + number_literal) )))) ;) (expression_statement "iVar3 = iStack_e0;" (assignment_expression "iVar3 = iStack_e0" identifier = identifier) ;) (if_statement "if ((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))) {\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }" if (parenthesized_expression "((iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0))))" ( (binary_expression "(iStack_e0 == 0) &&\n             ((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))" (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) && (parenthesized_expression "((iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)))" ( (parenthesized_expression "(iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0))" ( (comma_expression "iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0), iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)" (assignment_expression "iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0)" identifier = (call_expression "(*pcVar22)(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0)" (parenthesized_expression "(*pcVar22)" ( (pointer_expression "*pcVar22" * identifier) )) (argument_list "(p_00->dbm,&uStack_d8,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2ca0)" ( (field_expression "p_00->dbm" identifier -> field_identifier) , (pointer_expression "&uStack_d8" & identifier) , identifier , (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2ca0" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) , (comma_expression "iVar3 = iStack_e0,\n              iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)" (assignment_expression "iVar3 = iStack_e0" identifier = identifier) , (binary_expression "iStack_e0 == 0 &&\n              (iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)" (binary_expression "iStack_e0 == 0" identifier == number_literal) && (parenthesized_expression "(iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0)" ( (comma_expression "iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8), iVar3 = iStack_e0,\n              iStack_e0 == 0" (assignment_expression "iStack_e0 = (*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8)" identifier = (call_expression "(*pcVar22)(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8)" (parenthesized_expression "(*pcVar22)" ( (pointer_expression "*pcVar22" * identifier) )) (argument_list "(p_00->dbm,&uStack_d4,zSql,\n                                      *(int *)(pcVar21 + 0x15ee28) + 0x2cd8)" ( (field_expression "p_00->dbm" identifier -> field_identifier) , (pointer_expression "&uStack_d4" & identifier) , identifier , (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2cd8" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) , (comma_expression "iVar3 = iStack_e0,\n              iStack_e0 == 0" (assignment_expression "iVar3 = iStack_e0" identifier = identifier) , (binary_expression "iStack_e0 == 0" identifier == number_literal))) ))))) )) ))) )) (compound_statement "{\n            dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);\n            iVar1 = *(int *)(pcVar21 + 0x15ee28);\n            iVar3 = *(int *)(pcVar21 + 0x15ee28);\n            iVar5 = *(int *)(pcVar21 + 0x15ee24);\n            iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);\n            if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }\n          }" { (expression_statement "dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648);" (assignment_expression "dVar24 = *(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648)" identifier = (pointer_expression "*(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648)" * (cast_expression "(double *)(*(int *)(pcVar21 + 0x15ee2c) + -0x6648)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar21 + 0x15ee2c) + -0x6648)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee2c) + -0x6648" (pointer_expression "*(int *)(pcVar21 + 0x15ee2c)" * (cast_expression "(int *)(pcVar21 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee2c)" ( (binary_expression "pcVar21 + 0x15ee2c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar1 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar3 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(pcVar21 + 0x15ee24);" (assignment_expression "iVar5 = *(int *)(pcVar21 + 0x15ee24)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee24)" * (cast_expression "(int *)(pcVar21 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee24)" ( (binary_expression "pcVar21 + 0x15ee24" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc);" (assignment_expression "iVar15 = (**(code **)(pcVar21 + 0x15ee60))(uStack_dc)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee60))(uStack_dc)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee60))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee60)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee60)" * (cast_expression "(code **)(pcVar21 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee60)" ( (binary_expression "pcVar21 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uStack_dc)" ( identifier )))) ;) (if_statement "if (iVar15 == 100) {\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }\n            else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }" if (parenthesized_expression "(iVar15 == 100)" ( (binary_expression "iVar15 == 100" identifier == number_literal) )) (compound_statement "{\n              lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);\n              uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);\n              uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);\n              uVar4 = uStack_d8;\n              psVar13 = (sqlite3_stmt *)p_00->iSample;\n              if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }\n              uStack_b4 = 0;\n              uStack_b8 = 0;\n              uStack_ac = 0;\n              uStack_b0 = 0;\n              dStack_c0 = (double)(int)psVar13 / dVar24;\n              apsStack_c8[0] = psVar13;\n              iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }\n            }" { (expression_statement "lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0);" (assignment_expression "lVar25 = (**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee74))(uStack_dc,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee74))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee74)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee74)" * (cast_expression "(code **)(pcVar21 + 0x15ee74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee74)" ( (binary_expression "pcVar21 + 0x15ee74" identifier + number_literal) ))))) )) (argument_list "(uStack_dc,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1);" (assignment_expression "uVar8 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee78))(uStack_dc,1)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee78))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee78)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee78)" * (cast_expression "(code **)(pcVar21 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee78)" ( (binary_expression "pcVar21 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uStack_dc,1)" ( identifier , number_literal )))) ;) (expression_statement "uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2);" (assignment_expression "uVar9 = (**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee78))(uStack_dc,2)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee78))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee78)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee78)" * (cast_expression "(code **)(pcVar21 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee78)" ( (binary_expression "pcVar21 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uStack_dc,2)" ( identifier , number_literal )))) ;) (expression_statement "uVar4 = uStack_d8;" (assignment_expression "uVar4 = uStack_d8" identifier = identifier) ;) (expression_statement "psVar13 = (sqlite3_stmt *)p_00->iSample;" (assignment_expression "psVar13 = (sqlite3_stmt *)p_00->iSample" identifier = (cast_expression "(sqlite3_stmt *)p_00->iSample" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_00->iSample" identifier -> field_identifier))) ;) (if_statement "if ((99 < (int)psVar13) || (lVar25 == -100000)) {\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }" if (parenthesized_expression "((99 < (int)psVar13) || (lVar25 == -100000))" ( (binary_expression "(99 < (int)psVar13) || (lVar25 == -100000)" (parenthesized_expression "(99 < (int)psVar13)" ( (binary_expression "99 < (int)psVar13" number_literal < (cast_expression "(int)psVar13" ( (type_descriptor "int" primitive_type) ) identifier)) )) || (parenthesized_expression "(lVar25 == -100000)" ( (binary_expression "lVar25 == -100000" identifier == number_literal) ))) )) (compound_statement "{\n                uStack_d0 = 0;\n                iStack_cc = 0;\n                (**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);\n                if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }\n                (**(code **)(pcVar21 + 0x15ef2c))(uVar4);\n                if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar6);\n              }" { (expression_statement "uStack_d0 = 0;" (assignment_expression "uStack_d0 = 0" identifier = number_literal) ;) (expression_statement "iStack_cc = 0;" (assignment_expression "iStack_cc = 0" identifier = number_literal) ;) (expression_statement "(**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);" (call_expression "(**(code **)(pcVar21 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ef64))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ef64)" * (pointer_expression "*(code **)(pcVar21 + 0x15ef64)" * (cast_expression "(code **)(pcVar21 + 0x15ef64)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ef64)" ( (binary_expression "pcVar21 + 0x15ef64" identifier + number_literal) ))))) )) (argument_list "(uStack_d8,1,uVar9,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (if_statement "if (iStack_cc == 0) {\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar15 = *(int *)(pcVar21 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar23 = *(int *)(pcVar21 + 0x15ee28);\n                  pvVar6 = (void *)0x0;\n                  iVar16 = *(int *)(pcVar21 + 0x15ee28);\n                  iVar1 = 0;\n                  do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);\n                }" { (expression_statement "iVar15 = *(int *)(pcVar21 + 0x15ee2c);" (assignment_expression "iVar15 = *(int *)(pcVar21 + 0x15ee2c)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee2c)" * (cast_expression "(int *)(pcVar21 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee2c)" ( (binary_expression "pcVar21 + 0x15ee2c" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar23 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar23 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "pvVar6 = (void *)0x0;" (assignment_expression "pvVar6 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar16 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar16 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  } while (iStack_cc == 0);" do (compound_statement "{\n                    iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);\n                    iVar12 = iVar3 + 0x30a8;\n                    if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);\n                    pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);\n                    uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);\n                    iVar1 = iVar1 + 1;\n                  }" { (expression_statement "iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4);" (assignment_expression "iVar12 = (**(code **)(pcVar21 + 0x15ee60))(uVar4)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee60))(uVar4)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee60))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee60)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee60)" * (cast_expression "(code **)(pcVar21 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee60)" ( (binary_expression "pcVar21 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier )))) ;) (if_statement "if (iVar12 != 100) break;" if (parenthesized_expression "(iVar12 != 100)" ( (binary_expression "iVar12 != 100" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0);" (assignment_expression "uVar10 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee78))(uVar4,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee78))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee78)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee78)" * (cast_expression "(code **)(pcVar21 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee78)" ( (binary_expression "pcVar21 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uVar4,0)" ( identifier , number_literal )))) ;) (expression_statement "iVar12 = iVar3 + 0x30a8;" (assignment_expression "iVar12 = iVar3 + 0x30a8" identifier = (binary_expression "iVar3 + 0x30a8" identifier + number_literal)) ;) (if_statement "if (pvVar6 != (void *)0x0) {\n                      iVar12 = iVar15 + 0x1114;\n                    }" if (parenthesized_expression "(pvVar6 != (void *)0x0)" ( (binary_expression "pvVar6 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      iVar12 = iVar15 + 0x1114;\n                    }" { (expression_statement "iVar12 = iVar15 + 0x1114;" (assignment_expression "iVar12 = iVar15 + 0x1114" identifier = (binary_expression "iVar15 + 0x1114" identifier + number_literal)) ;) })) (expression_statement "uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1);" (assignment_expression "uVar11 = (**(code **)(pcVar21 + 0x15ee78))(uVar4,1)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee78))(uVar4,1)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee78))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee78)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee78)" * (cast_expression "(code **)(pcVar21 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee78)" ( (binary_expression "pcVar21 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uVar4,1)" ( identifier , number_literal )))) ;) (expression_statement "pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11);" (assignment_expression "pvVar6 = (void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11)" identifier = (cast_expression "(void *)(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(iVar5 + 0x51c))\n                                               (&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11)" (parenthesized_expression "(*(code *)(iVar5 + 0x51c))" ( (pointer_expression "*(code *)(iVar5 + 0x51c)" * (cast_expression "(code *)(iVar5 + 0x51c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x51c)" ( (binary_expression "iVar5 + 0x51c" identifier + number_literal) )))) )) (argument_list "(&iStack_cc,pvVar6,iVar23 + 0x2d90,iVar12,uVar10,\n                                                iVar1,uVar10,uVar11)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar23 + 0x2d90" identifier + number_literal) , identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1);" (assignment_expression "uVar9 = (*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1)" identifier = (call_expression "(*(code *)(iVar5 + 0x51c))\n                                      (&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1)" (parenthesized_expression "(*(code *)(iVar5 + 0x51c))" ( (pointer_expression "*(code *)(iVar5 + 0x51c)" * (cast_expression "(code *)(iVar5 + 0x51c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x51c)" ( (binary_expression "iVar5 + 0x51c" identifier + number_literal) )))) )) (argument_list "(&iStack_cc,uVar9,iVar16 + 0x2db4,iVar12,iVar1 + 1)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar16 + 0x2db4" identifier + number_literal) , identifier , (binary_expression "iVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }" else (compound_statement "{\n                  uVar9 = 0;\n                  pvVar6 = (void *)0x0;\n                }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "pvVar6 = (void *)0x0;" (assignment_expression "pvVar6 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "(**(code **)(pcVar21 + 0x15ef2c))(uVar4);" (call_expression "(**(code **)(pcVar21 + 0x15ef2c))(uVar4)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ef2c))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ef2c)" * (pointer_expression "*(code **)(pcVar21 + 0x15ef2c)" * (cast_expression "(code **)(pcVar21 + 0x15ef2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ef2c)" ( (binary_expression "pcVar21 + 0x15ef2c" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier ))) ;) (if_statement "if (iStack_cc == 0) {\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                  if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }\n                }" { (if_statement "if (p_00->iSample == 100) {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }\n                  else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }" if (parenthesized_expression "(p_00->iSample == 100)" ( (binary_expression "p_00->iSample == 100" (field_expression "p_00->iSample" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);\n                  }" { (expression_statement "(**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9);" (call_expression "(**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee34))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee34)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee34)" * (cast_expression "(code **)(pcVar21 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee34)" ( (binary_expression "pcVar21 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar21 + 0x15ee28) + 0x2dbc,pvVar6,uVar8,uVar9)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2dbc" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }" else (compound_statement "{\n                    (**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);\n                  }" { (expression_statement "(**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9);" (call_expression "(**(code **)(pcVar21 + 0x15ee34))\n                              (*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee34))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee34)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee34)" * (cast_expression "(code **)(pcVar21 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee34)" ( (binary_expression "pcVar21 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar21 + 0x15ee28) + 0x2ddc,pvVar6,uVar9)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2ddc" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) }))) })) comment (expression_statement "sqlite3_free(pvVar6);" (call_expression "sqlite3_free(pvVar6)" identifier (argument_list "(pvVar6)" ( identifier ))) ;) })) (expression_statement "uStack_b4 = 0;" (assignment_expression "uStack_b4 = 0" identifier = number_literal) ;) (expression_statement "uStack_b8 = 0;" (assignment_expression "uStack_b8 = 0" identifier = number_literal) ;) (expression_statement "uStack_ac = 0;" (assignment_expression "uStack_ac = 0" identifier = number_literal) ;) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" identifier = number_literal) ;) (expression_statement "dStack_c0 = (double)(int)psVar13 / dVar24;" (assignment_expression "dStack_c0 = (double)(int)psVar13 / dVar24" identifier = (binary_expression "(double)(int)psVar13 / dVar24" (cast_expression "(double)(int)psVar13" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)psVar13" ( (type_descriptor "int" primitive_type) ) identifier)) / identifier)) ;) (expression_statement "apsStack_c8[0] = psVar13;" (assignment_expression "apsStack_c8[0] = psVar13" (subscript_expression "apsStack_c8[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);" (assignment_expression "iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ef18))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ef18)" * (pointer_expression "*(code **)(pcVar21 + 0x15ef18)" * (cast_expression "(code **)(pcVar21 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ef18)" ( (binary_expression "pcVar21 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p_00->dbv,iVar1 + 0x2d04,0,0,0)" ( (field_expression "p_00->dbv" identifier -> field_identifier) , (binary_expression "iVar1 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);\n                if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }\n                iStack_e0 = 7;\n                iVar3 = iStack_e0;\n              }" { (expression_statement "pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8);" (assignment_expression "pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8)" identifier = (cast_expression "(void *)(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar21 + 0x15ee34))\n                                           (*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee34))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee34)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee34)" * (cast_expression "(code **)(pcVar21 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee34)" ( (binary_expression "pcVar21 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar21 + 0x15ee28) + 0x2d44,uVar8)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2d44" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier ))))) ;) (if_statement "if (pvVar6 != (void *)0x0) {\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }" if (parenthesized_expression "(pvVar6 != (void *)0x0)" ( (binary_expression "pvVar6 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar6);\n                }" { (expression_statement "(**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0);" (call_expression "(**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ef18))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ef18)" * (pointer_expression "*(code **)(pcVar21 + 0x15ef18)" * (cast_expression "(code **)(pcVar21 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ef18)" ( (binary_expression "pcVar21 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p_00->dbv,pvVar6,0,0,0)" ( (field_expression "p_00->dbv" identifier -> field_identifier) , identifier , number_literal , number_literal , number_literal ))) ;) comment (expression_statement "sqlite3_free(pvVar6);" (call_expression "sqlite3_free(pvVar6)" identifier (argument_list "(pvVar6)" ( identifier ))) ;) })) (expression_statement "iStack_e0 = 7;" (assignment_expression "iStack_e0 = 7" identifier = number_literal) ;) (expression_statement "iVar3 = iStack_e0;" (assignment_expression "iVar3 = iStack_e0" identifier = identifier) ;) })) }) (else_clause "else {\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }" else (compound_statement "{\n              iVar3 = iStack_e0;\n              if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }\n            }" { (expression_statement "iVar3 = iStack_e0;" (assignment_expression "iVar3 = iStack_e0" identifier = identifier) ;) (if_statement "if (iStack_e0 == 0) {\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n                pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n                if (99 < p_00->iSample) goto LAB_00032240;\n                iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);\n              }" { (expression_statement "pcVar22 = *(code **)(pcVar21 + 0x15ee40);" (assignment_expression "pcVar22 = *(code **)(pcVar21 + 0x15ee40)" identifier = (pointer_expression "*(code **)(pcVar21 + 0x15ee40)" * (cast_expression "(code **)(pcVar21 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee40)" ( (binary_expression "pcVar21 + 0x15ee40" identifier + number_literal) ))))) ;) (if_statement "if (99 < p_00->iSample) goto LAB_00032240;" if (parenthesized_expression "(99 < p_00->iSample)" ( (binary_expression "99 < p_00->iSample" number_literal < (field_expression "p_00->iSample" identifier -> field_identifier)) )) (goto_statement "goto LAB_00032240;" goto statement_identifier ;)) (expression_statement "iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0);" (assignment_expression "iVar3 = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,iVar1 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ef18))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ef18)" * (pointer_expression "*(code **)(pcVar21 + 0x15ef18)" * (cast_expression "(code **)(pcVar21 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ef18)" ( (binary_expression "pcVar21 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p_00->dbv,iVar1 + 0x2d04,0,0,0)" ( (field_expression "p_00->dbv" identifier -> field_identifier) , (binary_expression "iVar1 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) })) }))) })) })) })) }) (else_clause "else {\n      piStack_f0 = (int *)0x0;\n      iVar3 = iStack_e0;\n    }" else (compound_statement "{\n      piStack_f0 = (int *)0x0;\n      iVar3 = iStack_e0;\n    }" { (expression_statement "piStack_f0 = (int *)0x0;" (assignment_expression "piStack_f0 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = iStack_e0;" (assignment_expression "iVar3 = iStack_e0" identifier = identifier) ;) }))) (expression_statement "iStack_e0 = iVar3;" (assignment_expression "iStack_e0 = iVar3" identifier = identifier) ;) (expression_statement "pcVar22 = *(code **)(pcVar21 + 0x15ee40);" (assignment_expression "pcVar22 = *(code **)(pcVar21 + 0x15ee40)" identifier = (pointer_expression "*(code **)(pcVar21 + 0x15ee40)" * (cast_expression "(code **)(pcVar21 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee40)" ( (binary_expression "pcVar21 + 0x15ee40" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00032240:\n    iVar1 = (*pcVar22)(uStack_dc);" statement_identifier : (expression_statement "iVar1 = (*pcVar22)(uStack_dc);" (assignment_expression "iVar1 = (*pcVar22)(uStack_dc)" identifier = (call_expression "(*pcVar22)(uStack_dc)" (parenthesized_expression "(*pcVar22)" ( (pointer_expression "*pcVar22" * identifier) )) (argument_list "(uStack_dc)" ( identifier )))) ;)) (if_statement "if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n      iStack_e0 = iVar1;\n    }" { (expression_statement "iStack_e0 = iVar1;" (assignment_expression "iStack_e0 = iVar1" identifier = identifier) ;) })) (expression_statement "iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d8);" (assignment_expression "iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d8)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee40))(uStack_d8)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee40))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee40)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee40)" * (cast_expression "(code **)(pcVar21 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee40)" ( (binary_expression "pcVar21 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(uStack_d8)" ( identifier )))) ;) (if_statement "if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n      iStack_e0 = iVar1;\n    }" { (expression_statement "iStack_e0 = iVar1;" (assignment_expression "iStack_e0 = iVar1" identifier = identifier) ;) })) (expression_statement "iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d4);" (assignment_expression "iVar1 = (**(code **)(pcVar21 + 0x15ee40))(uStack_d4)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee40))(uStack_d4)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee40))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee40)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee40)" * (cast_expression "(code **)(pcVar21 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee40)" ( (binary_expression "pcVar21 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(uStack_d4)" ( identifier )))) ;) (if_statement "if (iStack_e0 == 0) {\n      iStack_e0 = iVar1;\n    }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n      iStack_e0 = iVar1;\n    }" { (expression_statement "iStack_e0 = iVar1;" (assignment_expression "iStack_e0 = iVar1" identifier = identifier) ;) })) (if_statement "if (0 < *piStack_f0) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_f0[10]);\n    }" if (parenthesized_expression "(0 < *piStack_f0)" ( (binary_expression "0 < *piStack_f0" number_literal < (pointer_expression "*piStack_f0" * identifier)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_f0[10]);\n    }" { comment (expression_statement "sqlite3_free((void *)piStack_f0[10]);" (call_expression "sqlite3_free((void *)piStack_f0[10])" identifier (argument_list "((void *)piStack_f0[10])" ( (cast_expression "(void *)piStack_f0[10]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piStack_f0[10]" identifier [ number_literal ])) ))) ;) })) comment (expression_statement "sqlite3_free(piStack_f0);" (call_expression "sqlite3_free(piStack_f0)" identifier (argument_list "(piStack_f0)" ( identifier ))) ;) })) (expression_statement "iVar3 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar3 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "pIVar19 = pIVar17->pTab;" (assignment_expression "pIVar19 = pIVar17->pTab" identifier = (field_expression "pIVar17->pTab" identifier -> field_identifier)) ;) (expression_statement "pcVar20 = pIVar19->zName;" (assignment_expression "pcVar20 = pIVar19->zName" identifier = (field_expression "pIVar19->zName" identifier -> field_identifier)) ;) (expression_statement "uStack_d0 = 0;" (assignment_expression "uStack_d0 = 0" identifier = number_literal) ;) (expression_statement "iStack_cc = 0;" (assignment_expression "iStack_cc = 0" identifier = number_literal) ;) (expression_statement "iStack_cc = (*(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x884))\n                        (p_00->db,&uStack_d0,zSql,*(int *)(pcVar21 + 0x15ee28) + 0x2a2c,pcVar20,\n                         pcVar20);" (assignment_expression "iStack_cc = (*(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x884))\n                        (p_00->db,&uStack_d0,zSql,*(int *)(pcVar21 + 0x15ee28) + 0x2a2c,pcVar20,\n                         pcVar20)" identifier = (call_expression "(*(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x884))\n                        (p_00->db,&uStack_d0,zSql,*(int *)(pcVar21 + 0x15ee28) + 0x2a2c,pcVar20,\n                         pcVar20)" (parenthesized_expression "(*(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x884))" ( (pointer_expression "*(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x884)" * (cast_expression "(code *)(*(int *)(pcVar21 + 0x15ee24) + -0x884)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar21 + 0x15ee24) + -0x884)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee24) + -0x884" (pointer_expression "*(int *)(pcVar21 + 0x15ee24)" * (cast_expression "(int *)(pcVar21 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee24)" ( (binary_expression "pcVar21 + 0x15ee24" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(p_00->db,&uStack_d0,zSql,*(int *)(pcVar21 + 0x15ee28) + 0x2a2c,pcVar20,\n                         pcVar20)" ( (field_expression "p_00->db" identifier -> field_identifier) , (pointer_expression "&uStack_d0" & identifier) , identifier , (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2a2c" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , identifier )))) ;) (if_statement "if (iStack_cc == 0) {\n    do {\n      iVar5 = (**(code **)(pcVar21 + 0x15ee60))(uStack_d0);\n      if (iVar5 != 100) break;\n      uVar4 = (**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0);\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql);\n    } while (iStack_cc == 0);\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }\n  else {\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n    do {\n      iVar5 = (**(code **)(pcVar21 + 0x15ee60))(uStack_d0);\n      if (iVar5 != 100) break;\n      uVar4 = (**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0);\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql);\n    } while (iStack_cc == 0);\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }" { (do_statement "do {\n      iVar5 = (**(code **)(pcVar21 + 0x15ee60))(uStack_d0);\n      if (iVar5 != 100) break;\n      uVar4 = (**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0);\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql);\n    } while (iStack_cc == 0);" do (compound_statement "{\n      iVar5 = (**(code **)(pcVar21 + 0x15ee60))(uStack_d0);\n      if (iVar5 != 100) break;\n      uVar4 = (**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0);\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql);\n    }" { (expression_statement "iVar5 = (**(code **)(pcVar21 + 0x15ee60))(uStack_d0);" (assignment_expression "iVar5 = (**(code **)(pcVar21 + 0x15ee60))(uStack_d0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee60))(uStack_d0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee60))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee60)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee60)" * (cast_expression "(code **)(pcVar21 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee60)" ( (binary_expression "pcVar21 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uStack_d0)" ( identifier )))) ;) (if_statement "if (iVar5 != 100) break;" if (parenthesized_expression "(iVar5 != 100)" ( (binary_expression "iVar5 != 100" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar4 = (**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0);" (assignment_expression "uVar4 = (**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee78))(uStack_d0,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee78))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee78)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee78)" * (cast_expression "(code **)(pcVar21 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee78)" ( (binary_expression "pcVar21 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uStack_d0,0)" ( identifier , number_literal )))) ;) (expression_statement "iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql);" (assignment_expression "iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,uVar4,0,0,zSql)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ef18))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ef18)" * (pointer_expression "*(code **)(pcVar21 + 0x15ef18)" * (cast_expression "(code **)(pcVar21 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ef18)" ( (binary_expression "pcVar21 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p_00->dbv,uVar4,0,0,zSql)" ( (field_expression "p_00->dbv" identifier -> field_identifier) , identifier , number_literal , number_literal , identifier )))) ;) }) while (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) ;) (expression_statement "pcVar22 = *(code **)(pcVar21 + 0x15ee40);" (assignment_expression "pcVar22 = *(code **)(pcVar21 + 0x15ee40)" identifier = (pointer_expression "*(code **)(pcVar21 + 0x15ee40)" * (cast_expression "(code **)(pcVar21 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee40)" ( (binary_expression "pcVar21 + 0x15ee40" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }" else (compound_statement "{\n    pcVar22 = *(code **)(pcVar21 + 0x15ee40);\n  }" { (expression_statement "pcVar22 = *(code **)(pcVar21 + 0x15ee40);" (assignment_expression "pcVar22 = *(code **)(pcVar21 + 0x15ee40)" identifier = (pointer_expression "*(code **)(pcVar21 + 0x15ee40)" * (cast_expression "(code **)(pcVar21 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee40)" ( (binary_expression "pcVar21 + 0x15ee40" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar5 = (*pcVar22)(uStack_d0);" (assignment_expression "iVar5 = (*pcVar22)(uStack_d0)" identifier = (call_expression "(*pcVar22)(uStack_d0)" (parenthesized_expression "(*pcVar22)" ( (pointer_expression "*pcVar22" * identifier) )) (argument_list "(uStack_d0)" ( identifier )))) ;) (if_statement "if ((iStack_cc == 0) && (iStack_cc = iVar5, iVar5 == 0)) {\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\n    pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                               (*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac);\n    if (pvVar6 != (void *)0x0) {\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar6);\n    }\n    iStack_cc = 7;\n    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;\n    if (pIVar17->eOp != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar15 = 0;\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar16 < pIVar19->nCol);\n    }\n  }\n  else {\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar5 = *(int *)(pcVar21 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (iStack_cc == 0) {\n        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        iStack_cc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar5 = 0;\n      iVar15 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);\n        iVar5 = iVar5 + 1;\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar5 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034));\n  }" if (parenthesized_expression "((iStack_cc == 0) && (iStack_cc = iVar5, iVar5 == 0))" ( (binary_expression "(iStack_cc == 0) && (iStack_cc = iVar5, iVar5 == 0)" (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) && (parenthesized_expression "(iStack_cc = iVar5, iVar5 == 0)" ( (comma_expression "iStack_cc = iVar5, iVar5 == 0" (assignment_expression "iStack_cc = iVar5" identifier = identifier) , (binary_expression "iVar5 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\n    pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                               (*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac);\n    if (pvVar6 != (void *)0x0) {\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar6);\n    }\n    iStack_cc = 7;\n    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;\n    if (pIVar17->eOp != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar15 = 0;\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar16 < pIVar19->nCol);\n    }\n  }" { (expression_statement "iVar5 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar5 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                               (*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac);" (assignment_expression "pvVar6 = (void *)(**(code **)(pcVar21 + 0x15ee34))\n                               (*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac)" identifier = (cast_expression "(void *)(**(code **)(pcVar21 + 0x15ee34))\n                               (*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar21 + 0x15ee34))\n                               (*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee34))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee34)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee34)" * (cast_expression "(code **)(pcVar21 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee34)" ( (binary_expression "pcVar21 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar21 + 0x15ee28) + 0x2ad4,pcVar20,iVar5 + 0x2aac)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2ad4" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , (binary_expression "iVar5 + 0x2aac" identifier + number_literal) ))))) ;) (if_statement "if (pvVar6 != (void *)0x0) {\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar6);\n    }" if (parenthesized_expression "(pvVar6 != (void *)0x0)" ( (binary_expression "pvVar6 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar6);\n    }" { (expression_statement "iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql);" (assignment_expression "iStack_cc = (**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ef18))(p_00->dbv,pvVar6,0,0,zSql)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ef18))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ef18)" * (pointer_expression "*(code **)(pcVar21 + 0x15ef18)" * (cast_expression "(code **)(pcVar21 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ef18)" ( (binary_expression "pcVar21 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p_00->dbv,pvVar6,0,0,zSql)" ( (field_expression "p_00->dbv" identifier -> field_identifier) , identifier , number_literal , number_literal , identifier )))) ;) comment (expression_statement "sqlite3_free(pvVar6);" (call_expression "sqlite3_free(pvVar6)" identifier (argument_list "(pvVar6)" ( identifier ))) ;) })) (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" identifier = number_literal) ;) (if_statement "if (pIVar17->eOp == 0x12) goto LAB_00031fc8;" if (parenthesized_expression "(pIVar17->eOp == 0x12)" ( (binary_expression "pIVar17->eOp == 0x12" (field_expression "pIVar17->eOp" identifier -> field_identifier) == number_literal) )) (goto_statement "goto LAB_00031fc8;" goto statement_identifier ;)) (if_statement "if (pIVar17->eOp != 0x17) goto LAB_00031d18;" if (parenthesized_expression "(pIVar17->eOp != 0x17)" ( (binary_expression "pIVar17->eOp != 0x17" (field_expression "pIVar17->eOp" identifier -> field_identifier) != number_literal) )) (goto_statement "goto LAB_00031d18;" goto statement_identifier ;)) (labeled_statement "LAB_00031ef8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac);" statement_identifier : (expression_statement "pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac);" (assignment_expression "pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac)" identifier = (call_expression "idxAppendText(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac)" identifier (argument_list "(&iStack_cc,(char *)0x0,(char *)(iVar3 + 0x2b14),iVar5 + 0x2aac)" ( (pointer_expression "&iStack_cc" & identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(char *)(iVar3 + 0x2b14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2b14)" ( (binary_expression "iVar3 + 0x2b14" identifier + number_literal) ))) , (binary_expression "iVar5 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar15 = 0;\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar16 < pIVar19->nCol);\n    }" if (parenthesized_expression "(0 < pIVar19->nCol)" ( (binary_expression "0 < pIVar19->nCol" number_literal < (field_expression "pIVar19->nCol" identifier -> field_identifier)) )) (compound_statement "{\n      iVar16 = 0;\n      iVar5 = *(int *)(pcVar21 + 0x15ee28);\n      iVar15 = 0;\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar16 < pIVar19->nCol);\n    }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar5 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;" (assignment_expression "iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8" identifier = (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x30a8" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n        iVar16 = iVar16 + 1;\n        puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar16 < pIVar19->nCol);" do (compound_statement "{\n        iVar16 = iVar16 + 1;\n        puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);\n        iVar3 = iVar1 + 0x1114;\n      }" { (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);" (assignment_expression "puVar7 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15)" identifier = (cast_expression "(undefined4 *)((int)&pIVar19->aCol->zName + iVar15)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar19->aCol->zName + iVar15)" ( (binary_expression "(int)&pIVar19->aCol->zName + iVar15" (cast_expression "(int)&pIVar19->aCol->zName" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar19->aCol->zName" & (field_expression "pIVar19->aCol->zName" (field_expression "pIVar19->aCol" identifier -> field_identifier) -> field_identifier))) + identifier) )))) ;) (expression_statement "iVar15 = iVar15 + 0xc;" (assignment_expression "iVar15 = iVar15 + 0xc" identifier = (binary_expression "iVar15 + 0xc" identifier + number_literal)) ;) (expression_statement "pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7);" (assignment_expression "pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7)" identifier = (call_expression "idxAppendText(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7)" identifier (argument_list "(&iStack_cc,pcVar20,(char *)(iVar5 + 0x2b24),iVar3,*puVar7)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (cast_expression "(char *)(iVar5 + 0x2b24)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2b24)" ( (binary_expression "iVar5 + 0x2b24" identifier + number_literal) ))) , identifier , (pointer_expression "*puVar7" * identifier) )))) ;) (expression_statement "iVar3 = iVar1 + 0x1114;" (assignment_expression "iVar3 = iVar1 + 0x1114" identifier = (binary_expression "iVar1 + 0x1114" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar16 < pIVar19->nCol)" ( (binary_expression "iVar16 < pIVar19->nCol" identifier < (field_expression "pIVar19->nCol" identifier -> field_identifier)) )) ;) })) }) (else_clause "else {\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar5 = *(int *)(pcVar21 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (iStack_cc == 0) {\n        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        iStack_cc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar5 = 0;\n      iVar15 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);\n        iVar5 = iVar5 + 1;\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar5 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034));\n  }" else (compound_statement "{\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar5 = *(int *)(pcVar21 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (iStack_cc == 0) {\n        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        iStack_cc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar5 = *(int *)(pcVar21 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar5 = 0;\n      iVar15 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);\n        iVar5 = iVar5 + 1;\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar5 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034));\n  }" { (if_statement "if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar5 = *(int *)(pcVar21 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (iStack_cc == 0) {\n        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        iStack_cc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }" if (parenthesized_expression "(pIVar17->eOp != 0x12)" ( (binary_expression "pIVar17->eOp != 0x12" (field_expression "pIVar17->eOp" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      if (pIVar17->eOp == 0x17) {\n        iVar5 = *(int *)(pcVar21 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (iStack_cc == 0) {\n        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        iStack_cc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }" { (if_statement "if (pIVar17->eOp == 0x17) {\n        iVar5 = *(int *)(pcVar21 + 0x15ee28);\n        goto LAB_00031ef8;\n      }" if (parenthesized_expression "(pIVar17->eOp == 0x17)" ( (binary_expression "pIVar17->eOp == 0x17" (field_expression "pIVar17->eOp" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n        iVar5 = *(int *)(pcVar21 + 0x15ee28);\n        goto LAB_00031ef8;\n      }" { (expression_statement "iVar5 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar5 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_00031ef8;" goto statement_identifier ;) })) (if_statement "if (iStack_cc == 0) {\n        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        iStack_cc = 7;\n      }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        iStack_cc = 7;\n      }" { (expression_statement "pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac);" (assignment_expression "pcVar20 = (char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac)" identifier = (cast_expression "(char *)(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar21 + 0x15ee34))\n                                    (*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee34))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee34)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee34)" * (cast_expression "(code **)(pcVar21 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee34)" ( (binary_expression "pcVar21 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar21 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(pcVar21 + 0x15ee28) + 0x2aac)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2b2c" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2aac" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (pcVar20 != (char *)0x0) goto LAB_00031e1c;" if (parenthesized_expression "(pcVar20 != (char *)0x0)" ( (binary_expression "pcVar20 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00031e1c;" goto statement_identifier ;)) (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" identifier = number_literal) ;) })) (labeled_statement "LAB_00031d18:\n      pcVar20 = (char *)0x0;" statement_identifier : (expression_statement "pcVar20 = (char *)0x0;" (assignment_expression "pcVar20 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (goto_statement "goto LAB_00031d20;" goto statement_identifier ;) })) (expression_statement "iVar5 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar5 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00031fc8:\n    pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac);" statement_identifier : (expression_statement "pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac);" (assignment_expression "pcVar20 = idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac)" identifier = (call_expression "idxAppendText(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac)" identifier (argument_list "(&iStack_cc,(char *)0x0,(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000),\n                            iVar5 + 0x2aac)" ( (pointer_expression "&iStack_cc" & identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(char *)(*(int *)(pcVar21 + 0x15ee28) + 11000)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar21 + 0x15ee28) + 11000)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 11000" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) ))) , (binary_expression "iVar5 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < pIVar19->nCol) {\n      iVar5 = 0;\n      iVar15 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);\n        iVar5 = iVar5 + 1;\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar5 < pIVar19->nCol);\n    }" if (parenthesized_expression "(0 < pIVar19->nCol)" ( (binary_expression "0 < pIVar19->nCol" number_literal < (field_expression "pIVar19->nCol" identifier -> field_identifier)) )) (compound_statement "{\n      iVar5 = 0;\n      iVar15 = *(int *)(pcVar21 + 0x15ee28);\n      iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);\n        iVar5 = iVar5 + 1;\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar5 < pIVar19->nCol);\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar15 = *(int *)(pcVar21 + 0x15ee28);" (assignment_expression "iVar15 = *(int *)(pcVar21 + 0x15ee28)" identifier = (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8;" (assignment_expression "iVar3 = *(int *)(pcVar21 + 0x15ee28) + 0x30a8" identifier = (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x30a8" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);\n        iVar5 = iVar5 + 1;\n        iVar3 = iVar1 + 0x1114;\n      } while (iVar5 < pIVar19->nCol);" do (compound_statement "{\n        pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);\n        iVar5 = iVar5 + 1;\n        iVar3 = iVar1 + 0x1114;\n      }" { (expression_statement "pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3);" (assignment_expression "pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3)" identifier = (call_expression "idxAppendText(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3)" identifier (argument_list "(&iStack_cc,pcVar20,(char *)(iVar15 + 0x2b10),iVar3)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (cast_expression "(char *)(iVar15 + 0x2b10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x2b10)" ( (binary_expression "iVar15 + 0x2b10" identifier + number_literal) ))) , identifier )))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = iVar1 + 0x1114;" (assignment_expression "iVar3 = iVar1 + 0x1114" identifier = (binary_expression "iVar1 + 0x1114" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 < pIVar19->nCol)" ( (binary_expression "iVar5 < pIVar19->nCol" identifier < (field_expression "pIVar19->nCol" identifier -> field_identifier)) )) ;) })) (expression_statement "pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034));" (assignment_expression "pcVar20 = idxAppendText(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034))" identifier = (call_expression "idxAppendText(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034))" identifier (argument_list "(&iStack_cc,pcVar20,(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034))" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (cast_expression "(char *)(*(int *)(pcVar21 + 0x15ee28) + 0x2034)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar21 + 0x15ee28) + 0x2034)" ( (binary_expression "*(int *)(pcVar21 + 0x15ee28) + 0x2034" (pointer_expression "*(int *)(pcVar21 + 0x15ee28)" * (cast_expression "(int *)(pcVar21 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar21 + 0x15ee28)" ( (binary_expression "pcVar21 + 0x15ee28" identifier + number_literal) )))) + number_literal) ))) )))) ;) }))) (labeled_statement "LAB_00031e1c:\n  if (iStack_cc == 0) {\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iStack_cc = (**(code **)(pcVar21 + 0x15ee38))(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0);\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iStack_cc != 0) || (iStack_cc = iVar1, iVar1 != 0)) {\n      idxDatabaseError(p_00->dbv,(char **)zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }\n  }" statement_identifier : (if_statement "if (iStack_cc == 0) {\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iStack_cc = (**(code **)(pcVar21 + 0x15ee38))(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0);\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iStack_cc != 0) || (iStack_cc = iVar1, iVar1 != 0)) {\n      idxDatabaseError(p_00->dbv,(char **)zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }\n  }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n    apsStack_c8[0] = (sqlite3_stmt *)0x0;\n    iStack_cc = (**(code **)(pcVar21 + 0x15ee38))(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0);\n    iVar1 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);\n    if ((iStack_cc != 0) || (iStack_cc = iVar1, iVar1 != 0)) {\n      idxDatabaseError(p_00->dbv,(char **)zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }\n  }" { (expression_statement "apsStack_c8[0] = (sqlite3_stmt *)0x0;" (assignment_expression "apsStack_c8[0] = (sqlite3_stmt *)0x0" (subscript_expression "apsStack_c8[0]" identifier [ number_literal ]) = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_cc = (**(code **)(pcVar21 + 0x15ee38))(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0);" (assignment_expression "iStack_cc = (**(code **)(pcVar21 + 0x15ee38))(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0)" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee38))(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0)" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee38))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee38)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee38)" * (cast_expression "(code **)(pcVar21 + 0x15ee38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee38)" ( (binary_expression "pcVar21 + 0x15ee38" identifier + number_literal) ))))) )) (argument_list "(p_00->dbv,pcVar20,0xffffffff,apsStack_c8,0)" ( (field_expression "p_00->dbv" identifier -> field_identifier) , identifier , number_literal , identifier , number_literal )))) ;) (expression_statement "iVar1 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0]);" (assignment_expression "iVar1 = (**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0])" identifier = (call_expression "(**(code **)(pcVar21 + 0x15ee40))(apsStack_c8[0])" (parenthesized_expression "(**(code **)(pcVar21 + 0x15ee40))" ( (pointer_expression "**(code **)(pcVar21 + 0x15ee40)" * (pointer_expression "*(code **)(pcVar21 + 0x15ee40)" * (cast_expression "(code **)(pcVar21 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + 0x15ee40)" ( (binary_expression "pcVar21 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(apsStack_c8[0])" ( (subscript_expression "apsStack_c8[0]" identifier [ number_literal ]) )))) ;) (if_statement "if ((iStack_cc != 0) || (iStack_cc = iVar1, iVar1 != 0)) {\n      idxDatabaseError(p_00->dbv,(char **)zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }" if (parenthesized_expression "((iStack_cc != 0) || (iStack_cc = iVar1, iVar1 != 0))" ( (binary_expression "(iStack_cc != 0) || (iStack_cc = iVar1, iVar1 != 0)" (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) || (parenthesized_expression "(iStack_cc = iVar1, iVar1 != 0)" ( (comma_expression "iStack_cc = iVar1, iVar1 != 0" (assignment_expression "iStack_cc = iVar1" identifier = identifier) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      idxDatabaseError(p_00->dbv,(char **)zSql);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }" { (expression_statement "idxDatabaseError(p_00->dbv,(char **)zSql);" (call_expression "idxDatabaseError(p_00->dbv,(char **)zSql)" identifier (argument_list "(p_00->dbv,(char **)zSql)" ( (field_expression "p_00->dbv" identifier -> field_identifier) , (cast_expression "(char **)zSql" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) ))) ;) comment (expression_statement "sqlite3_free(pcVar20);" (call_expression "sqlite3_free(pcVar20)" identifier (argument_list "(pcVar20)" ( identifier ))) ;) })) }))) (labeled_statement "LAB_00031d20:\n                    /* WARNING: Subroutine does not return */\n  sqlite3_free(pcVar20);" statement_identifier : comment (expression_statement "sqlite3_free(pcVar20);" (call_expression "sqlite3_free(pcVar20)" identifier (argument_list "(pcVar20)" ( identifier ))) ;)) })))
(translation_unit "int sqlite3_expert_sql(int param_1,char *param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  code *pcVar5;\n  code *pcVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  int iVar18;\n  undefined4 uVar19;\n  int *piVar20;\n  char **ppcVar21;\n  char *pcVar22;\n  int unaff_s0;\n  undefined4 *puVar23;\n  undefined4 *puVar24;\n  char **unaff_s1;\n  char *unaff_s2;\n  int *piVar25;\n  undefined *unaff_s3;\n  undefined4 unaff_s5;\n  int iVar26;\n  undefined4 uVar27;\n  undefined4 *puVar28;\n  int *unaff_s7;\n  int iVar29;\n  int iVar30;\n  undefined *puVar31;\n  int *unaff_s8;\n  int iVar32;\n  double dVar33;\n  longlong lVar34;\n  int iStack_f4;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  int aiStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  int iStack_a0;\n  char **ppcStack_9c;\n  char *pcStack_98;\n  undefined *puStack_94;\n  int iStack_90;\n  undefined4 uStack_8c;\n  undefined *puStack_88;\n  int *piStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  char **local_60;\n  int local_38;\n  char *local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  ppcVar21 = *(char ***)(param_1 + 0x14);\n  local_38 = 0;\n  local_2c = *(int **)PTR___stack_chk_guard_00190e24;\n  pcVar22 = *(char **)(param_1 + 0x1c);\n  local_34 = param_2;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }\n  if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }\n  pcVar5 = sqlite3_expert_analyze;\n  piVar7 = local_2c;\n  puVar31 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar8 = *(int **)(puVar31 + 0x15f2f4);\n  puStack_88 = puVar3;\n  iStack_a4 = *piVar8;\n  iVar29 = *(int *)(puVar31 + 0x15ee2c);\n  iStack_a0 = unaff_s0;\n  ppcStack_9c = unaff_s1;\n  pcStack_98 = unaff_s2;\n  puStack_94 = unaff_s3;\n  iStack_90 = iVar9;\n  uStack_8c = unaff_s5;\n  piStack_84 = unaff_s7;\n  piStack_80 = unaff_s8;\n  pcStack_7c = pcVar5;\n  if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }\n  iVar9 = piVar7[5];\n  iStack_e4 = 0;\n  if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }\n  iVar9 = iStack_e4;\n  if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }\nLAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }\n  (**(code **)(puVar31 + 0x15f2c8))();\n  if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ee60))(uVar4);\n  iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);\nLAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);\n  iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);\n  if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar25);\n  iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);\n  if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }\n  iVar10 = iStack_e0;\n  lVar2 = lVar34;\n  if (iStack_e0 != 0) goto LAB_0003223c;\n  goto LAB_0003249c;\n}\n\n" (function_definition "int sqlite3_expert_sql(int param_1,char *param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  code *pcVar5;\n  code *pcVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  int iVar18;\n  undefined4 uVar19;\n  int *piVar20;\n  char **ppcVar21;\n  char *pcVar22;\n  int unaff_s0;\n  undefined4 *puVar23;\n  undefined4 *puVar24;\n  char **unaff_s1;\n  char *unaff_s2;\n  int *piVar25;\n  undefined *unaff_s3;\n  undefined4 unaff_s5;\n  int iVar26;\n  undefined4 uVar27;\n  undefined4 *puVar28;\n  int *unaff_s7;\n  int iVar29;\n  int iVar30;\n  undefined *puVar31;\n  int *unaff_s8;\n  int iVar32;\n  double dVar33;\n  longlong lVar34;\n  int iStack_f4;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  int aiStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  int iStack_a0;\n  char **ppcStack_9c;\n  char *pcStack_98;\n  undefined *puStack_94;\n  int iStack_90;\n  undefined4 uStack_8c;\n  undefined *puStack_88;\n  int *piStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  char **local_60;\n  int local_38;\n  char *local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  ppcVar21 = *(char ***)(param_1 + 0x14);\n  local_38 = 0;\n  local_2c = *(int **)PTR___stack_chk_guard_00190e24;\n  pcVar22 = *(char **)(param_1 + 0x1c);\n  local_34 = param_2;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }\n  if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }\n  pcVar5 = sqlite3_expert_analyze;\n  piVar7 = local_2c;\n  puVar31 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar8 = *(int **)(puVar31 + 0x15f2f4);\n  puStack_88 = puVar3;\n  iStack_a4 = *piVar8;\n  iVar29 = *(int *)(puVar31 + 0x15ee2c);\n  iStack_a0 = unaff_s0;\n  ppcStack_9c = unaff_s1;\n  pcStack_98 = unaff_s2;\n  puStack_94 = unaff_s3;\n  iStack_90 = iVar9;\n  uStack_8c = unaff_s5;\n  piStack_84 = unaff_s7;\n  piStack_80 = unaff_s8;\n  pcStack_7c = pcVar5;\n  if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }\n  iVar9 = piVar7[5];\n  iStack_e4 = 0;\n  if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }\n  iVar9 = iStack_e4;\n  if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }\nLAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }\n  (**(code **)(puVar31 + 0x15f2c8))();\n  if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ee60))(uVar4);\n  iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);\nLAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);\n  iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);\n  if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar25);\n  iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);\n  if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }\n  iVar10 = iStack_e0;\n  lVar2 = lVar34;\n  if (iStack_e0 != 0) goto LAB_0003223c;\n  goto LAB_0003249c;\n}" primitive_type (function_declarator "sqlite3_expert_sql(int param_1,char *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,char *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  code *pcVar5;\n  code *pcVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  int iVar18;\n  undefined4 uVar19;\n  int *piVar20;\n  char **ppcVar21;\n  char *pcVar22;\n  int unaff_s0;\n  undefined4 *puVar23;\n  undefined4 *puVar24;\n  char **unaff_s1;\n  char *unaff_s2;\n  int *piVar25;\n  undefined *unaff_s3;\n  undefined4 unaff_s5;\n  int iVar26;\n  undefined4 uVar27;\n  undefined4 *puVar28;\n  int *unaff_s7;\n  int iVar29;\n  int iVar30;\n  undefined *puVar31;\n  int *unaff_s8;\n  int iVar32;\n  double dVar33;\n  longlong lVar34;\n  int iStack_f4;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  int aiStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  int iStack_a0;\n  char **ppcStack_9c;\n  char *pcStack_98;\n  undefined *puStack_94;\n  int iStack_90;\n  undefined4 uStack_8c;\n  undefined *puStack_88;\n  int *piStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  char **local_60;\n  int local_38;\n  char *local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  ppcVar21 = *(char ***)(param_1 + 0x14);\n  local_38 = 0;\n  local_2c = *(int **)PTR___stack_chk_guard_00190e24;\n  pcVar22 = *(char **)(param_1 + 0x1c);\n  local_34 = param_2;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }\n  if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }\n  pcVar5 = sqlite3_expert_analyze;\n  piVar7 = local_2c;\n  puVar31 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar8 = *(int **)(puVar31 + 0x15f2f4);\n  puStack_88 = puVar3;\n  iStack_a4 = *piVar8;\n  iVar29 = *(int *)(puVar31 + 0x15ee2c);\n  iStack_a0 = unaff_s0;\n  ppcStack_9c = unaff_s1;\n  pcStack_98 = unaff_s2;\n  puStack_94 = unaff_s3;\n  iStack_90 = iVar9;\n  uStack_8c = unaff_s5;\n  piStack_84 = unaff_s7;\n  piStack_80 = unaff_s8;\n  pcStack_7c = pcVar5;\n  if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }\n  iVar9 = piVar7[5];\n  iStack_e4 = 0;\n  if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }\n  iVar9 = iStack_e4;\n  if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }\nLAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }\n  (**(code **)(puVar31 + 0x15f2c8))();\n  if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ee60))(uVar4);\n  iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);\nLAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);\n  iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);\n  if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar25);\n  iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);\n  if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }\n  iVar10 = iStack_e0;\n  lVar2 = lVar34;\n  if (iStack_e0 != 0) goto LAB_0003223c;\n  goto LAB_0003249c;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "undefined4 uVar16;" type_identifier identifier ;) (declaration "undefined4 uVar17;" type_identifier identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "undefined4 uVar19;" type_identifier identifier ;) (declaration "int *piVar20;" primitive_type (pointer_declarator "*piVar20" * identifier) ;) (declaration "char **ppcVar21;" primitive_type (pointer_declarator "**ppcVar21" * (pointer_declarator "*ppcVar21" * identifier)) ;) (declaration "char *pcVar22;" primitive_type (pointer_declarator "*pcVar22" * identifier) ;) (declaration "int unaff_s0;" primitive_type identifier ;) (declaration "undefined4 *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "undefined4 *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "char **unaff_s1;" primitive_type (pointer_declarator "**unaff_s1" * (pointer_declarator "*unaff_s1" * identifier)) ;) (declaration "char *unaff_s2;" primitive_type (pointer_declarator "*unaff_s2" * identifier) ;) (declaration "int *piVar25;" primitive_type (pointer_declarator "*piVar25" * identifier) ;) (declaration "undefined *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "undefined4 unaff_s5;" type_identifier identifier ;) (declaration "int iVar26;" primitive_type identifier ;) (declaration "undefined4 uVar27;" type_identifier identifier ;) (declaration "undefined4 *puVar28;" type_identifier (pointer_declarator "*puVar28" * identifier) ;) (declaration "int *unaff_s7;" primitive_type (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "int iVar29;" primitive_type identifier ;) (declaration "int iVar30;" primitive_type identifier ;) (declaration "undefined *puVar31;" type_identifier (pointer_declarator "*puVar31" * identifier) ;) (declaration "int *unaff_s8;" primitive_type (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "int iVar32;" primitive_type identifier ;) (declaration "double dVar33;" primitive_type identifier ;) (declaration "longlong lVar34;" type_identifier identifier ;) (declaration "int iStack_f4;" primitive_type identifier ;) (declaration "int *piStack_f0;" primitive_type (pointer_declarator "*piStack_f0" * identifier) ;) (declaration "int iStack_e4;" primitive_type identifier ;) (declaration "int iStack_e0;" primitive_type identifier ;) (declaration "undefined4 uStack_dc;" type_identifier identifier ;) (declaration "undefined4 uStack_d8;" type_identifier identifier ;) (declaration "undefined4 uStack_d4;" type_identifier identifier ;) (declaration "undefined4 uStack_d0;" type_identifier identifier ;) (declaration "int iStack_cc;" primitive_type identifier ;) (declaration "int aiStack_c8 [2];" primitive_type (array_declarator "aiStack_c8 [2]" identifier [ number_literal ]) ;) (declaration "double dStack_c0;" primitive_type identifier ;) (declaration "undefined4 uStack_b8;" type_identifier identifier ;) (declaration "undefined4 uStack_b4;" type_identifier identifier ;) (declaration "undefined4 uStack_b0;" type_identifier identifier ;) (declaration "undefined4 uStack_ac;" type_identifier identifier ;) (declaration "int iStack_a4;" primitive_type identifier ;) (declaration "int iStack_a0;" primitive_type identifier ;) (declaration "char **ppcStack_9c;" primitive_type (pointer_declarator "**ppcStack_9c" * (pointer_declarator "*ppcStack_9c" * identifier)) ;) (declaration "char *pcStack_98;" primitive_type (pointer_declarator "*pcStack_98" * identifier) ;) (declaration "undefined *puStack_94;" type_identifier (pointer_declarator "*puStack_94" * identifier) ;) (declaration "int iStack_90;" primitive_type identifier ;) (declaration "undefined4 uStack_8c;" type_identifier identifier ;) (declaration "undefined *puStack_88;" type_identifier (pointer_declarator "*puStack_88" * identifier) ;) (declaration "int *piStack_84;" primitive_type (pointer_declarator "*piStack_84" * identifier) ;) (declaration "int *piStack_80;" primitive_type (pointer_declarator "*piStack_80" * identifier) ;) (declaration "code *pcStack_7c;" type_identifier (pointer_declarator "*pcStack_7c" * identifier) ;) (declaration "char **local_60;" primitive_type (pointer_declarator "**local_60" * (pointer_declarator "*local_60" * identifier)) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "ppcVar21 = *(char ***)(param_1 + 0x14);" (assignment_expression "ppcVar21 = *(char ***)(param_1 + 0x14)" identifier = (pointer_expression "*(char ***)(param_1 + 0x14)" * (cast_expression "(char ***)(param_1 + 0x14)" ( (type_descriptor "char ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_00190e24" * (cast_expression "(int **)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar22 = *(char **)(param_1 + 0x1c);" (assignment_expression "pcVar22 = *(char **)(param_1 + 0x1c)" identifier = (pointer_expression "*(char **)(param_1 + 0x1c)" * (cast_expression "(char **)(param_1 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "local_34 = param_2;" (assignment_expression "local_34 = param_2" identifier = identifier) ;) (if_statement "if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" ( (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (if_statement "if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }" if (parenthesized_expression "((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0'))" ( (binary_expression "(param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')" (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(unaff_s0 = param_1, *param_2 != '\0')" ( (comma_expression "unaff_s0 = param_1, *param_2 != '\0'" (assignment_expression "unaff_s0 = param_1" identifier = identifier) , (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }" { (expression_statement "unaff_s8 = &local_30;" (assignment_expression "unaff_s8 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + -0x21e8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + -0x21e8)" ( (binary_expression "PTR_LAB_00190954 + -0x21e8" identifier + number_literal) )))) ;) (expression_statement "unaff_s1 = &local_34;" (assignment_expression "unaff_s1 = &local_34" identifier = (pointer_expression "&local_34" & identifier)) ;) (expression_statement "pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_00190954 + 0x368)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + 0x368)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + 0x368)" ( (binary_expression "PTR_LAB_00190954 + 0x368" identifier + number_literal) )))) ;) (expression_statement "unaff_s7 = &local_38;" (assignment_expression "unaff_s7 = &local_38" identifier = (pointer_expression "&local_38" & identifier)) ;) (expression_statement "unaff_s2 = PTR_LAB_00190954;" (assignment_expression "unaff_s2 = PTR_LAB_00190954" identifier = identifier) ;) (expression_statement "unaff_s3 = PTR_LAB_00190954;" (assignment_expression "unaff_s3 = PTR_LAB_00190954" identifier = identifier) ;) (do_statement "do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );" do (compound_statement "{\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      }" { (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_60 = unaff_s1;" (assignment_expression "local_60 = unaff_s1" identifier = identifier) ;) (expression_statement "local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);" (assignment_expression "local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8)" identifier = (call_expression "(*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8)" (parenthesized_expression "(*(code *)PTR_sqlite3_prepare_v2_00190968)" ( (pointer_expression "*(code *)PTR_sqlite3_prepare_v2_00190968" * (cast_expression "(code *)PTR_sqlite3_prepare_v2_00190968" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier , number_literal , identifier )))) ;) (expression_statement "unaff_s5 = param_3;" (assignment_expression "unaff_s5 = param_3" identifier = identifier) ;) (if_statement "if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }" if (parenthesized_expression "(local_38 == 0)" ( (binary_expression "local_38 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }" { (if_statement "if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }" { (expression_statement "unaff_s3 = (undefined *)sqlite3_sql();" (assignment_expression "unaff_s3 = (undefined *)sqlite3_sql()" identifier = (cast_expression "(undefined *)sqlite3_sql()" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_sql()" identifier (argument_list "()" ( ))))) ;) (expression_statement "unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);" (assignment_expression "unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3)" identifier = (cast_expression "(char *)(*(code *)PTR_strlen_00190d80)(unaff_s3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strlen_00190d80)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_strlen_00190d80)" ( (pointer_expression "*(code *)PTR_strlen_00190d80" * (cast_expression "(code *)PTR_strlen_00190d80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))))) ;) (expression_statement "piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);" (assignment_expression "piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15)" identifier = (cast_expression "(int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar6)(unaff_s7,unaff_s2 + 0x15)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(unaff_s7,unaff_s2 + 0x15)" ( identifier , (binary_expression "unaff_s2 + 0x15" identifier + number_literal) ))))) ;) (expression_statement "puVar31 = PTR_memcpy_00190e2c;" (assignment_expression "puVar31 = PTR_memcpy_00190e2c" identifier = identifier) ;) (if_statement "if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }" if (parenthesized_expression "(local_38 == 0)" ( (binary_expression "local_38 == 0" identifier == number_literal) )) (compound_statement "{\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }" { (expression_statement "piVar7[1] = (int)(piVar7 + 5);" (assignment_expression "piVar7[1] = (int)(piVar7 + 5)" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = (cast_expression "(int)(piVar7 + 5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar7 + 5)" ( (binary_expression "piVar7 + 5" identifier + number_literal) )))) ;) (expression_statement "(*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);" (call_expression "(*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1)" (parenthesized_expression "(*(code *)puVar31)" ( (pointer_expression "*(code *)puVar31" * (cast_expression "(code *)puVar31" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7 + 5,unaff_s3,unaff_s2 + 1)" ( (binary_expression "piVar7 + 5" identifier + number_literal) , identifier , (binary_expression "unaff_s2 + 1" identifier + number_literal) ))) ;) (expression_statement "piVar8 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar8 = *(int **)(param_1 + 0x1c)" identifier = (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "piVar7[4] = (int)piVar8;" (assignment_expression "piVar7[4] = (int)piVar8" (subscript_expression "piVar7[4]" identifier [ number_literal ]) = (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }" if (parenthesized_expression "(piVar8 != (int *)0x0)" ( (binary_expression "piVar8 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                *piVar7 = *piVar8 + 1;\n              }" { (expression_statement "*piVar7 = *piVar8 + 1;" (assignment_expression "*piVar7 = *piVar8 + 1" (pointer_expression "*piVar7" * identifier) = (binary_expression "*piVar8 + 1" (pointer_expression "*piVar8" * identifier) + number_literal)) ;) })) (expression_statement "*(int **)(param_1 + 0x1c) = piVar7;" (assignment_expression "*(int **)(param_1 + 0x1c) = piVar7" (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "(*(code *)PTR_sqlite3_finalize_00190970)(local_30);" (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_30)" (parenthesized_expression "(*(code *)PTR_sqlite3_finalize_00190970)" ( (pointer_expression "*(code *)PTR_sqlite3_finalize_00190970" * (cast_expression "(code *)PTR_sqlite3_finalize_00190970" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier ))) ;) (goto_statement "goto joined_r0x000319f0;" goto statement_identifier ;) })) }) (else_clause "else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }" else (compound_statement "{\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }" { (expression_statement "(*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);" (call_expression "(*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*(undefined4 *)(param_1 + 0xc),param_3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier ))) ;) (labeled_statement "joined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }" statement_identifier : (if_statement "if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }" if (parenthesized_expression "(local_38 != 0)" ( (binary_expression "local_38 != 0" identifier != number_literal) )) (compound_statement "{\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }" { (expression_statement "FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);" (call_expression "FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x14),ppcVar21)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "param_2 = pcVar22;" (assignment_expression "param_2 = pcVar22" identifier = identifier) ;) (expression_statement "FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));" (call_expression "FUN_0001e088(*(undefined4 *)(param_1 + 0x1c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) ))) ;) (expression_statement "*(char ***)(param_1 + 0x14) = ppcVar21;" (assignment_expression "*(char ***)(param_1 + 0x14) = ppcVar21" (pointer_expression "*(char ***)(param_1 + 0x14)" * (cast_expression "(char ***)(param_1 + 0x14)" ( (type_descriptor "char ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(param_1 + 0x1c) = pcVar22;" (assignment_expression "*(char **)(param_1 + 0x1c) = pcVar22" (pointer_expression "*(char **)(param_1 + 0x1c)" * (cast_expression "(char **)(param_1 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "unaff_s1 = ppcVar21;" (assignment_expression "unaff_s1 = ppcVar21" identifier = identifier) ;) (expression_statement "unaff_s2 = pcVar22;" (assignment_expression "unaff_s2 = pcVar22" identifier = identifier) ;) (expression_statement "iVar9 = local_38;" (assignment_expression "iVar9 = local_38" identifier = identifier) ;) (break_statement "break;" break ;) }))) }))) (expression_statement "param_2 = local_34;" (assignment_expression "param_2 = local_34" identifier = identifier) ;) (if_statement "if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;" if (parenthesized_expression "((local_34 == (char *)0x0) || (*local_34 == '\0'))" ( (binary_expression "(local_34 == (char *)0x0) || (*local_34 == '\0')" (parenthesized_expression "(local_34 == (char *)0x0)" ( (binary_expression "local_34 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*local_34 == '\0')" ( (binary_expression "*local_34 == '\0'" (pointer_expression "*local_34" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) }) (else_clause "else {\n    iVar9 = 0x15;\n  }" else (compound_statement "{\n    iVar9 = 0x15;\n  }" { (expression_statement "iVar9 = 0x15;" (assignment_expression "iVar9 = 0x15" identifier = number_literal) ;) }))) (if_statement "if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }" if (parenthesized_expression "(local_2c == *(int **)puVar3)" ( (binary_expression "local_2c == *(int **)puVar3" identifier == (pointer_expression "*(int **)puVar3" * (cast_expression "(int **)puVar3" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar9;\n  }" { (return_statement "return iVar9;" return identifier ;) })) (expression_statement "pcVar5 = sqlite3_expert_analyze;" (assignment_expression "pcVar5 = sqlite3_expert_analyze" identifier = identifier) ;) (expression_statement "piVar7 = local_2c;" (assignment_expression "piVar7 = local_2c" identifier = identifier) ;) (expression_statement "puVar31 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar31 = PTR___stack_chk_fail_00190df8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar8 = *(int **)(puVar31 + 0x15f2f4);" (assignment_expression "piVar8 = *(int **)(puVar31 + 0x15f2f4)" identifier = (pointer_expression "*(int **)(puVar31 + 0x15f2f4)" * (cast_expression "(int **)(puVar31 + 0x15f2f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15f2f4)" ( (binary_expression "puVar31 + 0x15f2f4" identifier + number_literal) ))))) ;) (expression_statement "puStack_88 = puVar3;" (assignment_expression "puStack_88 = puVar3" identifier = identifier) ;) (expression_statement "iStack_a4 = *piVar8;" (assignment_expression "iStack_a4 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "iVar29 = *(int *)(puVar31 + 0x15ee2c);" (assignment_expression "iVar29 = *(int *)(puVar31 + 0x15ee2c)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" * (cast_expression "(int *)(puVar31 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee2c)" ( (binary_expression "puVar31 + 0x15ee2c" identifier + number_literal) ))))) ;) (expression_statement "iStack_a0 = unaff_s0;" (assignment_expression "iStack_a0 = unaff_s0" identifier = identifier) ;) (expression_statement "ppcStack_9c = unaff_s1;" (assignment_expression "ppcStack_9c = unaff_s1" identifier = identifier) ;) (expression_statement "pcStack_98 = unaff_s2;" (assignment_expression "pcStack_98 = unaff_s2" identifier = identifier) ;) (expression_statement "puStack_94 = unaff_s3;" (assignment_expression "puStack_94 = unaff_s3" identifier = identifier) ;) (expression_statement "iStack_90 = iVar9;" (assignment_expression "iStack_90 = iVar9" identifier = identifier) ;) (expression_statement "uStack_8c = unaff_s5;" (assignment_expression "uStack_8c = unaff_s5" identifier = identifier) ;) (expression_statement "piStack_84 = unaff_s7;" (assignment_expression "piStack_84 = unaff_s7" identifier = identifier) ;) (expression_statement "piStack_80 = unaff_s8;" (assignment_expression "piStack_80 = unaff_s8" identifier = identifier) ;) (expression_statement "pcStack_7c = pcVar5;" (assignment_expression "pcStack_7c = pcVar5" identifier = identifier) ;) (if_statement "if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }" if (parenthesized_expression "((undefined4 *)piVar7[6] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar7[6] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar7[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[6]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }" { (expression_statement "puVar24 = (undefined4 *)piVar7[6];" (assignment_expression "puVar24 = (undefined4 *)piVar7[6]" identifier = (cast_expression "(undefined4 *)piVar7[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[6]" identifier [ number_literal ]))) ;) (expression_statement "puVar28 = (undefined4 *)0x0;" (assignment_expression "puVar28 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);" do (compound_statement "{\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    }" { (expression_statement "puVar23 = puVar24;" (assignment_expression "puVar23 = puVar24" identifier = identifier) ;) (expression_statement "puVar24 = puVar23;" (assignment_expression "puVar24 = puVar23" identifier = identifier) ;) (if_statement "if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }" if (parenthesized_expression "(puVar28 != puVar23)" ( (binary_expression "puVar28 != puVar23" identifier != identifier) )) (compound_statement "{\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }" { (expression_statement "iVar9 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar9 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar10 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(puVar31 + 0x15ee24);" (assignment_expression "iVar11 = *(int *)(puVar31 + 0x15ee24)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) ))))) ;) (do_statement "do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);" do (compound_statement "{\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        }" { (expression_statement "piVar25 = (int *)*puVar24;" (assignment_expression "piVar25 = (int *)*puVar24" identifier = (cast_expression "(int *)*puVar24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar24" * identifier))) ;) (expression_statement "iVar26 = piVar25[1];" (assignment_expression "iVar26 = piVar25[1]" identifier = (subscript_expression "piVar25[1]" identifier [ number_literal ])) ;) (expression_statement "uStack_d0 = 0;" (assignment_expression "uStack_d0 = 0" identifier = number_literal) ;) (expression_statement "iStack_cc = 0;" (assignment_expression "iStack_cc = 0" identifier = number_literal) ;) (expression_statement "iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);" (assignment_expression "iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26)" identifier = (call_expression "(*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26)" (parenthesized_expression "(*(code *)(iVar11 + -0x884))" ( (pointer_expression "*(code *)(iVar11 + -0x884)" * (cast_expression "(code *)(iVar11 + -0x884)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + -0x884)" ( (binary_expression "iVar11 + -0x884" identifier + number_literal) )))) )) (argument_list "(piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26)" ( (subscript_expression "piVar7[1]" identifier [ number_literal ]) , (pointer_expression "&uStack_d0" & identifier) , identifier , (binary_expression "iVar9 + 0x2a2c" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" { (do_statement "do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);" do (compound_statement "{\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            }" { (expression_statement "iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);" (assignment_expression "iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uStack_d0)" ( identifier )))) ;) (if_statement "if (iVar12 != 100) break;" if (parenthesized_expression "(iVar12 != 100)" ( (binary_expression "iVar12 != 100" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);" (assignment_expression "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee78))(uStack_d0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee78)" * (pointer_expression "*(code **)(puVar31 + 0x15ee78)" * (cast_expression "(code **)(puVar31 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee78)" ( (binary_expression "puVar31 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uStack_d0,0)" ( identifier , number_literal )))) ;) (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],uVar14,0,0,param_2)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , identifier )))) ;) }) while (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) ;) (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" identifier = (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) ;) }) (else_clause "else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" else (compound_statement "{\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" { (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" identifier = (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar12 = (*pcVar5)(uStack_d0);" (assignment_expression "iVar12 = (*pcVar5)(uStack_d0)" identifier = (call_expression "(*pcVar5)(uStack_d0)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(uStack_d0)" ( identifier )))) ;) (if_statement "if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }" if (parenthesized_expression "((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0))" ( (binary_expression "(iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)" (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) && (parenthesized_expression "(iStack_cc = iVar12, iVar12 == 0)" ( (comma_expression "iStack_cc = iVar12, iVar12 == 0" (assignment_expression "iStack_cc = iVar12" identifier = identifier) , (binary_expression "iVar12 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }" { (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2ad4" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , (binary_expression "iVar12 + 0x2aac" identifier + number_literal) )))) ;) (if_statement "if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }" if (parenthesized_expression "(iVar26 != 0)" ( (binary_expression "iVar26 != 0" identifier != number_literal) )) (compound_statement "{\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }" { (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],iVar26,0,0,param_2)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "sqlite3_free(iVar26);" (call_expression "sqlite3_free(iVar26)" identifier (argument_list "(iVar26)" ( identifier ))) ;) (goto_statement "goto LAB_00031cf4;" goto statement_identifier ;) })) (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" identifier = number_literal) ;) (if_statement "if (puVar24[1] == 0x12) goto LAB_00031fc8;" if (parenthesized_expression "(puVar24[1] == 0x12)" ( (binary_expression "puVar24[1] == 0x12" (subscript_expression "puVar24[1]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00031fc8;" goto statement_identifier ;)) (if_statement "if (puVar24[1] != 0x17) goto LAB_00031d18;" if (parenthesized_expression "(puVar24[1] != 0x17)" ( (binary_expression "puVar24[1] != 0x17" (subscript_expression "puVar24[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_00031d18;" goto statement_identifier ;)) (labeled_statement "LAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);" statement_identifier : (expression_statement "iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);" (assignment_expression "iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac)" identifier = (call_expression "FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac)" identifier (argument_list "(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac)" ( (pointer_expression "&iStack_cc" & identifier) , number_literal , (binary_expression "iVar10 + 0x2b14" identifier + number_literal) , (binary_expression "iVar12 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }" if (parenthesized_expression "(0 < *piVar25)" ( (binary_expression "0 < *piVar25" number_literal < (pointer_expression "*piVar25" * identifier)) )) (compound_statement "{\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (expression_statement "iVar30 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar30 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar32 = 0;" (assignment_expression "iVar32 = 0" identifier = number_literal) ;) (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8" identifier = (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x30a8" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);" do (compound_statement "{\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              }" { (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "puVar13 = (undefined4 *)(piVar25[2] + iVar32);" (assignment_expression "puVar13 = (undefined4 *)(piVar25[2] + iVar32)" identifier = (cast_expression "(undefined4 *)(piVar25[2] + iVar32)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar25[2] + iVar32)" ( (binary_expression "piVar25[2] + iVar32" (subscript_expression "piVar25[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "iVar32 = iVar32 + 0xc;" (assignment_expression "iVar32 = iVar32 + 0xc" identifier = (binary_expression "iVar32 + 0xc" identifier + number_literal)) ;) (expression_statement "iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);" (assignment_expression "iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13)" identifier = (call_expression "FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13)" identifier (argument_list "(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar30 + 0x2b24" identifier + number_literal) , identifier , (pointer_expression "*puVar13" * identifier) )))) ;) (expression_statement "iVar12 = iVar29 + 0x1114;" (assignment_expression "iVar12 = iVar29 + 0x1114" identifier = (binary_expression "iVar29 + 0x1114" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar18 < *piVar25)" ( (binary_expression "iVar18 < *piVar25" identifier < (pointer_expression "*piVar25" * identifier)) )) ;) })) (labeled_statement "LAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;" statement_identifier : (if_statement "if (iStack_cc != 0) goto LAB_00031d20;" if (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d20;" goto statement_identifier ;))) (expression_statement "aiStack_c8[0] = 0;" (assignment_expression "aiStack_c8[0] = 0" (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee38))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee38)" * (pointer_expression "*(code **)(puVar31 + 0x15ee38)" * (cast_expression "(code **)(puVar31 + 0x15ee38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee38)" ( (binary_expression "puVar31 + 0x15ee38" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],iVar26,0xffffffff,aiStack_c8,0)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , identifier , number_literal , identifier , number_literal )))) ;) (expression_statement "iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (assignment_expression "iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0])" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) )))) ;) (if_statement "if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;" if (parenthesized_expression "((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0))" ( (binary_expression "(iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)" (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) && (parenthesized_expression "(iStack_cc = iVar12, iVar12 == 0)" ( (comma_expression "iStack_cc = iVar12, iVar12 == 0" (assignment_expression "iStack_cc = iVar12" identifier = identifier) , (binary_expression "iVar12 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00031d20;" goto statement_identifier ;)) (expression_statement "FUN_0001de18(piVar7[3],param_2);" (call_expression "FUN_0001de18(piVar7[3],param_2)" identifier (argument_list "(piVar7[3],param_2)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "sqlite3_free(iVar26);" (call_expression "sqlite3_free(iVar26)" identifier (argument_list "(iVar26)" ( identifier ))) ;) }) (else_clause "else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }" else (compound_statement "{\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }" { (labeled_statement "LAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }" statement_identifier : (if_statement "if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }" if (parenthesized_expression "(puVar24[1] == 0x12)" ( (binary_expression "puVar24[1] == 0x12" (subscript_expression "puVar24[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }" { (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);" statement_identifier : (expression_statement "uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);" (assignment_expression "uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac)" identifier = (call_expression "FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac)" identifier (argument_list "(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac)" ( (pointer_expression "&iStack_cc" & identifier) , number_literal , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 11000" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , (binary_expression "iVar12 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }" if (parenthesized_expression "(0 < *piVar25)" ( (binary_expression "0 < *piVar25" number_literal < (pointer_expression "*piVar25" * identifier)) )) (compound_statement "{\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "iVar30 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar30 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;" (assignment_expression "iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8" identifier = (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x30a8" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);" do (compound_statement "{\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                }" { (expression_statement "uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);" (assignment_expression "uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26)" identifier = (call_expression "FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26)" identifier (argument_list "(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar30 + 0x2b10" identifier + number_literal) , identifier )))) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "iVar26 = iVar29 + 0x1114;" (assignment_expression "iVar26 = iVar29 + 0x1114" identifier = (binary_expression "iVar29 + 0x1114" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar12 < *piVar25)" ( (binary_expression "iVar12 < *piVar25" identifier < (pointer_expression "*piVar25" * identifier)) )) ;) })) (expression_statement "iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);" (assignment_expression "iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034)" identifier = (call_expression "FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034)" identifier (argument_list "(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2034" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) ;) (goto_statement "goto LAB_00031e1c;" goto statement_identifier ;) }))) (if_statement "if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }" if (parenthesized_expression "(puVar24[1] == 0x17)" ( (binary_expression "puVar24[1] == 0x17" (subscript_expression "puVar24[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }" { (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_00031ef8;" goto statement_identifier ;) })) (if_statement "if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }" { (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2b2c" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2aac" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar26 != 0) goto LAB_00031e1c;" if (parenthesized_expression "(iVar26 != 0)" ( (binary_expression "iVar26 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031e1c;" goto statement_identifier ;)) (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" identifier = number_literal) ;) })) (labeled_statement "LAB_00031d18:\n            iVar26 = 0;" statement_identifier : (expression_statement "iVar26 = 0;" (assignment_expression "iVar26 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00031d20:\n            sqlite3_free(iVar26);" statement_identifier : (expression_statement "sqlite3_free(iVar26);" (call_expression "sqlite3_free(iVar26)" identifier (argument_list "(iVar26)" ( identifier ))) ;)) }))) (expression_statement "iVar26 = iStack_cc;" (assignment_expression "iVar26 = iStack_cc" identifier = identifier) ;) (if_statement "if (iStack_cc != 0) goto LAB_00031d34;" if (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d34;" goto statement_identifier ;)) (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2b3c" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , identifier )))) ;) (expression_statement "puVar24 = (undefined4 *)puVar24[2];" (assignment_expression "puVar24 = (undefined4 *)puVar24[2]" identifier = (cast_expression "(undefined4 *)puVar24[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar24[2]" identifier [ number_literal ]))) ;) (if_statement "if (iVar26 != 0) goto LAB_00031d34;" if (parenthesized_expression "(iVar26 != 0)" ( (binary_expression "iVar26 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d34;" goto statement_identifier ;)) }) while (parenthesized_expression "(puVar24 != puVar28)" ( (binary_expression "puVar24 != puVar28" identifier != identifier) )) ;) (expression_statement "puVar24 = (undefined4 *)piVar7[6];" (assignment_expression "puVar24 = (undefined4 *)piVar7[6]" identifier = (cast_expression "(undefined4 *)piVar7[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[6]" identifier [ number_literal ]))) ;) })) (expression_statement "puVar28 = puVar23;" (assignment_expression "puVar28 = puVar23" identifier = identifier) ;) }) while (parenthesized_expression "(puVar23 != puVar24)" ( (binary_expression "puVar23 != puVar24" identifier != identifier) )) ;) })) (expression_statement "iVar9 = piVar7[5];" (assignment_expression "iVar9 = piVar7[5]" identifier = (subscript_expression "piVar7[5]" identifier [ number_literal ])) ;) (expression_statement "iStack_e4 = 0;" (assignment_expression "iStack_e4 = 0" identifier = number_literal) ;) (if_statement "if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }" { (labeled_statement "LAB_0003210c:\n    iStack_e4 = 0;" statement_identifier : (expression_statement "iStack_e4 = 0;" (assignment_expression "iStack_e4 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_0003211c:\n    iVar26 = *piVar7;" statement_identifier : (expression_statement "iVar26 = *piVar7;" (assignment_expression "iVar26 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;)) (expression_statement "iStack_e0 = 0;" (assignment_expression "iStack_e0 = 0" identifier = number_literal) ;) (expression_statement "uStack_dc = 0;" (assignment_expression "uStack_dc = 0" identifier = number_literal) ;) (expression_statement "uStack_d8 = 0;" (assignment_expression "uStack_d8 = 0" identifier = number_literal) ;) (expression_statement "uStack_d4 = 0;" (assignment_expression "uStack_d4 = 0" identifier = number_literal) ;) (if_statement "if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }" if (parenthesized_expression "(iVar26 != 0)" ( (binary_expression "iVar26 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }" { (expression_statement "pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);" (assignment_expression "pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194)" identifier = (cast_expression "(code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar31 + 0x15ee24) + -0x2194)" ( (binary_expression "*(int *)(puVar31 + 0x15ee24) + -0x2194" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "aiStack_c8[0] = 0;" (assignment_expression "aiStack_c8[0] = 0" (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);" (assignment_expression "iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70)" identifier = (call_expression "FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70)" identifier (argument_list "(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , identifier , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2b70" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }" if (parenthesized_expression "(iVar26 == 0)" ( (binary_expression "iVar26 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }" { (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0])" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0])" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }" if (parenthesized_expression "(iVar9 == 100)" ( (binary_expression "iVar9 == 100" identifier == number_literal) )) (compound_statement "{\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }" { (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef1c))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef1c)" * (pointer_expression "*(code **)(puVar31 + 0x15ef1c)" * (cast_expression "(code **)(puVar31 + 0x15ef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef1c)" ( (binary_expression "puVar31 + 0x15ef1c" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0],0)" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0])" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) )))) ;) (expression_statement "iStack_e0 = iVar26;" (assignment_expression "iStack_e0 = iVar26" identifier = identifier) ;) (if_statement "if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }" if (parenthesized_expression "((0 < iVar9 + 1) && (iVar26 == 0))" ( (binary_expression "(0 < iVar9 + 1) && (iVar26 == 0)" (parenthesized_expression "(0 < iVar9 + 1)" ( (binary_expression "0 < iVar9 + 1" number_literal < (binary_expression "iVar9 + 1" identifier + number_literal)) )) && (parenthesized_expression "(iVar26 == 0)" ( (binary_expression "iVar26 == 0" identifier == number_literal) ))) )) (compound_statement "{\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }" { (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2bfc" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }" { (expression_statement "iVar29 = *(int *)(puVar31 + 0x15ee24);" (assignment_expression "iVar29 = *(int *)(puVar31 + 0x15ee24)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) ))))) ;) (expression_statement "piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);" (assignment_expression "piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" identifier = (cast_expression "(int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" identifier (argument_list "(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" ( (pointer_expression "&iStack_e0" & identifier) , (binary_expression "(iVar9 + 1) * 0x28 + 0x30" (binary_expression "(iVar9 + 1) * 0x28" (parenthesized_expression "(iVar9 + 1)" ( (binary_expression "iVar9 + 1" identifier + number_literal) )) * number_literal) + number_literal) ))))) ;) (if_statement "if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" { (if_statement "if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }" if (parenthesized_expression "(*piVar7 == 100)" ( (binary_expression "*piVar7 == 100" (pointer_expression "*piVar7" * identifier) == number_literal) )) (compound_statement "{\n                  iVar10 = piVar7[1];\n                }" { (expression_statement "iVar10 = piVar7[1];" (assignment_expression "iVar10 = piVar7[1]" identifier = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n                  iVar10 = piVar7[3];\n                }" else (compound_statement "{\n                  iVar10 = piVar7[3];\n                }" { (expression_statement "iVar10 = piVar7[3];" (assignment_expression "iVar10 = piVar7[3]" identifier = (subscript_expression "piVar7[3]" identifier [ number_literal ])) ;) }))) (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15eedc))" ( (pointer_expression "**(code **)(puVar31 + 0x15eedc)" * (pointer_expression "*(code **)(puVar31 + 0x15eedc)" * (cast_expression "(code **)(puVar31 + 0x15eedc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15eedc)" ( (binary_expression "puVar31 + 0x15eedc" identifier + number_literal) ))))) )) (argument_list "(iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0)" ( identifier , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2c20" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee24) + 0x3c44" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) )))) + number_literal) , number_literal , number_literal )))) ;) (if_statement "if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" if (parenthesized_expression "((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0))" ( (binary_expression "(iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)" (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) && (parenthesized_expression "(iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)" ( (comma_expression "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15eedc))" ( (pointer_expression "**(code **)(puVar31 + 0x15eedc)" * (pointer_expression "*(code **)(puVar31 + 0x15eedc)" * (cast_expression "(code **)(puVar31 + 0x15eedc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15eedc)" ( (binary_expression "puVar31 + 0x15eedc" identifier + number_literal) ))))) )) (argument_list "(piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0)" ( (subscript_expression "piVar7[1]" identifier [ number_literal ]) , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2c24" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee24) + 0x3b10" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) )))) + number_literal) , number_literal , number_literal )))) , (binary_expression "iStack_e0 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" { (expression_statement "iVar10 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar10 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "*piStack_f0 = iVar9 + 2;" (assignment_expression "*piStack_f0 = iVar9 + 2" (pointer_expression "*piStack_f0" * identifier) = (binary_expression "iVar9 + 2" identifier + number_literal)) ;) (expression_statement "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);" (assignment_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c)" identifier = (call_expression "(*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , (pointer_expression "&uStack_dc" & identifier) , identifier , (binary_expression "iVar10 + 0x2c2c" identifier + number_literal) )))) ;) (if_statement "if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" if (parenthesized_expression "((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0))))" ( (binary_expression "(iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))" (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) && (parenthesized_expression "((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))" ( (parenthesized_expression "(iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0))" ( (comma_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)" (assignment_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0)" identifier = (call_expression "(*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , (pointer_expression "&uStack_d8" & identifier) , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2ca0" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) , (binary_expression "iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)" (binary_expression "iStack_e0 == 0" identifier == number_literal) && (parenthesized_expression "(iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)" ( (comma_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0" (assignment_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8)" identifier = (call_expression "(*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , (pointer_expression "&uStack_d4" & identifier) , identifier , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2cd8" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) , (binary_expression "iStack_e0 == 0" identifier == number_literal)) )))) )) ))) )) (compound_statement "{\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" { (expression_statement "dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);" (assignment_expression "dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" identifier = (pointer_expression "*(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" * (cast_expression "(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" ( (binary_expression "*(int *)(puVar31 + 0x15ee2c) + -0x6648" (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" * (cast_expression "(int *)(puVar31 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee2c)" ( (binary_expression "puVar31 + 0x15ee2c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iStack_f4 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iStack_f4 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar9 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);" (assignment_expression "pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c)" identifier = (cast_expression "(code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar31 + 0x15ee24) + 0x51c)" ( (binary_expression "*(int *)(puVar31 + 0x15ee24) + 0x51c" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" * (cast_expression "(int *)(puVar31 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee24)" ( (binary_expression "puVar31 + 0x15ee24" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "lVar2 = -100000;" (assignment_expression "lVar2 = -100000" identifier = number_literal) ;) (labeled_statement "LAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);" statement_identifier : (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_dc)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uStack_dc)" ( identifier )))) ;)) (if_statement "if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }" if (parenthesized_expression "(iVar10 != 100)" ( (binary_expression "iVar10 != 100" identifier != number_literal) )) (compound_statement "{\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }" { (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" identifier = identifier) ;) (if_statement "if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }" { (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" identifier = (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) ;) (if_statement "if (99 < *piVar7) goto LAB_00032240;" if (parenthesized_expression "(99 < *piVar7)" ( (binary_expression "99 < *piVar7" number_literal < (pointer_expression "*piVar7" * identifier)) )) (goto_statement "goto LAB_00032240;" goto statement_identifier ;)) (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , (binary_expression "iStack_f4 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) })) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;) })) (expression_statement "lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);" (assignment_expression "lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee74))(uStack_dc,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee74))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee74)" * (pointer_expression "*(code **)(puVar31 + 0x15ee74)" * (cast_expression "(code **)(puVar31 + 0x15ee74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee74)" ( (binary_expression "puVar31 + 0x15ee74" identifier + number_literal) ))))) )) (argument_list "(uStack_dc,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);" (assignment_expression "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee78))(uStack_dc,1)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee78)" * (pointer_expression "*(code **)(puVar31 + 0x15ee78)" * (cast_expression "(code **)(puVar31 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee78)" ( (binary_expression "puVar31 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uStack_dc,1)" ( identifier , number_literal )))) ;) (expression_statement "uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);" (assignment_expression "uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee78))(uStack_dc,2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee78)" * (pointer_expression "*(code **)(puVar31 + 0x15ee78)" * (cast_expression "(code **)(puVar31 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee78)" ( (binary_expression "puVar31 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uStack_dc,2)" ( identifier , number_literal )))) ;) (expression_statement "iVar10 = *piVar7;" (assignment_expression "iVar10 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (if_statement "if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }" if (parenthesized_expression "((iVar10 < 100) && (lVar34 != lVar2))" ( (binary_expression "(iVar10 < 100) && (lVar34 != lVar2)" (parenthesized_expression "(iVar10 < 100)" ( (binary_expression "iVar10 < 100" identifier < number_literal) )) && (parenthesized_expression "(lVar34 != lVar2)" ( (binary_expression "lVar34 != lVar2" identifier != identifier) ))) )) (compound_statement "{\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }" { (expression_statement "uStack_b4 = 0;" (assignment_expression "uStack_b4 = 0" identifier = number_literal) ;) (expression_statement "uStack_b8 = 0;" (assignment_expression "uStack_b8 = 0" identifier = number_literal) ;) (expression_statement "uStack_ac = 0;" (assignment_expression "uStack_ac = 0" identifier = number_literal) ;) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" identifier = number_literal) ;) (expression_statement "dStack_c0 = (double)iVar10 / dVar33;" (assignment_expression "dStack_c0 = (double)iVar10 / dVar33" identifier = (binary_expression "(double)iVar10 / dVar33" (cast_expression "(double)iVar10" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (expression_statement "aiStack_c8[0] = iVar10;" (assignment_expression "aiStack_c8[0] = iVar10" (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , (binary_expression "iStack_f4 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar10 != 0) goto LAB_0003223c;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;)) (expression_statement "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2d44" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (if_statement "if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }" { (expression_statement "iStack_e0 = 7;" (assignment_expression "iStack_e0 = 7" identifier = number_literal) ;) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" identifier = identifier) ;) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;) })) (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[3],iVar11,0,0,0)" ( (subscript_expression "piVar7[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "sqlite3_free(iVar11);" (call_expression "sqlite3_free(iVar11)" identifier (argument_list "(iVar11)" ( identifier ))) ;) (expression_statement "iStack_e0 = iVar10;" (assignment_expression "iStack_e0 = iVar10" identifier = identifier) ;) (if_statement "if (iVar10 != 0) goto LAB_0003223c;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;)) })) (expression_statement "uVar4 = uStack_d4;" (assignment_expression "uVar4 = uStack_d4" identifier = identifier) ;) (expression_statement "uVar19 = uStack_d8;" (assignment_expression "uVar19 = uStack_d8" identifier = identifier) ;) (expression_statement "uStack_d0 = 0;" (assignment_expression "uStack_d0 = 0" identifier = number_literal) ;) (expression_statement "iStack_cc = 0;" (assignment_expression "iStack_cc = 0" identifier = number_literal) ;) (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef64)" * (pointer_expression "*(code **)(puVar31 + 0x15ef64)" * (cast_expression "(code **)(puVar31 + 0x15ef64)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef64)" ( (binary_expression "puVar31 + 0x15ef64" identifier + number_literal) ))))) )) (argument_list "(uStack_d8,1,uVar15,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (if_statement "if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }" { (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee2c);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee2c)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" * (cast_expression "(int *)(puVar31 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee2c)" ( (binary_expression "puVar31 + 0x15ee2c" identifier + number_literal) ))))) ;) (expression_statement "uVar27 = 0;" (assignment_expression "uVar27 = 0" identifier = number_literal) ;) (expression_statement "iVar32 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar32 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar30 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar30 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar26 = 0;" (assignment_expression "iVar26 = 0" identifier = number_literal) ;) (do_statement "do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);" do (compound_statement "{\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      }" { (expression_statement "iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);" (assignment_expression "iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(uVar19)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uVar19)" ( identifier )))) ;) (expression_statement "iVar10 = iVar26;" (assignment_expression "iVar10 = iVar26" identifier = identifier) ;) (if_statement "if (iVar18 != 100) break;" if (parenthesized_expression "(iVar18 != 100)" ( (binary_expression "iVar18 != 100" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);" (assignment_expression "uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee78))(uVar19,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee78)" * (pointer_expression "*(code **)(puVar31 + 0x15ee78)" * (cast_expression "(code **)(puVar31 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee78)" ( (binary_expression "puVar31 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uVar19,0)" ( identifier , number_literal )))) ;) (expression_statement "iVar18 = iVar9 + 0x30a8;" (assignment_expression "iVar18 = iVar9 + 0x30a8" identifier = (binary_expression "iVar9 + 0x30a8" identifier + number_literal)) ;) (if_statement "if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n                          iVar18 = iVar12 + 0x1114;\n                        }" { (expression_statement "iVar18 = iVar12 + 0x1114;" (assignment_expression "iVar18 = iVar12 + 0x1114" identifier = (binary_expression "iVar12 + 0x1114" identifier + number_literal)) ;) })) (expression_statement "uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);" (assignment_expression "uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee78))(uVar19,1)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee78)" * (pointer_expression "*(code **)(puVar31 + 0x15ee78)" * (cast_expression "(code **)(puVar31 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee78)" ( (binary_expression "puVar31 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(uVar19,1)" ( identifier , number_literal )))) ;) (expression_statement "iVar10 = iVar26 + 1;" (assignment_expression "iVar10 = iVar26 + 1" identifier = (binary_expression "iVar26 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);" (assignment_expression "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17)" identifier = (call_expression "(*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar32 + 0x2d90" identifier + number_literal) , identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);" (assignment_expression "uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10)" identifier = (call_expression "(*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar30 + 0x2db4" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "iVar26 = iVar10;" (assignment_expression "iVar26 = iVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }" else (compound_statement "{\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "uVar27 = 0;" (assignment_expression "uVar27 = 0" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }))) (expression_statement "(**(code **)(puVar31 + 0x15ef2c))(uVar19);" (call_expression "(**(code **)(puVar31 + 0x15ef2c))(uVar19)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef2c))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef2c)" * (pointer_expression "*(code **)(puVar31 + 0x15ef2c)" * (cast_expression "(code **)(puVar31 + 0x15ef2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef2c)" ( (binary_expression "puVar31 + 0x15ef2c" identifier + number_literal) ))))) )) (argument_list "(uVar19)" ( identifier ))) ;) (if_statement "if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }" { (if_statement "if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }" if (parenthesized_expression "(*piVar7 == 100)" ( (binary_expression "*piVar7 == 100" (pointer_expression "*piVar7" * identifier) == number_literal) )) (compound_statement "{\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }" { (expression_statement "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);" (assignment_expression "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2dbc" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , identifier , identifier )))) ;) }) (else_clause "else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }" else (compound_statement "{\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }" { (expression_statement "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);" (assignment_expression "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2ddc" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , identifier )))) ;) }))) }) (else_clause "else {\n                      uVar19 = 0;\n                    }" else (compound_statement "{\n                      uVar19 = 0;\n                    }" { (expression_statement "uVar19 = 0;" (assignment_expression "uVar19 = 0" identifier = number_literal) ;) }))) (expression_statement "sqlite3_free(iVar11);" (call_expression "sqlite3_free(iVar11)" identifier (argument_list "(iVar11)" ( identifier ))) ;) (expression_statement "sqlite3_free(uVar27);" (call_expression "sqlite3_free(uVar27)" identifier (argument_list "(uVar27)" ( identifier ))) ;) (if_statement "if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }" { (if_statement "if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }" if (parenthesized_expression "(*piVar7 == 100)" ( (binary_expression "*piVar7 == 100" (pointer_expression "*piVar7" * identifier) == number_literal) )) (compound_statement "{\n                        iVar11 = piVar7[1];\n                      }" { (expression_statement "iVar11 = piVar7[1];" (assignment_expression "iVar11 = piVar7[1]" identifier = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n                        iVar11 = piVar7[3];\n                      }" else (compound_statement "{\n                        iVar11 = piVar7[3];\n                      }" { (expression_statement "iVar11 = piVar7[3];" (assignment_expression "iVar11 = piVar7[3]" identifier = (subscript_expression "piVar7[3]" identifier [ number_literal ])) ;) }))) (expression_statement "iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);" (assignment_expression "iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19)" identifier = (call_expression "(*pcVar5)(iVar11,&uStack_d0,param_2,uVar19)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(iVar11,&uStack_d0,param_2,uVar19)" ( identifier , (pointer_expression "&uStack_d0" & identifier) , identifier , identifier )))) ;) })) (expression_statement "sqlite3_free(uVar19);" (call_expression "sqlite3_free(uVar19)" identifier (argument_list "(uVar19)" ( identifier ))) ;) (if_statement "if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }" { (expression_statement "piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);" (assignment_expression "piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4)" identifier = (cast_expression "(int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4)" (parenthesized_expression "(*(code *)(iVar29 + 0x368))" ( (pointer_expression "*(code *)(iVar29 + 0x368)" * (cast_expression "(code *)(iVar29 + 0x368)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar29 + 0x368)" ( (binary_expression "iVar29 + 0x368" identifier + number_literal) )))) )) (argument_list "(&iStack_cc,(iVar10 + 1) * 4)" ( (pointer_expression "&iStack_cc" & identifier) , (binary_expression "(iVar10 + 1) * 4" (parenthesized_expression "(iVar10 + 1)" ( (binary_expression "iVar10 + 1" identifier + number_literal) )) * number_literal) ))))) ;) (if_statement "if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;" if (parenthesized_expression "((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))" ( (binary_expression "(iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100)" (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100)" ( (comma_expression "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uStack_d0)" ( identifier )))) , (binary_expression "iVar11 != 100" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000327a8;" goto statement_identifier ;)) (expression_statement "piVar20 = piVar25;" (assignment_expression "piVar20 = piVar25" identifier = identifier) ;) (do_statement "do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);" do (compound_statement "{\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      }" { (expression_statement "*piVar20 = 1;" (assignment_expression "*piVar20 = 1" (pointer_expression "*piVar20" * identifier) = number_literal) ;) (expression_statement "piVar20 = piVar20 + 1;" (assignment_expression "piVar20 = piVar20 + 1" identifier = (binary_expression "piVar20 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar25 + iVar10 + 1 != piVar20)" ( (binary_expression "piVar25 + iVar10 + 1 != piVar20" (binary_expression "piVar25 + iVar10 + 1" (binary_expression "piVar25 + iVar10" identifier + identifier) + number_literal) != identifier) )) ;) (labeled_statement "LAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }" statement_identifier : (if_statement "if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }" { (expression_statement "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uStack_d0)" ( identifier )))) ;) (if_statement "if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" if (parenthesized_expression "(iVar11 != 100)" ( (binary_expression "iVar11 != 100" identifier != number_literal) )) (compound_statement "{\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" { (if_statement "if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }" if (parenthesized_expression "(iStack_cc == 0)" ( (binary_expression "iStack_cc == 0" identifier == number_literal) )) (compound_statement "{\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }" { (expression_statement "iVar26 = *piVar25;" (assignment_expression "iVar26 = *piVar25" identifier = (pointer_expression "*piVar25" * identifier)) ;) (expression_statement "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee34)" * (pointer_expression "*(code **)(puVar31 + 0x15ee34)" * (cast_expression "(code **)(puVar31 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee34)" ( (binary_expression "puVar31 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26)" ( (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2918" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (if_statement "if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }" { (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00032928;" goto statement_identifier ;) })) (if_statement "if (iStack_cc != 0) goto LAB_00032928;" if (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032928;" goto statement_identifier ;)) (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee2c);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee2c)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" * (cast_expression "(int *)(puVar31 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee2c)" ( (binary_expression "puVar31 + 0x15ee2c" identifier + number_literal) ))))) ;) (if_statement "if (iVar10 == 0) goto LAB_00032a64;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00032a64;" goto statement_identifier ;)) (expression_statement "piVar20 = piVar25;" (assignment_expression "piVar20 = piVar25" identifier = identifier) ;) (goto_statement "goto LAB_000329d0;" goto statement_identifier ;) })) (goto_statement "goto LAB_00032924;" goto statement_identifier ;) })) (expression_statement "*piVar25 = *piVar25 + 1;" (assignment_expression "*piVar25 = *piVar25 + 1" (pointer_expression "*piVar25" * identifier) = (binary_expression "*piVar25 + 1" (pointer_expression "*piVar25" * identifier) + number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (if_statement "if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }" { (do_statement "do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);" do (compound_statement "{\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          }" { (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef1c))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef1c)" * (pointer_expression "*(code **)(puVar31 + 0x15ef1c)" * (cast_expression "(code **)(puVar31 + 0x15ef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef1c)" ( (binary_expression "puVar31 + 0x15ef1c" identifier + number_literal) ))))) )) (argument_list "(uStack_d0,iVar11)" ( identifier , identifier )))) ;) (if_statement "if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }" if (parenthesized_expression "(iVar26 == 0)" ( (binary_expression "iVar26 == 0" identifier == number_literal) )) (compound_statement "{\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }" { (if_statement "if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }" if (parenthesized_expression "(iVar11 < iVar10)" ( (binary_expression "iVar11 < iVar10" identifier < identifier) )) (compound_statement "{\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }" { (expression_statement "piVar20 = piVar25 + iVar11;" (assignment_expression "piVar20 = piVar25 + iVar11" identifier = (binary_expression "piVar25 + iVar11" identifier + identifier)) ;) (do_statement "do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);" do (compound_statement "{\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                }" { (expression_statement "piVar1 = piVar20 + 1;" (assignment_expression "piVar1 = piVar20 + 1" identifier = (binary_expression "piVar20 + 1" identifier + number_literal)) ;) (expression_statement "piVar20 = piVar20 + 1;" (assignment_expression "piVar20 = piVar20 + 1" identifier = (binary_expression "piVar20 + 1" identifier + number_literal)) ;) (expression_statement "*piVar20 = *piVar1 + 1;" (assignment_expression "*piVar20 = *piVar1 + 1" (pointer_expression "*piVar20" * identifier) = (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) }) while (parenthesized_expression "(piVar25 + iVar10 != piVar20)" ( (binary_expression "piVar25 + iVar10 != piVar20" (binary_expression "piVar25 + iVar10" identifier + identifier) != identifier) )) ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != iVar11)" ( (binary_expression "iVar10 != iVar11" identifier != identifier) )) ;) })) (goto_statement "goto LAB_00032874;" goto statement_identifier ;) }))) (labeled_statement "LAB_00032924:\n                      iVar11 = 0;" statement_identifier : (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;)) (goto_statement "goto LAB_00032928;" goto statement_identifier ;) })) (expression_statement "piVar25 = (int *)0x0;" (assignment_expression "piVar25 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000327a8;" goto statement_identifier ;) })) })) })) }) (else_clause "else {\n              piStack_f0 = (int *)0x0;\n            }" else (compound_statement "{\n              piStack_f0 = (int *)0x0;\n            }" { (expression_statement "piStack_f0 = (int *)0x0;" (assignment_expression "piStack_f0 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "iStack_f4 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iStack_f4 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" identifier = identifier) ;) (labeled_statement "LAB_0003223c:\n            iStack_e0 = iVar10;" statement_identifier : (expression_statement "iStack_e0 = iVar10;" (assignment_expression "iStack_e0 = iVar10" identifier = identifier) ;)) (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" identifier = (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);" statement_identifier : (expression_statement "iVar9 = (*pcVar5)(uStack_dc);" (assignment_expression "iVar9 = (*pcVar5)(uStack_dc)" identifier = (call_expression "(*pcVar5)(uStack_dc)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(uStack_dc)" ( identifier )))) ;)) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n              iStack_e0 = iVar9;\n            }" { (expression_statement "iStack_e0 = iVar9;" (assignment_expression "iStack_e0 = iVar9" identifier = identifier) ;) })) (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(uStack_d8)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(uStack_d8)" ( identifier )))) ;) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n              iStack_e0 = iVar9;\n            }" { (expression_statement "iStack_e0 = iVar9;" (assignment_expression "iStack_e0 = iVar9" identifier = identifier) ;) })) (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(uStack_d4)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(uStack_d4)" ( identifier )))) ;) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n              iStack_e0 = iVar9;\n            }" { (expression_statement "iStack_e0 = iVar9;" (assignment_expression "iStack_e0 = iVar9" identifier = identifier) ;) })) (if_statement "if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }" if (parenthesized_expression "(0 < *piStack_f0)" ( (binary_expression "0 < *piStack_f0" number_literal < (pointer_expression "*piStack_f0" * identifier)) )) (compound_statement "{\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "piVar25 = piStack_f0;" (assignment_expression "piVar25 = piStack_f0" identifier = identifier) ;) (do_statement "do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);" do (compound_statement "{\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              }" { (expression_statement "piVar25 = piVar25 + 10;" (assignment_expression "piVar25 = piVar25 + 10" identifier = (binary_expression "piVar25 + 10" identifier + number_literal)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3_free(*piVar25);" (call_expression "sqlite3_free(*piVar25)" identifier (argument_list "(*piVar25)" ( (pointer_expression "*piVar25" * identifier) ))) ;) }) while (parenthesized_expression "(iVar9 < *piStack_f0)" ( (binary_expression "iVar9 < *piStack_f0" identifier < (pointer_expression "*piStack_f0" * identifier)) )) ;) })) (expression_statement "sqlite3_free(piStack_f0);" (call_expression "sqlite3_free(piStack_f0)" identifier (argument_list "(piStack_f0)" ( identifier ))) ;) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }" if (parenthesized_expression "(iStack_e0 == 0)" ( (binary_expression "iStack_e0 == 0" identifier == number_literal) )) (compound_statement "{\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }" { (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0)" ( (subscript_expression "piVar7[2]" identifier [ number_literal ]) , (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2e24" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , number_literal )))) ;) })) (expression_statement "(**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);" (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef18)" * (pointer_expression "*(code **)(puVar31 + 0x15ef18)" * (cast_expression "(code **)(puVar31 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef18)" ( (binary_expression "puVar31 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(piVar7[1],iStack_f4 + 0x2d04,0,0,0)" ( (subscript_expression "piVar7[1]" identifier [ number_literal ]) , (binary_expression "iStack_f4 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal ))) ;) (expression_statement "iVar26 = iStack_e0;" (assignment_expression "iVar26 = iStack_e0" identifier = identifier) ;) })) }) (else_clause "else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }" else (compound_statement "{\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }" { (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0])" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) )))) ;) }))) }) (else_clause "else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }" else (compound_statement "{\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }" { (expression_statement "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(aiStack_c8[0])" ( (subscript_expression "aiStack_c8[0]" identifier [ number_literal ]) ))) ;) }))) })) (labeled_statement "LAB_00031d34:\n    iVar29 = piVar7[0xb];" statement_identifier : (expression_statement "iVar29 = piVar7[0xb];" (assignment_expression "iVar29 = piVar7[0xb]" identifier = (subscript_expression "piVar7[0xb]" identifier [ number_literal ])) ;)) (expression_statement "iStack_e4 = iVar26;" (assignment_expression "iStack_e4 = iVar26" identifier = identifier) ;) (if_statement "if (iVar29 != 0) goto LAB_00031d40;" if (parenthesized_expression "(iVar29 != 0)" ( (binary_expression "iVar29 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d40;" goto statement_identifier ;)) }) (else_clause "else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }" else (compound_statement "{\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }" { (do_statement "do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);" do (compound_statement "{\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    }" { (while_statement "while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }" { (expression_statement "iVar29 = FUN_0002bdc0(piVar7,iVar9,0);" (assignment_expression "iVar29 = FUN_0002bdc0(piVar7,iVar9,0)" identifier = (call_expression "FUN_0002bdc0(piVar7,iVar9,0)" identifier (argument_list "(piVar7,iVar9,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar29 != 0) goto LAB_000320ec;" if (parenthesized_expression "(iVar29 != 0)" ( (binary_expression "iVar29 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000320ec;" goto statement_identifier ;)) (if_statement "if (*(int *)(iVar9 + 0x10) != 0) break;" if (parenthesized_expression "(*(int *)(iVar9 + 0x10) != 0)" ( (binary_expression "*(int *)(iVar9 + 0x10) != 0" (pointer_expression "*(int *)(iVar9 + 0x10)" * (cast_expression "(int *)(iVar9 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x10)" ( (binary_expression "iVar9 + 0x10" identifier + number_literal) )))) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar9 = *(int *)(iVar9 + 0x1c);" (assignment_expression "iVar9 = *(int *)(iVar9 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar9 + 0x1c)" * (cast_expression "(int *)(iVar9 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x1c)" ( (binary_expression "iVar9 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 0) goto LAB_0003210c;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003210c;" goto statement_identifier ;)) })) (expression_statement "iVar29 = FUN_0002bdc0(piVar7,iVar9);" (assignment_expression "iVar29 = FUN_0002bdc0(piVar7,iVar9)" identifier = (call_expression "FUN_0002bdc0(piVar7,iVar9)" identifier (argument_list "(piVar7,iVar9)" ( identifier , identifier )))) ;) (expression_statement "iVar9 = *(int *)(iVar9 + 0x1c);" (assignment_expression "iVar9 = *(int *)(iVar9 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar9 + 0x1c)" * (cast_expression "(int *)(iVar9 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x1c)" ( (binary_expression "iVar9 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }" { (expression_statement "iStack_e4 = iVar29;" (assignment_expression "iStack_e4 = iVar29" identifier = identifier) ;) (if_statement "if (iVar29 == 0) goto LAB_0003211c;" if (parenthesized_expression "(iVar29 == 0)" ( (binary_expression "iVar29 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003211c;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(iVar29 == 0)" ( (binary_expression "iVar29 == 0" identifier == number_literal) )) ;) (labeled_statement "LAB_000320ec:\n    iStack_e4 = iVar29;" statement_identifier : (expression_statement "iStack_e4 = iVar29;" (assignment_expression "iStack_e4 = iVar29" identifier = identifier) ;)) (expression_statement "iVar29 = piVar7[0xb];" (assignment_expression "iVar29 = piVar7[0xb]" identifier = (subscript_expression "piVar7[0xb]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = iStack_e4;" (assignment_expression "iVar9 = iStack_e4" identifier = identifier) ;) (if_statement "if (iVar29 == 0) goto LAB_00031db8;" if (parenthesized_expression "(iVar29 == 0)" ( (binary_expression "iVar29 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00031db8;" goto statement_identifier ;)) (labeled_statement "LAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);" statement_identifier : (expression_statement "iVar26 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar26 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;)) (expression_statement "iVar11 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar11 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar10 = *(int *)(puVar31 + 0x15ee28)" identifier = (pointer_expression "*(int *)(puVar31 + 0x15ee28)" * (cast_expression "(int *)(puVar31 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar31 + 0x15ee28)" ( (binary_expression "puVar31 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = piVar7[0x40b];" (assignment_expression "iVar9 = piVar7[0x40b]" identifier = (subscript_expression "piVar7[0x40b]" identifier [ number_literal ])) ;) (do_statement "do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);" do (compound_statement "{\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    }" { (expression_statement "iVar12 = iVar10 + 0x30a8;" (assignment_expression "iVar12 = iVar10 + 0x30a8" identifier = (binary_expression "iVar10 + 0x30a8" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }" if (parenthesized_expression "(*(int *)(iVar29 + 8) != 0)" ( (binary_expression "*(int *)(iVar29 + 8) != 0" (pointer_expression "*(int *)(iVar29 + 8)" * (cast_expression "(int *)(iVar29 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar29 + 8)" ( (binary_expression "iVar29 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        iVar12 = iVar11 + 0x2a20;\n      }" { (expression_statement "iVar12 = iVar11 + 0x2a20;" (assignment_expression "iVar12 = iVar11 + 0x2a20" identifier = (binary_expression "iVar11 + 0x2a20" identifier + number_literal)) ;) })) (expression_statement "iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));" (assignment_expression "iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8))" identifier = (call_expression "FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8))" identifier (argument_list "(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8))" ( (pointer_expression "&iStack_e4" & identifier) , identifier , (binary_expression "iVar26 + 0x2e3c" identifier + number_literal) , (pointer_expression "*(undefined4 *)(iVar29 + 4)" * (cast_expression "(undefined4 *)(iVar29 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar29 + 4)" ( (binary_expression "iVar29 + 4" identifier + number_literal) )))) , identifier , (pointer_expression "*(int *)(iVar29 + 8)" * (cast_expression "(int *)(iVar29 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar29 + 8)" ( (binary_expression "iVar29 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "piVar7[0x40b] = iVar9;" (assignment_expression "piVar7[0x40b] = iVar9" (subscript_expression "piVar7[0x40b]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar29 = *(int *)(iVar29 + 0x10);" (assignment_expression "iVar29 = *(int *)(iVar29 + 0x10)" identifier = (pointer_expression "*(int *)(iVar29 + 0x10)" * (cast_expression "(int *)(iVar29 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar29 + 0x10)" ( (binary_expression "iVar29 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar29 != 0)" ( (binary_expression "iVar29 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar9 = iStack_e4;" (assignment_expression "iVar9 = iStack_e4" identifier = identifier) ;) (if_statement "if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }" if (parenthesized_expression "((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0))" ( (binary_expression "(iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)" (parenthesized_expression "(iStack_e4 == 0)" ( (binary_expression "iStack_e4 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)" ( (comma_expression "iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0" (assignment_expression "iVar9 = idxFindIndexes(piVar7,param_2)" identifier = (call_expression "idxFindIndexes(piVar7,param_2)" identifier (argument_list "(piVar7,param_2)" ( identifier , identifier )))) , (binary_expression "iVar9 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    piVar7[8] = 1;\n  }" { (expression_statement "piVar7[8] = 1;" (assignment_expression "piVar7[8] = 1" (subscript_expression "piVar7[8]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }" statement_identifier : (if_statement "if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }" if (parenthesized_expression "(iStack_a4 == *piVar8)" ( (binary_expression "iStack_a4 == *piVar8" identifier == (pointer_expression "*piVar8" * identifier)) )) (compound_statement "{\n    return iVar9;\n  }" { (return_statement "return iVar9;" return identifier ;) }))) (expression_statement "(**(code **)(puVar31 + 0x15f2c8))();" (call_expression "(**(code **)(puVar31 + 0x15f2c8))()" (parenthesized_expression "(**(code **)(puVar31 + 0x15f2c8))" ( (pointer_expression "**(code **)(puVar31 + 0x15f2c8)" * (pointer_expression "*(code **)(puVar31 + 0x15f2c8)" * (cast_expression "(code **)(puVar31 + 0x15f2c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15f2c8)" ( (binary_expression "puVar31 + 0x15f2c8" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }" if (parenthesized_expression "(*(int **)(iStack_a4 + 0x1c) != (int *)0x0)" ( (binary_expression "*(int **)(iStack_a4 + 0x1c) != (int *)0x0" (pointer_expression "*(int **)(iStack_a4 + 0x1c)" * (cast_expression "(int **)(iStack_a4 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iStack_a4 + 0x1c)" ( (binary_expression "iStack_a4 + 0x1c" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }" { (return_statement "return **(int **)(iStack_a4 + 0x1c) + 1;" return (binary_expression "**(int **)(iStack_a4 + 0x1c) + 1" (pointer_expression "**(int **)(iStack_a4 + 0x1c)" * (pointer_expression "*(int **)(iStack_a4 + 0x1c)" * (cast_expression "(int **)(iStack_a4 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iStack_a4 + 0x1c)" ( (binary_expression "iStack_a4 + 0x1c" identifier + number_literal) ))))) + number_literal) ;) })) (return_statement "return 0;" return number_literal ;) (while_statement "while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }" while (parenthesized_expression "(piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20)" ( (comma_expression "piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20" (assignment_expression "piVar20 = piVar20 + 1" identifier = (binary_expression "piVar20 + 1" identifier + number_literal)) , (binary_expression "piVar25 + iVar10 != piVar20" (binary_expression "piVar25 + iVar10" identifier + identifier) != identifier)) )) (compound_statement "{\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }" { (labeled_statement "LAB_000329d0:\n    iVar30 = piVar20[1];" statement_identifier : (expression_statement "iVar30 = piVar20[1];" (assignment_expression "iVar30 = piVar20[1]" identifier = (subscript_expression "piVar20[1]" identifier [ number_literal ])) ;)) (if_statement "if (iVar30 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar30 == 0)" ( (binary_expression "iVar30 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);" (assignment_expression "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30)" identifier = (call_expression "(*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30)" ( (pointer_expression "&iStack_cc" & identifier) , identifier , (binary_expression "iVar12 + -0x556c" identifier + number_literal) , (binary_expression "(iVar30 / 2 + iVar26) / iVar30" (parenthesized_expression "(iVar30 / 2 + iVar26)" ( (binary_expression "iVar30 / 2 + iVar26" (binary_expression "iVar30 / 2" identifier / number_literal) + identifier) )) / identifier) )))) ;) (if_statement "if (iStack_cc != 0) goto LAB_00032928;" if (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032928;" goto statement_identifier ;)) })) (labeled_statement "LAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);" statement_identifier : (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef64)" * (pointer_expression "*(code **)(puVar31 + 0x15ef64)" * (cast_expression "(code **)(puVar31 + 0x15ef64)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef64)" ( (binary_expression "puVar31 + 0x15ef64" identifier + number_literal) ))))) )) (argument_list "(uVar4,1,uVar14,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;)) (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef64)" * (pointer_expression "*(code **)(puVar31 + 0x15ef64)" * (cast_expression "(code **)(puVar31 + 0x15ef64)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef64)" ( (binary_expression "puVar31 + 0x15ef64" identifier + number_literal) ))))) )) (argument_list "(uVar4,2,uVar15,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef64)" * (pointer_expression "*(code **)(puVar31 + 0x15ef64)" * (cast_expression "(code **)(puVar31 + 0x15ef64)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef64)" ( (binary_expression "puVar31 + 0x15ef64" identifier + number_literal) ))))) )) (argument_list "(uVar4,3,iVar11,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "(**(code **)(puVar31 + 0x15ee60))(uVar4);" (call_expression "(**(code **)(puVar31 + 0x15ee60))(uVar4)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee60)" * (pointer_expression "*(code **)(puVar31 + 0x15ee60)" * (cast_expression "(code **)(puVar31 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee60)" ( (binary_expression "puVar31 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ef2c))(uVar4)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef2c))" ( (pointer_expression "**(code **)(puVar31 + 0x15ef2c)" * (pointer_expression "*(code **)(puVar31 + 0x15ef2c)" * (cast_expression "(code **)(puVar31 + 0x15ef2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ef2c)" ( (binary_expression "puVar31 + 0x15ef2c" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier )))) ;) (labeled_statement "LAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);" statement_identifier : (expression_statement "uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);" (assignment_expression "uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15)" identifier = (call_expression "(**(code **)(puVar31 + 0x15f250))(uVar15)" (parenthesized_expression "(**(code **)(puVar31 + 0x15f250))" ( (pointer_expression "**(code **)(puVar31 + 0x15f250)" * (pointer_expression "*(code **)(puVar31 + 0x15f250)" * (cast_expression "(code **)(puVar31 + 0x15f250)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15f250)" ( (binary_expression "puVar31 + 0x15f250" identifier + number_literal) ))))) )) (argument_list "(uVar15)" ( identifier )))) ;)) (expression_statement "iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);" (assignment_expression "iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14)" identifier = (call_expression "FUN_00021854(piVar7 + 0xb,uVar15,uVar14)" identifier (argument_list "(piVar7 + 0xb,uVar15,uVar14)" ( (binary_expression "piVar7 + 0xb" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    sqlite3_free(iVar11);\n  }" { (expression_statement "sqlite3_free(iVar11);" (call_expression "sqlite3_free(iVar11)" identifier (argument_list "(iVar11)" ( identifier ))) ;) }) (else_clause "else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }" else (compound_statement "{\n    *(int *)(iVar10 + 8) = iVar11;\n  }" { (expression_statement "*(int *)(iVar10 + 8) = iVar11;" (assignment_expression "*(int *)(iVar10 + 8) = iVar11" (pointer_expression "*(int *)(iVar10 + 8)" * (cast_expression "(int *)(iVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) )))) = identifier) ;) }))) (labeled_statement "LAB_000327a8:\n  sqlite3_free(piVar25);" statement_identifier : (expression_statement "sqlite3_free(piVar25);" (call_expression "sqlite3_free(piVar25)" identifier (argument_list "(piVar25)" ( identifier ))) ;)) (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0)" identifier = (call_expression "(**(code **)(puVar31 + 0x15ee40))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" ( (pointer_expression "**(code **)(puVar31 + 0x15ee40)" * (pointer_expression "*(code **)(puVar31 + 0x15ee40)" * (cast_expression "(code **)(puVar31 + 0x15ee40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar31 + 0x15ee40)" ( (binary_expression "puVar31 + 0x15ee40" identifier + number_literal) ))))) )) (argument_list "(uStack_d0)" ( identifier )))) ;) (if_statement "if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }" if (parenthesized_expression "(iStack_cc != 0)" ( (binary_expression "iStack_cc != 0" identifier != number_literal) )) (compound_statement "{\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }" { (expression_statement "iStack_e0 = iStack_cc;" (assignment_expression "iStack_e0 = iStack_cc" identifier = identifier) ;) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" identifier = identifier) ;) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;) })) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" identifier = identifier) ;) (expression_statement "lVar2 = lVar34;" (assignment_expression "lVar2 = lVar34" identifier = identifier) ;) (if_statement "if (iStack_e0 != 0) goto LAB_0003223c;" if (parenthesized_expression "(iStack_e0 != 0)" ( (binary_expression "iStack_e0 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003223c;" goto statement_identifier ;)) (goto_statement "goto LAB_0003249c;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (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 * (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 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 * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 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 * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 * (abstract_pointer_declarator *)))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) 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) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence '))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) 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) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (break_statement break ;) }))) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) (break_statement break ;)) }) while (parenthesized_expression ( BOOL )) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_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 IDENT + LIT) )))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , LIT , LIT , IDENT )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (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) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_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) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (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 ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , LIT , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + LIT) , IDENT , (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , LIT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression IDENT + LIT) )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + LIT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (goto_statement goto statement_identifier ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + LIT)) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT , 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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression IDENT = (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 , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression & IDENT) , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) , (binary_expression (binary_expression IDENT == LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression & IDENT) , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) , (binary_expression IDENT == LIT)) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) , LIT , LIT , LIT )))) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , LIT , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 , LIT , IDENT , LIT , 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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (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 { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT )))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT , IDENT )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( 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 *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (pointer_expression & IDENT) , (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + IDENT) + LIT) != IDENT) )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (goto_statement goto statement_identifier ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) })) })) }) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (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) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT , LIT )))) ;) })) (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 ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) , LIT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) }))) }) (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 ( (subscript_expression IDENT [ LIT ]) ))) ;) }))) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (break_statement break ;) })) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return 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 ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ;) })) (return_statement return LIT ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (binary_expression IDENT + IDENT) != IDENT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + LIT) , (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT / LIT) + IDENT) )) / IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) })) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , IDENT , LIT , LIT ))) ;)) (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 , LIT , IDENT , LIT , LIT ))) ;) (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 , LIT , IDENT , LIT , LIT ))) ;) (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 = (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 )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })))
(function_definition "int sqlite3_expert_sql(int param_1,char *param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  code *pcVar5;\n  code *pcVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  int iVar18;\n  undefined4 uVar19;\n  int *piVar20;\n  char **ppcVar21;\n  char *pcVar22;\n  int unaff_s0;\n  undefined4 *puVar23;\n  undefined4 *puVar24;\n  char **unaff_s1;\n  char *unaff_s2;\n  int *piVar25;\n  undefined *unaff_s3;\n  undefined4 unaff_s5;\n  int iVar26;\n  undefined4 uVar27;\n  undefined4 *puVar28;\n  int *unaff_s7;\n  int iVar29;\n  int iVar30;\n  undefined *puVar31;\n  int *unaff_s8;\n  int iVar32;\n  double dVar33;\n  longlong lVar34;\n  int iStack_f4;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  int aiStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  int iStack_a0;\n  char **ppcStack_9c;\n  char *pcStack_98;\n  undefined *puStack_94;\n  int iStack_90;\n  undefined4 uStack_8c;\n  undefined *puStack_88;\n  int *piStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  char **local_60;\n  int local_38;\n  char *local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  ppcVar21 = *(char ***)(param_1 + 0x14);\n  local_38 = 0;\n  local_2c = *(int **)PTR___stack_chk_guard_00190e24;\n  pcVar22 = *(char **)(param_1 + 0x1c);\n  local_34 = param_2;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }\n  if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }\n  pcVar5 = sqlite3_expert_analyze;\n  piVar7 = local_2c;\n  puVar31 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar8 = *(int **)(puVar31 + 0x15f2f4);\n  puStack_88 = puVar3;\n  iStack_a4 = *piVar8;\n  iVar29 = *(int *)(puVar31 + 0x15ee2c);\n  iStack_a0 = unaff_s0;\n  ppcStack_9c = unaff_s1;\n  pcStack_98 = unaff_s2;\n  puStack_94 = unaff_s3;\n  iStack_90 = iVar9;\n  uStack_8c = unaff_s5;\n  piStack_84 = unaff_s7;\n  piStack_80 = unaff_s8;\n  pcStack_7c = pcVar5;\n  if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }\n  iVar9 = piVar7[5];\n  iStack_e4 = 0;\n  if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }\n  iVar9 = iStack_e4;\n  if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }\nLAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }\n  (**(code **)(puVar31 + 0x15f2c8))();\n  if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ee60))(uVar4);\n  iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);\nLAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);\n  iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);\n  if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar25);\n  iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);\n  if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }\n  iVar10 = iStack_e0;\n  lVar2 = lVar34;\n  if (iStack_e0 != 0) goto LAB_0003223c;\n  goto LAB_0003249c;\n}" (primitive_type "int") (function_declarator "sqlite3_expert_sql(int param_1,char *param_2,undefined4 param_3)" (identifier "sqlite3_expert_sql") (parameter_list "(int param_1,char *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  code *pcVar5;\n  code *pcVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  int iVar18;\n  undefined4 uVar19;\n  int *piVar20;\n  char **ppcVar21;\n  char *pcVar22;\n  int unaff_s0;\n  undefined4 *puVar23;\n  undefined4 *puVar24;\n  char **unaff_s1;\n  char *unaff_s2;\n  int *piVar25;\n  undefined *unaff_s3;\n  undefined4 unaff_s5;\n  int iVar26;\n  undefined4 uVar27;\n  undefined4 *puVar28;\n  int *unaff_s7;\n  int iVar29;\n  int iVar30;\n  undefined *puVar31;\n  int *unaff_s8;\n  int iVar32;\n  double dVar33;\n  longlong lVar34;\n  int iStack_f4;\n  int *piStack_f0;\n  int iStack_e4;\n  int iStack_e0;\n  undefined4 uStack_dc;\n  undefined4 uStack_d8;\n  undefined4 uStack_d4;\n  undefined4 uStack_d0;\n  int iStack_cc;\n  int aiStack_c8 [2];\n  double dStack_c0;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  undefined4 uStack_b0;\n  undefined4 uStack_ac;\n  int iStack_a4;\n  int iStack_a0;\n  char **ppcStack_9c;\n  char *pcStack_98;\n  undefined *puStack_94;\n  int iStack_90;\n  undefined4 uStack_8c;\n  undefined *puStack_88;\n  int *piStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  char **local_60;\n  int local_38;\n  char *local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  ppcVar21 = *(char ***)(param_1 + 0x14);\n  local_38 = 0;\n  local_2c = *(int **)PTR___stack_chk_guard_00190e24;\n  pcVar22 = *(char **)(param_1 + 0x1c);\n  local_34 = param_2;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }\n  if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }\n  pcVar5 = sqlite3_expert_analyze;\n  piVar7 = local_2c;\n  puVar31 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  piVar8 = *(int **)(puVar31 + 0x15f2f4);\n  puStack_88 = puVar3;\n  iStack_a4 = *piVar8;\n  iVar29 = *(int *)(puVar31 + 0x15ee2c);\n  iStack_a0 = unaff_s0;\n  ppcStack_9c = unaff_s1;\n  pcStack_98 = unaff_s2;\n  puStack_94 = unaff_s3;\n  iStack_90 = iVar9;\n  uStack_8c = unaff_s5;\n  piStack_84 = unaff_s7;\n  piStack_80 = unaff_s8;\n  pcStack_7c = pcVar5;\n  if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }\n  iVar9 = piVar7[5];\n  iStack_e4 = 0;\n  if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }\n  iVar9 = iStack_e4;\n  if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }\nLAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }\n  (**(code **)(puVar31 + 0x15f2c8))();\n  if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);\n  (**(code **)(puVar31 + 0x15ee60))(uVar4);\n  iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);\nLAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);\n  iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);\n  if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar25);\n  iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);\n  if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }\n  iVar10 = iStack_e0;\n  lVar2 = lVar34;\n  if (iStack_e0 != 0) goto LAB_0003223c;\n  goto LAB_0003249c;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "longlong lVar2;" (type_identifier "longlong") (identifier "lVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "code *pcVar5;" (type_identifier "code") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "undefined4 *puVar13;" (type_identifier "undefined4") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "undefined4 uVar14;" (type_identifier "undefined4") (identifier "uVar14") (; ";")) (declaration "undefined4 uVar15;" (type_identifier "undefined4") (identifier "uVar15") (; ";")) (declaration "undefined4 uVar16;" (type_identifier "undefined4") (identifier "uVar16") (; ";")) (declaration "undefined4 uVar17;" (type_identifier "undefined4") (identifier "uVar17") (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "undefined4 uVar19;" (type_identifier "undefined4") (identifier "uVar19") (; ";")) (declaration "int *piVar20;" (primitive_type "int") (pointer_declarator "*piVar20" (* "*") (identifier "piVar20")) (; ";")) (declaration "char **ppcVar21;" (primitive_type "char") (pointer_declarator "**ppcVar21" (* "*") (pointer_declarator "*ppcVar21" (* "*") (identifier "ppcVar21"))) (; ";")) (declaration "char *pcVar22;" (primitive_type "char") (pointer_declarator "*pcVar22" (* "*") (identifier "pcVar22")) (; ";")) (declaration "int unaff_s0;" (primitive_type "int") (identifier "unaff_s0") (; ";")) (declaration "undefined4 *puVar23;" (type_identifier "undefined4") (pointer_declarator "*puVar23" (* "*") (identifier "puVar23")) (; ";")) (declaration "undefined4 *puVar24;" (type_identifier "undefined4") (pointer_declarator "*puVar24" (* "*") (identifier "puVar24")) (; ";")) (declaration "char **unaff_s1;" (primitive_type "char") (pointer_declarator "**unaff_s1" (* "*") (pointer_declarator "*unaff_s1" (* "*") (identifier "unaff_s1"))) (; ";")) (declaration "char *unaff_s2;" (primitive_type "char") (pointer_declarator "*unaff_s2" (* "*") (identifier "unaff_s2")) (; ";")) (declaration "int *piVar25;" (primitive_type "int") (pointer_declarator "*piVar25" (* "*") (identifier "piVar25")) (; ";")) (declaration "undefined *unaff_s3;" (type_identifier "undefined") (pointer_declarator "*unaff_s3" (* "*") (identifier "unaff_s3")) (; ";")) (declaration "undefined4 unaff_s5;" (type_identifier "undefined4") (identifier "unaff_s5") (; ";")) (declaration "int iVar26;" (primitive_type "int") (identifier "iVar26") (; ";")) (declaration "undefined4 uVar27;" (type_identifier "undefined4") (identifier "uVar27") (; ";")) (declaration "undefined4 *puVar28;" (type_identifier "undefined4") (pointer_declarator "*puVar28" (* "*") (identifier "puVar28")) (; ";")) (declaration "int *unaff_s7;" (primitive_type "int") (pointer_declarator "*unaff_s7" (* "*") (identifier "unaff_s7")) (; ";")) (declaration "int iVar29;" (primitive_type "int") (identifier "iVar29") (; ";")) (declaration "int iVar30;" (primitive_type "int") (identifier "iVar30") (; ";")) (declaration "undefined *puVar31;" (type_identifier "undefined") (pointer_declarator "*puVar31" (* "*") (identifier "puVar31")) (; ";")) (declaration "int *unaff_s8;" (primitive_type "int") (pointer_declarator "*unaff_s8" (* "*") (identifier "unaff_s8")) (; ";")) (declaration "int iVar32;" (primitive_type "int") (identifier "iVar32") (; ";")) (declaration "double dVar33;" (primitive_type "double") (identifier "dVar33") (; ";")) (declaration "longlong lVar34;" (type_identifier "longlong") (identifier "lVar34") (; ";")) (declaration "int iStack_f4;" (primitive_type "int") (identifier "iStack_f4") (; ";")) (declaration "int *piStack_f0;" (primitive_type "int") (pointer_declarator "*piStack_f0" (* "*") (identifier "piStack_f0")) (; ";")) (declaration "int iStack_e4;" (primitive_type "int") (identifier "iStack_e4") (; ";")) (declaration "int iStack_e0;" (primitive_type "int") (identifier "iStack_e0") (; ";")) (declaration "undefined4 uStack_dc;" (type_identifier "undefined4") (identifier "uStack_dc") (; ";")) (declaration "undefined4 uStack_d8;" (type_identifier "undefined4") (identifier "uStack_d8") (; ";")) (declaration "undefined4 uStack_d4;" (type_identifier "undefined4") (identifier "uStack_d4") (; ";")) (declaration "undefined4 uStack_d0;" (type_identifier "undefined4") (identifier "uStack_d0") (; ";")) (declaration "int iStack_cc;" (primitive_type "int") (identifier "iStack_cc") (; ";")) (declaration "int aiStack_c8 [2];" (primitive_type "int") (array_declarator "aiStack_c8 [2]" (identifier "aiStack_c8") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "double dStack_c0;" (primitive_type "double") (identifier "dStack_c0") (; ";")) (declaration "undefined4 uStack_b8;" (type_identifier "undefined4") (identifier "uStack_b8") (; ";")) (declaration "undefined4 uStack_b4;" (type_identifier "undefined4") (identifier "uStack_b4") (; ";")) (declaration "undefined4 uStack_b0;" (type_identifier "undefined4") (identifier "uStack_b0") (; ";")) (declaration "undefined4 uStack_ac;" (type_identifier "undefined4") (identifier "uStack_ac") (; ";")) (declaration "int iStack_a4;" (primitive_type "int") (identifier "iStack_a4") (; ";")) (declaration "int iStack_a0;" (primitive_type "int") (identifier "iStack_a0") (; ";")) (declaration "char **ppcStack_9c;" (primitive_type "char") (pointer_declarator "**ppcStack_9c" (* "*") (pointer_declarator "*ppcStack_9c" (* "*") (identifier "ppcStack_9c"))) (; ";")) (declaration "char *pcStack_98;" (primitive_type "char") (pointer_declarator "*pcStack_98" (* "*") (identifier "pcStack_98")) (; ";")) (declaration "undefined *puStack_94;" (type_identifier "undefined") (pointer_declarator "*puStack_94" (* "*") (identifier "puStack_94")) (; ";")) (declaration "int iStack_90;" (primitive_type "int") (identifier "iStack_90") (; ";")) (declaration "undefined4 uStack_8c;" (type_identifier "undefined4") (identifier "uStack_8c") (; ";")) (declaration "undefined *puStack_88;" (type_identifier "undefined") (pointer_declarator "*puStack_88" (* "*") (identifier "puStack_88")) (; ";")) (declaration "int *piStack_84;" (primitive_type "int") (pointer_declarator "*piStack_84" (* "*") (identifier "piStack_84")) (; ";")) (declaration "int *piStack_80;" (primitive_type "int") (pointer_declarator "*piStack_80" (* "*") (identifier "piStack_80")) (; ";")) (declaration "code *pcStack_7c;" (type_identifier "code") (pointer_declarator "*pcStack_7c" (* "*") (identifier "pcStack_7c")) (; ";")) (declaration "char **local_60;" (primitive_type "char") (pointer_declarator "**local_60" (* "*") (pointer_declarator "*local_60" (* "*") (identifier "local_60"))) (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "char *local_34;" (primitive_type "char") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int *local_2c;" (primitive_type "int") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00190e24" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_00190e24")) (; ";")) (expression_statement "ppcVar21 = *(char ***)(param_1 + 0x14);" (assignment_expression "ppcVar21 = *(char ***)(param_1 + 0x14)" (identifier "ppcVar21") (= "=") (pointer_expression "*(char ***)(param_1 + 0x14)" (* "*") (cast_expression "(char ***)(param_1 + 0x14)" (( "(") (type_descriptor "char ***" (primitive_type "char") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" (identifier "local_38") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_00190e24" (identifier "local_2c") (= "=") (pointer_expression "*(int **)PTR___stack_chk_guard_00190e24" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_00190e24" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_00190e24")))) (; ";")) (expression_statement "pcVar22 = *(char **)(param_1 + 0x1c);" (assignment_expression "pcVar22 = *(char **)(param_1 + 0x1c)" (identifier "pcVar22") (= "=") (pointer_expression "*(char **)(param_1 + 0x1c)" (* "*") (cast_expression "(char **)(param_1 + 0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "local_34 = param_2;" (assignment_expression "local_34 = param_2" (identifier "local_34") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x20) == 0) {\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }\n  else {\n    iVar9 = 0x15;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar9 = 0;\n    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }\n  }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }" (if "if") (parenthesized_expression "((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0'))" (( "(") (binary_expression "(param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')" (parenthesized_expression "(param_2 != (char *)0x0)" (( "(") (binary_expression "param_2 != (char *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(unaff_s0 = param_1, *param_2 != '\0')" (( "(") (comma_expression "unaff_s0 = param_1, *param_2 != '\0'" (assignment_expression "unaff_s0 = param_1" (identifier "unaff_s0") (= "=") (identifier "param_1")) (, ",") (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (compound_statement "{\n      unaff_s8 = &local_30;\n      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);\n      unaff_s1 = &local_34;\n      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);\n      unaff_s7 = &local_38;\n      unaff_s2 = PTR_LAB_00190954;\n      unaff_s3 = PTR_LAB_00190954;\n      do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );\n    }" ({ "{") (expression_statement "unaff_s8 = &local_30;" (assignment_expression "unaff_s8 = &local_30" (identifier "unaff_s8") (= "=") (pointer_expression "&local_30" (& "&") (identifier "local_30"))) (; ";")) (expression_statement "pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8)" (identifier "pcVar5") (= "=") (cast_expression "(code *)(PTR_LAB_00190954 + -0x21e8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190954 + -0x21e8)" (( "(") (binary_expression "PTR_LAB_00190954 + -0x21e8" (identifier "PTR_LAB_00190954") (+ "+") (number_literal "-0x21e8")) () ")")))) (; ";")) (expression_statement "unaff_s1 = &local_34;" (assignment_expression "unaff_s1 = &local_34" (identifier "unaff_s1") (= "=") (pointer_expression "&local_34" (& "&") (identifier "local_34"))) (; ";")) (expression_statement "pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_00190954 + 0x368)" (identifier "pcVar6") (= "=") (cast_expression "(code *)(PTR_LAB_00190954 + 0x368)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190954 + 0x368)" (( "(") (binary_expression "PTR_LAB_00190954 + 0x368" (identifier "PTR_LAB_00190954") (+ "+") (number_literal "0x368")) () ")")))) (; ";")) (expression_statement "unaff_s7 = &local_38;" (assignment_expression "unaff_s7 = &local_38" (identifier "unaff_s7") (= "=") (pointer_expression "&local_38" (& "&") (identifier "local_38"))) (; ";")) (expression_statement "unaff_s2 = PTR_LAB_00190954;" (assignment_expression "unaff_s2 = PTR_LAB_00190954" (identifier "unaff_s2") (= "=") (identifier "PTR_LAB_00190954")) (; ";")) (expression_statement "unaff_s3 = PTR_LAB_00190954;" (assignment_expression "unaff_s3 = PTR_LAB_00190954" (identifier "unaff_s3") (= "=") (identifier "PTR_LAB_00190954")) (; ";")) (do_statement "do {\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      } while( true );" (do "do") (compound_statement "{\n        local_30 = 0;\n        local_60 = unaff_s1;\n        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);\n        unaff_s5 = param_3;\n        if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }\n        param_2 = local_34;\n        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;\n      }" ({ "{") (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_60 = unaff_s1;" (assignment_expression "local_60 = unaff_s1" (identifier "local_60") (= "=") (identifier "unaff_s1")) (; ";")) (expression_statement "local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);" (assignment_expression "local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8)" (identifier "local_38") (= "=") (call_expression "(*(code *)PTR_sqlite3_prepare_v2_00190968)\n                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8)" (parenthesized_expression "(*(code *)PTR_sqlite3_prepare_v2_00190968)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_prepare_v2_00190968" (* "*") (cast_expression "(code *)PTR_sqlite3_prepare_v2_00190968" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_prepare_v2_00190968"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "local_34") (, ",") (number_literal "0xffffffff") (, ",") (identifier "unaff_s8") () ")")))) (; ";")) (expression_statement "unaff_s5 = param_3;" (assignment_expression "unaff_s5 = param_3" (identifier "unaff_s5") (= "=") (identifier "param_3")) (; ";")) (if_statement "if (local_38 == 0) {\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }\n        else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }" (if "if") (parenthesized_expression "(local_38 == 0)" (( "(") (binary_expression "local_38 == 0" (identifier "local_38") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }\n        }" ({ "{") (if_statement "if (local_30 != 0) {\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }" (if "if") (parenthesized_expression "(local_30 != 0)" (( "(") (binary_expression "local_30 != 0" (identifier "local_30") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            unaff_s3 = (undefined *)sqlite3_sql();\n            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);\n            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);\n            puVar31 = PTR_memcpy_00190e2c;\n            if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }\n            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);\n            goto joined_r0x000319f0;\n          }" ({ "{") (expression_statement "unaff_s3 = (undefined *)sqlite3_sql();" (assignment_expression "unaff_s3 = (undefined *)sqlite3_sql()" (identifier "unaff_s3") (= "=") (cast_expression "(undefined *)sqlite3_sql()" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "sqlite3_sql()" (identifier "sqlite3_sql") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);" (assignment_expression "unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3)" (identifier "unaff_s2") (= "=") (cast_expression "(char *)(*(code *)PTR_strlen_00190d80)(unaff_s3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strlen_00190d80)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_strlen_00190d80)" (( "(") (pointer_expression "*(code *)PTR_strlen_00190d80" (* "*") (cast_expression "(code *)PTR_strlen_00190d80" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00190d80"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))))) (; ";")) (expression_statement "piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);" (assignment_expression "piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15)" (identifier "piVar7") (= "=") (cast_expression "(int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*pcVar6)(unaff_s7,unaff_s2 + 0x15)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(unaff_s7,unaff_s2 + 0x15)" (( "(") (identifier "unaff_s7") (, ",") (binary_expression "unaff_s2 + 0x15" (identifier "unaff_s2") (+ "+") (number_literal "0x15")) () ")"))))) (; ";")) (expression_statement "puVar31 = PTR_memcpy_00190e2c;" (assignment_expression "puVar31 = PTR_memcpy_00190e2c" (identifier "puVar31") (= "=") (identifier "PTR_memcpy_00190e2c")) (; ";")) (if_statement "if (local_38 == 0) {\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }" (if "if") (parenthesized_expression "(local_38 == 0)" (( "(") (binary_expression "local_38 == 0" (identifier "local_38") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              piVar7[1] = (int)(piVar7 + 5);\n              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);\n              piVar8 = *(int **)(param_1 + 0x1c);\n              piVar7[4] = (int)piVar8;\n              if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }\n              *(int **)(param_1 + 0x1c) = piVar7;\n            }" ({ "{") (expression_statement "piVar7[1] = (int)(piVar7 + 5);" (assignment_expression "piVar7[1] = (int)(piVar7 + 5)" (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)(piVar7 + 5)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar7 + 5)" (( "(") (binary_expression "piVar7 + 5" (identifier "piVar7") (+ "+") (number_literal "5")) () ")")))) (; ";")) (expression_statement "(*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);" (call_expression "(*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1)" (parenthesized_expression "(*(code *)puVar31)" (( "(") (pointer_expression "*(code *)puVar31" (* "*") (cast_expression "(code *)puVar31" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar31"))) () ")")) (argument_list "(piVar7 + 5,unaff_s3,unaff_s2 + 1)" (( "(") (binary_expression "piVar7 + 5" (identifier "piVar7") (+ "+") (number_literal "5")) (, ",") (identifier "unaff_s3") (, ",") (binary_expression "unaff_s2 + 1" (identifier "unaff_s2") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "piVar8 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar8 = *(int **)(param_1 + 0x1c)" (identifier "piVar8") (= "=") (pointer_expression "*(int **)(param_1 + 0x1c)" (* "*") (cast_expression "(int **)(param_1 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "piVar7[4] = (int)piVar8;" (assignment_expression "piVar7[4] = (int)piVar8" (subscript_expression "piVar7[4]" (identifier "piVar7") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8"))) (; ";")) (if_statement "if (piVar8 != (int *)0x0) {\n                *piVar7 = *piVar8 + 1;\n              }" (if "if") (parenthesized_expression "(piVar8 != (int *)0x0)" (( "(") (binary_expression "piVar8 != (int *)0x0" (identifier "piVar8") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                *piVar7 = *piVar8 + 1;\n              }" ({ "{") (expression_statement "*piVar7 = *piVar8 + 1;" (assignment_expression "*piVar7 = *piVar8 + 1" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (binary_expression "*piVar8 + 1" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*(int **)(param_1 + 0x1c) = piVar7;" (assignment_expression "*(int **)(param_1 + 0x1c) = piVar7" (pointer_expression "*(int **)(param_1 + 0x1c)" (* "*") (cast_expression "(int **)(param_1 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "piVar7")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_sqlite3_finalize_00190970)(local_30);" (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_30)" (parenthesized_expression "(*(code *)PTR_sqlite3_finalize_00190970)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_finalize_00190970" (* "*") (cast_expression "(code *)PTR_sqlite3_finalize_00190970" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_finalize_00190970"))) () ")")) (argument_list "(local_30)" (( "(") (identifier "local_30") () ")"))) (; ";")) (goto_statement "goto joined_r0x000319f0;" (goto "goto") (statement_identifier "joined_r0x000319f0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }" (else "else") (compound_statement "{\n          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);\njoined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }\n        }" ({ "{") (expression_statement "(*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);" (call_expression "(*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0xc),param_3)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "param_3") () ")"))) (; ";")) (labeled_statement "joined_r0x000319f0:\n          if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }" (statement_identifier "joined_r0x000319f0") (: ":") (if_statement "if (local_38 != 0) {\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }" (if "if") (parenthesized_expression "(local_38 != 0)" (( "(") (binary_expression "local_38 != 0" (identifier "local_38") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);\n            param_2 = pcVar22;\n            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));\n            *(char ***)(param_1 + 0x14) = ppcVar21;\n            *(char **)(param_1 + 0x1c) = pcVar22;\n            unaff_s1 = ppcVar21;\n            unaff_s2 = pcVar22;\n            iVar9 = local_38;\n            break;\n          }" ({ "{") (expression_statement "FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);" (call_expression "FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21)" (identifier "FUN_0001dfa8") (argument_list "(*(undefined4 *)(param_1 + 0x14),ppcVar21)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (identifier "ppcVar21") () ")"))) (; ";")) (expression_statement "param_2 = pcVar22;" (assignment_expression "param_2 = pcVar22" (identifier "param_2") (= "=") (identifier "pcVar22")) (; ";")) (expression_statement "FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));" (call_expression "FUN_0001e088(*(undefined4 *)(param_1 + 0x1c))" (identifier "FUN_0001e088") (argument_list "(*(undefined4 *)(param_1 + 0x1c))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) () ")"))) (; ";")) (expression_statement "*(char ***)(param_1 + 0x14) = ppcVar21;" (assignment_expression "*(char ***)(param_1 + 0x14) = ppcVar21" (pointer_expression "*(char ***)(param_1 + 0x14)" (* "*") (cast_expression "(char ***)(param_1 + 0x14)" (( "(") (type_descriptor "char ***" (primitive_type "char") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "ppcVar21")) (; ";")) (expression_statement "*(char **)(param_1 + 0x1c) = pcVar22;" (assignment_expression "*(char **)(param_1 + 0x1c) = pcVar22" (pointer_expression "*(char **)(param_1 + 0x1c)" (* "*") (cast_expression "(char **)(param_1 + 0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "pcVar22")) (; ";")) (expression_statement "unaff_s1 = ppcVar21;" (assignment_expression "unaff_s1 = ppcVar21" (identifier "unaff_s1") (= "=") (identifier "ppcVar21")) (; ";")) (expression_statement "unaff_s2 = pcVar22;" (assignment_expression "unaff_s2 = pcVar22" (identifier "unaff_s2") (= "=") (identifier "pcVar22")) (; ";")) (expression_statement "iVar9 = local_38;" (assignment_expression "iVar9 = local_38" (identifier "iVar9") (= "=") (identifier "local_38")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}")))) (} "}")))) (expression_statement "param_2 = local_34;" (assignment_expression "param_2 = local_34" (identifier "param_2") (= "=") (identifier "local_34")) (; ";")) (if_statement "if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;" (if "if") (parenthesized_expression "((local_34 == (char *)0x0) || (*local_34 == '\0'))" (( "(") (binary_expression "(local_34 == (char *)0x0) || (*local_34 == '\0')" (parenthesized_expression "(local_34 == (char *)0x0)" (( "(") (binary_expression "local_34 == (char *)0x0" (identifier "local_34") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*local_34 == '\0')" (( "(") (binary_expression "*local_34 == '\0'" (pointer_expression "*local_34" (* "*") (identifier "local_34")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar9 = 0x15;\n  }" (else "else") (compound_statement "{\n    iVar9 = 0x15;\n  }" ({ "{") (expression_statement "iVar9 = 0x15;" (assignment_expression "iVar9 = 0x15" (identifier "iVar9") (= "=") (number_literal "0x15")) (; ";")) (} "}")))) (if_statement "if (local_2c == *(int **)puVar3) {\n    return iVar9;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int **)puVar3)" (( "(") (binary_expression "local_2c == *(int **)puVar3" (identifier "local_2c") (== "==") (pointer_expression "*(int **)puVar3" (* "*") (cast_expression "(int **)puVar3" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n    return iVar9;\n  }" ({ "{") (return_statement "return iVar9;" (return "return") (identifier "iVar9") (; ";")) (} "}"))) (expression_statement "pcVar5 = sqlite3_expert_analyze;" (assignment_expression "pcVar5 = sqlite3_expert_analyze" (identifier "pcVar5") (= "=") (identifier "sqlite3_expert_analyze")) (; ";")) (expression_statement "piVar7 = local_2c;" (assignment_expression "piVar7 = local_2c" (identifier "piVar7") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar31 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar31 = PTR___stack_chk_fail_00190df8" (identifier "puVar31") (= "=") (identifier "PTR___stack_chk_fail_00190df8")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00190df8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00190df8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar8 = *(int **)(puVar31 + 0x15f2f4);" (assignment_expression "piVar8 = *(int **)(puVar31 + 0x15f2f4)" (identifier "piVar8") (= "=") (pointer_expression "*(int **)(puVar31 + 0x15f2f4)" (* "*") (cast_expression "(int **)(puVar31 + 0x15f2f4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15f2f4)" (( "(") (binary_expression "puVar31 + 0x15f2f4" (identifier "puVar31") (+ "+") (number_literal "0x15f2f4")) () ")"))))) (; ";")) (expression_statement "puStack_88 = puVar3;" (assignment_expression "puStack_88 = puVar3" (identifier "puStack_88") (= "=") (identifier "puVar3")) (; ";")) (expression_statement "iStack_a4 = *piVar8;" (assignment_expression "iStack_a4 = *piVar8" (identifier "iStack_a4") (= "=") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (; ";")) (expression_statement "iVar29 = *(int *)(puVar31 + 0x15ee2c);" (assignment_expression "iVar29 = *(int *)(puVar31 + 0x15ee2c)" (identifier "iVar29") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee2c)" (( "(") (binary_expression "puVar31 + 0x15ee2c" (identifier "puVar31") (+ "+") (number_literal "0x15ee2c")) () ")"))))) (; ";")) (expression_statement "iStack_a0 = unaff_s0;" (assignment_expression "iStack_a0 = unaff_s0" (identifier "iStack_a0") (= "=") (identifier "unaff_s0")) (; ";")) (expression_statement "ppcStack_9c = unaff_s1;" (assignment_expression "ppcStack_9c = unaff_s1" (identifier "ppcStack_9c") (= "=") (identifier "unaff_s1")) (; ";")) (expression_statement "pcStack_98 = unaff_s2;" (assignment_expression "pcStack_98 = unaff_s2" (identifier "pcStack_98") (= "=") (identifier "unaff_s2")) (; ";")) (expression_statement "puStack_94 = unaff_s3;" (assignment_expression "puStack_94 = unaff_s3" (identifier "puStack_94") (= "=") (identifier "unaff_s3")) (; ";")) (expression_statement "iStack_90 = iVar9;" (assignment_expression "iStack_90 = iVar9" (identifier "iStack_90") (= "=") (identifier "iVar9")) (; ";")) (expression_statement "uStack_8c = unaff_s5;" (assignment_expression "uStack_8c = unaff_s5" (identifier "uStack_8c") (= "=") (identifier "unaff_s5")) (; ";")) (expression_statement "piStack_84 = unaff_s7;" (assignment_expression "piStack_84 = unaff_s7" (identifier "piStack_84") (= "=") (identifier "unaff_s7")) (; ";")) (expression_statement "piStack_80 = unaff_s8;" (assignment_expression "piStack_80 = unaff_s8" (identifier "piStack_80") (= "=") (identifier "unaff_s8")) (; ";")) (expression_statement "pcStack_7c = pcVar5;" (assignment_expression "pcStack_7c = pcVar5" (identifier "pcStack_7c") (= "=") (identifier "pcVar5")) (; ";")) (if_statement "if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }" (if "if") (parenthesized_expression "((undefined4 *)piVar7[6] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar7[6] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar7[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar7[6]" (identifier "piVar7") ([ "[") (number_literal "6") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar24 = (undefined4 *)piVar7[6];\n    puVar28 = (undefined4 *)0x0;\n    do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);\n  }" ({ "{") (expression_statement "puVar24 = (undefined4 *)piVar7[6];" (assignment_expression "puVar24 = (undefined4 *)piVar7[6]" (identifier "puVar24") (= "=") (cast_expression "(undefined4 *)piVar7[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar7[6]" (identifier "piVar7") ([ "[") (number_literal "6") (] "]")))) (; ";")) (expression_statement "puVar28 = (undefined4 *)0x0;" (assignment_expression "puVar28 = (undefined4 *)0x0" (identifier "puVar28") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (do_statement "do {\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    } while (puVar23 != puVar24);" (do "do") (compound_statement "{\n      puVar23 = puVar24;\n      puVar24 = puVar23;\n      if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }\n      puVar28 = puVar23;\n    }" ({ "{") (expression_statement "puVar23 = puVar24;" (assignment_expression "puVar23 = puVar24" (identifier "puVar23") (= "=") (identifier "puVar24")) (; ";")) (expression_statement "puVar24 = puVar23;" (assignment_expression "puVar24 = puVar23" (identifier "puVar24") (= "=") (identifier "puVar23")) (; ";")) (if_statement "if (puVar28 != puVar23) {\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }" (if "if") (parenthesized_expression "(puVar28 != puVar23)" (( "(") (binary_expression "puVar28 != puVar23" (identifier "puVar28") (!= "!=") (identifier "puVar23")) () ")")) (compound_statement "{\n        iVar9 = *(int *)(puVar31 + 0x15ee28);\n        iVar10 = *(int *)(puVar31 + 0x15ee28);\n        iVar11 = *(int *)(puVar31 + 0x15ee24);\n        do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);\n        puVar24 = (undefined4 *)piVar7[6];\n      }" ({ "{") (expression_statement "iVar9 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar9 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar10 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar11 = *(int *)(puVar31 + 0x15ee24);" (assignment_expression "iVar11 = *(int *)(puVar31 + 0x15ee24)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee24)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee24)" (( "(") (binary_expression "puVar31 + 0x15ee24" (identifier "puVar31") (+ "+") (number_literal "0x15ee24")) () ")"))))) (; ";")) (do_statement "do {\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        } while (puVar24 != puVar28);" (do "do") (compound_statement "{\n          piVar25 = (int *)*puVar24;\n          iVar26 = piVar25[1];\n          uStack_d0 = 0;\n          iStack_cc = 0;\n          iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);\n          if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          iVar12 = (*pcVar5)(uStack_d0);\n          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }\n          iVar26 = iStack_cc;\n          if (iStack_cc != 0) goto LAB_00031d34;\n          iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);\n          puVar24 = (undefined4 *)puVar24[2];\n          if (iVar26 != 0) goto LAB_00031d34;\n        }" ({ "{") (expression_statement "piVar25 = (int *)*puVar24;" (assignment_expression "piVar25 = (int *)*puVar24" (identifier "piVar25") (= "=") (cast_expression "(int *)*puVar24" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar24" (* "*") (identifier "puVar24")))) (; ";")) (expression_statement "iVar26 = piVar25[1];" (assignment_expression "iVar26 = piVar25[1]" (identifier "iVar26") (= "=") (subscript_expression "piVar25[1]" (identifier "piVar25") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uStack_d0 = 0;" (assignment_expression "uStack_d0 = 0" (identifier "uStack_d0") (= "=") (number_literal "0")) (; ";")) (expression_statement "iStack_cc = 0;" (assignment_expression "iStack_cc = 0" (identifier "iStack_cc") (= "=") (number_literal "0")) (; ";")) (expression_statement "iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);" (assignment_expression "iStack_cc = (*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26)" (identifier "iStack_cc") (= "=") (call_expression "(*(code *)(iVar11 + -0x884))\n                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26)" (parenthesized_expression "(*(code *)(iVar11 + -0x884))" (( "(") (pointer_expression "*(code *)(iVar11 + -0x884)" (* "*") (cast_expression "(code *)(iVar11 + -0x884)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + -0x884)" (( "(") (binary_expression "iVar11 + -0x884" (identifier "iVar11") (+ "+") (number_literal "-0x884")) () ")")))) () ")")) (argument_list "(piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26)" (( "(") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "&uStack_d0" (& "&") (identifier "uStack_d0")) (, ",") (identifier "param_2") (, ",") (binary_expression "iVar9 + 0x2a2c" (identifier "iVar9") (+ "+") (number_literal "0x2a2c")) (, ",") (identifier "iVar26") (, ",") (identifier "iVar26") () ")")))) (; ";")) (if_statement "if (iStack_cc == 0) {\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }\n          else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" (if "if") (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" ({ "{") (do_statement "do {\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            } while (iStack_cc == 0);" (do "do") (compound_statement "{\n              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n              if (iVar12 != 100) break;\n              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);\n            }" ({ "{") (expression_statement "iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);" (assignment_expression "iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (identifier "iVar12") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee60)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee60)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee60)" (( "(") (binary_expression "puVar31 + 0x15ee60" (identifier "puVar31") (+ "+") (number_literal "0x15ee60")) () ")"))))) () ")")) (argument_list "(uStack_d0)" (( "(") (identifier "uStack_d0") () ")")))) (; ";")) (if_statement "if (iVar12 != 100) break;" (if "if") (parenthesized_expression "(iVar12 != 100)" (( "(") (binary_expression "iVar12 != 100" (identifier "iVar12") (!= "!=") (number_literal "100")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);" (assignment_expression "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0)" (identifier "uVar14") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee78))(uStack_d0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee78)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee78)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee78)" (( "(") (binary_expression "puVar31 + 0x15ee78" (identifier "puVar31") (+ "+") (number_literal "0x15ee78")) () ")"))))) () ")")) (argument_list "(uStack_d0,0)" (( "(") (identifier "uStack_d0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2)" (identifier "iStack_cc") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef18)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef18)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef18)" (( "(") (binary_expression "puVar31 + 0x15ef18" (identifier "puVar31") (+ "+") (number_literal "0x15ef18")) () ")"))))) () ")")) (argument_list "(piVar7[3],uVar14,0,0,param_2)" (( "(") (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "uVar14") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_2") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" (else "else") (compound_statement "{\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\n          }" ({ "{") (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) (; ";")) (} "}")))) (expression_statement "iVar12 = (*pcVar5)(uStack_d0);" (assignment_expression "iVar12 = (*pcVar5)(uStack_d0)" (identifier "iVar12") (= "=") (call_expression "(*pcVar5)(uStack_d0)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(uStack_d0)" (( "(") (identifier "uStack_d0") () ")")))) (; ";")) (if_statement "if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }\n          else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }" (if "if") (parenthesized_expression "((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0))" (( "(") (binary_expression "(iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)" (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iStack_cc = iVar12, iVar12 == 0)" (( "(") (comma_expression "iStack_cc = iVar12, iVar12 == 0" (assignment_expression "iStack_cc = iVar12" (identifier "iStack_cc") (= "=") (identifier "iVar12")) (, ",") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n            iVar12 = *(int *)(puVar31 + 0x15ee28);\n            iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);\n            if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }\n            iStack_cc = 7;\n            if (puVar24[1] == 0x12) goto LAB_00031fc8;\n            if (puVar24[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);\n            if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }\nLAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;\n            aiStack_c8[0] = 0;\n            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);\n            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;\n            FUN_0001de18(piVar7[3],param_2);\n            sqlite3_free(iVar26);\n          }" ({ "{") (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac)" (identifier "iVar26") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee34)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee34)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee34)" (( "(") (binary_expression "puVar31 + 0x15ee34" (identifier "puVar31") (+ "+") (number_literal "0x15ee34")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac)" (( "(") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2ad4" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2ad4")) (, ",") (identifier "iVar26") (, ",") (binary_expression "iVar12 + 0x2aac" (identifier "iVar12") (+ "+") (number_literal "0x2aac")) () ")")))) (; ";")) (if_statement "if (iVar26 != 0) {\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }" (if "if") (parenthesized_expression "(iVar26 != 0)" (( "(") (binary_expression "iVar26 != 0" (identifier "iVar26") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);\n              sqlite3_free(iVar26);\n              goto LAB_00031cf4;\n            }" ({ "{") (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2)" (identifier "iStack_cc") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef18)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef18)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef18)" (( "(") (binary_expression "puVar31 + 0x15ef18" (identifier "puVar31") (+ "+") (number_literal "0x15ef18")) () ")"))))) () ")")) (argument_list "(piVar7[3],iVar26,0,0,param_2)" (( "(") (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "iVar26") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "sqlite3_free(iVar26);" (call_expression "sqlite3_free(iVar26)" (identifier "sqlite3_free") (argument_list "(iVar26)" (( "(") (identifier "iVar26") () ")"))) (; ";")) (goto_statement "goto LAB_00031cf4;" (goto "goto") (statement_identifier "LAB_00031cf4") (; ";")) (} "}"))) (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" (identifier "iStack_cc") (= "=") (number_literal "7")) (; ";")) (if_statement "if (puVar24[1] == 0x12) goto LAB_00031fc8;" (if "if") (parenthesized_expression "(puVar24[1] == 0x12)" (( "(") (binary_expression "puVar24[1] == 0x12" (subscript_expression "puVar24[1]" (identifier "puVar24") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x12")) () ")")) (goto_statement "goto LAB_00031fc8;" (goto "goto") (statement_identifier "LAB_00031fc8") (; ";"))) (if_statement "if (puVar24[1] != 0x17) goto LAB_00031d18;" (if "if") (parenthesized_expression "(puVar24[1] != 0x17)" (( "(") (binary_expression "puVar24[1] != 0x17" (subscript_expression "puVar24[1]" (identifier "puVar24") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0x17")) () ")")) (goto_statement "goto LAB_00031d18;" (goto "goto") (statement_identifier "LAB_00031d18") (; ";"))) (labeled_statement "LAB_00031ef8:\n            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);" (statement_identifier "LAB_00031ef8") (: ":") (expression_statement "iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);" (assignment_expression "iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac)" (identifier "iVar26") (= "=") (call_expression "FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac)" (identifier "FUN_0002051c") (argument_list "(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac)" (( "(") (pointer_expression "&iStack_cc" (& "&") (identifier "iStack_cc")) (, ",") (number_literal "0") (, ",") (binary_expression "iVar10 + 0x2b14" (identifier "iVar10") (+ "+") (number_literal "0x2b14")) (, ",") (binary_expression "iVar12 + 0x2aac" (identifier "iVar12") (+ "+") (number_literal "0x2aac")) () ")")))) (; ";"))) (if_statement "if (0 < *piVar25) {\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }" (if "if") (parenthesized_expression "(0 < *piVar25)" (( "(") (binary_expression "0 < *piVar25" (number_literal "0") (< "<") (pointer_expression "*piVar25" (* "*") (identifier "piVar25"))) () ")")) (compound_statement "{\n              iVar18 = 0;\n              iVar30 = *(int *)(puVar31 + 0x15ee28);\n              iVar32 = 0;\n              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n              do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);\n            }" ({ "{") (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" (identifier "iVar18") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar30 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar30 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar30") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar32 = 0;" (assignment_expression "iVar32 = 0" (identifier "iVar32") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8" (identifier "iVar12") (= "=") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x30a8" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x30a8"))) (; ";")) (do_statement "do {\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              } while (iVar18 < *piVar25);" (do "do") (compound_statement "{\n                iVar18 = iVar18 + 1;\n                puVar13 = (undefined4 *)(piVar25[2] + iVar32);\n                iVar32 = iVar32 + 0xc;\n                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);\n                iVar12 = iVar29 + 0x1114;\n              }" ({ "{") (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" (identifier "iVar18") (= "=") (binary_expression "iVar18 + 1" (identifier "iVar18") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar13 = (undefined4 *)(piVar25[2] + iVar32);" (assignment_expression "puVar13 = (undefined4 *)(piVar25[2] + iVar32)" (identifier "puVar13") (= "=") (cast_expression "(undefined4 *)(piVar25[2] + iVar32)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar25[2] + iVar32)" (( "(") (binary_expression "piVar25[2] + iVar32" (subscript_expression "piVar25[2]" (identifier "piVar25") ([ "[") (number_literal "2") (] "]")) (+ "+") (identifier "iVar32")) () ")")))) (; ";")) (expression_statement "iVar32 = iVar32 + 0xc;" (assignment_expression "iVar32 = iVar32 + 0xc" (identifier "iVar32") (= "=") (binary_expression "iVar32 + 0xc" (identifier "iVar32") (+ "+") (number_literal "0xc"))) (; ";")) (expression_statement "iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);" (assignment_expression "iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13)" (identifier "iVar26") (= "=") (call_expression "FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13)" (identifier "FUN_0002051c") (argument_list "(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13)" (( "(") (pointer_expression "&iStack_cc" (& "&") (identifier "iStack_cc")) (, ",") (identifier "iVar26") (, ",") (binary_expression "iVar30 + 0x2b24" (identifier "iVar30") (+ "+") (number_literal "0x2b24")) (, ",") (identifier "iVar12") (, ",") (pointer_expression "*puVar13" (* "*") (identifier "puVar13")) () ")")))) (; ";")) (expression_statement "iVar12 = iVar29 + 0x1114;" (assignment_expression "iVar12 = iVar29 + 0x1114" (identifier "iVar12") (= "=") (binary_expression "iVar29 + 0x1114" (identifier "iVar29") (+ "+") (number_literal "0x1114"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar18 < *piVar25)" (( "(") (binary_expression "iVar18 < *piVar25" (identifier "iVar18") (< "<") (pointer_expression "*piVar25" (* "*") (identifier "piVar25"))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00031e1c:\n            if (iStack_cc != 0) goto LAB_00031d20;" (statement_identifier "LAB_00031e1c") (: ":") (if_statement "if (iStack_cc != 0) goto LAB_00031d20;" (if "if") (parenthesized_expression "(iStack_cc != 0)" (( "(") (binary_expression "iStack_cc != 0" (identifier "iStack_cc") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031d20;" (goto "goto") (statement_identifier "LAB_00031d20") (; ";")))) (expression_statement "aiStack_c8[0] = 0;" (assignment_expression "aiStack_c8[0] = 0" (subscript_expression "aiStack_c8[0]" (identifier "aiStack_c8") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0)" (identifier "iStack_cc") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee38))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee38)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee38)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee38)" (( "(") (binary_expression "puVar31 + 0x15ee38" (identifier "puVar31") (+ "+") (number_literal "0x15ee38")) () ")"))))) () ")")) (argument_list "(piVar7[3],iVar26,0xffffffff,aiStack_c8,0)" (( "(") (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "iVar26") (, ",") (number_literal "0xffffffff") (, ",") (identifier "aiStack_c8") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (assignment_expression "iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (identifier "iVar12") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee40)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) () ")")) (argument_list "(aiStack_c8[0])" (( "(") (subscript_expression "aiStack_c8[0]" (identifier "aiStack_c8") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (if_statement "if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;" (if "if") (parenthesized_expression "((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0))" (( "(") (binary_expression "(iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)" (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iStack_cc = iVar12, iVar12 == 0)" (( "(") (comma_expression "iStack_cc = iVar12, iVar12 == 0" (assignment_expression "iStack_cc = iVar12" (identifier "iStack_cc") (= "=") (identifier "iVar12")) (, ",") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_00031d20;" (goto "goto") (statement_identifier "LAB_00031d20") (; ";"))) (expression_statement "FUN_0001de18(piVar7[3],param_2);" (call_expression "FUN_0001de18(piVar7[3],param_2)" (identifier "FUN_0001de18") (argument_list "(piVar7[3],param_2)" (( "(") (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "sqlite3_free(iVar26);" (call_expression "sqlite3_free(iVar26)" (identifier "sqlite3_free") (argument_list "(iVar26)" (( "(") (identifier "iVar26") () ")"))) (; ";")) (} "}")) (else_clause "else {\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }" (else "else") (compound_statement "{\nLAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }\n            if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }\nLAB_00031d18:\n            iVar26 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar26);\n          }" ({ "{") (labeled_statement "LAB_00031cf4:\n            if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }" (statement_identifier "LAB_00031cf4") (: ":") (if_statement "if (puVar24[1] == 0x12) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }" (if "if") (parenthesized_expression "(puVar24[1] == 0x12)" (( "(") (binary_expression "puVar24[1] == 0x12" (subscript_expression "puVar24[1]" (identifier "puVar24") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x12")) () ")")) (compound_statement "{\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\nLAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);\n              if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }\n              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);\n              goto LAB_00031e1c;\n            }" ({ "{") (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (labeled_statement "LAB_00031fc8:\n              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);" (statement_identifier "LAB_00031fc8") (: ":") (expression_statement "uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac);" (assignment_expression "uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac)" (identifier "uVar14") (= "=") (call_expression "FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac)" (identifier "FUN_0002051c") (argument_list "(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,\n                                    iVar12 + 0x2aac)" (( "(") (pointer_expression "&iStack_cc" (& "&") (identifier "iStack_cc")) (, ",") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 11000" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "11000")) (, ",") (binary_expression "iVar12 + 0x2aac" (identifier "iVar12") (+ "+") (number_literal "0x2aac")) () ")")))) (; ";"))) (if_statement "if (0 < *piVar25) {\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }" (if "if") (parenthesized_expression "(0 < *piVar25)" (( "(") (binary_expression "0 < *piVar25" (number_literal "0") (< "<") (pointer_expression "*piVar25" (* "*") (identifier "piVar25"))) () ")")) (compound_statement "{\n                iVar12 = 0;\n                iVar30 = *(int *)(puVar31 + 0x15ee28);\n                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;\n                do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);\n              }" ({ "{") (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar30 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar30 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar30") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;" (assignment_expression "iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8" (identifier "iVar26") (= "=") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x30a8" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x30a8"))) (; ";")) (do_statement "do {\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                } while (iVar12 < *piVar25);" (do "do") (compound_statement "{\n                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);\n                  iVar12 = iVar12 + 1;\n                  iVar26 = iVar29 + 0x1114;\n                }" ({ "{") (expression_statement "uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);" (assignment_expression "uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26)" (identifier "uVar14") (= "=") (call_expression "FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26)" (identifier "FUN_0002051c") (argument_list "(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26)" (( "(") (pointer_expression "&iStack_cc" (& "&") (identifier "iStack_cc")) (, ",") (identifier "uVar14") (, ",") (binary_expression "iVar30 + 0x2b10" (identifier "iVar30") (+ "+") (number_literal "0x2b10")) (, ",") (identifier "iVar26") () ")")))) (; ";")) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar26 = iVar29 + 0x1114;" (assignment_expression "iVar26 = iVar29 + 0x1114" (identifier "iVar26") (= "=") (binary_expression "iVar29 + 0x1114" (identifier "iVar29") (+ "+") (number_literal "0x1114"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar12 < *piVar25)" (( "(") (binary_expression "iVar12 < *piVar25" (identifier "iVar12") (< "<") (pointer_expression "*piVar25" (* "*") (identifier "piVar25"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);" (assignment_expression "iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034)" (identifier "iVar26") (= "=") (call_expression "FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034)" (identifier "FUN_0002051c") (argument_list "(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034)" (( "(") (pointer_expression "&iStack_cc" (& "&") (identifier "iStack_cc")) (, ",") (identifier "uVar14") (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2034" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2034")) () ")")))) (; ";")) (goto_statement "goto LAB_00031e1c;" (goto "goto") (statement_identifier "LAB_00031e1c") (; ";")) (} "}")))) (if_statement "if (puVar24[1] == 0x17) {\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }" (if "if") (parenthesized_expression "(puVar24[1] == 0x17)" (( "(") (binary_expression "puVar24[1] == 0x17" (subscript_expression "puVar24[1]" (identifier "puVar24") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x17")) () ")")) (compound_statement "{\n              iVar12 = *(int *)(puVar31 + 0x15ee28);\n              goto LAB_00031ef8;\n            }" ({ "{") (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (goto_statement "goto LAB_00031ef8;" (goto "goto") (statement_identifier "LAB_00031ef8") (; ";")) (} "}"))) (if_statement "if (iStack_cc == 0) {\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }" (if "if") (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);\n              if (iVar26 != 0) goto LAB_00031e1c;\n              iStack_cc = 7;\n            }" ({ "{") (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac)" (identifier "iVar26") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee34)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee34)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee34)" (( "(") (binary_expression "puVar31 + 0x15ee34" (identifier "puVar31") (+ "+") (number_literal "0x15ee34")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2b2c,\n                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac)" (( "(") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2b2c" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2b2c")) (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2aac" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2aac")) () ")")))) (; ";")) (if_statement "if (iVar26 != 0) goto LAB_00031e1c;" (if "if") (parenthesized_expression "(iVar26 != 0)" (( "(") (binary_expression "iVar26 != 0" (identifier "iVar26") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031e1c;" (goto "goto") (statement_identifier "LAB_00031e1c") (; ";"))) (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" (identifier "iStack_cc") (= "=") (number_literal "7")) (; ";")) (} "}"))) (labeled_statement "LAB_00031d18:\n            iVar26 = 0;" (statement_identifier "LAB_00031d18") (: ":") (expression_statement "iVar26 = 0;" (assignment_expression "iVar26 = 0" (identifier "iVar26") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_00031d20:\n            sqlite3_free(iVar26);" (statement_identifier "LAB_00031d20") (: ":") (expression_statement "sqlite3_free(iVar26);" (call_expression "sqlite3_free(iVar26)" (identifier "sqlite3_free") (argument_list "(iVar26)" (( "(") (identifier "iVar26") () ")"))) (; ";"))) (} "}")))) (expression_statement "iVar26 = iStack_cc;" (assignment_expression "iVar26 = iStack_cc" (identifier "iVar26") (= "=") (identifier "iStack_cc")) (; ";")) (if_statement "if (iStack_cc != 0) goto LAB_00031d34;" (if "if") (parenthesized_expression "(iStack_cc != 0)" (( "(") (binary_expression "iStack_cc != 0" (identifier "iStack_cc") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031d34;" (goto "goto") (statement_identifier "LAB_00031d34") (; ";"))) (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2)" (identifier "iVar26") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef18)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef18)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef18)" (( "(") (binary_expression "puVar31 + 0x15ef18" (identifier "puVar31") (+ "+") (number_literal "0x15ef18")) () ")"))))) () ")")) (argument_list "(piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2)" (( "(") (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2b3c" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2b3c")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "puVar24 = (undefined4 *)puVar24[2];" (assignment_expression "puVar24 = (undefined4 *)puVar24[2]" (identifier "puVar24") (= "=") (cast_expression "(undefined4 *)puVar24[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar24[2]" (identifier "puVar24") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (iVar26 != 0) goto LAB_00031d34;" (if "if") (parenthesized_expression "(iVar26 != 0)" (( "(") (binary_expression "iVar26 != 0" (identifier "iVar26") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031d34;" (goto "goto") (statement_identifier "LAB_00031d34") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(puVar24 != puVar28)" (( "(") (binary_expression "puVar24 != puVar28" (identifier "puVar24") (!= "!=") (identifier "puVar28")) () ")")) (; ";")) (expression_statement "puVar24 = (undefined4 *)piVar7[6];" (assignment_expression "puVar24 = (undefined4 *)piVar7[6]" (identifier "puVar24") (= "=") (cast_expression "(undefined4 *)piVar7[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar7[6]" (identifier "piVar7") ([ "[") (number_literal "6") (] "]")))) (; ";")) (} "}"))) (expression_statement "puVar28 = puVar23;" (assignment_expression "puVar28 = puVar23" (identifier "puVar28") (= "=") (identifier "puVar23")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar23 != puVar24)" (( "(") (binary_expression "puVar23 != puVar24" (identifier "puVar23") (!= "!=") (identifier "puVar24")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar9 = piVar7[5];" (assignment_expression "iVar9 = piVar7[5]" (identifier "iVar9") (= "=") (subscript_expression "piVar7[5]" (identifier "piVar7") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iStack_e4 = 0;" (assignment_expression "iStack_e4 = 0" (identifier "iStack_e4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar9 == 0) {\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0003210c:\n    iStack_e4 = 0;\nLAB_0003211c:\n    iVar26 = *piVar7;\n    iStack_e0 = 0;\n    uStack_dc = 0;\n    uStack_d8 = 0;\n    uStack_d4 = 0;\n    if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }\nLAB_00031d34:\n    iVar29 = piVar7[0xb];\n    iStack_e4 = iVar26;\n    if (iVar29 != 0) goto LAB_00031d40;\n  }" ({ "{") (labeled_statement "LAB_0003210c:\n    iStack_e4 = 0;" (statement_identifier "LAB_0003210c") (: ":") (expression_statement "iStack_e4 = 0;" (assignment_expression "iStack_e4 = 0" (identifier "iStack_e4") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_0003211c:\n    iVar26 = *piVar7;" (statement_identifier "LAB_0003211c") (: ":") (expression_statement "iVar26 = *piVar7;" (assignment_expression "iVar26 = *piVar7" (identifier "iVar26") (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";"))) (expression_statement "iStack_e0 = 0;" (assignment_expression "iStack_e0 = 0" (identifier "iStack_e0") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_dc = 0;" (assignment_expression "uStack_dc = 0" (identifier "uStack_dc") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_d8 = 0;" (assignment_expression "uStack_d8 = 0" (identifier "uStack_d8") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_d4 = 0;" (assignment_expression "uStack_d4 = 0" (identifier "uStack_d4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar26 != 0) {\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }" (if "if") (parenthesized_expression "(iVar26 != 0)" (( "(") (binary_expression "iVar26 != 0" (identifier "iVar26") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);\n      aiStack_c8[0] = 0;\n      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);\n      if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }\n    }" ({ "{") (expression_statement "pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);" (assignment_expression "pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194)" (identifier "pcVar5") (= "=") (cast_expression "(code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar31 + 0x15ee24) + -0x2194)" (( "(") (binary_expression "*(int *)(puVar31 + 0x15ee24) + -0x2194" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee24)" (( "(") (binary_expression "puVar31 + 0x15ee24" (identifier "puVar31") (+ "+") (number_literal "0x15ee24")) () ")")))) (+ "+") (number_literal "-0x2194")) () ")")))) (; ";")) (expression_statement "aiStack_c8[0] = 0;" (assignment_expression "aiStack_c8[0] = 0" (subscript_expression "aiStack_c8[0]" (identifier "aiStack_c8") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);" (assignment_expression "iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70)" (identifier "iVar26") (= "=") (call_expression "FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70)" (identifier "FUN_0001de6c") (argument_list "(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70)" (( "(") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "aiStack_c8") (, ",") (identifier "param_2") (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2b70" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2b70")) () ")")))) (; ";")) (if_statement "if (iVar26 == 0) {\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }\n      else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }" (if "if") (parenthesized_expression "(iVar26 == 0)" (( "(") (binary_expression "iVar26 == 0" (identifier "iVar26") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);\n        if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }\n      }" ({ "{") (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0])" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee60)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee60)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee60)" (( "(") (binary_expression "puVar31 + 0x15ee60" (identifier "puVar31") (+ "+") (number_literal "0x15ee60")) () ")"))))) () ")")) (argument_list "(aiStack_c8[0])" (( "(") (subscript_expression "aiStack_c8[0]" (identifier "aiStack_c8") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar9 == 100) {\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }\n        else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }" (if "if") (parenthesized_expression "(iVar9 == 100)" (( "(") (binary_expression "iVar9 == 100" (identifier "iVar9") (== "==") (number_literal "100")) () ")")) (compound_statement "{\n          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n          iStack_e0 = iVar26;\n          if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }\n        }" ({ "{") (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef1c))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef1c)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef1c)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef1c)" (( "(") (binary_expression "puVar31 + 0x15ef1c" (identifier "puVar31") (+ "+") (number_literal "0x15ef1c")) () ")"))))) () ")")) (argument_list "(aiStack_c8[0],0)" (( "(") (subscript_expression "aiStack_c8[0]" (identifier "aiStack_c8") ([ "[") (number_literal "0") (] "]")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (identifier "iVar26") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee40)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) () ")")) (argument_list "(aiStack_c8[0])" (( "(") (subscript_expression "aiStack_c8[0]" (identifier "aiStack_c8") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (expression_statement "iStack_e0 = iVar26;" (assignment_expression "iStack_e0 = iVar26" (identifier "iStack_e0") (= "=") (identifier "iVar26")) (; ";")) (if_statement "if ((0 < iVar9 + 1) && (iVar26 == 0)) {\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }" (if "if") (parenthesized_expression "((0 < iVar9 + 1) && (iVar26 == 0))" (( "(") (binary_expression "(0 < iVar9 + 1) && (iVar26 == 0)" (parenthesized_expression "(0 < iVar9 + 1)" (( "(") (binary_expression "0 < iVar9 + 1" (number_literal "0") (< "<") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) () ")")) (&& "&&") (parenthesized_expression "(iVar26 == 0)" (( "(") (binary_expression "iVar26 == 0" (identifier "iVar26") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);\n            if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }\n            iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n            iVar10 = iStack_e0;\nLAB_0003223c:\n            iStack_e0 = iVar10;\n            pcVar5 = *(code **)(puVar31 + 0x15ee40);\nLAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);\n            if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }\n            if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }\n            sqlite3_free(piStack_f0);\n            if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }\n            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);\n            iVar26 = iStack_e0;\n          }" ({ "{") (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0)" (identifier "iStack_e0") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef18)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef18)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef18)" (( "(") (binary_expression "puVar31 + 0x15ef18" (identifier "puVar31") (+ "+") (number_literal "0x15ef18")) () ")"))))) () ")")) (argument_list "(piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0)" (( "(") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")) (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2bfc" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2bfc")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iStack_e0 == 0) {\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              piStack_f0 = (int *)0x0;\n            }" (if "if") (parenthesized_expression "(iStack_e0 == 0)" (( "(") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iVar29 = *(int *)(puVar31 + 0x15ee24);\n              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);\n              if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }" ({ "{") (expression_statement "iVar29 = *(int *)(puVar31 + 0x15ee24);" (assignment_expression "iVar29 = *(int *)(puVar31 + 0x15ee24)" (identifier "iVar29") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee24)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee24)" (( "(") (binary_expression "puVar31 + 0x15ee24" (identifier "puVar31") (+ "+") (number_literal "0x15ee24")) () ")"))))) (; ";")) (expression_statement "piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);" (assignment_expression "piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" (identifier "piStack_f0") (= "=") (cast_expression "(int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" (identifier "FUN_00020368") (argument_list "(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30)" (( "(") (pointer_expression "&iStack_e0" (& "&") (identifier "iStack_e0")) (, ",") (binary_expression "(iVar9 + 1) * 0x28 + 0x30" (binary_expression "(iVar9 + 1) * 0x28" (parenthesized_expression "(iVar9 + 1)" (( "(") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x28")) (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (iStack_e0 == 0) {\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" (if "if") (parenthesized_expression "(iStack_e0 == 0)" (( "(") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }\n                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);\n                if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" ({ "{") (if_statement "if (*piVar7 == 100) {\n                  iVar10 = piVar7[1];\n                }\n                else {\n                  iVar10 = piVar7[3];\n                }" (if "if") (parenthesized_expression "(*piVar7 == 100)" (( "(") (binary_expression "*piVar7 == 100" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (== "==") (number_literal "100")) () ")")) (compound_statement "{\n                  iVar10 = piVar7[1];\n                }" ({ "{") (expression_statement "iVar10 = piVar7[1];" (assignment_expression "iVar10 = piVar7[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n                  iVar10 = piVar7[3];\n                }" (else "else") (compound_statement "{\n                  iVar10 = piVar7[3];\n                }" ({ "{") (expression_statement "iVar10 = piVar7[3];" (assignment_expression "iVar10 = piVar7[3]" (identifier "iVar10") (= "=") (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}")))) (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0)" (identifier "iStack_e0") (= "=") (call_expression "(**(code **)(puVar31 + 0x15eedc))\n                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15eedc))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15eedc)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15eedc)" (* "*") (cast_expression "(code **)(puVar31 + 0x15eedc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15eedc)" (( "(") (binary_expression "puVar31 + 0x15eedc" (identifier "puVar31") (+ "+") (number_literal "0x15eedc")) () ")"))))) () ")")) (argument_list "(iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,\n                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0)" (( "(") (identifier "iVar10") (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2c20" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2c20")) (, ",") (number_literal "2") (, ",") (number_literal "1") (, ",") (identifier "piStack_f0") (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee24) + 0x3c44" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee24)" (( "(") (binary_expression "puVar31 + 0x15ee24" (identifier "puVar31") (+ "+") (number_literal "0x15ee24")) () ")")))) (+ "+") (number_literal "0x3c44")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)) {\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" (if "if") (parenthesized_expression "((iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0))" (( "(") (binary_expression "(iStack_e0 == 0) &&\n                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)" (parenthesized_expression "(iStack_e0 == 0)" (( "(") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0)" (( "(") (comma_expression "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),\n                   iStack_e0 == 0" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0)" (identifier "iStack_e0") (= "=") (call_expression "(**(code **)(puVar31 + 0x15eedc))\n                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15eedc))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15eedc)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15eedc)" (* "*") (cast_expression "(code **)(puVar31 + 0x15eedc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15eedc)" (( "(") (binary_expression "puVar31 + 0x15eedc" (identifier "puVar31") (+ "+") (number_literal "0x15eedc")) () ")"))))) () ")")) (argument_list "(piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,\n                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0)" (( "(") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2c24" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2c24")) (, ",") (number_literal "0") (, ",") (number_literal "1") (, ",") (identifier "aiStack_c8") (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee24) + 0x3b10" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee24)" (( "(") (binary_expression "puVar31 + 0x15ee24" (identifier "puVar31") (+ "+") (number_literal "0x15ee24")) () ")")))) (+ "+") (number_literal "0x3b10")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (, ",") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n                  iVar10 = *(int *)(puVar31 + 0x15ee28);\n                  *piStack_f0 = iVar9 + 2;\n                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);\n                  if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" ({ "{") (expression_statement "iVar10 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar10 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "*piStack_f0 = iVar9 + 2;" (assignment_expression "*piStack_f0 = iVar9 + 2" (pointer_expression "*piStack_f0" (* "*") (identifier "piStack_f0")) (= "=") (binary_expression "iVar9 + 2" (identifier "iVar9") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);" (assignment_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c)" (identifier "iStack_e0") (= "=") (call_expression "(*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c)" (( "(") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "&uStack_dc" (& "&") (identifier "uStack_dc")) (, ",") (identifier "param_2") (, ",") (binary_expression "iVar10 + 0x2c2c" (identifier "iVar10") (+ "+") (number_literal "0x2c2c")) () ")")))) (; ";")) (if_statement "if ((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))) {\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" (if "if") (parenthesized_expression "((iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0))))" (( "(") (binary_expression "(iStack_e0 == 0) &&\n                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))" (parenthesized_expression "(iStack_e0 == 0)" (( "(") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)))" (( "(") (parenthesized_expression "(iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0))" (( "(") (comma_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)" (assignment_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0)" (identifier "iStack_e0") (= "=") (call_expression "(*pcVar5)(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(piVar7[2],&uStack_d8,param_2,\n                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0)" (( "(") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "&uStack_d8" (& "&") (identifier "uStack_d8")) (, ",") (identifier "param_2") (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2ca0" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2ca0")) () ")")))) (, ",") (binary_expression "iStack_e0 == 0\n                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)" (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0")) (&& "&&") (parenthesized_expression "(iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0)" (( "(") (comma_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),\n                         iStack_e0 == 0" (assignment_expression "iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8)" (identifier "iStack_e0") (= "=") (call_expression "(*pcVar5)(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(piVar7[2],&uStack_d4,param_2,\n                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8)" (( "(") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "&uStack_d4" (& "&") (identifier "uStack_d4")) (, ",") (identifier "param_2") (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2cd8" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2cd8")) () ")")))) (, ",") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);\n                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);\n                    iVar9 = *(int *)(puVar31 + 0x15ee28);\n                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);\n                    if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }\n                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);\n                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);\n                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);\n                    iVar10 = *piVar7;\n                    if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }\n                    uVar4 = uStack_d4;\n                    uVar19 = uStack_d8;\n                    uStack_d0 = 0;\n                    iStack_cc = 0;\n                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);\n                    if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }\n                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }\n                    sqlite3_free(iVar11);\n                    sqlite3_free(uVar27);\n                    if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }\n                    sqlite3_free(uVar19);\n                    if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar25 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" ({ "{") (expression_statement "dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);" (assignment_expression "dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" (identifier "dVar33") (= "=") (pointer_expression "*(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" (* "*") (cast_expression "(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar31 + 0x15ee2c) + -0x6648)" (( "(") (binary_expression "*(int *)(puVar31 + 0x15ee2c) + -0x6648" (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee2c)" (( "(") (binary_expression "puVar31 + 0x15ee2c" (identifier "puVar31") (+ "+") (number_literal "0x15ee2c")) () ")")))) (+ "+") (number_literal "-0x6648")) () ")"))))) (; ";")) (expression_statement "iStack_f4 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iStack_f4 = *(int *)(puVar31 + 0x15ee28)" (identifier "iStack_f4") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar9 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar9 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);" (assignment_expression "pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c)" (identifier "pcVar6") (= "=") (cast_expression "(code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar31 + 0x15ee24) + 0x51c)" (( "(") (binary_expression "*(int *)(puVar31 + 0x15ee24) + 0x51c" (pointer_expression "*(int *)(puVar31 + 0x15ee24)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee24)" (( "(") (binary_expression "puVar31 + 0x15ee24" (identifier "puVar31") (+ "+") (number_literal "0x15ee24")) () ")")))) (+ "+") (number_literal "0x51c")) () ")")))) (; ";")) (expression_statement "lVar2 = -100000;" (assignment_expression "lVar2 = -100000" (identifier "lVar2") (= "=") (number_literal "-100000")) (; ";")) (labeled_statement "LAB_0003249c:\n                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);" (statement_identifier "LAB_0003249c") (: ":") (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc)" (identifier "iVar10") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_dc)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee60)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee60)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee60)" (( "(") (binary_expression "puVar31 + 0x15ee60" (identifier "puVar31") (+ "+") (number_literal "0x15ee60")) () ")"))))) () ")")) (argument_list "(uStack_dc)" (( "(") (identifier "uStack_dc") () ")")))) (; ";"))) (if_statement "if (iVar10 != 100) {\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }" (if "if") (parenthesized_expression "(iVar10 != 100)" (( "(") (binary_expression "iVar10 != 100" (identifier "iVar10") (!= "!=") (number_literal "100")) () ")")) (compound_statement "{\n                      iVar10 = iStack_e0;\n                      if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_0003223c;\n                    }" ({ "{") (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" (identifier "iVar10") (= "=") (identifier "iStack_e0")) (; ";")) (if_statement "if (iStack_e0 == 0) {\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }" (if "if") (parenthesized_expression "(iStack_e0 == 0)" (( "(") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                        pcVar5 = *(code **)(puVar31 + 0x15ee40);\n                        if (99 < *piVar7) goto LAB_00032240;\n                        iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);\n                      }" ({ "{") (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) (; ";")) (if_statement "if (99 < *piVar7) goto LAB_00032240;" (if "if") (parenthesized_expression "(99 < *piVar7)" (( "(") (binary_expression "99 < *piVar7" (number_literal "99") (< "<") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) () ")")) (goto_statement "goto LAB_00032240;" (goto "goto") (statement_identifier "LAB_00032240") (; ";"))) (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0)" (identifier "iVar10") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef18)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef18)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef18)" (( "(") (binary_expression "puVar31 + 0x15ef18" (identifier "puVar31") (+ "+") (number_literal "0x15ef18")) () ")"))))) () ")")) (argument_list "(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" (( "(") (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (, ",") (binary_expression "iStack_f4 + 0x2d04" (identifier "iStack_f4") (+ "+") (number_literal "0x2d04")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (goto_statement "goto LAB_0003223c;" (goto "goto") (statement_identifier "LAB_0003223c") (; ";")) (} "}"))) (expression_statement "lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);" (assignment_expression "lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0)" (identifier "lVar34") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee74))(uStack_dc,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee74))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee74)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee74)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee74)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee74)" (( "(") (binary_expression "puVar31 + 0x15ee74" (identifier "puVar31") (+ "+") (number_literal "0x15ee74")) () ")"))))) () ")")) (argument_list "(uStack_dc,0)" (( "(") (identifier "uStack_dc") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);" (assignment_expression "uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1)" (identifier "uVar14") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee78))(uStack_dc,1)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee78)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee78)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee78)" (( "(") (binary_expression "puVar31 + 0x15ee78" (identifier "puVar31") (+ "+") (number_literal "0x15ee78")) () ")"))))) () ")")) (argument_list "(uStack_dc,1)" (( "(") (identifier "uStack_dc") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);" (assignment_expression "uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2)" (identifier "uVar15") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee78))(uStack_dc,2)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee78)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee78)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee78)" (( "(") (binary_expression "puVar31 + 0x15ee78" (identifier "puVar31") (+ "+") (number_literal "0x15ee78")) () ")"))))) () ")")) (argument_list "(uStack_dc,2)" (( "(") (identifier "uStack_dc") (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "iVar10 = *piVar7;" (assignment_expression "iVar10 = *piVar7" (identifier "iVar10") (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (if_statement "if ((iVar10 < 100) && (lVar34 != lVar2)) {\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }" (if "if") (parenthesized_expression "((iVar10 < 100) && (lVar34 != lVar2))" (( "(") (binary_expression "(iVar10 < 100) && (lVar34 != lVar2)" (parenthesized_expression "(iVar10 < 100)" (( "(") (binary_expression "iVar10 < 100" (identifier "iVar10") (< "<") (number_literal "100")) () ")")) (&& "&&") (parenthesized_expression "(lVar34 != lVar2)" (( "(") (binary_expression "lVar34 != lVar2" (identifier "lVar34") (!= "!=") (identifier "lVar2")) () ")"))) () ")")) (compound_statement "{\n                      uStack_b4 = 0;\n                      uStack_b8 = 0;\n                      uStack_ac = 0;\n                      uStack_b0 = 0;\n                      dStack_c0 = (double)iVar10 / dVar33;\n                      aiStack_c8[0] = iVar10;\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                      iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);\n                      if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }\n                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);\n                      sqlite3_free(iVar11);\n                      iStack_e0 = iVar10;\n                      if (iVar10 != 0) goto LAB_0003223c;\n                    }" ({ "{") (expression_statement "uStack_b4 = 0;" (assignment_expression "uStack_b4 = 0" (identifier "uStack_b4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_b8 = 0;" (assignment_expression "uStack_b8 = 0" (identifier "uStack_b8") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_ac = 0;" (assignment_expression "uStack_ac = 0" (identifier "uStack_ac") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" (identifier "uStack_b0") (= "=") (number_literal "0")) (; ";")) (expression_statement "dStack_c0 = (double)iVar10 / dVar33;" (assignment_expression "dStack_c0 = (double)iVar10 / dVar33" (identifier "dStack_c0") (= "=") (binary_expression "(double)iVar10 / dVar33" (cast_expression "(double)iVar10" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar10")) (/ "/") (identifier "dVar33"))) (; ";")) (expression_statement "aiStack_c8[0] = iVar10;" (assignment_expression "aiStack_c8[0] = iVar10" (subscript_expression "aiStack_c8[0]" (identifier "aiStack_c8") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)\n                      ;" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" (identifier "iVar10") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef18)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef18)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef18)" (( "(") (binary_expression "puVar31 + 0x15ef18" (identifier "puVar31") (+ "+") (number_literal "0x15ef18")) () ")"))))) () ")")) (argument_list "(piVar7[3],iStack_f4 + 0x2d04,0,0,0)" (( "(") (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (, ",") (binary_expression "iStack_f4 + 0x2d04" (identifier "iStack_f4") (+ "+") (number_literal "0x2d04")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar10 != 0) goto LAB_0003223c;" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003223c;" (goto "goto") (statement_identifier "LAB_0003223c") (; ";"))) (expression_statement "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14)" (identifier "iVar11") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee34)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee34)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee34)" (( "(") (binary_expression "puVar31 + 0x15ee34" (identifier "puVar31") (+ "+") (number_literal "0x15ee34")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14)" (( "(") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2d44" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2d44")) (, ",") (identifier "uVar14") () ")")))) (; ";")) (if_statement "if (iVar11 == 0) {\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                        iStack_e0 = 7;\n                        iVar10 = iStack_e0;\n                        goto LAB_0003223c;\n                      }" ({ "{") (expression_statement "iStack_e0 = 7;" (assignment_expression "iStack_e0 = 7" (identifier "iStack_e0") (= "=") (number_literal "7")) (; ";")) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" (identifier "iVar10") (= "=") (identifier "iStack_e0")) (; ";")) (goto_statement "goto LAB_0003223c;" (goto "goto") (statement_identifier "LAB_0003223c") (; ";")) (} "}"))) (expression_statement "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);" (assignment_expression "iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0)" (identifier "iVar10") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef18)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef18)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef18)" (( "(") (binary_expression "puVar31 + 0x15ef18" (identifier "puVar31") (+ "+") (number_literal "0x15ef18")) () ")"))))) () ")")) (argument_list "(piVar7[3],iVar11,0,0,0)" (( "(") (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "iVar11") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "sqlite3_free(iVar11);" (call_expression "sqlite3_free(iVar11)" (identifier "sqlite3_free") (argument_list "(iVar11)" (( "(") (identifier "iVar11") () ")"))) (; ";")) (expression_statement "iStack_e0 = iVar10;" (assignment_expression "iStack_e0 = iVar10" (identifier "iStack_e0") (= "=") (identifier "iVar10")) (; ";")) (if_statement "if (iVar10 != 0) goto LAB_0003223c;" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003223c;" (goto "goto") (statement_identifier "LAB_0003223c") (; ";"))) (} "}"))) (expression_statement "uVar4 = uStack_d4;" (assignment_expression "uVar4 = uStack_d4" (identifier "uVar4") (= "=") (identifier "uStack_d4")) (; ";")) (expression_statement "uVar19 = uStack_d8;" (assignment_expression "uVar19 = uStack_d8" (identifier "uVar19") (= "=") (identifier "uStack_d8")) (; ";")) (expression_statement "uStack_d0 = 0;" (assignment_expression "uStack_d0 = 0" (identifier "uStack_d0") (= "=") (number_literal "0")) (; ";")) (expression_statement "iStack_cc = 0;" (assignment_expression "iStack_cc = 0" (identifier "iStack_cc") (= "=") (number_literal "0")) (; ";")) (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef64)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef64)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef64)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef64)" (( "(") (binary_expression "puVar31 + 0x15ef64" (identifier "puVar31") (+ "+") (number_literal "0x15ef64")) () ")"))))) () ")")) (argument_list "(uStack_d8,1,uVar15,0xffffffff,0)" (( "(") (identifier "uStack_d8") (, ",") (number_literal "1") (, ",") (identifier "uVar15") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (iStack_cc == 0) {\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }\n                    else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }" (if "if") (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                      iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                      uVar27 = 0;\n                      iVar32 = *(int *)(puVar31 + 0x15ee28);\n                      iVar11 = 0;\n                      iVar30 = *(int *)(puVar31 + 0x15ee28);\n                      iVar26 = 0;\n                      do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);\n                    }" ({ "{") (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee2c);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee2c)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee2c)" (( "(") (binary_expression "puVar31 + 0x15ee2c" (identifier "puVar31") (+ "+") (number_literal "0x15ee2c")) () ")"))))) (; ";")) (expression_statement "uVar27 = 0;" (assignment_expression "uVar27 = 0" (identifier "uVar27") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar32 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar32 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar32") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar30 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar30 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar30") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar26 = 0;" (assignment_expression "iVar26 = 0" (identifier "iVar26") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      } while (iStack_cc == 0);" (do "do") (compound_statement "{\n                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);\n                        iVar10 = iVar26;\n                        if (iVar18 != 100) break;\n                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);\n                        iVar18 = iVar9 + 0x30a8;\n                        if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }\n                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);\n                        iVar10 = iVar26 + 1;\n                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);\n                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);\n                        iVar26 = iVar10;\n                      }" ({ "{") (expression_statement "iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);" (assignment_expression "iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19)" (identifier "iVar18") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee60))(uVar19)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee60)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee60)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee60)" (( "(") (binary_expression "puVar31 + 0x15ee60" (identifier "puVar31") (+ "+") (number_literal "0x15ee60")) () ")"))))) () ")")) (argument_list "(uVar19)" (( "(") (identifier "uVar19") () ")")))) (; ";")) (expression_statement "iVar10 = iVar26;" (assignment_expression "iVar10 = iVar26" (identifier "iVar10") (= "=") (identifier "iVar26")) (; ";")) (if_statement "if (iVar18 != 100) break;" (if "if") (parenthesized_expression "(iVar18 != 100)" (( "(") (binary_expression "iVar18 != 100" (identifier "iVar18") (!= "!=") (number_literal "100")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);" (assignment_expression "uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0)" (identifier "uVar16") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee78))(uVar19,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee78)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee78)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee78)" (( "(") (binary_expression "puVar31 + 0x15ee78" (identifier "puVar31") (+ "+") (number_literal "0x15ee78")) () ")"))))) () ")")) (argument_list "(uVar19,0)" (( "(") (identifier "uVar19") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar18 = iVar9 + 0x30a8;" (assignment_expression "iVar18 = iVar9 + 0x30a8" (identifier "iVar18") (= "=") (binary_expression "iVar9 + 0x30a8" (identifier "iVar9") (+ "+") (number_literal "0x30a8"))) (; ";")) (if_statement "if (iVar11 != 0) {\n                          iVar18 = iVar12 + 0x1114;\n                        }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                          iVar18 = iVar12 + 0x1114;\n                        }" ({ "{") (expression_statement "iVar18 = iVar12 + 0x1114;" (assignment_expression "iVar18 = iVar12 + 0x1114" (identifier "iVar18") (= "=") (binary_expression "iVar12 + 0x1114" (identifier "iVar12") (+ "+") (number_literal "0x1114"))) (; ";")) (} "}"))) (expression_statement "uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);" (assignment_expression "uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1)" (identifier "uVar17") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee78))(uVar19,1)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee78))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee78)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee78)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee78)" (( "(") (binary_expression "puVar31 + 0x15ee78" (identifier "puVar31") (+ "+") (number_literal "0x15ee78")) () ")"))))) () ")")) (argument_list "(uVar19,1)" (( "(") (identifier "uVar19") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "iVar10 = iVar26 + 1;" (assignment_expression "iVar10 = iVar26 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar26 + 1" (identifier "iVar26") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17);" (assignment_expression "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17)" (identifier "iVar11") (= "=") (call_expression "(*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,\n                                           uVar16,uVar17)" (( "(") (pointer_expression "&iStack_cc" (& "&") (identifier "iStack_cc")) (, ",") (identifier "iVar11") (, ",") (binary_expression "iVar32 + 0x2d90" (identifier "iVar32") (+ "+") (number_literal "0x2d90")) (, ",") (identifier "iVar18") (, ",") (identifier "uVar16") (, ",") (identifier "iVar26") (, ",") (identifier "uVar16") (, ",") (identifier "uVar17") () ")")))) (; ";")) (expression_statement "uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);" (assignment_expression "uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10)" (identifier "uVar27") (= "=") (call_expression "(*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10)" (( "(") (pointer_expression "&iStack_cc" (& "&") (identifier "iStack_cc")) (, ",") (identifier "uVar27") (, ",") (binary_expression "iVar30 + 0x2db4" (identifier "iVar30") (+ "+") (number_literal "0x2db4")) (, ",") (identifier "iVar18") (, ",") (identifier "iVar10") () ")")))) (; ";")) (expression_statement "iVar26 = iVar10;" (assignment_expression "iVar26 = iVar10" (identifier "iVar26") (= "=") (identifier "iVar10")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}")) (else_clause "else {\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }" (else "else") (compound_statement "{\n                      iVar10 = 0;\n                      uVar27 = 0;\n                      iVar11 = 0;\n                    }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar27 = 0;" (assignment_expression "uVar27 = 0" (identifier "uVar27") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "(**(code **)(puVar31 + 0x15ef2c))(uVar19);" (call_expression "(**(code **)(puVar31 + 0x15ef2c))(uVar19)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef2c))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef2c)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef2c)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef2c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef2c)" (( "(") (binary_expression "puVar31 + 0x15ef2c" (identifier "puVar31") (+ "+") (number_literal "0x15ef2c")) () ")"))))) () ")")) (argument_list "(uVar19)" (( "(") (identifier "uVar19") () ")"))) (; ";")) (if_statement "if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }\n                    else {\n                      uVar19 = 0;\n                    }" (if "if") (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                      if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }\n                    }" ({ "{") (if_statement "if (*piVar7 == 100) {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }\n                      else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }" (if "if") (parenthesized_expression "(*piVar7 == 100)" (( "(") (binary_expression "*piVar7 == 100" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (== "==") (number_literal "100")) () ")")) (compound_statement "{\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);\n                      }" ({ "{") (expression_statement "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27);" (assignment_expression "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27)" (identifier "uVar19") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee34)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee34)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee34)" (( "(") (binary_expression "puVar31 + 0x15ee34" (identifier "puVar31") (+ "+") (number_literal "0x15ee34")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,\n                                            uVar27)" (( "(") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2dbc" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2dbc")) (, ",") (identifier "iVar11") (, ",") (identifier "uVar14") (, ",") (identifier "uVar27") () ")")))) (; ";")) (} "}")) (else_clause "else {\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }" (else "else") (compound_statement "{\n                        uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);\n                      }" ({ "{") (expression_statement "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);" (assignment_expression "uVar19 = (**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27)" (identifier "uVar19") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee34)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee34)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee34)" (( "(") (binary_expression "puVar31 + 0x15ee34" (identifier "puVar31") (+ "+") (number_literal "0x15ee34")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27)" (( "(") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2ddc" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2ddc")) (, ",") (identifier "iVar11") (, ",") (identifier "uVar27") () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n                      uVar19 = 0;\n                    }" (else "else") (compound_statement "{\n                      uVar19 = 0;\n                    }" ({ "{") (expression_statement "uVar19 = 0;" (assignment_expression "uVar19 = 0" (identifier "uVar19") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "sqlite3_free(iVar11);" (call_expression "sqlite3_free(iVar11)" (identifier "sqlite3_free") (argument_list "(iVar11)" (( "(") (identifier "iVar11") () ")"))) (; ";")) (expression_statement "sqlite3_free(uVar27);" (call_expression "sqlite3_free(uVar27)" (identifier "sqlite3_free") (argument_list "(uVar27)" (( "(") (identifier "uVar27") () ")"))) (; ";")) (if_statement "if (iStack_cc == 0) {\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }" (if "if") (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                      if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }\n                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);\n                    }" ({ "{") (if_statement "if (*piVar7 == 100) {\n                        iVar11 = piVar7[1];\n                      }\n                      else {\n                        iVar11 = piVar7[3];\n                      }" (if "if") (parenthesized_expression "(*piVar7 == 100)" (( "(") (binary_expression "*piVar7 == 100" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (== "==") (number_literal "100")) () ")")) (compound_statement "{\n                        iVar11 = piVar7[1];\n                      }" ({ "{") (expression_statement "iVar11 = piVar7[1];" (assignment_expression "iVar11 = piVar7[1]" (identifier "iVar11") (= "=") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n                        iVar11 = piVar7[3];\n                      }" (else "else") (compound_statement "{\n                        iVar11 = piVar7[3];\n                      }" ({ "{") (expression_statement "iVar11 = piVar7[3];" (assignment_expression "iVar11 = piVar7[3]" (identifier "iVar11") (= "=") (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}")))) (expression_statement "iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);" (assignment_expression "iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19)" (identifier "iStack_cc") (= "=") (call_expression "(*pcVar5)(iVar11,&uStack_d0,param_2,uVar19)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(iVar11,&uStack_d0,param_2,uVar19)" (( "(") (identifier "iVar11") (, ",") (pointer_expression "&uStack_d0" (& "&") (identifier "uStack_d0")) (, ",") (identifier "param_2") (, ",") (identifier "uVar19") () ")")))) (; ";")) (} "}"))) (expression_statement "sqlite3_free(uVar19);" (call_expression "sqlite3_free(uVar19)" (identifier "sqlite3_free") (argument_list "(uVar19)" (( "(") (identifier "uVar19") () ")"))) (; ";")) (if_statement "if (iStack_cc == 0) {\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }" (if "if") (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);\n                      if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;\n                      piVar20 = piVar25;\n                      do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);\nLAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar11 = 0;\n                      goto LAB_00032928;\n                    }" ({ "{") (expression_statement "piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);" (assignment_expression "piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4)" (identifier "piVar25") (= "=") (cast_expression "(int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4)" (parenthesized_expression "(*(code *)(iVar29 + 0x368))" (( "(") (pointer_expression "*(code *)(iVar29 + 0x368)" (* "*") (cast_expression "(code *)(iVar29 + 0x368)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar29 + 0x368)" (( "(") (binary_expression "iVar29 + 0x368" (identifier "iVar29") (+ "+") (number_literal "0x368")) () ")")))) () ")")) (argument_list "(&iStack_cc,(iVar10 + 1) * 4)" (( "(") (pointer_expression "&iStack_cc" (& "&") (identifier "iStack_cc")) (, ",") (binary_expression "(iVar10 + 1) * 4" (parenthesized_expression "(iVar10 + 1)" (( "(") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if ((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))\n                      goto LAB_000327a8;" (if "if") (parenthesized_expression "((iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))" (( "(") (binary_expression "(iStack_cc != 0) ||\n                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100)" (parenthesized_expression "(iStack_cc != 0)" (( "(") (binary_expression "iStack_cc != 0" (identifier "iStack_cc") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100)" (( "(") (comma_expression "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (identifier "iVar11") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee60)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee60)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee60)" (( "(") (binary_expression "puVar31 + 0x15ee60" (identifier "puVar31") (+ "+") (number_literal "0x15ee60")) () ")"))))) () ")")) (argument_list "(uStack_d0)" (( "(") (identifier "uStack_d0") () ")")))) (, ",") (binary_expression "iVar11 != 100" (identifier "iVar11") (!= "!=") (number_literal "100"))) () ")"))) () ")")) (goto_statement "goto LAB_000327a8;" (goto "goto") (statement_identifier "LAB_000327a8") (; ";"))) (expression_statement "piVar20 = piVar25;" (assignment_expression "piVar20 = piVar25" (identifier "piVar20") (= "=") (identifier "piVar25")) (; ";")) (do_statement "do {\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      } while (piVar25 + iVar10 + 1 != piVar20);" (do "do") (compound_statement "{\n                        *piVar20 = 1;\n                        piVar20 = piVar20 + 1;\n                      }" ({ "{") (expression_statement "*piVar20 = 1;" (assignment_expression "*piVar20 = 1" (pointer_expression "*piVar20" (* "*") (identifier "piVar20")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar20 = piVar20 + 1;" (assignment_expression "piVar20 = piVar20 + 1" (identifier "piVar20") (= "=") (binary_expression "piVar20 + 1" (identifier "piVar20") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar25 + iVar10 + 1 != piVar20)" (( "(") (binary_expression "piVar25 + iVar10 + 1 != piVar20" (binary_expression "piVar25 + iVar10 + 1" (binary_expression "piVar25 + iVar10" (identifier "piVar25") (+ "+") (identifier "iVar10")) (+ "+") (number_literal "1")) (!= "!=") (identifier "piVar20")) () ")")) (; ";")) (labeled_statement "LAB_00032874:\n                      if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }" (statement_identifier "LAB_00032874") (: ":") (if_statement "if (iStack_cc == 0) {\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }" (if "if") (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);\n                        if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar25 = *piVar25 + 1;\n                        iVar11 = 0;\n                        if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }\n                        goto LAB_00032874;\n                      }" ({ "{") (expression_statement "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (identifier "iVar11") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee60))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee60)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee60)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee60)" (( "(") (binary_expression "puVar31 + 0x15ee60" (identifier "puVar31") (+ "+") (number_literal "0x15ee60")) () ")"))))) () ")")) (argument_list "(uStack_d0)" (( "(") (identifier "uStack_d0") () ")")))) (; ";")) (if_statement "if (iVar11 != 100) {\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" (if "if") (parenthesized_expression "(iVar11 != 100)" (( "(") (binary_expression "iVar11 != 100" (identifier "iVar11") (!= "!=") (number_literal "100")) () ")")) (compound_statement "{\n                          if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" ({ "{") (if_statement "if (iStack_cc == 0) {\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }" (if "if") (parenthesized_expression "(iStack_cc == 0)" (( "(") (binary_expression "iStack_cc == 0" (identifier "iStack_cc") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                            iVar26 = *piVar25;\n                            iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);\n                            if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }\n                            if (iStack_cc != 0) goto LAB_00032928;\n                            iVar12 = *(int *)(puVar31 + 0x15ee2c);\n                            if (iVar10 == 0) goto LAB_00032a64;\n                            piVar20 = piVar25;\n                            goto LAB_000329d0;\n                          }" ({ "{") (expression_statement "iVar26 = *piVar25;" (assignment_expression "iVar26 = *piVar25" (identifier "iVar26") (= "=") (pointer_expression "*piVar25" (* "*") (identifier "piVar25"))) (; ";")) (expression_statement "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);" (assignment_expression "iVar11 = (**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26)" (identifier "iVar11") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee34))\n                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee34))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee34)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee34)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee34)" (( "(") (binary_expression "puVar31 + 0x15ee34" (identifier "puVar31") (+ "+") (number_literal "0x15ee34")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26)" (( "(") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2918" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2918")) (, ",") (identifier "iVar26") () ")")))) (; ";")) (if_statement "if (iVar11 == 0) {\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                              iStack_cc = 7;\n                              goto LAB_00032928;\n                            }" ({ "{") (expression_statement "iStack_cc = 7;" (assignment_expression "iStack_cc = 7" (identifier "iStack_cc") (= "=") (number_literal "7")) (; ";")) (goto_statement "goto LAB_00032928;" (goto "goto") (statement_identifier "LAB_00032928") (; ";")) (} "}"))) (if_statement "if (iStack_cc != 0) goto LAB_00032928;" (if "if") (parenthesized_expression "(iStack_cc != 0)" (( "(") (binary_expression "iStack_cc != 0" (identifier "iStack_cc") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00032928;" (goto "goto") (statement_identifier "LAB_00032928") (; ";"))) (expression_statement "iVar12 = *(int *)(puVar31 + 0x15ee2c);" (assignment_expression "iVar12 = *(int *)(puVar31 + 0x15ee2c)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee2c)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee2c)" (( "(") (binary_expression "puVar31 + 0x15ee2c" (identifier "puVar31") (+ "+") (number_literal "0x15ee2c")) () ")"))))) (; ";")) (if_statement "if (iVar10 == 0) goto LAB_00032a64;" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00032a64;" (goto "goto") (statement_identifier "LAB_00032a64") (; ";"))) (expression_statement "piVar20 = piVar25;" (assignment_expression "piVar20 = piVar25" (identifier "piVar20") (= "=") (identifier "piVar25")) (; ";")) (goto_statement "goto LAB_000329d0;" (goto "goto") (statement_identifier "LAB_000329d0") (; ";")) (} "}"))) (goto_statement "goto LAB_00032924;" (goto "goto") (statement_identifier "LAB_00032924") (; ";")) (} "}"))) (expression_statement "*piVar25 = *piVar25 + 1;" (assignment_expression "*piVar25 = *piVar25 + 1" (pointer_expression "*piVar25" (* "*") (identifier "piVar25")) (= "=") (binary_expression "*piVar25 + 1" (pointer_expression "*piVar25" (* "*") (identifier "piVar25")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar10 != 0) {\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                          do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);\n                        }" ({ "{") (do_statement "do {\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          } while (iVar10 != iVar11);" (do "do") (compound_statement "{\n                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);\n                            if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }\n                            iVar11 = iVar11 + 1;\n                          }" ({ "{") (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11)" (identifier "iVar26") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef1c))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef1c)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef1c)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef1c)" (( "(") (binary_expression "puVar31 + 0x15ef1c" (identifier "puVar31") (+ "+") (number_literal "0x15ef1c")) () ")"))))) () ")")) (argument_list "(uStack_d0,iVar11)" (( "(") (identifier "uStack_d0") (, ",") (identifier "iVar11") () ")")))) (; ";")) (if_statement "if (iVar26 == 0) {\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }" (if "if") (parenthesized_expression "(iVar26 == 0)" (( "(") (binary_expression "iVar26 == 0" (identifier "iVar26") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                              if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }\n                              break;\n                            }" ({ "{") (if_statement "if (iVar11 < iVar10) {\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }" (if "if") (parenthesized_expression "(iVar11 < iVar10)" (( "(") (binary_expression "iVar11 < iVar10" (identifier "iVar11") (< "<") (identifier "iVar10")) () ")")) (compound_statement "{\n                                piVar20 = piVar25 + iVar11;\n                                do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);\n                              }" ({ "{") (expression_statement "piVar20 = piVar25 + iVar11;" (assignment_expression "piVar20 = piVar25 + iVar11" (identifier "piVar20") (= "=") (binary_expression "piVar25 + iVar11" (identifier "piVar25") (+ "+") (identifier "iVar11"))) (; ";")) (do_statement "do {\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                } while (piVar25 + iVar10 != piVar20);" (do "do") (compound_statement "{\n                                  piVar1 = piVar20 + 1;\n                                  piVar20 = piVar20 + 1;\n                                  *piVar20 = *piVar1 + 1;\n                                }" ({ "{") (expression_statement "piVar1 = piVar20 + 1;" (assignment_expression "piVar1 = piVar20 + 1" (identifier "piVar1") (= "=") (binary_expression "piVar20 + 1" (identifier "piVar20") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar20 = piVar20 + 1;" (assignment_expression "piVar20 = piVar20 + 1" (identifier "piVar20") (= "=") (binary_expression "piVar20 + 1" (identifier "piVar20") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*piVar20 = *piVar1 + 1;" (assignment_expression "*piVar20 = *piVar1 + 1" (pointer_expression "*piVar20" (* "*") (identifier "piVar20")) (= "=") (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar25 + iVar10 != piVar20)" (( "(") (binary_expression "piVar25 + iVar10 != piVar20" (binary_expression "piVar25 + iVar10" (identifier "piVar25") (+ "+") (identifier "iVar10")) (!= "!=") (identifier "piVar20")) () ")")) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 != iVar11)" (( "(") (binary_expression "iVar10 != iVar11" (identifier "iVar10") (!= "!=") (identifier "iVar11")) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_00032874;" (goto "goto") (statement_identifier "LAB_00032874") (; ";")) (} "}")))) (labeled_statement "LAB_00032924:\n                      iVar11 = 0;" (statement_identifier "LAB_00032924") (: ":") (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";"))) (goto_statement "goto LAB_00032928;" (goto "goto") (statement_identifier "LAB_00032928") (; ";")) (} "}"))) (expression_statement "piVar25 = (int *)0x0;" (assignment_expression "piVar25 = (int *)0x0" (identifier "piVar25") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_000327a8;" (goto "goto") (statement_identifier "LAB_000327a8") (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n              piStack_f0 = (int *)0x0;\n            }" (else "else") (compound_statement "{\n              piStack_f0 = (int *)0x0;\n            }" ({ "{") (expression_statement "piStack_f0 = (int *)0x0;" (assignment_expression "piStack_f0 = (int *)0x0" (identifier "piStack_f0") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (expression_statement "iStack_f4 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iStack_f4 = *(int *)(puVar31 + 0x15ee28)" (identifier "iStack_f4") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" (identifier "iVar10") (= "=") (identifier "iStack_e0")) (; ";")) (labeled_statement "LAB_0003223c:\n            iStack_e0 = iVar10;" (statement_identifier "LAB_0003223c") (: ":") (expression_statement "iStack_e0 = iVar10;" (assignment_expression "iStack_e0 = iVar10" (identifier "iStack_e0") (= "=") (identifier "iVar10")) (; ";"))) (expression_statement "pcVar5 = *(code **)(puVar31 + 0x15ee40);" (assignment_expression "pcVar5 = *(code **)(puVar31 + 0x15ee40)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) (; ";")) (labeled_statement "LAB_00032240:\n            iVar9 = (*pcVar5)(uStack_dc);" (statement_identifier "LAB_00032240") (: ":") (expression_statement "iVar9 = (*pcVar5)(uStack_dc);" (assignment_expression "iVar9 = (*pcVar5)(uStack_dc)" (identifier "iVar9") (= "=") (call_expression "(*pcVar5)(uStack_dc)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(uStack_dc)" (( "(") (identifier "uStack_dc") () ")")))) (; ";"))) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }" (if "if") (parenthesized_expression "(iStack_e0 == 0)" (( "(") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iStack_e0 = iVar9;\n            }" ({ "{") (expression_statement "iStack_e0 = iVar9;" (assignment_expression "iStack_e0 = iVar9" (identifier "iStack_e0") (= "=") (identifier "iVar9")) (; ";")) (} "}"))) (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee40))(uStack_d8)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee40)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) () ")")) (argument_list "(uStack_d8)" (( "(") (identifier "uStack_d8") () ")")))) (; ";")) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }" (if "if") (parenthesized_expression "(iStack_e0 == 0)" (( "(") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iStack_e0 = iVar9;\n            }" ({ "{") (expression_statement "iStack_e0 = iVar9;" (assignment_expression "iStack_e0 = iVar9" (identifier "iStack_e0") (= "=") (identifier "iVar9")) (; ";")) (} "}"))) (expression_statement "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);" (assignment_expression "iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee40))(uStack_d4)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee40)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) () ")")) (argument_list "(uStack_d4)" (( "(") (identifier "uStack_d4") () ")")))) (; ";")) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = iVar9;\n            }" (if "if") (parenthesized_expression "(iStack_e0 == 0)" (( "(") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iStack_e0 = iVar9;\n            }" ({ "{") (expression_statement "iStack_e0 = iVar9;" (assignment_expression "iStack_e0 = iVar9" (identifier "iStack_e0") (= "=") (identifier "iVar9")) (; ";")) (} "}"))) (if_statement "if (0 < *piStack_f0) {\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }" (if "if") (parenthesized_expression "(0 < *piStack_f0)" (( "(") (binary_expression "0 < *piStack_f0" (number_literal "0") (< "<") (pointer_expression "*piStack_f0" (* "*") (identifier "piStack_f0"))) () ")")) (compound_statement "{\n              iVar9 = 0;\n              piVar25 = piStack_f0;\n              do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);\n            }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar25 = piStack_f0;" (assignment_expression "piVar25 = piStack_f0" (identifier "piVar25") (= "=") (identifier "piStack_f0")) (; ";")) (do_statement "do {\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              } while (iVar9 < *piStack_f0);" (do "do") (compound_statement "{\n                piVar25 = piVar25 + 10;\n                iVar9 = iVar9 + 1;\n                sqlite3_free(*piVar25);\n              }" ({ "{") (expression_statement "piVar25 = piVar25 + 10;" (assignment_expression "piVar25 = piVar25 + 10" (identifier "piVar25") (= "=") (binary_expression "piVar25 + 10" (identifier "piVar25") (+ "+") (number_literal "10"))) (; ";")) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "sqlite3_free(*piVar25);" (call_expression "sqlite3_free(*piVar25)" (identifier "sqlite3_free") (argument_list "(*piVar25)" (( "(") (pointer_expression "*piVar25" (* "*") (identifier "piVar25")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar9 < *piStack_f0)" (( "(") (binary_expression "iVar9 < *piStack_f0" (identifier "iVar9") (< "<") (pointer_expression "*piStack_f0" (* "*") (identifier "piStack_f0"))) () ")")) (; ";")) (} "}"))) (expression_statement "sqlite3_free(piStack_f0);" (call_expression "sqlite3_free(piStack_f0)" (identifier "sqlite3_free") (argument_list "(piStack_f0)" (( "(") (identifier "piStack_f0") () ")"))) (; ";")) (if_statement "if (iStack_e0 == 0) {\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }" (if "if") (parenthesized_expression "(iStack_e0 == 0)" (( "(") (binary_expression "iStack_e0 == 0" (identifier "iStack_e0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);\n            }" ({ "{") (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0)" (identifier "iStack_e0") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef18))\n                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef18)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef18)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef18)" (( "(") (binary_expression "puVar31 + 0x15ef18" (identifier "puVar31") (+ "+") (number_literal "0x15ef18")) () ")"))))) () ")")) (argument_list "(piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0)" (( "(") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")) (, ",") (binary_expression "*(int *)(puVar31 + 0x15ee28) + 0x2e24" (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")")))) (+ "+") (number_literal "0x2e24")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);" (call_expression "(**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef18))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef18)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef18)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef18)" (( "(") (binary_expression "puVar31 + 0x15ef18" (identifier "puVar31") (+ "+") (number_literal "0x15ef18")) () ")"))))) () ")")) (argument_list "(piVar7[1],iStack_f4 + 0x2d04,0,0,0)" (( "(") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (, ",") (binary_expression "iStack_f4 + 0x2d04" (identifier "iStack_f4") (+ "+") (number_literal "0x2d04")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar26 = iStack_e0;" (assignment_expression "iVar26 = iStack_e0" (identifier "iVar26") (= "=") (identifier "iStack_e0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }" (else "else") (compound_statement "{\n          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n        }" ({ "{") (expression_statement "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (assignment_expression "iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (identifier "iVar26") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee40)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) () ")")) (argument_list "(aiStack_c8[0])" (( "(") (subscript_expression "aiStack_c8[0]" (identifier "aiStack_c8") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }" (else "else") (compound_statement "{\n        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);\n      }" ({ "{") (expression_statement "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);" (call_expression "(**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0])" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee40)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) () ")")) (argument_list "(aiStack_c8[0])" (( "(") (subscript_expression "aiStack_c8[0]" (identifier "aiStack_c8") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}")))) (} "}"))) (labeled_statement "LAB_00031d34:\n    iVar29 = piVar7[0xb];" (statement_identifier "LAB_00031d34") (: ":") (expression_statement "iVar29 = piVar7[0xb];" (assignment_expression "iVar29 = piVar7[0xb]" (identifier "iVar29") (= "=") (subscript_expression "piVar7[0xb]" (identifier "piVar7") ([ "[") (number_literal "0xb") (] "]"))) (; ";"))) (expression_statement "iStack_e4 = iVar26;" (assignment_expression "iStack_e4 = iVar26" (identifier "iStack_e4") (= "=") (identifier "iVar26")) (; ";")) (if_statement "if (iVar29 != 0) goto LAB_00031d40;" (if "if") (parenthesized_expression "(iVar29 != 0)" (( "(") (binary_expression "iVar29 != 0" (identifier "iVar29") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031d40;" (goto "goto") (statement_identifier "LAB_00031d40") (; ";"))) (} "}")) (else_clause "else {\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }" (else "else") (compound_statement "{\n    do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);\nLAB_000320ec:\n    iStack_e4 = iVar29;\n    iVar29 = piVar7[0xb];\n    iVar9 = iStack_e4;\n    if (iVar29 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);\n    iVar11 = *(int *)(puVar31 + 0x15ee28);\n    iVar10 = *(int *)(puVar31 + 0x15ee28);\n    iVar9 = piVar7[0x40b];\n    do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);\n  }" ({ "{") (do_statement "do {\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar29 == 0);" (do "do") (compound_statement "{\n      while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }\n      iVar29 = FUN_0002bdc0(piVar7,iVar9);\n      iVar9 = *(int *)(iVar9 + 0x1c);\n      if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);\n        if (iVar29 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar9 + 0x10) != 0) break;\n        iVar9 = *(int *)(iVar9 + 0x1c);\n        if (iVar9 == 0) goto LAB_0003210c;\n      }" ({ "{") (expression_statement "iVar29 = FUN_0002bdc0(piVar7,iVar9,0);" (assignment_expression "iVar29 = FUN_0002bdc0(piVar7,iVar9,0)" (identifier "iVar29") (= "=") (call_expression "FUN_0002bdc0(piVar7,iVar9,0)" (identifier "FUN_0002bdc0") (argument_list "(piVar7,iVar9,0)" (( "(") (identifier "piVar7") (, ",") (identifier "iVar9") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar29 != 0) goto LAB_000320ec;" (if "if") (parenthesized_expression "(iVar29 != 0)" (( "(") (binary_expression "iVar29 != 0" (identifier "iVar29") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000320ec;" (goto "goto") (statement_identifier "LAB_000320ec") (; ";"))) (if_statement "if (*(int *)(iVar9 + 0x10) != 0) break;" (if "if") (parenthesized_expression "(*(int *)(iVar9 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(iVar9 + 0x10) != 0" (pointer_expression "*(int *)(iVar9 + 0x10)" (* "*") (cast_expression "(int *)(iVar9 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x10)" (( "(") (binary_expression "iVar9 + 0x10" (identifier "iVar9") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar9 = *(int *)(iVar9 + 0x1c);" (assignment_expression "iVar9 = *(int *)(iVar9 + 0x1c)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar9 + 0x1c)" (* "*") (cast_expression "(int *)(iVar9 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x1c)" (( "(") (binary_expression "iVar9 + 0x1c" (identifier "iVar9") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar9 == 0) goto LAB_0003210c;" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003210c;" (goto "goto") (statement_identifier "LAB_0003210c") (; ";"))) (} "}"))) (expression_statement "iVar29 = FUN_0002bdc0(piVar7,iVar9);" (assignment_expression "iVar29 = FUN_0002bdc0(piVar7,iVar9)" (identifier "iVar29") (= "=") (call_expression "FUN_0002bdc0(piVar7,iVar9)" (identifier "FUN_0002bdc0") (argument_list "(piVar7,iVar9)" (( "(") (identifier "piVar7") (, ",") (identifier "iVar9") () ")")))) (; ";")) (expression_statement "iVar9 = *(int *)(iVar9 + 0x1c);" (assignment_expression "iVar9 = *(int *)(iVar9 + 0x1c)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar9 + 0x1c)" (* "*") (cast_expression "(int *)(iVar9 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x1c)" (( "(") (binary_expression "iVar9 + 0x1c" (identifier "iVar9") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar9 == 0) {\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iStack_e4 = iVar29;\n        if (iVar29 == 0) goto LAB_0003211c;\n        break;\n      }" ({ "{") (expression_statement "iStack_e4 = iVar29;" (assignment_expression "iStack_e4 = iVar29" (identifier "iStack_e4") (= "=") (identifier "iVar29")) (; ";")) (if_statement "if (iVar29 == 0) goto LAB_0003211c;" (if "if") (parenthesized_expression "(iVar29 == 0)" (( "(") (binary_expression "iVar29 == 0" (identifier "iVar29") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003211c;" (goto "goto") (statement_identifier "LAB_0003211c") (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(iVar29 == 0)" (( "(") (binary_expression "iVar29 == 0" (identifier "iVar29") (== "==") (number_literal "0")) () ")")) (; ";")) (labeled_statement "LAB_000320ec:\n    iStack_e4 = iVar29;" (statement_identifier "LAB_000320ec") (: ":") (expression_statement "iStack_e4 = iVar29;" (assignment_expression "iStack_e4 = iVar29" (identifier "iStack_e4") (= "=") (identifier "iVar29")) (; ";"))) (expression_statement "iVar29 = piVar7[0xb];" (assignment_expression "iVar29 = piVar7[0xb]" (identifier "iVar29") (= "=") (subscript_expression "piVar7[0xb]" (identifier "piVar7") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "iVar9 = iStack_e4;" (assignment_expression "iVar9 = iStack_e4" (identifier "iVar9") (= "=") (identifier "iStack_e4")) (; ";")) (if_statement "if (iVar29 == 0) goto LAB_00031db8;" (if "if") (parenthesized_expression "(iVar29 == 0)" (( "(") (binary_expression "iVar29 == 0" (identifier "iVar29") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031db8;" (goto "goto") (statement_identifier "LAB_00031db8") (; ";"))) (labeled_statement "LAB_00031d40:\n    iVar26 = *(int *)(puVar31 + 0x15ee28);" (statement_identifier "LAB_00031d40") (: ":") (expression_statement "iVar26 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar26 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar26") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";"))) (expression_statement "iVar11 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar11 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(puVar31 + 0x15ee28);" (assignment_expression "iVar10 = *(int *)(puVar31 + 0x15ee28)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(puVar31 + 0x15ee28)" (* "*") (cast_expression "(int *)(puVar31 + 0x15ee28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar31 + 0x15ee28)" (( "(") (binary_expression "puVar31 + 0x15ee28" (identifier "puVar31") (+ "+") (number_literal "0x15ee28")) () ")"))))) (; ";")) (expression_statement "iVar9 = piVar7[0x40b];" (assignment_expression "iVar9 = piVar7[0x40b]" (identifier "iVar9") (= "=") (subscript_expression "piVar7[0x40b]" (identifier "piVar7") ([ "[") (number_literal "0x40b") (] "]"))) (; ";")) (do_statement "do {\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    } while (iVar29 != 0);" (do "do") (compound_statement "{\n      iVar12 = iVar10 + 0x30a8;\n      if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }\n      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));\n      piVar7[0x40b] = iVar9;\n      iVar29 = *(int *)(iVar29 + 0x10);\n    }" ({ "{") (expression_statement "iVar12 = iVar10 + 0x30a8;" (assignment_expression "iVar12 = iVar10 + 0x30a8" (identifier "iVar12") (= "=") (binary_expression "iVar10 + 0x30a8" (identifier "iVar10") (+ "+") (number_literal "0x30a8"))) (; ";")) (if_statement "if (*(int *)(iVar29 + 8) != 0) {\n        iVar12 = iVar11 + 0x2a20;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar29 + 8) != 0)" (( "(") (binary_expression "*(int *)(iVar29 + 8) != 0" (pointer_expression "*(int *)(iVar29 + 8)" (* "*") (cast_expression "(int *)(iVar29 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar29 + 8)" (( "(") (binary_expression "iVar29 + 8" (identifier "iVar29") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar12 = iVar11 + 0x2a20;\n      }" ({ "{") (expression_statement "iVar12 = iVar11 + 0x2a20;" (assignment_expression "iVar12 = iVar11 + 0x2a20" (identifier "iVar12") (= "=") (binary_expression "iVar11 + 0x2a20" (identifier "iVar11") (+ "+") (number_literal "0x2a20"))) (; ";")) (} "}"))) (expression_statement "iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8));" (assignment_expression "iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8))" (identifier "iVar9") (= "=") (call_expression "FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8))" (identifier "FUN_0002051c") (argument_list "(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,\n                           *(int *)(iVar29 + 8))" (( "(") (pointer_expression "&iStack_e4" (& "&") (identifier "iStack_e4")) (, ",") (identifier "iVar9") (, ",") (binary_expression "iVar26 + 0x2e3c" (identifier "iVar26") (+ "+") (number_literal "0x2e3c")) (, ",") (pointer_expression "*(undefined4 *)(iVar29 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar29 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar29 + 4)" (( "(") (binary_expression "iVar29 + 4" (identifier "iVar29") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "iVar12") (, ",") (pointer_expression "*(int *)(iVar29 + 8)" (* "*") (cast_expression "(int *)(iVar29 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar29 + 8)" (( "(") (binary_expression "iVar29 + 8" (identifier "iVar29") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (expression_statement "piVar7[0x40b] = iVar9;" (assignment_expression "piVar7[0x40b] = iVar9" (subscript_expression "piVar7[0x40b]" (identifier "piVar7") ([ "[") (number_literal "0x40b") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "iVar29 = *(int *)(iVar29 + 0x10);" (assignment_expression "iVar29 = *(int *)(iVar29 + 0x10)" (identifier "iVar29") (= "=") (pointer_expression "*(int *)(iVar29 + 0x10)" (* "*") (cast_expression "(int *)(iVar29 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar29 + 0x10)" (( "(") (binary_expression "iVar29 + 0x10" (identifier "iVar29") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar29 != 0)" (( "(") (binary_expression "iVar29 != 0" (identifier "iVar29") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "iVar9 = iStack_e4;" (assignment_expression "iVar9 = iStack_e4" (identifier "iVar9") (= "=") (identifier "iStack_e4")) (; ";")) (if_statement "if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {\n    piVar7[8] = 1;\n  }" (if "if") (parenthesized_expression "((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0))" (( "(") (binary_expression "(iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)" (parenthesized_expression "(iStack_e4 == 0)" (( "(") (binary_expression "iStack_e4 == 0" (identifier "iStack_e4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)" (( "(") (comma_expression "iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0" (assignment_expression "iVar9 = idxFindIndexes(piVar7,param_2)" (identifier "iVar9") (= "=") (call_expression "idxFindIndexes(piVar7,param_2)" (identifier "idxFindIndexes") (argument_list "(piVar7,param_2)" (( "(") (identifier "piVar7") (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    piVar7[8] = 1;\n  }" ({ "{") (expression_statement "piVar7[8] = 1;" (assignment_expression "piVar7[8] = 1" (subscript_expression "piVar7[8]" (identifier "piVar7") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (labeled_statement "LAB_00031db8:\n  if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }" (statement_identifier "LAB_00031db8") (: ":") (if_statement "if (iStack_a4 == *piVar8) {\n    return iVar9;\n  }" (if "if") (parenthesized_expression "(iStack_a4 == *piVar8)" (( "(") (binary_expression "iStack_a4 == *piVar8" (identifier "iStack_a4") (== "==") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) () ")")) (compound_statement "{\n    return iVar9;\n  }" ({ "{") (return_statement "return iVar9;" (return "return") (identifier "iVar9") (; ";")) (} "}")))) (expression_statement "(**(code **)(puVar31 + 0x15f2c8))();" (call_expression "(**(code **)(puVar31 + 0x15f2c8))()" (parenthesized_expression "(**(code **)(puVar31 + 0x15f2c8))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15f2c8)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15f2c8)" (* "*") (cast_expression "(code **)(puVar31 + 0x15f2c8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15f2c8)" (( "(") (binary_expression "puVar31 + 0x15f2c8" (identifier "puVar31") (+ "+") (number_literal "0x15f2c8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }" (if "if") (parenthesized_expression "(*(int **)(iStack_a4 + 0x1c) != (int *)0x0)" (( "(") (binary_expression "*(int **)(iStack_a4 + 0x1c) != (int *)0x0" (pointer_expression "*(int **)(iStack_a4 + 0x1c)" (* "*") (cast_expression "(int **)(iStack_a4 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iStack_a4 + 0x1c)" (( "(") (binary_expression "iStack_a4 + 0x1c" (identifier "iStack_a4") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return **(int **)(iStack_a4 + 0x1c) + 1;\n  }" ({ "{") (return_statement "return **(int **)(iStack_a4 + 0x1c) + 1;" (return "return") (binary_expression "**(int **)(iStack_a4 + 0x1c) + 1" (pointer_expression "**(int **)(iStack_a4 + 0x1c)" (* "*") (pointer_expression "*(int **)(iStack_a4 + 0x1c)" (* "*") (cast_expression "(int **)(iStack_a4 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iStack_a4 + 0x1c)" (( "(") (binary_expression "iStack_a4 + 0x1c" (identifier "iStack_a4") (+ "+") (number_literal "0x1c")) () ")"))))) (+ "+") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (while_statement "while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }" (while "while") (parenthesized_expression "(piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20)" (( "(") (comma_expression "piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20" (assignment_expression "piVar20 = piVar20 + 1" (identifier "piVar20") (= "=") (binary_expression "piVar20 + 1" (identifier "piVar20") (+ "+") (number_literal "1"))) (, ",") (binary_expression "piVar25 + iVar10 != piVar20" (binary_expression "piVar25 + iVar10" (identifier "piVar25") (+ "+") (identifier "iVar10")) (!= "!=") (identifier "piVar20"))) () ")")) (compound_statement "{\nLAB_000329d0:\n    iVar30 = piVar20[1];\n    if (iVar30 == 0) {\n      trap(7);\n    }\n    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);\n    if (iStack_cc != 0) goto LAB_00032928;\n  }" ({ "{") (labeled_statement "LAB_000329d0:\n    iVar30 = piVar20[1];" (statement_identifier "LAB_000329d0") (: ":") (expression_statement "iVar30 = piVar20[1];" (assignment_expression "iVar30 = piVar20[1]" (identifier "iVar30") (= "=") (subscript_expression "piVar20[1]" (identifier "piVar20") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (if_statement "if (iVar30 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(iVar30 == 0)" (( "(") (binary_expression "iVar30 == 0" (identifier "iVar30") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);" (assignment_expression "iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30)" (identifier "iVar11") (= "=") (call_expression "(*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30)" (( "(") (pointer_expression "&iStack_cc" (& "&") (identifier "iStack_cc")) (, ",") (identifier "iVar11") (, ",") (binary_expression "iVar12 + -0x556c" (identifier "iVar12") (+ "+") (number_literal "-0x556c")) (, ",") (binary_expression "(iVar30 / 2 + iVar26) / iVar30" (parenthesized_expression "(iVar30 / 2 + iVar26)" (( "(") (binary_expression "iVar30 / 2 + iVar26" (binary_expression "iVar30 / 2" (identifier "iVar30") (/ "/") (number_literal "2")) (+ "+") (identifier "iVar26")) () ")")) (/ "/") (identifier "iVar30")) () ")")))) (; ";")) (if_statement "if (iStack_cc != 0) goto LAB_00032928;" (if "if") (parenthesized_expression "(iStack_cc != 0)" (( "(") (binary_expression "iStack_cc != 0" (identifier "iStack_cc") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00032928;" (goto "goto") (statement_identifier "LAB_00032928") (; ";"))) (} "}"))) (labeled_statement "LAB_00032a64:\n  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);" (statement_identifier "LAB_00032a64") (: ":") (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef64)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef64)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef64)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef64)" (( "(") (binary_expression "puVar31 + 0x15ef64" (identifier "puVar31") (+ "+") (number_literal "0x15ef64")) () ")"))))) () ")")) (argument_list "(uVar4,1,uVar14,0xffffffff,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "1") (, ",") (identifier "uVar14") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";"))) (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef64)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef64)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef64)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef64)" (( "(") (binary_expression "puVar31 + 0x15ef64" (identifier "puVar31") (+ "+") (number_literal "0x15ef64")) () ")"))))) () ")")) (argument_list "(uVar4,2,uVar15,0xffffffff,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "2") (, ",") (identifier "uVar15") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);" (call_expression "(**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef64))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef64)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef64)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef64)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef64)" (( "(") (binary_expression "puVar31 + 0x15ef64" (identifier "puVar31") (+ "+") (number_literal "0x15ef64")) () ")"))))) () ")")) (argument_list "(uVar4,3,iVar11,0xffffffff,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "3") (, ",") (identifier "iVar11") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar31 + 0x15ee60))(uVar4);" (call_expression "(**(code **)(puVar31 + 0x15ee60))(uVar4)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee60))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee60)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee60)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee60)" (( "(") (binary_expression "puVar31 + 0x15ee60" (identifier "puVar31") (+ "+") (number_literal "0x15ee60")) () ")"))))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);" (assignment_expression "iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4)" (identifier "iStack_cc") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ef2c))(uVar4)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ef2c))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ef2c)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ef2c)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ef2c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ef2c)" (( "(") (binary_expression "puVar31 + 0x15ef2c" (identifier "puVar31") (+ "+") (number_literal "0x15ef2c")) () ")"))))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")")))) (; ";")) (labeled_statement "LAB_00032928:\n  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);" (statement_identifier "LAB_00032928") (: ":") (expression_statement "uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);" (assignment_expression "uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15)" (identifier "uVar14") (= "=") (call_expression "(**(code **)(puVar31 + 0x15f250))(uVar15)" (parenthesized_expression "(**(code **)(puVar31 + 0x15f250))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15f250)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15f250)" (* "*") (cast_expression "(code **)(puVar31 + 0x15f250)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15f250)" (( "(") (binary_expression "puVar31 + 0x15f250" (identifier "puVar31") (+ "+") (number_literal "0x15f250")) () ")"))))) () ")")) (argument_list "(uVar15)" (( "(") (identifier "uVar15") () ")")))) (; ";"))) (expression_statement "iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);" (assignment_expression "iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14)" (identifier "iVar10") (= "=") (call_expression "FUN_00021854(piVar7 + 0xb,uVar15,uVar14)" (identifier "FUN_00021854") (argument_list "(piVar7 + 0xb,uVar15,uVar14)" (( "(") (binary_expression "piVar7 + 0xb" (identifier "piVar7") (+ "+") (number_literal "0xb")) (, ",") (identifier "uVar15") (, ",") (identifier "uVar14") () ")")))) (; ";")) (if_statement "if (iVar10 == 0) {\n    sqlite3_free(iVar11);\n  }\n  else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    sqlite3_free(iVar11);\n  }" ({ "{") (expression_statement "sqlite3_free(iVar11);" (call_expression "sqlite3_free(iVar11)" (identifier "sqlite3_free") (argument_list "(iVar11)" (( "(") (identifier "iVar11") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    *(int *)(iVar10 + 8) = iVar11;\n  }" (else "else") (compound_statement "{\n    *(int *)(iVar10 + 8) = iVar11;\n  }" ({ "{") (expression_statement "*(int *)(iVar10 + 8) = iVar11;" (assignment_expression "*(int *)(iVar10 + 8) = iVar11" (pointer_expression "*(int *)(iVar10 + 8)" (* "*") (cast_expression "(int *)(iVar10 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 8)" (( "(") (binary_expression "iVar10 + 8" (identifier "iVar10") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar11")) (; ";")) (} "}")))) (labeled_statement "LAB_000327a8:\n  sqlite3_free(piVar25);" (statement_identifier "LAB_000327a8") (: ":") (expression_statement "sqlite3_free(piVar25);" (call_expression "sqlite3_free(piVar25)" (identifier "sqlite3_free") (argument_list "(piVar25)" (( "(") (identifier "piVar25") () ")"))) (; ";"))) (expression_statement "iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);" (assignment_expression "iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0)" (identifier "iStack_e0") (= "=") (call_expression "(**(code **)(puVar31 + 0x15ee40))(uStack_d0)" (parenthesized_expression "(**(code **)(puVar31 + 0x15ee40))" (( "(") (pointer_expression "**(code **)(puVar31 + 0x15ee40)" (* "*") (pointer_expression "*(code **)(puVar31 + 0x15ee40)" (* "*") (cast_expression "(code **)(puVar31 + 0x15ee40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar31 + 0x15ee40)" (( "(") (binary_expression "puVar31 + 0x15ee40" (identifier "puVar31") (+ "+") (number_literal "0x15ee40")) () ")"))))) () ")")) (argument_list "(uStack_d0)" (( "(") (identifier "uStack_d0") () ")")))) (; ";")) (if_statement "if (iStack_cc != 0) {\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }" (if "if") (parenthesized_expression "(iStack_cc != 0)" (( "(") (binary_expression "iStack_cc != 0" (identifier "iStack_cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iStack_e0 = iStack_cc;\n    iVar10 = iStack_e0;\n    goto LAB_0003223c;\n  }" ({ "{") (expression_statement "iStack_e0 = iStack_cc;" (assignment_expression "iStack_e0 = iStack_cc" (identifier "iStack_e0") (= "=") (identifier "iStack_cc")) (; ";")) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" (identifier "iVar10") (= "=") (identifier "iStack_e0")) (; ";")) (goto_statement "goto LAB_0003223c;" (goto "goto") (statement_identifier "LAB_0003223c") (; ";")) (} "}"))) (expression_statement "iVar10 = iStack_e0;" (assignment_expression "iVar10 = iStack_e0" (identifier "iVar10") (= "=") (identifier "iStack_e0")) (; ";")) (expression_statement "lVar2 = lVar34;" (assignment_expression "lVar2 = lVar34" (identifier "lVar2") (= "=") (identifier "lVar34")) (; ";")) (if_statement "if (iStack_e0 != 0) goto LAB_0003223c;" (if "if") (parenthesized_expression "(iStack_e0 != 0)" (( "(") (binary_expression "iStack_e0 != 0" (identifier "iStack_e0") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003223c;" (goto "goto") (statement_identifier "LAB_0003223c") (; ";"))) (goto_statement "goto LAB_0003249c;" (goto "goto") (statement_identifier "LAB_0003249c") (; ";")) (} "}")))

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

int function_1(type_1 *p,char *var_2,char **pzErr)

{
  type_1 *var_4;
  int var_9;
  int *piVar2;
  int var_12;
  type_2 uVar4;
  int var_14;
  void *var_26;
  type_2 *puVar7;
  type_2 uVar8;
  type_2 uVar9;
  type_2 uVar10;
  type_2 uVar11;
  int var_25;
  type_3 *psVar13;
  type_4 *psVar14;
  int var_22;
  int var_28;
  type_1 *unaff_s0;
  type_5 *var_6;
  type_6 *var_7;
  type_7 *var_10;
  type_8 *pIVar19;
  char *var_31;
  int var_1;
  type_9 *var_5;
  type_9 *pcVar22;
  int var_27;
  double var_30;
  type_10 var_23;
  int *piStack_f0;
  int var_15;
  int var_20;
  type_2 uStack_dc;
  type_2 uStack_d8;
  type_2 uStack_d4;
  type_2 uStack_d0;
  int var_24;
  type_3 *apsStack_c8 [2];
  double dStack_c0;
  type_2 uStack_b8;
  type_2 uStack_b4;
  type_2 uStack_b0;
  type_2 uStack_ac;
  int var_17;
  type_1 *psStack_a0;
  int rc;
  char *zStmt;
  type_3 *pStmt;
  
  var_4 = (type_1 *)**(int **)(var_1 + 0x15f534);
  if (p->bRun == 0) {
    var_9 = 0;
    if ((var_2 != (char *)0x0) && (unaff_s0 = p, *var_2 != '\0')) {
      var_9 = var_3();
      return var_9;
    }
  }
  else {
    var_9 = 0x15;
  }
  if (var_4 == (type_1 *)**(int **)(var_1 + 0x15f534)) {
    return var_9;
  }
  var_5 = *(type_9 **)(var_1 + 0x15f508);
  (*var_5)();
  piVar2 = *(int **)(var_5 + 0x15f2f4);
  var_6 = var_4->pWrite;
  var_17 = *piVar2;
  var_9 = *(int *)(var_5 + 0x15ee2c);
  psStack_a0 = unaff_s0;
  if ((var_6 == (type_5 *)0x0) || (var_6 == (type_5 *)0x0)) {
    var_7 = var_4->var_7;
    var_15 = 0;
    if (var_7 != (type_6 *)0x0) {
      do {
        while( true ) {
          var_9 = var_8(var_4,var_7,(type_11 *)0x0);
          if (var_9 != 0) goto LAB_000320ec;
          if (var_7->pOrder != (type_11 *)0x0) break;
          var_7 = var_7->pNextScan;
          if (var_7 == (type_6 *)0x0) goto LAB_0003210c;
        }
        var_9 = var_8(var_4,var_7,var_7->pOrder);
        var_7 = var_7->pNextScan;
        if (var_7 == (type_6 *)0x0) {
          var_15 = var_9;
          if (var_9 == 0) goto LAB_0003211c;
          break;
        }
      } while (var_9 == 0);
LAB_000320ec:
      var_15 = var_9;
      var_10 = (var_4->hIdx).pFirst;
      if (var_10 == (type_7 *)0x0) {
        var_9 = var_11();
        return var_9;
      }
      var_14 = *(int *)(var_5 + 0x15ee28);
      var_12 = *(int *)(var_5 + 0x15ee28);
      var_9 = *(int *)(var_5 + 0x15ee28);
      var_31 = var_4->zCandidates;
      do {
        var_22 = var_9 + 0x30a8;
        if (var_10->zVal2 != (char *)0x0) {
          var_22 = var_12 + 0x2a20;
        }
        var_31 = var_13(&var_15,var_31,(char *)(var_14 + 0x2e3c),var_10->zVal,var_22,
                                var_10->zVal2);
        var_4->zCandidates = var_31;
        var_10 = var_10->pNext;
      } while (var_10 != (type_7 *)0x0);
      var_9 = var_15;
      if ((var_15 == 0) && (var_9 = var_16(var_4,(char **)var_2), var_9 == 0)) {
        var_4->bRun = 1;
      }
      if (var_17 == *piVar2) {
        return var_9;
      }
      (**(type_9 **)(var_5 + 0x15f2c8))();
      if (*(int **)(var_17 + 0x1c) != (int *)0x0) {
        return **(int **)(var_17 + 0x1c) + 1;
      }
      return 0;
    }
LAB_0003210c:
    var_15 = 0;
LAB_0003211c:
    var_20 = 0;
    uStack_dc = 0;
    uStack_d8 = 0;
    uStack_d4 = 0;
    if (var_4->iSample == 0) {
LAB_00032138:
      var_9 = var_18();
      return var_9;
    }
    pcVar22 = (type_9 *)(*(int *)(var_5 + 0x15ee24) + -0x2194);
    apsStack_c8[0] = (type_3 *)0x0;
    var_9 = var_19(var_4->dbm,apsStack_c8,(char **)var_2,
                           (char *)(*(int *)(var_5 + 0x15ee28) + 0x2b70));
    if (var_9 != 0) {
      (**(type_9 **)(var_5 + 0x15ee40))(apsStack_c8[0]);
      var_9 = var_18();
      return var_9;
    }
    var_9 = (**(type_9 **)(var_5 + 0x15ee60))(apsStack_c8[0]);
    if (var_9 != 100) {
      (**(type_9 **)(var_5 + 0x15ee40))(apsStack_c8[0]);
      var_9 = var_18();
      return var_9;
    }
    var_9 = (**(type_9 **)(var_5 + 0x15ef1c))(apsStack_c8[0],0);
    var_20 = (**(type_9 **)(var_5 + 0x15ee40))(apsStack_c8[0]);
    if ((var_9 + 1 < 1) || (var_20 != 0)) goto LAB_00032138;
    var_20 = (**(type_9 **)(var_5 + 0x15ef18))
                          (var_4->dbm,*(int *)(var_5 + 0x15ee28) + 0x2bfc,0,0,0);
    if (var_20 == 0) {
      piStack_f0 = (int *)var_21(&var_20,(var_9 + 1) * 0x28 + 0x30);
      var_12 = var_20;
      if (var_20 == 0) {
        if (var_4->iSample == 100) {
          psVar14 = var_4->db;
        }
        else {
          psVar14 = var_4->dbv;
        }
        var_20 = (**(type_9 **)(var_5 + 0x15eedc))
                              (psVar14,*(int *)(var_5 + 0x15ee28) + 0x2c20,2,1,piStack_f0,
                               *(int *)(var_5 + 0x15ee24) + 0x3c44,0,0);
        var_12 = var_20;
        if ((var_20 == 0) &&
           (var_20 = (**(type_9 **)(var_5 + 0x15eedc))
                                  (var_4->db,*(int *)(var_5 + 0x15ee28) + 0x2c24,0,1,apsStack_c8,
                                   *(int *)(var_5 + 0x15ee24) + 0x3b10,0,0), var_12 = var_20,
           var_20 == 0)) {
          var_12 = *(int *)(var_5 + 0x15ee28);
          *piStack_f0 = var_9 + 2;
          var_20 = (*pcVar22)(var_4->dbm,&uStack_dc,var_2,var_12 + 0x2c2c);
          var_12 = var_20;
          if ((var_20 == 0) &&
             ((var_20 = (*pcVar22)(var_4->dbm,&uStack_d8,var_2,
                                      *(int *)(var_5 + 0x15ee28) + 0x2ca0), var_12 = var_20,
              var_20 == 0 &&
              (var_20 = (*pcVar22)(var_4->dbm,&uStack_d4,var_2,
                                      *(int *)(var_5 + 0x15ee28) + 0x2cd8), var_12 = var_20,
              var_20 == 0)))) {
            var_30 = *(double *)(*(int *)(var_5 + 0x15ee2c) + -0x6648);
            var_9 = *(int *)(var_5 + 0x15ee28);
            var_12 = *(int *)(var_5 + 0x15ee28);
            var_14 = *(int *)(var_5 + 0x15ee24);
            var_22 = (**(type_9 **)(var_5 + 0x15ee60))(uStack_dc);
            if (var_22 == 100) {
              var_23 = (**(type_9 **)(var_5 + 0x15ee74))(uStack_dc,0);
              uVar8 = (**(type_9 **)(var_5 + 0x15ee78))(uStack_dc,1);
              uVar9 = (**(type_9 **)(var_5 + 0x15ee78))(uStack_dc,2);
              uVar4 = uStack_d8;
              psVar13 = (type_3 *)var_4->iSample;
              if ((99 < (int)psVar13) || (var_23 == -100000)) {
                uStack_d0 = 0;
                var_24 = 0;
                (**(type_9 **)(var_5 + 0x15ef64))(uStack_d8,1,uVar9,0xffffffff,0);
                if (var_24 == 0) {
                  var_22 = *(int *)(var_5 + 0x15ee2c);
                  uVar9 = 0;
                  var_27 = *(int *)(var_5 + 0x15ee28);
                  var_26 = (void *)0x0;
                  var_28 = *(int *)(var_5 + 0x15ee28);
                  var_9 = 0;
                  do {
                    var_25 = (**(type_9 **)(var_5 + 0x15ee60))(uVar4);
                    if (var_25 != 100) break;
                    uVar10 = (**(type_9 **)(var_5 + 0x15ee78))(uVar4,0);
                    var_25 = var_12 + 0x30a8;
                    if (var_26 != (void *)0x0) {
                      var_25 = var_22 + 0x1114;
                    }
                    uVar11 = (**(type_9 **)(var_5 + 0x15ee78))(uVar4,1);
                    var_26 = (void *)(*(type_9 *)(var_14 + 0x51c))
                                               (&var_24,var_26,var_27 + 0x2d90,var_25,uVar10,
                                                var_9,uVar10,uVar11);
                    uVar9 = (*(type_9 *)(var_14 + 0x51c))
                                      (&var_24,uVar9,var_28 + 0x2db4,var_25,var_9 + 1);
                    var_9 = var_9 + 1;
                  } while (var_24 == 0);
                }
                else {
                  uVar9 = 0;
                  var_26 = (void *)0x0;
                }
                (**(type_9 **)(var_5 + 0x15ef2c))(uVar4);
                if (var_24 == 0) {
                  if (var_4->iSample == 100) {
                    (**(type_9 **)(var_5 + 0x15ee34))
                              (*(int *)(var_5 + 0x15ee28) + 0x2dbc,var_26,uVar8,uVar9);
                  }
                  else {
                    (**(type_9 **)(var_5 + 0x15ee34))
                              (*(int *)(var_5 + 0x15ee28) + 0x2ddc,var_26,uVar9);
                  }
                }
                    /* WARNING: Subroutine does not return */
                var_29(var_26);
              }
              uStack_b4 = 0;
              uStack_b8 = 0;
              uStack_ac = 0;
              uStack_b0 = 0;
              dStack_c0 = (double)(int)psVar13 / var_30;
              apsStack_c8[0] = psVar13;
              var_12 = (**(type_9 **)(var_5 + 0x15ef18))(var_4->dbv,var_9 + 0x2d04,0,0,0);
              if (var_12 == 0) {
                var_26 = (void *)(**(type_9 **)(var_5 + 0x15ee34))
                                           (*(int *)(var_5 + 0x15ee28) + 0x2d44,uVar8);
                if (var_26 != (void *)0x0) {
                  (**(type_9 **)(var_5 + 0x15ef18))(var_4->dbv,var_26,0,0,0);
                    /* WARNING: Subroutine does not return */
                  var_29(var_26);
                }
                var_20 = 7;
                var_12 = var_20;
              }
            }
            else {
              var_12 = var_20;
              if (var_20 == 0) {
                pcVar22 = *(type_9 **)(var_5 + 0x15ee40);
                if (99 < var_4->iSample) goto LAB_00032240;
                var_12 = (**(type_9 **)(var_5 + 0x15ef18))(var_4->dbv,var_9 + 0x2d04,0,0,0);
              }
            }
          }
        }
      }
    }
    else {
      piStack_f0 = (int *)0x0;
      var_12 = var_20;
    }
    var_20 = var_12;
    pcVar22 = *(type_9 **)(var_5 + 0x15ee40);
LAB_00032240:
    var_9 = (*pcVar22)(uStack_dc);
    if (var_20 == 0) {
      var_20 = var_9;
    }
    var_9 = (**(type_9 **)(var_5 + 0x15ee40))(uStack_d8);
    if (var_20 == 0) {
      var_20 = var_9;
    }
    var_9 = (**(type_9 **)(var_5 + 0x15ee40))(uStack_d4);
    if (var_20 == 0) {
      var_20 = var_9;
    }
    if (0 < *piStack_f0) {
                    /* WARNING: Subroutine does not return */
      var_29((void *)piStack_f0[10]);
    }
                    /* WARNING: Subroutine does not return */
    var_29(piStack_f0);
  }
  var_12 = *(int *)(var_5 + 0x15ee28);
  pIVar19 = var_6->pTab;
  var_31 = pIVar19->zName;
  uStack_d0 = 0;
  var_24 = 0;
  var_24 = (*(type_9 *)(*(int *)(var_5 + 0x15ee24) + -0x884))
                        (var_4->db,&uStack_d0,var_2,*(int *)(var_5 + 0x15ee28) + 0x2a2c,var_31,
                         var_31);
  if (var_24 == 0) {
    do {
      var_14 = (**(type_9 **)(var_5 + 0x15ee60))(uStack_d0);
      if (var_14 != 100) break;
      uVar4 = (**(type_9 **)(var_5 + 0x15ee78))(uStack_d0,0);
      var_24 = (**(type_9 **)(var_5 + 0x15ef18))(var_4->dbv,uVar4,0,0,var_2);
    } while (var_24 == 0);
    pcVar22 = *(type_9 **)(var_5 + 0x15ee40);
  }
  else {
    pcVar22 = *(type_9 **)(var_5 + 0x15ee40);
  }
  var_14 = (*pcVar22)(uStack_d0);
  if ((var_24 == 0) && (var_24 = var_14, var_14 == 0)) {
    var_14 = *(int *)(var_5 + 0x15ee28);
    var_26 = (void *)(**(type_9 **)(var_5 + 0x15ee34))
                               (*(int *)(var_5 + 0x15ee28) + 0x2ad4,var_31,var_14 + 0x2aac);
    if (var_26 != (void *)0x0) {
      var_24 = (**(type_9 **)(var_5 + 0x15ef18))(var_4->dbv,var_26,0,0,var_2);
                    /* WARNING: Subroutine does not return */
      var_29(var_26);
    }
    var_24 = 7;
    if (var_6->eOp == 0x12) goto LAB_00031fc8;
    if (var_6->eOp != 0x17) goto LAB_00031d18;
LAB_00031ef8:
    var_31 = var_13(&var_24,(char *)0x0,(char *)(var_12 + 0x2b14),var_14 + 0x2aac);
    if (0 < pIVar19->nCol) {
      var_28 = 0;
      var_14 = *(int *)(var_5 + 0x15ee28);
      var_22 = 0;
      var_12 = *(int *)(var_5 + 0x15ee28) + 0x30a8;
      do {
        var_28 = var_28 + 1;
        puVar7 = (type_2 *)((int)&pIVar19->aCol->zName + var_22);
        var_22 = var_22 + 0xc;
        var_31 = var_13(&var_24,var_31,(char *)(var_14 + 0x2b24),var_12,*puVar7);
        var_12 = var_9 + 0x1114;
      } while (var_28 < pIVar19->nCol);
    }
  }
  else {
    if (var_6->eOp != 0x12) {
      if (var_6->eOp == 0x17) {
        var_14 = *(int *)(var_5 + 0x15ee28);
        goto LAB_00031ef8;
      }
      if (var_24 == 0) {
        var_31 = (char *)(**(type_9 **)(var_5 + 0x15ee34))
                                    (*(int *)(var_5 + 0x15ee28) + 0x2b2c,
                                     *(int *)(var_5 + 0x15ee28) + 0x2aac);
        if (var_31 != (char *)0x0) goto LAB_00031e1c;
        var_24 = 7;
      }
LAB_00031d18:
      var_31 = (char *)0x0;
      goto LAB_00031d20;
    }
    var_14 = *(int *)(var_5 + 0x15ee28);
LAB_00031fc8:
    var_31 = var_13(&var_24,(char *)0x0,(char *)(*(int *)(var_5 + 0x15ee28) + 11000),
                            var_14 + 0x2aac);
    if (0 < pIVar19->nCol) {
      var_14 = 0;
      var_22 = *(int *)(var_5 + 0x15ee28);
      var_12 = *(int *)(var_5 + 0x15ee28) + 0x30a8;
      do {
        var_31 = var_13(&var_24,var_31,(char *)(var_22 + 0x2b10),var_12);
        var_14 = var_14 + 1;
        var_12 = var_9 + 0x1114;
      } while (var_14 < pIVar19->nCol);
    }
    var_31 = var_13(&var_24,var_31,(char *)(*(int *)(var_5 + 0x15ee28) + 0x2034));
  }
LAB_00031e1c:
  if (var_24 == 0) {
    apsStack_c8[0] = (type_3 *)0x0;
    var_24 = (**(type_9 **)(var_5 + 0x15ee38))(var_4->dbv,var_31,0xffffffff,apsStack_c8,0);
    var_9 = (**(type_9 **)(var_5 + 0x15ee40))(apsStack_c8[0]);
    if ((var_24 != 0) || (var_24 = var_9, var_9 != 0)) {
      var_32(var_4->dbv,(char **)var_2);
                    /* WARNING: Subroutine does not return */
      var_29(var_31);
    }
  }
LAB_00031d20:
                    /* WARNING: Subroutine does not return */
  var_29(var_31);
}


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

int MASKED(int param_1,char *param_2,undefined4 param_3)

{
  int *piVar1;
  longlong lVar2;
  undefined *puVar3;
  undefined4 uVar4;
  code *pcVar5;
  code *pcVar6;
  int *piVar7;
  int *piVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  undefined4 *puVar13;
  undefined4 uVar14;
  undefined4 uVar15;
  undefined4 uVar16;
  undefined4 uVar17;
  int iVar18;
  undefined4 uVar19;
  int *piVar20;
  char **ppcVar21;
  char *pcVar22;
  int unaff_s0;
  undefined4 *puVar23;
  undefined4 *puVar24;
  char **unaff_s1;
  char *unaff_s2;
  int *piVar25;
  undefined *unaff_s3;
  undefined4 unaff_s5;
  int iVar26;
  undefined4 uVar27;
  undefined4 *puVar28;
  int *unaff_s7;
  int iVar29;
  int iVar30;
  undefined *puVar31;
  int *unaff_s8;
  int iVar32;
  double dVar33;
  longlong lVar34;
  int iStack_f4;
  int *piStack_f0;
  int iStack_e4;
  int iStack_e0;
  undefined4 uStack_dc;
  undefined4 uStack_d8;
  undefined4 uStack_d4;
  undefined4 uStack_d0;
  int iStack_cc;
  int aiStack_c8 [2];
  double dStack_c0;
  undefined4 uStack_b8;
  undefined4 uStack_b4;
  undefined4 uStack_b0;
  undefined4 uStack_ac;
  int iStack_a4;
  int iStack_a0;
  char **ppcStack_9c;
  char *pcStack_98;
  undefined *puStack_94;
  int iStack_90;
  undefined4 uStack_8c;
  undefined *puStack_88;
  int *piStack_84;
  int *piStack_80;
  code *pcStack_7c;
  char **local_60;
  int local_38;
  char *local_34;
  int local_30;
  int *local_2c;
  
  puVar3 = PTR___stack_chk_guard_00190e24;
  ppcVar21 = *(char ***)(param_1 + 0x14);
  local_38 = 0;
  local_2c = *(int **)PTR___stack_chk_guard_00190e24;
  pcVar22 = *(char **)(param_1 + 0x1c);
  local_34 = param_2;
  if (*(int *)(param_1 + 0x20) == 0) {
    iVar9 = 0;
    if ((param_2 != (char *)0x0) && (unaff_s0 = param_1, *param_2 != '\0')) {
      unaff_s8 = &local_30;
      pcVar5 = (code *)(PTR_LAB_00190954 + -0x21e8);
      unaff_s1 = &local_34;
      pcVar6 = (code *)(PTR_LAB_00190954 + 0x368);
      unaff_s7 = &local_38;
      unaff_s2 = PTR_LAB_00190954;
      unaff_s3 = PTR_LAB_00190954;
      do {
        local_30 = 0;
        local_60 = unaff_s1;
        local_38 = (*(code *)PTR_sqlite3_prepare_v2_00190968)
                             (*(undefined4 *)(param_1 + 0xc),local_34,0xffffffff,unaff_s8);
        unaff_s5 = param_3;
        if (local_38 == 0) {
          if (local_30 != 0) {
            unaff_s3 = (undefined *)sqlite3_sql();
            unaff_s2 = (char *)(*(code *)PTR_strlen_00190d80)(unaff_s3);
            piVar7 = (int *)(*pcVar6)(unaff_s7,unaff_s2 + 0x15);
            puVar31 = PTR_memcpy_00190e2c;
            if (local_38 == 0) {
              piVar7[1] = (int)(piVar7 + 5);
              (*(code *)puVar31)(piVar7 + 5,unaff_s3,unaff_s2 + 1);
              piVar8 = *(int **)(param_1 + 0x1c);
              piVar7[4] = (int)piVar8;
              if (piVar8 != (int *)0x0) {
                *piVar7 = *piVar8 + 1;
              }
              *(int **)(param_1 + 0x1c) = piVar7;
            }
            (*(code *)PTR_sqlite3_finalize_00190970)(local_30);
            goto joined_r0x000319f0;
          }
        }
        else {
          (*pcVar5)(*(undefined4 *)(param_1 + 0xc),param_3);
joined_r0x000319f0:
          if (local_38 != 0) {
            FUN_0001dfa8(*(undefined4 *)(param_1 + 0x14),ppcVar21);
            param_2 = pcVar22;
            FUN_0001e088(*(undefined4 *)(param_1 + 0x1c));
            *(char ***)(param_1 + 0x14) = ppcVar21;
            *(char **)(param_1 + 0x1c) = pcVar22;
            unaff_s1 = ppcVar21;
            unaff_s2 = pcVar22;
            iVar9 = local_38;
            break;
          }
        }
        param_2 = local_34;
        if ((local_34 == (char *)0x0) || (*local_34 == '\0')) break;
      } while( true );
    }
  }
  else {
    iVar9 = 0x15;
  }
  if (local_2c == *(int **)puVar3) {
    return iVar9;
  }
  pcVar5 = sqlite3_expert_analyze;
  piVar7 = local_2c;
  puVar31 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  piVar8 = *(int **)(puVar31 + 0x15f2f4);
  puStack_88 = puVar3;
  iStack_a4 = *piVar8;
  iVar29 = *(int *)(puVar31 + 0x15ee2c);
  iStack_a0 = unaff_s0;
  ppcStack_9c = unaff_s1;
  pcStack_98 = unaff_s2;
  puStack_94 = unaff_s3;
  iStack_90 = iVar9;
  uStack_8c = unaff_s5;
  piStack_84 = unaff_s7;
  piStack_80 = unaff_s8;
  pcStack_7c = pcVar5;
  if ((undefined4 *)piVar7[6] != (undefined4 *)0x0) {
    puVar24 = (undefined4 *)piVar7[6];
    puVar28 = (undefined4 *)0x0;
    do {
      puVar23 = puVar24;
      puVar24 = puVar23;
      if (puVar28 != puVar23) {
        iVar9 = *(int *)(puVar31 + 0x15ee28);
        iVar10 = *(int *)(puVar31 + 0x15ee28);
        iVar11 = *(int *)(puVar31 + 0x15ee24);
        do {
          piVar25 = (int *)*puVar24;
          iVar26 = piVar25[1];
          uStack_d0 = 0;
          iStack_cc = 0;
          iStack_cc = (*(code *)(iVar11 + -0x884))
                                (piVar7[1],&uStack_d0,param_2,iVar9 + 0x2a2c,iVar26,iVar26);
          if (iStack_cc == 0) {
            do {
              iVar12 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);
              if (iVar12 != 100) break;
              uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_d0,0);
              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],uVar14,0,0,param_2);
            } while (iStack_cc == 0);
            pcVar5 = *(code **)(puVar31 + 0x15ee40);
          }
          else {
            pcVar5 = *(code **)(puVar31 + 0x15ee40);
          }
          iVar12 = (*pcVar5)(uStack_d0);
          if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) {
            iVar12 = *(int *)(puVar31 + 0x15ee28);
            iVar26 = (**(code **)(puVar31 + 0x15ee34))
                               (*(int *)(puVar31 + 0x15ee28) + 0x2ad4,iVar26,iVar12 + 0x2aac);
            if (iVar26 != 0) {
              iStack_cc = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar26,0,0,param_2);
              sqlite3_free(iVar26);
              goto LAB_00031cf4;
            }
            iStack_cc = 7;
            if (puVar24[1] == 0x12) goto LAB_00031fc8;
            if (puVar24[1] != 0x17) goto LAB_00031d18;
LAB_00031ef8:
            iVar26 = FUN_0002051c(&iStack_cc,0,iVar10 + 0x2b14,iVar12 + 0x2aac);
            if (0 < *piVar25) {
              iVar18 = 0;
              iVar30 = *(int *)(puVar31 + 0x15ee28);
              iVar32 = 0;
              iVar12 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;
              do {
                iVar18 = iVar18 + 1;
                puVar13 = (undefined4 *)(piVar25[2] + iVar32);
                iVar32 = iVar32 + 0xc;
                iVar26 = FUN_0002051c(&iStack_cc,iVar26,iVar30 + 0x2b24,iVar12,*puVar13);
                iVar12 = iVar29 + 0x1114;
              } while (iVar18 < *piVar25);
            }
LAB_00031e1c:
            if (iStack_cc != 0) goto LAB_00031d20;
            aiStack_c8[0] = 0;
            iStack_cc = (**(code **)(puVar31 + 0x15ee38))(piVar7[3],iVar26,0xffffffff,aiStack_c8,0);
            iVar12 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);
            if ((iStack_cc == 0) && (iStack_cc = iVar12, iVar12 == 0)) goto LAB_00031d20;
            FUN_0001de18(piVar7[3],param_2);
            sqlite3_free(iVar26);
          }
          else {
LAB_00031cf4:
            if (puVar24[1] == 0x12) {
              iVar12 = *(int *)(puVar31 + 0x15ee28);
LAB_00031fc8:
              uVar14 = FUN_0002051c(&iStack_cc,0,*(int *)(puVar31 + 0x15ee28) + 11000,
                                    iVar12 + 0x2aac);
              if (0 < *piVar25) {
                iVar12 = 0;
                iVar30 = *(int *)(puVar31 + 0x15ee28);
                iVar26 = *(int *)(puVar31 + 0x15ee28) + 0x30a8;
                do {
                  uVar14 = FUN_0002051c(&iStack_cc,uVar14,iVar30 + 0x2b10,iVar26);
                  iVar12 = iVar12 + 1;
                  iVar26 = iVar29 + 0x1114;
                } while (iVar12 < *piVar25);
              }
              iVar26 = FUN_0002051c(&iStack_cc,uVar14,*(int *)(puVar31 + 0x15ee28) + 0x2034);
              goto LAB_00031e1c;
            }
            if (puVar24[1] == 0x17) {
              iVar12 = *(int *)(puVar31 + 0x15ee28);
              goto LAB_00031ef8;
            }
            if (iStack_cc == 0) {
              iVar26 = (**(code **)(puVar31 + 0x15ee34))
                                 (*(int *)(puVar31 + 0x15ee28) + 0x2b2c,
                                  *(int *)(puVar31 + 0x15ee28) + 0x2aac);
              if (iVar26 != 0) goto LAB_00031e1c;
              iStack_cc = 7;
            }
LAB_00031d18:
            iVar26 = 0;
LAB_00031d20:
            sqlite3_free(iVar26);
          }
          iVar26 = iStack_cc;
          if (iStack_cc != 0) goto LAB_00031d34;
          iVar26 = (**(code **)(puVar31 + 0x15ef18))
                             (piVar7[3],*(int *)(puVar31 + 0x15ee28) + 0x2b3c,0,0,param_2);
          puVar24 = (undefined4 *)puVar24[2];
          if (iVar26 != 0) goto LAB_00031d34;
        } while (puVar24 != puVar28);
        puVar24 = (undefined4 *)piVar7[6];
      }
      puVar28 = puVar23;
    } while (puVar23 != puVar24);
  }
  iVar9 = piVar7[5];
  iStack_e4 = 0;
  if (iVar9 == 0) {
LAB_0003210c:
    iStack_e4 = 0;
LAB_0003211c:
    iVar26 = *piVar7;
    iStack_e0 = 0;
    uStack_dc = 0;
    uStack_d8 = 0;
    uStack_d4 = 0;
    if (iVar26 != 0) {
      pcVar5 = (code *)(*(int *)(puVar31 + 0x15ee24) + -0x2194);
      aiStack_c8[0] = 0;
      iVar26 = FUN_0001de6c(piVar7[2],aiStack_c8,param_2,*(int *)(puVar31 + 0x15ee28) + 0x2b70);
      if (iVar26 == 0) {
        iVar9 = (**(code **)(puVar31 + 0x15ee60))(aiStack_c8[0]);
        if (iVar9 == 100) {
          iVar9 = (**(code **)(puVar31 + 0x15ef1c))(aiStack_c8[0],0);
          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);
          iStack_e0 = iVar26;
          if ((0 < iVar9 + 1) && (iVar26 == 0)) {
            iStack_e0 = (**(code **)(puVar31 + 0x15ef18))
                                  (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2bfc,0,0,0);
            if (iStack_e0 == 0) {
              iVar29 = *(int *)(puVar31 + 0x15ee24);
              piStack_f0 = (int *)FUN_00020368(&iStack_e0,(iVar9 + 1) * 0x28 + 0x30);
              if (iStack_e0 == 0) {
                if (*piVar7 == 100) {
                  iVar10 = piVar7[1];
                }
                else {
                  iVar10 = piVar7[3];
                }
                iStack_e0 = (**(code **)(puVar31 + 0x15eedc))
                                      (iVar10,*(int *)(puVar31 + 0x15ee28) + 0x2c20,2,1,piStack_f0,
                                       *(int *)(puVar31 + 0x15ee24) + 0x3c44,0,0);
                if ((iStack_e0 == 0) &&
                   (iStack_e0 = (**(code **)(puVar31 + 0x15eedc))
                                          (piVar7[1],*(int *)(puVar31 + 0x15ee28) + 0x2c24,0,1,
                                           aiStack_c8,*(int *)(puVar31 + 0x15ee24) + 0x3b10,0,0),
                   iStack_e0 == 0)) {
                  iVar10 = *(int *)(puVar31 + 0x15ee28);
                  *piStack_f0 = iVar9 + 2;
                  iStack_e0 = (*pcVar5)(piVar7[2],&uStack_dc,param_2,iVar10 + 0x2c2c);
                  if ((iStack_e0 == 0) &&
                     ((iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d8,param_2,
                                             *(int *)(puVar31 + 0x15ee28) + 0x2ca0), iStack_e0 == 0
                      && (iStack_e0 = (*pcVar5)(piVar7[2],&uStack_d4,param_2,
                                                *(int *)(puVar31 + 0x15ee28) + 0x2cd8),
                         iStack_e0 == 0)))) {
                    dVar33 = *(double *)(*(int *)(puVar31 + 0x15ee2c) + -0x6648);
                    iStack_f4 = *(int *)(puVar31 + 0x15ee28);
                    iVar9 = *(int *)(puVar31 + 0x15ee28);
                    pcVar6 = (code *)(*(int *)(puVar31 + 0x15ee24) + 0x51c);
                    lVar2 = -100000;
LAB_0003249c:
                    iVar10 = (**(code **)(puVar31 + 0x15ee60))(uStack_dc);
                    if (iVar10 != 100) {
                      iVar10 = iStack_e0;
                      if (iStack_e0 == 0) {
                        pcVar5 = *(code **)(puVar31 + 0x15ee40);
                        if (99 < *piVar7) goto LAB_00032240;
                        iVar10 = (**(code **)(puVar31 + 0x15ef18))
                                           (piVar7[3],iStack_f4 + 0x2d04,0,0,0);
                      }
                      goto LAB_0003223c;
                    }
                    lVar34 = (**(code **)(puVar31 + 0x15ee74))(uStack_dc,0);
                    uVar14 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,1);
                    uVar15 = (**(code **)(puVar31 + 0x15ee78))(uStack_dc,2);
                    iVar10 = *piVar7;
                    if ((iVar10 < 100) && (lVar34 != lVar2)) {
                      uStack_b4 = 0;
                      uStack_b8 = 0;
                      uStack_ac = 0;
                      uStack_b0 = 0;
                      dStack_c0 = (double)iVar10 / dVar33;
                      aiStack_c8[0] = iVar10;
                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iStack_f4 + 0x2d04,0,0,0)
                      ;
                      if (iVar10 != 0) goto LAB_0003223c;
                      iVar11 = (**(code **)(puVar31 + 0x15ee34))
                                         (*(int *)(puVar31 + 0x15ee28) + 0x2d44,uVar14);
                      if (iVar11 == 0) {
                        iStack_e0 = 7;
                        iVar10 = iStack_e0;
                        goto LAB_0003223c;
                      }
                      iVar10 = (**(code **)(puVar31 + 0x15ef18))(piVar7[3],iVar11,0,0,0);
                      sqlite3_free(iVar11);
                      iStack_e0 = iVar10;
                      if (iVar10 != 0) goto LAB_0003223c;
                    }
                    uVar4 = uStack_d4;
                    uVar19 = uStack_d8;
                    uStack_d0 = 0;
                    iStack_cc = 0;
                    (**(code **)(puVar31 + 0x15ef64))(uStack_d8,1,uVar15,0xffffffff,0);
                    if (iStack_cc == 0) {
                      iVar12 = *(int *)(puVar31 + 0x15ee2c);
                      uVar27 = 0;
                      iVar32 = *(int *)(puVar31 + 0x15ee28);
                      iVar11 = 0;
                      iVar30 = *(int *)(puVar31 + 0x15ee28);
                      iVar26 = 0;
                      do {
                        iVar18 = (**(code **)(puVar31 + 0x15ee60))(uVar19);
                        iVar10 = iVar26;
                        if (iVar18 != 100) break;
                        uVar16 = (**(code **)(puVar31 + 0x15ee78))(uVar19,0);
                        iVar18 = iVar9 + 0x30a8;
                        if (iVar11 != 0) {
                          iVar18 = iVar12 + 0x1114;
                        }
                        uVar17 = (**(code **)(puVar31 + 0x15ee78))(uVar19,1);
                        iVar10 = iVar26 + 1;
                        iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar32 + 0x2d90,iVar18,uVar16,iVar26,
                                           uVar16,uVar17);
                        uVar27 = (*pcVar6)(&iStack_cc,uVar27,iVar30 + 0x2db4,iVar18,iVar10);
                        iVar26 = iVar10;
                      } while (iStack_cc == 0);
                    }
                    else {
                      iVar10 = 0;
                      uVar27 = 0;
                      iVar11 = 0;
                    }
                    (**(code **)(puVar31 + 0x15ef2c))(uVar19);
                    if (iStack_cc == 0) {
                      if (*piVar7 == 100) {
                        uVar19 = (**(code **)(puVar31 + 0x15ee34))
                                           (*(int *)(puVar31 + 0x15ee28) + 0x2dbc,iVar11,uVar14,
                                            uVar27);
                      }
                      else {
                        uVar19 = (**(code **)(puVar31 + 0x15ee34))
                                           (*(int *)(puVar31 + 0x15ee28) + 0x2ddc,iVar11,uVar27);
                      }
                    }
                    else {
                      uVar19 = 0;
                    }
                    sqlite3_free(iVar11);
                    sqlite3_free(uVar27);
                    if (iStack_cc == 0) {
                      if (*piVar7 == 100) {
                        iVar11 = piVar7[1];
                      }
                      else {
                        iVar11 = piVar7[3];
                      }
                      iStack_cc = (*pcVar5)(iVar11,&uStack_d0,param_2,uVar19);
                    }
                    sqlite3_free(uVar19);
                    if (iStack_cc == 0) {
                      piVar25 = (int *)(*(code *)(iVar29 + 0x368))(&iStack_cc,(iVar10 + 1) * 4);
                      if ((iStack_cc != 0) ||
                         (iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0), iVar11 != 100))
                      goto LAB_000327a8;
                      piVar20 = piVar25;
                      do {
                        *piVar20 = 1;
                        piVar20 = piVar20 + 1;
                      } while (piVar25 + iVar10 + 1 != piVar20);
LAB_00032874:
                      if (iStack_cc == 0) {
                        iVar11 = (**(code **)(puVar31 + 0x15ee60))(uStack_d0);
                        if (iVar11 != 100) {
                          if (iStack_cc == 0) {
                            iVar26 = *piVar25;
                            iVar11 = (**(code **)(puVar31 + 0x15ee34))
                                               (*(int *)(puVar31 + 0x15ee28) + 0x2918,iVar26);
                            if (iVar11 == 0) {
                              iStack_cc = 7;
                              goto LAB_00032928;
                            }
                            if (iStack_cc != 0) goto LAB_00032928;
                            iVar12 = *(int *)(puVar31 + 0x15ee2c);
                            if (iVar10 == 0) goto LAB_00032a64;
                            piVar20 = piVar25;
                            goto LAB_000329d0;
                          }
                          goto LAB_00032924;
                        }
                        *piVar25 = *piVar25 + 1;
                        iVar11 = 0;
                        if (iVar10 != 0) {
                          do {
                            iVar26 = (**(code **)(puVar31 + 0x15ef1c))(uStack_d0,iVar11);
                            if (iVar26 == 0) {
                              if (iVar11 < iVar10) {
                                piVar20 = piVar25 + iVar11;
                                do {
                                  piVar1 = piVar20 + 1;
                                  piVar20 = piVar20 + 1;
                                  *piVar20 = *piVar1 + 1;
                                } while (piVar25 + iVar10 != piVar20);
                              }
                              break;
                            }
                            iVar11 = iVar11 + 1;
                          } while (iVar10 != iVar11);
                        }
                        goto LAB_00032874;
                      }
LAB_00032924:
                      iVar11 = 0;
                      goto LAB_00032928;
                    }
                    piVar25 = (int *)0x0;
                    goto LAB_000327a8;
                  }
                }
              }
            }
            else {
              piStack_f0 = (int *)0x0;
            }
            iStack_f4 = *(int *)(puVar31 + 0x15ee28);
            iVar10 = iStack_e0;
LAB_0003223c:
            iStack_e0 = iVar10;
            pcVar5 = *(code **)(puVar31 + 0x15ee40);
LAB_00032240:
            iVar9 = (*pcVar5)(uStack_dc);
            if (iStack_e0 == 0) {
              iStack_e0 = iVar9;
            }
            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d8);
            if (iStack_e0 == 0) {
              iStack_e0 = iVar9;
            }
            iVar9 = (**(code **)(puVar31 + 0x15ee40))(uStack_d4);
            if (iStack_e0 == 0) {
              iStack_e0 = iVar9;
            }
            if (0 < *piStack_f0) {
              iVar9 = 0;
              piVar25 = piStack_f0;
              do {
                piVar25 = piVar25 + 10;
                iVar9 = iVar9 + 1;
                sqlite3_free(*piVar25);
              } while (iVar9 < *piStack_f0);
            }
            sqlite3_free(piStack_f0);
            if (iStack_e0 == 0) {
              iStack_e0 = (**(code **)(puVar31 + 0x15ef18))
                                    (piVar7[2],*(int *)(puVar31 + 0x15ee28) + 0x2e24,0,0,0);
            }
            (**(code **)(puVar31 + 0x15ef18))(piVar7[1],iStack_f4 + 0x2d04,0,0,0);
            iVar26 = iStack_e0;
          }
        }
        else {
          iVar26 = (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);
        }
      }
      else {
        (**(code **)(puVar31 + 0x15ee40))(aiStack_c8[0]);
      }
    }
LAB_00031d34:
    iVar29 = piVar7[0xb];
    iStack_e4 = iVar26;
    if (iVar29 != 0) goto LAB_00031d40;
  }
  else {
    do {
      while( true ) {
        iVar29 = FUN_0002bdc0(piVar7,iVar9,0);
        if (iVar29 != 0) goto LAB_000320ec;
        if (*(int *)(iVar9 + 0x10) != 0) break;
        iVar9 = *(int *)(iVar9 + 0x1c);
        if (iVar9 == 0) goto LAB_0003210c;
      }
      iVar29 = FUN_0002bdc0(piVar7,iVar9);
      iVar9 = *(int *)(iVar9 + 0x1c);
      if (iVar9 == 0) {
        iStack_e4 = iVar29;
        if (iVar29 == 0) goto LAB_0003211c;
        break;
      }
    } while (iVar29 == 0);
LAB_000320ec:
    iStack_e4 = iVar29;
    iVar29 = piVar7[0xb];
    iVar9 = iStack_e4;
    if (iVar29 == 0) goto LAB_00031db8;
LAB_00031d40:
    iVar26 = *(int *)(puVar31 + 0x15ee28);
    iVar11 = *(int *)(puVar31 + 0x15ee28);
    iVar10 = *(int *)(puVar31 + 0x15ee28);
    iVar9 = piVar7[0x40b];
    do {
      iVar12 = iVar10 + 0x30a8;
      if (*(int *)(iVar29 + 8) != 0) {
        iVar12 = iVar11 + 0x2a20;
      }
      iVar9 = FUN_0002051c(&iStack_e4,iVar9,iVar26 + 0x2e3c,*(undefined4 *)(iVar29 + 4),iVar12,
                           *(int *)(iVar29 + 8));
      piVar7[0x40b] = iVar9;
      iVar29 = *(int *)(iVar29 + 0x10);
    } while (iVar29 != 0);
  }
  iVar9 = iStack_e4;
  if ((iStack_e4 == 0) && (iVar9 = idxFindIndexes(piVar7,param_2), iVar9 == 0)) {
    piVar7[8] = 1;
  }
LAB_00031db8:
  if (iStack_a4 == *piVar8) {
    return iVar9;
  }
  (**(code **)(puVar31 + 0x15f2c8))();
  if (*(int **)(iStack_a4 + 0x1c) != (int *)0x0) {
    return **(int **)(iStack_a4 + 0x1c) + 1;
  }
  return 0;
  while (piVar20 = piVar20 + 1, piVar25 + iVar10 != piVar20) {
LAB_000329d0:
    iVar30 = piVar20[1];
    if (iVar30 == 0) {
      trap(7);
    }
    iVar11 = (*pcVar6)(&iStack_cc,iVar11,iVar12 + -0x556c,(iVar30 / 2 + iVar26) / iVar30);
    if (iStack_cc != 0) goto LAB_00032928;
  }
LAB_00032a64:
  (**(code **)(puVar31 + 0x15ef64))(uVar4,1,uVar14,0xffffffff,0);
  (**(code **)(puVar31 + 0x15ef64))(uVar4,2,uVar15,0xffffffff,0);
  (**(code **)(puVar31 + 0x15ef64))(uVar4,3,iVar11,0xffffffff,0);
  (**(code **)(puVar31 + 0x15ee60))(uVar4);
  iStack_cc = (**(code **)(puVar31 + 0x15ef2c))(uVar4);
LAB_00032928:
  uVar14 = (**(code **)(puVar31 + 0x15f250))(uVar15);
  iVar10 = FUN_00021854(piVar7 + 0xb,uVar15,uVar14);
  if (iVar10 == 0) {
    sqlite3_free(iVar11);
  }
  else {
    *(int *)(iVar10 + 8) = iVar11;
  }
LAB_000327a8:
  sqlite3_free(piVar25);
  iStack_e0 = (**(code **)(puVar31 + 0x15ee40))(uStack_d0);
  if (iStack_cc != 0) {
    iStack_e0 = iStack_cc;
    iVar10 = iStack_e0;
    goto LAB_0003223c;
  }
  iVar10 = iStack_e0;
  lVar2 = lVar34;
  if (iStack_e0 != 0) goto LAB_0003223c;
  goto LAB_0003249c;
}

