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

int sqlite3_expert_analyze(sqlite3expert *p,char **pzErr)

{
  sqlite3_stmt *psVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  void *pvVar7;
  undefined4 *puVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  undefined4 uVar11;
  int iVar12;
  sqlite3_stmt *psVar13;
  sqlite3 *psVar14;
  int iVar15;
  int iVar16;
  IdxWrite *pIVar17;
  IdxScan *pScan;
  IdxHashEntry *pIVar18;
  IdxTable *pIVar19;
  char *pcVar20;
  int in_t9;
  code *pcVar21;
  double dVar22;
  longlong lVar23;
  int *piStack_80;
  int iStack_74;
  int rc_1;
  sqlite3_stmt *pAllIndex;
  sqlite3_stmt *pIndexXInfo;
  sqlite3_stmt *pWrite;
  sqlite3_stmt *pSelect;
  int rc;
  sqlite3_stmt *pX;
  double dStack_50;
  undefined4 uStack_48;
  undefined4 uStack_44;
  undefined4 uStack_40;
  undefined4 uStack_3c;
  int iStack_34;
  
  piVar2 = *(int **)(in_t9 + 0x15f2f4);
  pIVar17 = p->pWrite;
  iStack_34 = *piVar2;
  if ((pIVar17 == (IdxWrite *)0x0) ||
     (iVar3 = *(int *)(in_t9 + 0x15ee2c) + 0x1114, pIVar17 == (IdxWrite *)0x0)) {
    pScan = p->pScan;
    iStack_74 = 0;
    if (pScan != (IdxScan *)0x0) {
      do {
        while( true ) {
          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);
          if (iVar3 != 0) goto LAB_000320ec;
          if (pScan->pOrder != (IdxConstraint *)0x0) break;
          pScan = pScan->pNextScan;
          if (pScan == (IdxScan *)0x0) goto LAB_0003210c;
        }
        iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);
        pScan = pScan->pNextScan;
        if (pScan == (IdxScan *)0x0) {
          iStack_74 = iVar3;
          if (iVar3 == 0) goto LAB_0003211c;
          break;
        }
      } while (iVar3 == 0);
LAB_000320ec:
      iStack_74 = iVar3;
      pIVar18 = (p->hIdx).pFirst;
      if (pIVar18 == (IdxHashEntry *)0x0) {
        iVar3 = FUN_00031db8();
        return iVar3;
      }
      iVar6 = *(int *)(in_t9 + 0x15ee28);
      iVar4 = *(int *)(in_t9 + 0x15ee28);
      iVar3 = *(int *)(in_t9 + 0x15ee28);
      pcVar20 = p->zCandidates;
      do {
        iVar15 = iVar3 + 0x30a8;
        if (pIVar18->zVal2 != (char *)0x0) {
          iVar15 = iVar4 + 0x2a20;
        }
        pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,
                                pIVar18->zVal2);
        p->zCandidates = pcVar20;
        pIVar18 = pIVar18->pNext;
      } while (pIVar18 != (IdxHashEntry *)0x0);
      iVar3 = iStack_74;
      if ((iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)) {
        p->bRun = 1;
      }
      if (iStack_34 == *piVar2) {
        return iVar3;
      }
      (**(code **)(in_t9 + 0x15f2c8))();
      if (*(int **)(iStack_34 + 0x1c) != (int *)0x0) {
        return **(int **)(iStack_34 + 0x1c) + 1;
      }
      return 0;
    }
LAB_0003210c:
    iStack_74 = 0;
LAB_0003211c:
    rc_1 = 0;
    pAllIndex = (sqlite3_stmt *)0x0;
    pIndexXInfo = (sqlite3_stmt *)0x0;
    pWrite = (sqlite3_stmt *)0x0;
    if (p->iSample == 0) {
LAB_00032138:
      iVar3 = FUN_00031d34();
      return iVar3;
    }
    pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + -0x2194);
    pX = (sqlite3_stmt *)0x0;
    iVar3 = idxPrepareStmt(p->dbm,&pX,pzErr,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70));
    if (iVar3 != 0) {
      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);
      iVar3 = FUN_00031d34();
      return iVar3;
    }
    iVar3 = (**(code **)(in_t9 + 0x15ee60))(pX);
    if (iVar3 != 100) {
      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);
      iVar3 = FUN_00031d34();
      return iVar3;
    }
    iVar3 = (**(code **)(in_t9 + 0x15ef1c))(pX,0);
    rc_1 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);
    if ((iVar3 + 1 < 1) || (rc_1 != 0)) goto LAB_00032138;
    rc_1 = (**(code **)(in_t9 + 0x15ef18))(p->dbm,*(int *)(in_t9 + 0x15ee28) + 0x2bfc,0,0,0);
    if (rc_1 == 0) {
      piStack_80 = (int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30);
      iVar4 = rc_1;
      if (rc_1 == 0) {
        if (p->iSample == 100) {
          psVar14 = p->db;
        }
        else {
          psVar14 = p->dbv;
        }
        rc_1 = (**(code **)(in_t9 + 0x15eedc))
                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,
                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);
        iVar4 = rc_1;
        if ((rc_1 == 0) &&
           (rc_1 = (**(code **)(in_t9 + 0x15eedc))
                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,
                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {
          iVar4 = *(int *)(in_t9 + 0x15ee28);
          *piStack_80 = iVar3 + 2;
          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);
          iVar4 = rc_1;
          if ((rc_1 == 0) &&
             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),
              iVar4 = rc_1, rc_1 == 0 &&
              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),
              iVar4 = rc_1, rc_1 == 0)))) {
            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);
            iVar3 = *(int *)(in_t9 + 0x15ee28);
            iVar4 = *(int *)(in_t9 + 0x15ee28);
            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);
            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);
            if (iVar6 == 100) {
              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);
              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);
              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);
              psVar1 = pIndexXInfo;
              psVar13 = (sqlite3_stmt *)p->iSample;
              if ((99 < (int)psVar13) || (lVar23 == -100000)) {
                pSelect = (sqlite3_stmt *)0x0;
                rc = 0;
                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);
                if (rc == 0) {
                  iVar6 = *(int *)(in_t9 + 0x15ee2c);
                  uVar9 = 0;
                  iVar16 = *(int *)(in_t9 + 0x15ee28);
                  pvVar7 = (void *)0x0;
                  iVar15 = *(int *)(in_t9 + 0x15ee28);
                  iVar3 = 0;
                  do {
                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);
                    if (iVar12 != 100) break;
                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);
                    iVar12 = iVar4 + 0x30a8;
                    if (pvVar7 != (void *)0x0) {
                      iVar12 = iVar6 + 0x1114;
                    }
                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);
                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,
                                                uVar10,uVar11);
                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);
                    iVar3 = iVar3 + 1;
                  } while (rc == 0);
                }
                else {
                  uVar9 = 0;
                  pvVar7 = (void *)0x0;
                }
                (**(code **)(in_t9 + 0x15ef2c))(psVar1);
                if (rc == 0) {
                  if (p->iSample == 100) {
                    (**(code **)(in_t9 + 0x15ee34))
                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);
                  }
                  else {
                    (**(code **)(in_t9 + 0x15ee34))
                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);
                  }
                }
                    /* WARNING: Subroutine does not return */
                sqlite3_free(pvVar7);
              }
              uStack_44 = 0;
              uStack_48 = 0;
              uStack_3c = 0;
              uStack_40 = 0;
              dStack_50 = (double)(int)psVar13 / dVar22;
              pX = psVar13;
              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);
              if (iVar4 == 0) {
                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))
                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);
                if (pvVar7 != (void *)0x0) {
                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);
                    /* WARNING: Subroutine does not return */
                  sqlite3_free(pvVar7);
                }
                rc_1 = 7;
                iVar4 = rc_1;
              }
            }
            else {
              iVar4 = rc_1;
              if (rc_1 == 0) {
                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);
                if (99 < p->iSample) goto LAB_00032240;
                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);
              }
            }
          }
        }
      }
    }
    else {
      piStack_80 = (int *)0x0;
      iVar4 = rc_1;
    }
    rc_1 = iVar4;
    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);
LAB_00032240:
    iVar3 = (*pcVar21)(pAllIndex);
    if (rc_1 == 0) {
      rc_1 = iVar3;
    }
    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pIndexXInfo);
    if (rc_1 == 0) {
      rc_1 = iVar3;
    }
    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pWrite);
    if (rc_1 == 0) {
      rc_1 = iVar3;
    }
    if (0 < *piStack_80) {
                    /* WARNING: Subroutine does not return */
      sqlite3_free((void *)piStack_80[10]);
    }
                    /* WARNING: Subroutine does not return */
    sqlite3_free(piStack_80);
  }
  iVar4 = *(int *)(in_t9 + 0x15ee28);
  pIVar19 = pIVar17->pTab;
  pcVar20 = pIVar19->zName;
  pSelect = (sqlite3_stmt *)0x0;
  rc = 0;
  rc = (*(code *)(*(int *)(in_t9 + 0x15ee24) + -0x884))
                 (p->db,&pSelect,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2a2c,pcVar20,pcVar20);
  if (rc == 0) {
    do {
      iVar6 = (**(code **)(in_t9 + 0x15ee60))(pSelect);
      if (iVar6 != 100) break;
      uVar5 = (**(code **)(in_t9 + 0x15ee78))(pSelect,0);
      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr);
    } while (rc == 0);
    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);
  }
  else {
    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);
  }
  iVar6 = (*pcVar21)(pSelect);
  if ((rc == 0) && (rc = iVar6, iVar6 == 0)) {
    iVar6 = *(int *)(in_t9 + 0x15ee28);
    pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))
                               (*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac);
    if (pvVar7 != (void *)0x0) {
      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr);
                    /* WARNING: Subroutine does not return */
      sqlite3_free(pvVar7);
    }
    rc = 7;
    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;
    if (pIVar17->eOp != 0x17) goto LAB_00031d18;
LAB_00031ef8:
    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac);
    if (0 < pIVar19->nCol) {
      iVar16 = 0;
      iVar6 = *(int *)(in_t9 + 0x15ee28);
      iVar15 = 0;
      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;
      do {
        iVar16 = iVar16 + 1;
        puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);
        iVar15 = iVar15 + 0xc;
        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);
        iVar4 = iVar3;
      } while (iVar16 < pIVar19->nCol);
    }
  }
  else {
    if (pIVar17->eOp != 0x12) {
      if (pIVar17->eOp == 0x17) {
        iVar6 = *(int *)(in_t9 + 0x15ee28);
        goto LAB_00031ef8;
      }
      if (rc == 0) {
        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))
                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,
                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);
        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;
        rc = 7;
      }
LAB_00031d18:
      pcVar20 = (char *)0x0;
      goto LAB_00031d20;
    }
    iVar6 = *(int *)(in_t9 + 0x15ee28);
LAB_00031fc8:
    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),
                            iVar6 + 0x2aac);
    if (0 < pIVar19->nCol) {
      iVar6 = 0;
      iVar15 = *(int *)(in_t9 + 0x15ee28);
      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;
      do {
        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);
        iVar6 = iVar6 + 1;
        iVar4 = iVar3;
      } while (iVar6 < pIVar19->nCol);
    }
    pcVar20 = idxAppendText(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034));
  }
LAB_00031e1c:
  if (rc == 0) {
    pX = (sqlite3_stmt *)0x0;
    rc = (**(code **)(in_t9 + 0x15ee38))(p->dbv,pcVar20,0xffffffff,&pX,0);
    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);
    if ((rc != 0) || (rc = iVar3, iVar3 != 0)) {
      idxDatabaseError(p->dbv,pzErr);
                    /* WARNING: Subroutine does not return */
      sqlite3_free(pcVar20);
    }
  }
LAB_00031d20:
                    /* WARNING: Subroutine does not return */
  sqlite3_free(pcVar20);
}



int sqlite3_expert_analyze(int *param_1,undefined4 param_2)

{
  int *piVar1;
  longlong lVar2;
  undefined *puVar3;
  undefined4 uVar4;
  undefined *puVar5;
  code *pcVar6;
  int iVar7;
  undefined4 *puVar8;
  code *pcVar9;
  undefined4 uVar10;
  undefined4 uVar11;
  undefined4 uVar12;
  undefined4 uVar13;
  int iVar14;
  undefined4 uVar15;
  int iVar16;
  int *piVar17;
  undefined4 *puVar18;
  undefined4 *puVar19;
  int *piVar20;
  undefined *puVar21;
  undefined *puVar22;
  int iVar23;
  undefined *puVar24;
  undefined4 uVar25;
  undefined4 *puVar26;
  undefined *puVar27;
  code *pcVar28;
  double dVar29;
  longlong lVar30;
  undefined *local_84;
  int *local_80;
  int local_74;
  int local_70;
  undefined4 local_6c;
  undefined4 local_68;
  undefined4 local_64;
  undefined4 local_60;
  int local_5c;
  int local_58 [2];
  double local_50;
  undefined4 local_48;
  undefined4 local_44;
  undefined4 local_40;
  undefined4 local_3c;
  int local_34;
  
  puVar3 = PTR___stack_chk_guard_00190e24;
  local_34 = *(int *)PTR___stack_chk_guard_00190e24;
  if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {
    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;
    puVar19 = (undefined4 *)param_1[6];
    puVar26 = (undefined4 *)0x0;
    do {
      puVar18 = puVar19;
      puVar21 = PTR_LAB_00190958;
      puVar19 = puVar18;
      if (puVar26 != puVar18) {
        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);
        do {
          piVar20 = (int *)*puVar19;
          iVar23 = piVar20[1];
          local_60 = 0;
          local_5c = 0;
          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);
          while ((local_5c == 0 &&
                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {
            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);
            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);
          }
          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);
          puVar24 = PTR_LAB_00190958;
          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {
            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)
                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);
            if (iVar23 != 0) {
              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);
              sqlite3_free(iVar23);
              goto LAB_00031cf4;
            }
            local_5c = 7;
            if (puVar19[1] == 0x12) goto LAB_00031fc8;
            if (puVar19[1] != 0x17) goto LAB_00031d18;
LAB_00031ef8:
            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);
            if (0 < *piVar20) {
              iVar16 = 0;
              iVar7 = 0;
              puVar27 = PTR_LAB_00190958 + 0x2b24;
              puVar24 = PTR_LAB_00190958 + 0x30a8;
              do {
                iVar16 = iVar16 + 1;
                puVar8 = (undefined4 *)(piVar20[2] + iVar7);
                iVar7 = iVar7 + 0xc;
                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);
                puVar24 = puVar5;
              } while (iVar16 < *piVar20);
            }
LAB_00031e1c:
            if (local_5c != 0) goto LAB_00031d20;
            local_58[0] = 0;
            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)
                                 (param_1[3],iVar23,0xffffffff,local_58,0);
            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);
            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;
            FUN_0001de18(param_1[3],param_2);
            sqlite3_free(iVar23);
          }
          else {
LAB_00031cf4:
            puVar24 = PTR_LAB_00190958;
            if (puVar19[1] == 0x12) {
LAB_00031fc8:
              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);
              if (0 < *piVar20) {
                iVar23 = 0;
                puVar27 = PTR_LAB_00190958 + 0x2b10;
                puVar24 = PTR_LAB_00190958 + 0x30a8;
                do {
                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);
                  iVar23 = iVar23 + 1;
                  puVar24 = puVar5;
                } while (iVar23 < *piVar20);
              }
              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);
              goto LAB_00031e1c;
            }
            if (puVar19[1] == 0x17) goto LAB_00031ef8;
            if (local_5c == 0) {
              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)
                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);
              if (iVar23 != 0) goto LAB_00031e1c;
              local_5c = 7;
            }
LAB_00031d18:
            iVar23 = 0;
LAB_00031d20:
            sqlite3_free(iVar23);
          }
          iVar23 = local_5c;
          if (local_5c != 0) goto LAB_00031d34;
          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)
                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);
          puVar19 = (undefined4 *)puVar19[2];
          if (iVar23 != 0) goto LAB_00031d34;
        } while (puVar19 != puVar26);
        puVar19 = (undefined4 *)param_1[6];
      }
      puVar26 = puVar18;
    } while (puVar18 != puVar19);
  }
  iVar23 = param_1[5];
  local_74 = 0;
  if (iVar23 == 0) {
LAB_0003210c:
    local_74 = 0;
LAB_0003211c:
    iVar23 = *param_1;
    local_70 = 0;
    local_6c = 0;
    local_68 = 0;
    local_64 = 0;
    if (iVar23 != 0) {
      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);
      local_58[0] = 0;
      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);
      if (iVar23 == 0) {
        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);
        if (iVar23 == 100) {
          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);
          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);
          local_70 = iVar23;
          if ((0 < iVar7 + 1) && (iVar23 == 0)) {
            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)
                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);
            if (local_70 == 0) {
              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);
              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);
              if (local_70 == 0) {
                if (*param_1 == 100) {
                  iVar23 = param_1[1];
                }
                else {
                  iVar23 = param_1[3];
                }
                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)
                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,
                                      PTR_LAB_00190954 + 0x3c44,0,0);
                if ((local_70 == 0) &&
                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)
                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,
                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,
                   local_70 == 0)) {
                  *local_80 = iVar7 + 2;
                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);
                  if ((local_70 == 0) &&
                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),
                      local_70 == 0 &&
                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),
                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {
                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);
                    local_84 = PTR_LAB_00190958;
                    puVar21 = PTR_LAB_00190958 + 0x30a8;
                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);
                    lVar2 = -100000;
LAB_0003249c:
                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);
                    if (iVar23 != 100) {
                      iVar23 = local_70;
                      if ((local_70 == 0) && (*param_1 < 100)) {
                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)
                                           (param_1[3],puVar5 + 0x2d04,0,0,0);
                      }
                      goto LAB_00032240;
                    }
                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);
                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);
                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);
                    iVar23 = *param_1;
                    if ((iVar23 < 100) && (lVar30 != lVar2)) {
                      local_44 = 0;
                      local_48 = 0;
                      local_3c = 0;
                      local_40 = 0;
                      local_50 = (double)iVar23 / dVar29;
                      local_58[0] = iVar23;
                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)
                                         (param_1[3],puVar5 + 0x2d04,0,0,0);
                      if (iVar23 != 0) goto LAB_00032240;
                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)
                                        (PTR_LAB_00190958 + 0x2d44,uVar10);
                      if (iVar7 == 0) {
                        local_70 = 7;
                        iVar23 = local_70;
                        goto LAB_00032240;
                      }
                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);
                      sqlite3_free(iVar7);
                      local_70 = iVar23;
                      if (iVar23 != 0) goto LAB_00032240;
                    }
                    uVar4 = local_64;
                    uVar15 = local_68;
                    local_60 = 0;
                    local_5c = 0;
                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);
                    puVar24 = PTR_LAB_00190958;
                    if (local_5c == 0) {
                      uVar25 = 0;
                      iVar7 = 0;
                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;
                      iVar16 = 0;
                      do {
                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);
                        iVar23 = iVar16;
                        if (iVar14 != 100) break;
                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);
                        puVar22 = puVar21;
                        if (iVar7 != 0) {
                          puVar22 = puVar27;
                        }
                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);
                        iVar23 = iVar16 + 1;
                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,
                                          uVar12,uVar13);
                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);
                        iVar16 = iVar23;
                      } while (local_5c == 0);
                    }
                    else {
                      iVar23 = 0;
                      uVar25 = 0;
                      iVar7 = 0;
                    }
                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);
                    if (local_5c == 0) {
                      if (*param_1 == 100) {
                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)
                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);
                      }
                      else {
                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)
                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);
                      }
                    }
                    else {
                      uVar15 = 0;
                    }
                    sqlite3_free(iVar7);
                    sqlite3_free(uVar25);
                    if (local_5c == 0) {
                      if (*param_1 == 100) {
                        iVar7 = param_1[1];
                      }
                      else {
                        iVar7 = param_1[3];
                      }
                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);
                    }
                    sqlite3_free(uVar15);
                    if (local_5c == 0) {
                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);
                      if ((local_5c != 0) ||
                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))
                      goto LAB_000327a8;
                      piVar17 = piVar20;
                      do {
                        *piVar17 = 1;
                        piVar17 = piVar17 + 1;
                      } while (piVar20 + iVar23 + 1 != piVar17);
LAB_00032874:
                      if (local_5c == 0) {
                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);
                        if (iVar7 != 100) {
                          if (local_5c == 0) {
                            iVar16 = *piVar20;
                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)
                                              (PTR_LAB_00190958 + 0x2918,iVar16);
                            if (iVar7 == 0) {
                              local_5c = 7;
                              goto LAB_00032928;
                            }
                            if (local_5c != 0) goto LAB_00032928;
                            if (iVar23 == 0) goto LAB_00032a64;
                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;
                            piVar17 = piVar20;
                            goto LAB_000329d0;
                          }
                          goto LAB_00032924;
                        }
                        *piVar20 = *piVar20 + 1;
                        iVar7 = 0;
                        if (iVar23 != 0) {
                          do {
                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);
                            if (iVar16 == 0) {
                              if (iVar7 < iVar23) {
                                piVar17 = piVar20 + iVar7;
                                do {
                                  piVar1 = piVar17 + 1;
                                  piVar17 = piVar17 + 1;
                                  *piVar17 = *piVar1 + 1;
                                } while (piVar20 + iVar23 != piVar17);
                              }
                              break;
                            }
                            iVar7 = iVar7 + 1;
                          } while (iVar23 != iVar7);
                        }
                        goto LAB_00032874;
                      }
LAB_00032924:
                      iVar7 = 0;
                      goto LAB_00032928;
                    }
                    piVar20 = (int *)0x0;
                    goto LAB_000327a8;
                  }
                }
              }
            }
            else {
              local_80 = (int *)0x0;
            }
            local_84 = PTR_LAB_00190958;
            iVar23 = local_70;
LAB_00032240:
            local_70 = iVar23;
            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);
            if (local_70 == 0) {
              local_70 = iVar23;
            }
            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);
            if (local_70 == 0) {
              local_70 = iVar23;
            }
            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);
            if (local_70 == 0) {
              local_70 = iVar23;
            }
            if (0 < *local_80) {
              iVar23 = 0;
              piVar20 = local_80;
              do {
                piVar20 = piVar20 + 10;
                iVar23 = iVar23 + 1;
                sqlite3_free(*piVar20);
              } while (iVar23 < *local_80);
            }
            sqlite3_free(local_80);
            if (local_70 == 0) {
              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)
                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);
            }
            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);
            iVar23 = local_70;
          }
        }
        else {
          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);
        }
      }
      else {
        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);
      }
    }
LAB_00031d34:
    iVar7 = param_1[0xb];
    local_74 = iVar23;
    if (iVar7 != 0) goto LAB_00031d40;
  }
  else {
    do {
      while( true ) {
        iVar7 = FUN_0002bdc0(param_1,iVar23,0);
        if (iVar7 != 0) goto LAB_000320ec;
        if (*(int *)(iVar23 + 0x10) != 0) break;
        iVar23 = *(int *)(iVar23 + 0x1c);
        if (iVar23 == 0) goto LAB_0003210c;
      }
      iVar7 = FUN_0002bdc0(param_1,iVar23);
      iVar23 = *(int *)(iVar23 + 0x1c);
      if (iVar23 == 0) {
        local_74 = iVar7;
        if (iVar7 == 0) goto LAB_0003211c;
        break;
      }
    } while (iVar7 == 0);
LAB_000320ec:
    local_74 = iVar7;
    iVar7 = param_1[0xb];
    iVar23 = local_74;
    if (iVar7 == 0) goto LAB_00031db8;
LAB_00031d40:
    iVar23 = param_1[0x40b];
    puVar24 = PTR_LAB_00190958 + 0x2e3c;
    puVar21 = PTR_LAB_00190958 + 0x2a20;
    puVar5 = PTR_LAB_00190958 + 0x30a8;
    do {
      puVar27 = puVar5;
      if (*(int *)(iVar7 + 8) != 0) {
        puVar27 = puVar21;
      }
      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,
                            *(int *)(iVar7 + 8));
      param_1[0x40b] = iVar23;
      iVar7 = *(int *)(iVar7 + 0x10);
    } while (iVar7 != 0);
  }
  iVar23 = local_74;
  if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {
    param_1[8] = 1;
  }
LAB_00031db8:
  if (local_34 == *(int *)puVar3) {
    return iVar23;
  }
  (*(code *)PTR___stack_chk_fail_00190df8)();
  if (*(int **)(local_34 + 0x1c) != (int *)0x0) {
    return **(int **)(local_34 + 0x1c) + 1;
  }
  return 0;
  while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {
LAB_000329d0:
    iVar14 = piVar17[1];
    if (iVar14 == 0) {
      trap(7);
    }
    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);
    if (local_5c != 0) goto LAB_00032928;
  }
LAB_00032a64:
  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);
  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);
  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);
  (*(code *)PTR_sqlite3_step_00190990)(uVar4);
  local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);
LAB_00032928:
  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);
  iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);
  if (iVar23 == 0) {
    sqlite3_free(iVar7);
  }
  else {
    *(int *)(iVar23 + 8) = iVar7;
  }
LAB_000327a8:
  sqlite3_free(piVar20);
  local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);
  if (local_5c != 0) {
    local_70 = local_5c;
    iVar23 = local_70;
    goto LAB_00032240;
  }
  iVar23 = local_70;
  lVar2 = lVar30;
  if (local_70 != 0) goto LAB_00032240;
  goto LAB_0003249c;
}


lui gp,0x16
addiu gp,gp,0x6df0
addu gp,gp,t9
addiu sp,sp,-0xe0
lw v0,-0x7afc(gp)
sdc1 f20,0xd8(sp)
sw s4,0xc0(sp)
or s4,a1,zero
sw s1,0xb4(sp)
or s1,a0,zero
sw gp,0x20(sp)
sw ra,0xd4(sp)
sw s8,0xd0(sp)
sw s7,0xcc(sp)
sw s6,0xc8(sp)
sw s5,0xc4(sp)
sw s3,0xbc(sp)
sw s2,0xb8(sp)
sw s0,0xb0(sp)
sw v0,0x4c(sp)
lw s0,0x18(a0)
lw v0,0x0(v0)
sw s0,0x48(sp)
sw v0,0xac(sp)
beq s0,zero,0x0003208c
_lw s7,-0x7fc4(gp)
or s6,zero,zero
lw s3,-0x7fcc(gp)
addiu v0,s7,0x1114
addiu s3,s3,0x51c
sw v0,0x28(sp)
beq s6,s0,0x00031ecc
_nop
lw v0,-0x7fc8(gp)
addiu s8,sp,0x80
sw v0,0x3c(sp)
lw v0,-0x7fcc(gp)
sw v0,0x40(sp)
lw v0,-0x7fc8(gp)
sw v0,0x44(sp)
lw v0,-0x7fcc(gp)
addiu v0,v0,-0x884
sw v0,0x38(sp)
lw s2,0x0(s0)
or a2,s4,zero
lw v0,0x3c(sp)
or a1,s8,zero
lw a0,0x4(s1)
li s7,0x64
lw t9,0x38(sp)
lw s5,0x4(s2)
addiu a3,v0,0x2a2c
sw zero,0x80(sp)
sw zero,0x84(sp)
sw s5,0x14(sp)
jalr t9
_sw s5,0x10(sp)
lw gp,0x20(sp)
beq v0,zero,0x00031c64
_sw v0,0x84(sp)
b 0x00031c7c
_lw t9,-0x7fb0(gp)
lw t9,-0x7f78(gp)
or a1,zero,zero
jalr t9
_lw a0,0x80(sp)
or a3,zero,zero
lw gp,0x20(sp)
or a2,zero,zero
lw a0,0xc(s1)
or a1,v0,zero
lw t9,-0x7ed8(gp)
jalr t9
_sw s4,0x10(sp)
lw gp,0x20(sp)
bne v0,zero,0x00031c78
_sw v0,0x84(sp)
lw t9,-0x7f90(gp)
jalr t9
_lw a0,0x80(sp)
beq v0,s7,0x00031c28
_lw gp,0x20(sp)
lw t9,-0x7fb0(gp)
jalr t9
_lw a0,0x80(sp)
lw v1,0x84(sp)
bne v1,zero,0x00031cf4
_lw gp,0x20(sp)
bne v0,zero,0x00031cf4
_sw v0,0x84(sp)
lw s7,-0x7fc8(gp)
or a1,s5,zero
lw a0,-0x7fc8(gp)
lw t9,-0x7fbc(gp)
addiu a2,s7,0x2aac
jalr t9
_addiu a0,a0,0x2ad4
lw gp,0x20(sp)
beq v0,zero,0x00031f9c
_or s5,v0,zero
lw t9,-0x7ed8(gp)
or a3,zero,zero
lw a0,0xc(s1)
or a2,zero,zero
or a1,v0,zero
jalr t9
_sw s4,0x10(sp)
or a0,s5,zero
lw gp,0x20(sp)
lw t9,-0x7fb4(gp)
bal 0x0004db4c
_sw v0,0x84(sp)
lw gp,0x20(sp)
lw v0,0x4(s0)
li v1,0x12
beq v0,v1,0x00031fc4
_li v1,0x17
beq v0,v1,0x00031ef0
_lw v0,0x44(sp)
lw v0,0x84(sp)
beq v0,zero,0x00031df8
_lw s7,-0x7fc8(gp)
or s7,zero,zero
lw t9,-0x7fb4(gp)
bal 0x0004db4c
_or a0,s7,zero
lw v0,0x84(sp)
beq v0,zero,0x00031e94
_lw gp,0x20(sp)
lw s0,0x2c(s1)
beq s0,zero,0x00031da8
_sw v0,0x6c(sp)
lw s6,-0x7fcc(gp)
addiu s7,sp,0x6c
lw s5,-0x7fc8(gp)
lw s3,-0x7fc8(gp)
lw s2,-0x7fc8(gp)
addiu s6,s6,0x51c
lw v0,0x102c(s1)
addiu s5,s5,0x2e3c
addiu s3,s3,0x2a20
addiu s2,s2,0x30a8
lw v1,0x8(s0)
or a1,v0,zero
or v0,s2,zero
lw a3,0x4(s0)
or a2,s5,zero
movn v0,s3,v1
or a0,s7,zero
or t9,s6,zero
sw v1,0x14(sp)
bal 0x0002051c
_sw v0,0x10(sp)
lw gp,0x20(sp)
sw v0,0x102c(s1)
lw s0,0x10(s0)
bne s0,zero,0x00031d68
_nop
lw v0,0x6c(sp)
beq v0,zero,0x0003206c
_lw t9,-0x7e48(gp)
lw v1,0x4c(sp)
lw a0,0xac(sp)
lw v1,0x0(v1)
bne a0,v1,0x00032b58
_lw ra,0xd4(sp)
lw s8,0xd0(sp)
lw s7,0xcc(sp)
lw s6,0xc8(sp)
lw s5,0xc4(sp)
lw s4,0xc0(sp)
lw s3,0xbc(sp)
lw s2,0xb8(sp)
lw s1,0xb4(sp)
lw s0,0xb0(sp)
ldc1 f20,0xd8(sp)
jr ra
_addiu sp,sp,0xe0
lw a0,-0x7fc8(gp)
lw t9,-0x7fbc(gp)
addiu a1,s7,0x2aac
jalr t9
_addiu a0,a0,0x2b2c
lw gp,0x20(sp)
beq v0,zero,0x00032060
_or s7,v0,zero
lw v0,0x84(sp)
bne v0,zero,0x00031d20
_lw t9,-0x7fb4(gp)
lw t9,-0x7fb8(gp)
addiu a3,sp,0x88
lw a0,0xc(s1)
li a2,-0x1
or a1,s7,zero
sw zero,0x10(sp)
jalr t9
_sw zero,0x88(sp)
lw gp,0x20(sp)
lw a0,0x88(sp)
lw t9,-0x7fb0(gp)
jalr t9
_sw v0,0x84(sp)
lw v1,0x84(sp)
beq v1,zero,0x00031ee0
_lw gp,0x20(sp)
lw v0,0x40(sp)
or a1,s4,zero
addiu t9,v0,-0x21e8
bal 0x0001de18
_lw a0,0xc(s1)
lw gp,0x20(sp)
lw t9,-0x7fb4(gp)
bal 0x0004db4c
_or a0,s7,zero
lw v0,0x84(sp)
bne v0,zero,0x00031d34
_lw gp,0x20(sp)
lw a1,-0x7fc8(gp)
or a3,zero,zero
lw t9,-0x7ed8(gp)
or a2,zero,zero
lw a0,0xc(s1)
addiu a1,a1,0x2b3c
jalr t9
_sw s4,0x10(sp)
lw gp,0x20(sp)
bne v0,zero,0x00031d34
_lw s0,0x8(s0)
bne s0,s6,0x00031bdc
_nop
lw s0,0x18(s1)
lw s6,0x48(sp)
beq s6,s0,0x0003208c
_nop
b 0x00031bac
_sw s0,0x48(sp)
beq v0,zero,0x00031d1c
_sw v0,0x84(sp)
b 0x00031e68
_lw v0,0x40(sp)
lw s7,-0x7fc8(gp)
addiu s5,sp,0x84
addiu a3,s7,0x2aac
or a1,zero,zero
addiu a2,v0,0x2b14
or t9,s3,zero
bal 0x0002051c
_or a0,s5,zero
lw v1,0x0(s2)
or s7,v0,zero
blez v1,0x00031e18
_lw gp,0x20(sp)
lw a3,-0x7fc8(gp)
or t2,zero,zero
lw v1,-0x7fc8(gp)
or t1,zero,zero
addiu a3,a3,0x30a8
addiu v1,v1,0x2b24
lw v0,0x8(s2)
addiu t2,t2,0x1
or a1,s7,zero
sw v1,0x34(sp)
or a2,v1,zero
sw t2,0x30(sp)
addu v0,v0,t1
addiu t1,t1,0xc
or a0,s5,zero
sw t1,0x2c(sp)
or t9,s3,zero
lw v0,0x0(v0)
bal 0x0002051c
_sw v0,0x10(sp)
lw a0,0x0(s2)
or s7,v0,zero
lw t2,0x30(sp)
lw gp,0x20(sp)
lw a3,0x28(sp)
slt a0,t2,a0
lw t1,0x2c(sp)
bne a0,zero,0x00031f38
_lw v1,0x34(sp)
b 0x00031e1c
_lw v0,0x84(sp)
li v0,0x7
li v1,0x12
sw v0,0x84(sp)
lw v0,0x4(s0)
beq v0,v1,0x00031fc8
_li v1,0x17
bne v0,v1,0x00031d18
_lw v0,0x44(sp)
b 0x00031ef8
_addiu s5,sp,0x84
lw s7,-0x7fc8(gp)
lw a2,-0x7fc8(gp)
addiu s5,sp,0x84
addiu a3,s7,0x2aac
or a1,zero,zero
addiu a2,a2,0x2af8
or t9,s3,zero
bal 0x0002051c
_or a0,s5,zero
lw v1,0x0(s2)
blez v1,0x0003203c
_lw gp,0x20(sp)
lw a3,-0x7fc8(gp)
or v1,zero,zero
lw s7,-0x7fc8(gp)
addiu a3,a3,0x30a8
addiu s7,s7,0x2b10
sw v1,0x2c(sp)
or a0,s5,zero
or a1,v0,zero
or t9,s3,zero
bal 0x0002051c
_or a2,s7,zero
lw v1,0x2c(sp)
lw a0,0x0(s2)
lw gp,0x20(sp)
addiu v1,v1,0x1
slt a0,v1,a0
bne a0,zero,0x00032008
_lw a3,0x28(sp)
lw a2,-0x7fc8(gp)
or a1,v0,zero
or a0,s5,zero
or t9,s3,zero
bal 0x0002051c
_addiu a2,a2,0x2034
lw gp,0x20(sp)
b 0x00031e18
_or s7,v0,zero
li v0,0x7
b 0x00031d18
_sw v0,0x84(sp)
or a1,s4,zero
bal 0x000314e8
_or a0,s1,zero
bne v0,zero,0x00031db4
_lw gp,0x20(sp)
li v1,0x1
b 0x00031db4
_sw v1,0x20(s1)
lw s0,0x14(s1)
beq s0,zero,0x0003210c
_sw zero,0x6c(sp)
lw s2,-0x7ed0(gp)
addiu s2,s2,-0x4240
or a2,zero,zero
or a1,s0,zero
or t9,s2,zero
bal 0x0002bdc0
_or a0,s1,zero
bne v0,zero,0x000320e8
_lw gp,0x20(sp)
lw a2,0x10(s0)
beq a2,zero,0x00032100
_or a1,s0,zero
or t9,s2,zero
bal 0x0002bdc0
_or a0,s1,zero
lw s0,0x1c(s0)
beq s0,zero,0x00032114
_lw gp,0x20(sp)
beq v0,zero,0x000320a4
_or a2,zero,zero
sw v0,0x6c(sp)
lw s0,0x2c(s1)
bne s0,zero,0x00031d40
_lw v0,0x6c(sp)
b 0x00031db8
_lw v1,0x4c(sp)
lw s0,0x1c(s0)
bne s0,zero,0x000320a4
_or a2,zero,zero
b 0x0003211c
_sw zero,0x6c(sp)
bne v0,zero,0x000320ec
_sw v0,0x6c(sp)
lw v0,0x0(s1)
sw zero,0x70(sp)
sw zero,0x74(sp)
sw v0,0x44(sp)
sw zero,0x78(sp)
bne v0,zero,0x00032140
_sw zero,0x7c(sp)
b 0x00031d34
_lw v0,0x44(sp)
lw v0,-0x7fcc(gp)
addiu s0,sp,0x88
lw a3,-0x7fc8(gp)
or a2,s4,zero
lw a0,0x8(s1)
or a1,s0,zero
addiu t9,v0,-0x2194
sw zero,0x88(sp)
addiu a3,a3,0x2b70
bal 0x0001de6c
_sw t9,0x54(sp)
lw gp,0x20(sp)
beq v0,zero,0x00032190
_sw v0,0x44(sp)
lw t9,-0x7fb0(gp)
jalr t9
_lw a0,0x88(sp)
lw gp,0x20(sp)
b 0x00031d34
_lw v0,0x44(sp)
lw t9,-0x7f90(gp)
jalr t9
_lw a0,0x88(sp)
li v1,0x64
lw gp,0x20(sp)
beq v0,v1,0x000321c8
_or s3,v0,zero
lw t9,-0x7fb0(gp)
jalr t9
_lw a0,0x88(sp)
lw gp,0x20(sp)
sw v0,0x44(sp)
b 0x00031d34
_lw v0,0x44(sp)
lw t9,-0x7ed4(gp)
or a1,zero,zero
jalr t9
_lw a0,0x88(sp)
lw gp,0x20(sp)
addiu s5,v0,0x1
lw a0,0x88(sp)
lw t9,-0x7fb0(gp)
jalr t9
_or s2,v0,zero
lw gp,0x20(sp)
sw v0,0x44(sp)
blez s5,0x00032138
_sw v0,0x70(sp)
bne v0,zero,0x00032138
_lw a1,-0x7fc8(gp)
or a3,zero,zero
lw t9,-0x7ed8(gp)
or a2,zero,zero
lw a0,0x8(s1)
addiu a1,a1,0x2bfc
jalr t9
_sw zero,0x10(sp)
lw gp,0x20(sp)
beq v0,zero,0x00032318
_sw v0,0x70(sp)
sw zero,0x60(sp)
lw v0,-0x7fc8(gp)
sw v0,0x5c(sp)
lw t9,-0x7fb0(gp)
jalr t9
_lw a0,0x74(sp)
lw v1,0x70(sp)
bne v1,zero,0x00032258
_lw gp,0x20(sp)
sw v0,0x70(sp)
lw t9,-0x7fb0(gp)
jalr t9
_lw a0,0x78(sp)
lw v1,0x70(sp)
bne v1,zero,0x00032274
_lw gp,0x20(sp)
sw v0,0x70(sp)
lw t9,-0x7fb0(gp)
jalr t9
_lw a0,0x7c(sp)
lw v1,0x70(sp)
bne v1,zero,0x00032290
_lw gp,0x20(sp)
sw v0,0x70(sp)
lw v1,0x60(sp)
lw v0,0x0(v1)
blez v0,0x000322cc
_addiu s0,v1,0x28
lw s2,0x44(sp)
lw s3,0x60(sp)
lw t9,-0x7fb4(gp)
addiu s2,s2,0x1
lw a0,0x0(s0)
bal 0x0004db4c
_addiu s0,s0,0x28
lw v0,0x0(s3)
slt v0,s2,v0
bne v0,zero,0x000322a8
_lw gp,0x20(sp)
lw t9,-0x7fb4(gp)
bal 0x0004db4c
_lw a0,0x60(sp)
lw v0,0x70(sp)
beq v0,zero,0x00032b04
_lw gp,0x20(sp)
lw v0,0x5c(sp)
or a3,zero,zero
lw t9,-0x7ed8(gp)
or a2,zero,zero
lw a0,0x4(s1)
addiu a1,v0,0x2d04
jalr t9
_sw zero,0x10(sp)
lw v0,0x70(sp)
lw gp,0x20(sp)
sw v0,0x44(sp)
b 0x00031d34
_lw v0,0x44(sp)
sll a1,s5,0x2
lw v0,-0x7fcc(gp)
addiu a0,sp,0x70
addu a1,a1,s5
addiu t9,v0,0x368
sll a1,a1,0x3
sw t9,0x64(sp)
bal 0x00020368
_addiu a1,a1,0x30
lw v1,0x70(sp)
lw gp,0x20(sp)
bne v1,zero,0x00032234
_sw v0,0x60(sp)
lw v0,0x0(s1)
beq v0,s3,0x00032b44
_nop
lw a0,0xc(s1)
lw v0,-0x7fcc(gp)
li a3,0x1
lw a1,-0x7fc8(gp)
li a2,0x2
lw t9,-0x7f14(gp)
addiu v0,v0,0x3c44
sw zero,0x1c(sp)
addiu a1,a1,0x2c20
sw zero,0x18(sp)
sw v0,0x14(sp)
lw v0,0x60(sp)
jalr t9
_sw v0,0x10(sp)
lw gp,0x20(sp)
bne v0,zero,0x00032234
_sw v0,0x70(sp)
lw v0,-0x7fcc(gp)
li a3,0x1
lw a1,-0x7fc8(gp)
or a2,zero,zero
lw a0,0x4(s1)
lw t9,-0x7f14(gp)
addiu v0,v0,0x3b10
addiu a1,a1,0x2c24
sw zero,0x1c(sp)
sw zero,0x18(sp)
sw v0,0x14(sp)
jalr t9
_sw s0,0x10(sp)
lw gp,0x20(sp)
bne v0,zero,0x00032234
_sw v0,0x70(sp)
lw v0,0x60(sp)
addiu s2,s2,0x2
lw a3,-0x7fc8(gp)
addiu a1,sp,0x74
lw t9,0x54(sp)
or a2,s4,zero
sw s2,0x0(v0)
addiu a3,a3,0x2c2c
jalr t9
_lw a0,0x8(s1)
lw gp,0x20(sp)
bne v0,zero,0x00032234
_sw v0,0x70(sp)
lw a3,-0x7fc8(gp)
addiu a1,sp,0x78
lw a0,0x8(s1)
or a2,s4,zero
lw t9,0x54(sp)
jalr t9
_addiu a3,a3,0x2ca0
lw gp,0x20(sp)
bne v0,zero,0x00032234
_sw v0,0x70(sp)
lw a3,-0x7fc8(gp)
addiu a1,sp,0x7c
lw a0,0x8(s1)
or a2,s4,zero
lw t9,0x54(sp)
jalr t9
_addiu a3,a3,0x2cd8
lw gp,0x20(sp)
bne v0,zero,0x00032234
_sw v0,0x70(sp)
lw v0,-0x7fc4(gp)
lui s2,0xfffe
li s0,-0x1
sw s1,0x34(sp)
addiu s2,s2,0x7960
sw s4,0x58(sp)
ldc1 f20,-0x6648(v0)
lw v0,-0x7fc8(gp)
sw v0,0x5c(sp)
lw v0,-0x7fc8(gp)
addiu v0,v0,0x30a8
sw v0,0x30(sp)
lw v0,-0x7fcc(gp)
addiu v0,v0,0x51c
sw v0,0x28(sp)
lw t9,-0x7f90(gp)
jalr t9
_lw a0,0x74(sp)
li v1,0x64
bne v0,v1,0x00032a18
_lw gp,0x20(sp)
lw t9,-0x7f7c(gp)
or a1,zero,zero
jalr t9
_lw a0,0x74(sp)
li a1,0x1
lw gp,0x20(sp)
lw a0,0x74(sp)
sw v1,0x3c(sp)
lw t9,-0x7f78(gp)
jalr t9
_sw v0,0x38(sp)
li a1,0x2
lw gp,0x20(sp)
lw a0,0x74(sp)
lw t9,-0x7f78(gp)
jalr t9
_sw v0,0x48(sp)
lw v1,0x34(sp)
lw gp,0x20(sp)
sw v0,0x40(sp)
lw v1,0x0(v1)
slti v0,v1,0x64
beq v0,zero,0x000325e4
_lw v0,0x38(sp)
bne s0,v0,0x00032524
_lw v0,0x3c(sp)
beq s2,v0,0x000325e8
_lw s2,0x78(sp)
mtc1 v1,f0
lw v0,0x34(sp)
or a3,zero,zero
lw t9,-0x7ed8(gp)
or a2,zero,zero
sw v1,0x88(sp)
sw zero,0x9c(sp)
sw zero,0x98(sp)
sw zero,0xa4(sp)
sw zero,0xa0(sp)
lw a0,0xc(v0)
cvt.d.W f0,f0
lw v0,0x5c(sp)
sw zero,0x10(sp)
addiu a1,v0,0x2d04
div.D f0,f0,f20
jalr t9
_sdc1 f0,0x90(sp)
beq v0,zero,0x00032584
_lw gp,0x20(sp)
lw s1,0x34(sp)
lw s4,0x58(sp)
b 0x0003223c
_sw v0,0x70(sp)
lw a0,-0x7fc8(gp)
lw t9,-0x7fbc(gp)
lw a1,0x48(sp)
jalr t9
_addiu a0,a0,0x2d44
lw gp,0x20(sp)
beq v0,zero,0x00032af0
_or s0,v0,zero
lw v0,0x34(sp)
or a3,zero,zero
lw t9,-0x7ed8(gp)
or a2,zero,zero
or a1,s0,zero
lw a0,0xc(v0)
jalr t9
_sw zero,0x10(sp)
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7fb4(gp)
bal 0x0004db4c
_or s0,v0,zero
lw gp,0x20(sp)
bne s0,zero,0x000327f0
_sw s0,0x70(sp)
lw s2,0x78(sp)
li a3,-0x1
lw v0,0x7c(sp)
li a1,0x1
lw t9,-0x7e8c(gp)
lw a2,0x40(sp)
or a0,s2,zero
sw v0,0x50(sp)
sw zero,0x10(sp)
sw zero,0x80(sp)
jalr t9
_sw zero,0x84(sp)
lw s0,0x84(sp)
bne s0,zero,0x00032968
_lw gp,0x20(sp)
lw s6,-0x7fc4(gp)
or s5,zero,zero
lw s8,-0x7fc8(gp)
or s3,zero,zero
lw s7,-0x7fc8(gp)
b 0x000326d0
_addiu s6,s6,0x1114
lw t9,-0x7f78(gp)
or a1,zero,zero
or a0,s2,zero
lw s4,0x30(sp)
jalr t9
_addiu s1,sp,0x84
li a1,0x1
lw gp,0x20(sp)
or a0,s2,zero
movn s4,s6,s3
lw t9,-0x7f78(gp)
jalr t9
_sw v0,0x2c(sp)
addiu a2,s8,0x2d90
lw v1,0x2c(sp)
or a1,s3,zero
lw t9,0x28(sp)
or a3,s4,zero
sw s0,0x14(sp)
or a0,s1,zero
sw v1,0x18(sp)
addiu s0,s0,0x1
sw v1,0x10(sp)
jalr t9
_sw v0,0x1c(sp)
addiu a2,s7,0x2db4
lw t9,0x28(sp)
or a1,s5,zero
sw s0,0x10(sp)
or a3,s4,zero
or a0,s1,zero
jalr t9
_or s3,v0,zero
lw v1,0x84(sp)
or s5,v0,zero
bne v1,zero,0x000326e8
_lw gp,0x20(sp)
lw t9,-0x7f90(gp)
jalr t9
_or a0,s2,zero
li v1,0x64
beq v0,v1,0x0003263c
_lw gp,0x20(sp)
lw t9,-0x7ec4(gp)
jalr t9
_or a0,s2,zero
lw v0,0x84(sp)
bne v0,zero,0x000327fc
_lw gp,0x20(sp)
lw v0,0x34(sp)
lw v1,0x0(v0)
li v0,0x64
beq v1,v0,0x000328f4
_or a2,s5,zero
lw a0,-0x7fc8(gp)
lw t9,-0x7fbc(gp)
or a1,s3,zero
jalr t9
_addiu a0,a0,0x2ddc
lw gp,0x20(sp)
or s2,v0,zero
lw t9,-0x7fb4(gp)
bal 0x0004db4c
_or a0,s3,zero
lw gp,0x20(sp)
lw t9,-0x7fb4(gp)
bal 0x0004db4c
_or a0,s5,zero
lw v0,0x84(sp)
bne v0,zero,0x0003278c
_lw gp,0x20(sp)
lw v0,0x34(sp)
lw v1,0x0(v0)
li v0,0x64
beq v1,v0,0x0003291c
_lw v0,0x34(sp)
lw a0,0xc(v0)
lw a2,0x58(sp)
addiu a1,sp,0x80
lw t9,0x54(sp)
jalr t9
_or a3,s2,zero
lw gp,0x20(sp)
sw v0,0x84(sp)
lw t9,-0x7fb4(gp)
bal 0x0004db4c
_or a0,s2,zero
lw v0,0x84(sp)
beq v0,zero,0x00032804
_lw gp,0x20(sp)
or s3,zero,zero
lw t9,-0x7fb4(gp)
bal 0x0004db4c
_or a0,s3,zero
lw gp,0x20(sp)
lw t9,-0x7fb0(gp)
jalr t9
_lw a0,0x80(sp)
lw v1,0x84(sp)
beq v1,zero,0x000327e0
_lw gp,0x20(sp)
lw s1,0x34(sp)
lw s4,0x58(sp)
b 0x0003223c
_sw v1,0x70(sp)
lw s0,0x38(sp)
lw s2,0x3c(sp)
beq v0,zero,0x0003249c
_sw v0,0x70(sp)
lw s1,0x34(sp)
b 0x0003223c
_lw s4,0x58(sp)
b 0x00032730
_or s2,zero,zero
addiu s2,s0,0x1
lw t9,0x64(sp)
addiu s6,sp,0x84
sll s2,s2,0x2
or a0,s6,zero
jalr t9
_or a1,s2,zero
lw v1,0x84(sp)
or s3,v0,zero
bne v1,zero,0x000327a8
_lw gp,0x20(sp)
lw t9,-0x7f90(gp)
jalr t9
_lw a0,0x80(sp)
li v1,0x64
bne v0,v1,0x000327a8
_lw gp,0x20(sp)
addu a0,s3,s2
li v1,0x1
or s4,s3,zero
or v0,s3,zero
sw v1,0x0(v0)
addiu v0,v0,0x4
bne a0,v0,0x00032858
_li s5,0x64
addiu s2,s2,-0x4
addu s2,s3,s2
lw s1,0x84(sp)
bne s1,zero,0x00032924
_lw t9,-0x7f90(gp)
jalr t9
_lw a0,0x80(sp)
bne v0,s5,0x00032978
_lw gp,0x20(sp)
lw v0,0x0(s3)
addiu v0,v0,0x1
bne s0,zero,0x000328b0
_sw v0,0x0(s3)
b 0x00032874
_lw s1,0x84(sp)
addiu s1,s1,0x1
beq s0,s1,0x00032870
_nop
lw t9,-0x7ed4(gp)
or a1,s1,zero
jalr t9
_lw a0,0x80(sp)
bne v0,zero,0x000328a4
_lw gp,0x20(sp)
slt v0,s1,s0
beq v0,zero,0x00032870
_sll v0,s1,0x2
addu v0,s3,v0
lw v1,0x4(v0)
addiu v0,v0,0x4
addiu v1,v1,0x1
bne s2,v0,0x000328d8
_sw v1,0x0(v0)
b 0x00032874
_lw s1,0x84(sp)
lw a0,-0x7fc8(gp)
or a3,s5,zero
lw t9,-0x7fbc(gp)
or a1,s3,zero
lw a2,0x48(sp)
jalr t9
_addiu a0,a0,0x2dbc
lw gp,0x20(sp)
b 0x00032730
_or s2,v0,zero
b 0x00032770
_lw a0,0x4(v0)
or s7,zero,zero
lw s0,0x40(sp)
lw t9,-0x7ba0(gp)
jalr t9
_or a0,s0,zero
or a1,s0,zero
lw gp,0x20(sp)
or a2,v0,zero
lw v1,0x34(sp)
lw t9,-0x7fcc(gp)
addiu t9,t9,0x1854
bal 0x00021854
_addiu a0,v1,0x2c
beq v0,zero,0x00032b30
_lw gp,0x20(sp)
b 0x000327a8
_sw s7,0x8(v0)
or s0,zero,zero
or s5,zero,zero
b 0x000326e8
_or s3,zero,zero
lw v0,0x84(sp)
bne v0,zero,0x00032924
_lw a0,-0x7fc8(gp)
lw s5,0x0(s3)
lw t9,-0x7fbc(gp)
addiu a0,a0,0x2918
jalr t9
_or a1,s5,zero
lw gp,0x20(sp)
beq v0,zero,0x00032b4c
_or s7,v0,zero
lw v0,0x84(sp)
bne v0,zero,0x00032928
_nop
beq s0,zero,0x00032a64
_lw s0,-0x7fc4(gp)
or v0,s7,zero
b 0x000329d0
_addiu s0,s0,-0x556c
addiu s4,s4,0x4
beq s2,s4,0x00032a64
_or s7,v0,zero
lw a3,0x4(s4)
or a1,v0,zero
lw t9,0x28(sp)
or a2,s0,zero
or a0,s6,zero
srl v0,a3,0x1f
addu v0,v0,a3
sra v0,v0,0x1
addu v0,v0,s5
teq a3,zero
div v0,a3
jalr t9
_mflo a3
lw v1,0x84(sp)
beq v1,zero,0x000329c4
_lw gp,0x20(sp)
b 0x00032928
_or s7,v0,zero
lw v0,0x70(sp)
lw s1,0x34(sp)
bne v0,zero,0x0003223c
_lw s4,0x58(sp)
lw v0,0x0(s1)
slti v0,v0,0x64
beq v0,zero,0x00032240
_lw t9,-0x7fb0(gp)
lw v0,0x5c(sp)
or a3,zero,zero
lw t9,-0x7ed8(gp)
or a2,zero,zero
lw a0,0xc(s1)
addiu a1,v0,0x2d04
jalr t9
_sw zero,0x10(sp)
lw gp,0x20(sp)
b 0x0003223c
_sw v0,0x70(sp)
lw s0,0x50(sp)
li a3,-0x1
lw t9,-0x7e8c(gp)
li a1,0x1
lw a2,0x48(sp)
or a0,s0,zero
jalr t9
_sw zero,0x10(sp)
li a3,-0x1
lw gp,0x20(sp)
li a1,0x2
lw a2,0x40(sp)
or a0,s0,zero
lw t9,-0x7e8c(gp)
jalr t9
_sw zero,0x10(sp)
li a3,-0x1
lw gp,0x20(sp)
li a1,0x3
or a2,s7,zero
sw zero,0x10(sp)
lw t9,-0x7e8c(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7f90(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7ec4(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
b 0x00032928
_sw v0,0x84(sp)
li v0,0x7
lw s1,0x34(sp)
lw s4,0x58(sp)
b 0x0003223c
_sw v0,0x70(sp)
lw a1,-0x7fc8(gp)
or a3,zero,zero
lw t9,-0x7ed8(gp)
or a2,zero,zero
lw a0,0x8(s1)
addiu a1,a1,0x2e24
jalr t9
_sw zero,0x10(sp)
lw gp,0x20(sp)
b 0x000322e4
_sw v0,0x70(sp)
lw t9,-0x7fb4(gp)
bal 0x0004db4c
_or a0,s7,zero
b 0x000327a8
_lw gp,0x20(sp)
b 0x0003235c
_lw a0,0x4(s1)
li v0,0x7
b 0x00032928
_sw v0,0x84(sp)
lw t9,-0x7b28(gp)
jalr t9
_nop
lw v0,0x1c(a0)
beq v0,zero,0x00032b7c
_nop
lw v0,0x0(v0)
jr ra
_addiu v0,v0,0x1
jr ra
_or v0,zero,zero
(translation_unit "int sqlite3_expert_analyze(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  code *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 uVar15;\n  int iVar16;\n  int *piVar17;\n  undefined4 *puVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  undefined *puVar21;\n  undefined *puVar22;\n  int iVar23;\n  undefined *puVar24;\n  undefined4 uVar25;\n  undefined4 *puVar26;\n  undefined *puVar27;\n  code *pcVar28;\n  double dVar29;\n  longlong lVar30;\n  undefined *local_84;\n  int *local_80;\n  int local_74;\n  int local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_5c;\n  int local_58 [2];\n  double local_50;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  int local_34;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  local_34 = *(int *)PTR___stack_chk_guard_00190e24;\n  if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }\n  iVar23 = param_1[5];\n  local_74 = 0;\n  if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }\n  iVar23 = local_74;\n  if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }\nLAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);\n  (*(code *)PTR_sqlite3_step_00190990)(uVar4);\n  local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);\nLAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);\n  iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);\n  if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar20);\n  local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n  if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }\n  iVar23 = local_70;\n  lVar2 = lVar30;\n  if (local_70 != 0) goto LAB_00032240;\n  goto LAB_0003249c;\n}\n\n" (function_definition "int sqlite3_expert_analyze(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  code *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 uVar15;\n  int iVar16;\n  int *piVar17;\n  undefined4 *puVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  undefined *puVar21;\n  undefined *puVar22;\n  int iVar23;\n  undefined *puVar24;\n  undefined4 uVar25;\n  undefined4 *puVar26;\n  undefined *puVar27;\n  code *pcVar28;\n  double dVar29;\n  longlong lVar30;\n  undefined *local_84;\n  int *local_80;\n  int local_74;\n  int local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_5c;\n  int local_58 [2];\n  double local_50;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  int local_34;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  local_34 = *(int *)PTR___stack_chk_guard_00190e24;\n  if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }\n  iVar23 = param_1[5];\n  local_74 = 0;\n  if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }\n  iVar23 = local_74;\n  if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }\nLAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);\n  (*(code *)PTR_sqlite3_step_00190990)(uVar4);\n  local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);\nLAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);\n  iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);\n  if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar20);\n  local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n  if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }\n  iVar23 = local_70;\n  lVar2 = lVar30;\n  if (local_70 != 0) goto LAB_00032240;\n  goto LAB_0003249c;\n}" primitive_type (function_declarator "sqlite3_expert_analyze(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  code *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 uVar15;\n  int iVar16;\n  int *piVar17;\n  undefined4 *puVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  undefined *puVar21;\n  undefined *puVar22;\n  int iVar23;\n  undefined *puVar24;\n  undefined4 uVar25;\n  undefined4 *puVar26;\n  undefined *puVar27;\n  code *pcVar28;\n  double dVar29;\n  longlong lVar30;\n  undefined *local_84;\n  int *local_80;\n  int local_74;\n  int local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_5c;\n  int local_58 [2];\n  double local_50;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  int local_34;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  local_34 = *(int *)PTR___stack_chk_guard_00190e24;\n  if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }\n  iVar23 = param_1[5];\n  local_74 = 0;\n  if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }\n  iVar23 = local_74;\n  if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }\nLAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);\n  (*(code *)PTR_sqlite3_step_00190990)(uVar4);\n  local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);\nLAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);\n  iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);\n  if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar20);\n  local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n  if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }\n  iVar23 = local_70;\n  lVar2 = lVar30;\n  if (local_70 != 0) goto LAB_00032240;\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 "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int *piVar17;" primitive_type (pointer_declarator "*piVar17" * identifier) ;) (declaration "undefined4 *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "undefined4 *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "int *piVar20;" primitive_type (pointer_declarator "*piVar20" * identifier) ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "undefined *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "undefined *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "undefined4 uVar25;" type_identifier identifier ;) (declaration "undefined4 *puVar26;" type_identifier (pointer_declarator "*puVar26" * identifier) ;) (declaration "undefined *puVar27;" type_identifier (pointer_declarator "*puVar27" * identifier) ;) (declaration "code *pcVar28;" type_identifier (pointer_declarator "*pcVar28" * identifier) ;) (declaration "double dVar29;" primitive_type identifier ;) (declaration "longlong lVar30;" type_identifier identifier ;) (declaration "undefined *local_84;" type_identifier (pointer_declarator "*local_84" * identifier) ;) (declaration "int *local_80;" primitive_type (pointer_declarator "*local_80" * identifier) ;) (declaration "int local_74;" primitive_type identifier ;) (declaration "int local_70;" primitive_type identifier ;) (declaration "undefined4 local_6c;" type_identifier identifier ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "int local_58 [2];" primitive_type (array_declarator "local_58 [2]" identifier [ number_literal ]) ;) (declaration "double local_50;" primitive_type identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "local_34 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_34 = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }" if (parenthesized_expression "((undefined4 *)param_1[6] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)param_1[6] != (undefined4 *)0x0" (cast_expression "(undefined4 *)param_1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }" { (expression_statement "puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;" (assignment_expression "puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" identifier + number_literal)) ;) (expression_statement "puVar19 = (undefined4 *)param_1[6];" (assignment_expression "puVar19 = (undefined4 *)param_1[6]" identifier = (cast_expression "(undefined4 *)param_1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) ;) (expression_statement "puVar26 = (undefined4 *)0x0;" (assignment_expression "puVar26 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);" do (compound_statement "{\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    }" { (expression_statement "puVar18 = puVar19;" (assignment_expression "puVar18 = puVar19" identifier = identifier) ;) (expression_statement "puVar21 = PTR_LAB_00190958;" (assignment_expression "puVar21 = PTR_LAB_00190958" identifier = identifier) ;) (expression_statement "puVar19 = puVar18;" (assignment_expression "puVar19 = puVar18" identifier = identifier) ;) (if_statement "if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }" if (parenthesized_expression "(puVar26 != puVar18)" ( (binary_expression "puVar26 != puVar18" identifier != identifier) )) (compound_statement "{\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }" { (expression_statement "pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_00190954 + -0x884)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + -0x884)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + -0x884)" ( (binary_expression "PTR_LAB_00190954 + -0x884" identifier + number_literal) )))) ;) (do_statement "do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);" do (compound_statement "{\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        }" { (expression_statement "piVar20 = (int *)*puVar19;" (assignment_expression "piVar20 = (int *)*puVar19" identifier = (cast_expression "(int *)*puVar19" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar19" * identifier))) ;) (expression_statement "iVar23 = piVar20[1];" (assignment_expression "iVar23 = piVar20[1]" identifier = (subscript_expression "piVar20[1]" identifier [ number_literal ])) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (expression_statement "local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);" (assignment_expression "local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23)" identifier = (call_expression "(*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , (pointer_expression "&local_60" & identifier) , identifier , (binary_expression "puVar21 + 0x2a2c" identifier + number_literal) , identifier , identifier )))) ;) (while_statement "while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }" while (parenthesized_expression "((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100)))" ( (parenthesized_expression "(local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))" ( (binary_expression "local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100)" (binary_expression "local_5c == 0" identifier == number_literal) && (parenthesized_expression "(iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100)" ( (comma_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_60)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_60)" ( identifier )))) , (binary_expression "iVar7 == 100" identifier == number_literal)) ))) )) )) (compound_statement "{\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }" { (expression_statement "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);" (assignment_expression "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_60,0)" ( identifier , number_literal )))) ;) (expression_statement "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],uVar10,0,0,param_2)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , identifier )))) ;) })) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_60)" (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_60)" ( identifier )))) ;) (expression_statement "puVar24 = PTR_LAB_00190958;" (assignment_expression "puVar24 = PTR_LAB_00190958" identifier = identifier) ;) (if_statement "if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }" if (parenthesized_expression "((local_5c == 0) && (local_5c = iVar7, iVar7 == 0))" ( (binary_expression "(local_5c == 0) && (local_5c = iVar7, iVar7 == 0)" (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) && (parenthesized_expression "(local_5c = iVar7, iVar7 == 0)" ( (comma_expression "local_5c = iVar7, iVar7 == 0" (assignment_expression "local_5c = iVar7" identifier = identifier) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }" { (expression_statement "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac)" ( (binary_expression "PTR_LAB_00190958 + 0x2ad4" identifier + number_literal) , identifier , (binary_expression "PTR_LAB_00190958 + 0x2aac" identifier + number_literal) )))) ;) (if_statement "if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (compound_statement "{\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }" { (expression_statement "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],iVar23,0,0,param_2)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "sqlite3_free(iVar23);" (call_expression "sqlite3_free(iVar23)" identifier (argument_list "(iVar23)" ( identifier ))) ;) (goto_statement "goto LAB_00031cf4;" goto statement_identifier ;) })) (expression_statement "local_5c = 7;" (assignment_expression "local_5c = 7" identifier = number_literal) ;) (if_statement "if (puVar19[1] == 0x12) goto LAB_00031fc8;" if (parenthesized_expression "(puVar19[1] == 0x12)" ( (binary_expression "puVar19[1] == 0x12" (subscript_expression "puVar19[1]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00031fc8;" goto statement_identifier ;)) (if_statement "if (puVar19[1] != 0x17) goto LAB_00031d18;" if (parenthesized_expression "(puVar19[1] != 0x17)" ( (binary_expression "puVar19[1] != 0x17" (subscript_expression "puVar19[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_00031d18;" goto statement_identifier ;)) (labeled_statement "LAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);" statement_identifier : (expression_statement "iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);" (assignment_expression "iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac)" identifier = (call_expression "FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac)" identifier (argument_list "(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac)" ( (pointer_expression "&local_5c" & identifier) , number_literal , (binary_expression "puVar21 + 0x2b14" identifier + number_literal) , (binary_expression "puVar24 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }" if (parenthesized_expression "(0 < *piVar20)" ( (binary_expression "0 < *piVar20" number_literal < (pointer_expression "*piVar20" * identifier)) )) (compound_statement "{\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar27 = PTR_LAB_00190958 + 0x2b24;" (assignment_expression "puVar27 = PTR_LAB_00190958 + 0x2b24" identifier = (binary_expression "PTR_LAB_00190958 + 0x2b24" identifier + number_literal)) ;) (expression_statement "puVar24 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar24 = PTR_LAB_00190958 + 0x30a8" identifier = (binary_expression "PTR_LAB_00190958 + 0x30a8" identifier + number_literal)) ;) (do_statement "do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);" do (compound_statement "{\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              }" { (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined4 *)(piVar20[2] + iVar7);" (assignment_expression "puVar8 = (undefined4 *)(piVar20[2] + iVar7)" identifier = (cast_expression "(undefined4 *)(piVar20[2] + iVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar20[2] + iVar7)" ( (binary_expression "piVar20[2] + iVar7" (subscript_expression "piVar20[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "iVar7 = iVar7 + 0xc;" (assignment_expression "iVar7 = iVar7 + 0xc" identifier = (binary_expression "iVar7 + 0xc" identifier + number_literal)) ;) (expression_statement "iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);" (assignment_expression "iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8)" identifier = (call_expression "FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8)" identifier (argument_list "(&local_5c,iVar23,puVar27,puVar24,*puVar8)" ( (pointer_expression "&local_5c" & identifier) , identifier , identifier , identifier , (pointer_expression "*puVar8" * identifier) )))) ;) (expression_statement "puVar24 = puVar5;" (assignment_expression "puVar24 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar16 < *piVar20)" ( (binary_expression "iVar16 < *piVar20" identifier < (pointer_expression "*piVar20" * identifier)) )) ;) })) (labeled_statement "LAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;" statement_identifier : (if_statement "if (local_5c != 0) goto LAB_00031d20;" if (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d20;" goto statement_identifier ;))) (expression_statement "local_58[0] = 0;" (assignment_expression "local_58[0] = 0" (subscript_expression "local_58[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0)" (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 "(param_1[3],iVar23,0xffffffff,local_58,0)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , identifier , number_literal , identifier , number_literal )))) ;) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) )))) ;) (if_statement "if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;" if (parenthesized_expression "((local_5c == 0) && (local_5c = iVar7, iVar7 == 0))" ( (binary_expression "(local_5c == 0) && (local_5c = iVar7, iVar7 == 0)" (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) && (parenthesized_expression "(local_5c = iVar7, iVar7 == 0)" ( (comma_expression "local_5c = iVar7, iVar7 == 0" (assignment_expression "local_5c = iVar7" identifier = identifier) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00031d20;" goto statement_identifier ;)) (expression_statement "FUN_0001de18(param_1[3],param_2);" (call_expression "FUN_0001de18(param_1[3],param_2)" identifier (argument_list "(param_1[3],param_2)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "sqlite3_free(iVar23);" (call_expression "sqlite3_free(iVar23)" identifier (argument_list "(iVar23)" ( identifier ))) ;) }) (else_clause "else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }" else (compound_statement "{\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }" { (labeled_statement "LAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;" statement_identifier : (expression_statement "puVar24 = PTR_LAB_00190958;" (assignment_expression "puVar24 = PTR_LAB_00190958" identifier = identifier) ;)) (if_statement "if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }" if (parenthesized_expression "(puVar19[1] == 0x12)" ( (binary_expression "puVar19[1] == 0x12" (subscript_expression "puVar19[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }" { (labeled_statement "LAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);" statement_identifier : (expression_statement "uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);" (assignment_expression "uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac)" identifier = (call_expression "FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac)" identifier (argument_list "(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac)" ( (pointer_expression "&local_5c" & identifier) , number_literal , (binary_expression "PTR_LAB_00190958 + 11000" identifier + number_literal) , (binary_expression "puVar24 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }" if (parenthesized_expression "(0 < *piVar20)" ( (binary_expression "0 < *piVar20" number_literal < (pointer_expression "*piVar20" * identifier)) )) (compound_statement "{\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }" { (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" identifier = number_literal) ;) (expression_statement "puVar27 = PTR_LAB_00190958 + 0x2b10;" (assignment_expression "puVar27 = PTR_LAB_00190958 + 0x2b10" identifier = (binary_expression "PTR_LAB_00190958 + 0x2b10" identifier + number_literal)) ;) (expression_statement "puVar24 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar24 = PTR_LAB_00190958 + 0x30a8" identifier = (binary_expression "PTR_LAB_00190958 + 0x30a8" identifier + number_literal)) ;) (do_statement "do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);" do (compound_statement "{\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                }" { (expression_statement "uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);" (assignment_expression "uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24)" identifier = (call_expression "FUN_0002051c(&local_5c,uVar10,puVar27,puVar24)" identifier (argument_list "(&local_5c,uVar10,puVar27,puVar24)" ( (pointer_expression "&local_5c" & identifier) , identifier , identifier , identifier )))) ;) (expression_statement "iVar23 = iVar23 + 1;" (assignment_expression "iVar23 = iVar23 + 1" identifier = (binary_expression "iVar23 + 1" identifier + number_literal)) ;) (expression_statement "puVar24 = puVar5;" (assignment_expression "puVar24 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar23 < *piVar20)" ( (binary_expression "iVar23 < *piVar20" identifier < (pointer_expression "*piVar20" * identifier)) )) ;) })) (expression_statement "iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);" (assignment_expression "iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034)" identifier = (call_expression "FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034)" identifier (argument_list "(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034)" ( (pointer_expression "&local_5c" & identifier) , identifier , (binary_expression "PTR_LAB_00190958 + 0x2034" identifier + number_literal) )))) ;) (goto_statement "goto LAB_00031e1c;" goto statement_identifier ;) })) (if_statement "if (puVar19[1] == 0x17) goto LAB_00031ef8;" if (parenthesized_expression "(puVar19[1] == 0x17)" ( (binary_expression "puVar19[1] == 0x17" (subscript_expression "puVar19[1]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00031ef8;" goto statement_identifier ;)) (if_statement "if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }" { (expression_statement "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac)" ( (binary_expression "PTR_LAB_00190958 + 0x2b2c" identifier + number_literal) , (binary_expression "PTR_LAB_00190958 + 0x2aac" identifier + number_literal) )))) ;) (if_statement "if (iVar23 != 0) goto LAB_00031e1c;" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031e1c;" goto statement_identifier ;)) (expression_statement "local_5c = 7;" (assignment_expression "local_5c = 7" identifier = number_literal) ;) })) (labeled_statement "LAB_00031d18:\n            iVar23 = 0;" statement_identifier : (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00031d20:\n            sqlite3_free(iVar23);" statement_identifier : (expression_statement "sqlite3_free(iVar23);" (call_expression "sqlite3_free(iVar23)" identifier (argument_list "(iVar23)" ( identifier ))) ;)) }))) (expression_statement "iVar23 = local_5c;" (assignment_expression "iVar23 = local_5c" identifier = identifier) ;) (if_statement "if (local_5c != 0) goto LAB_00031d34;" if (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d34;" goto statement_identifier ;)) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , (binary_expression "PTR_LAB_00190958 + 0x2b3c" identifier + number_literal) , number_literal , number_literal , identifier )))) ;) (expression_statement "puVar19 = (undefined4 *)puVar19[2];" (assignment_expression "puVar19 = (undefined4 *)puVar19[2]" identifier = (cast_expression "(undefined4 *)puVar19[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar19[2]" identifier [ number_literal ]))) ;) (if_statement "if (iVar23 != 0) goto LAB_00031d34;" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d34;" goto statement_identifier ;)) }) while (parenthesized_expression "(puVar19 != puVar26)" ( (binary_expression "puVar19 != puVar26" identifier != identifier) )) ;) (expression_statement "puVar19 = (undefined4 *)param_1[6];" (assignment_expression "puVar19 = (undefined4 *)param_1[6]" identifier = (cast_expression "(undefined4 *)param_1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) ;) })) (expression_statement "puVar26 = puVar18;" (assignment_expression "puVar26 = puVar18" identifier = identifier) ;) }) while (parenthesized_expression "(puVar18 != puVar19)" ( (binary_expression "puVar18 != puVar19" identifier != identifier) )) ;) })) (expression_statement "iVar23 = param_1[5];" (assignment_expression "iVar23 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "local_74 = 0;" (assignment_expression "local_74 = 0" identifier = number_literal) ;) (if_statement "if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }" { (labeled_statement "LAB_0003210c:\n    local_74 = 0;" statement_identifier : (expression_statement "local_74 = 0;" (assignment_expression "local_74 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_0003211c:\n    iVar23 = *param_1;" statement_identifier : (expression_statement "iVar23 = *param_1;" (assignment_expression "iVar23 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_6c = 0;" (assignment_expression "local_6c = 0" identifier = number_literal) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "local_64 = 0;" (assignment_expression "local_64 = 0" identifier = number_literal) ;) (if_statement "if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }" { (expression_statement "pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + -0x2194)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + -0x2194)" ( (binary_expression "PTR_LAB_00190954 + -0x2194" identifier + number_literal) )))) ;) (expression_statement "local_58[0] = 0;" (assignment_expression "local_58[0] = 0" (subscript_expression "local_58[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);" (assignment_expression "iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70)" identifier = (call_expression "FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70)" identifier (argument_list "(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , identifier , (binary_expression "PTR_LAB_00190958 + 0x2b70" identifier + number_literal) )))) ;) (if_statement "if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }" { (expression_statement "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0])" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_58[0])" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_58[0])" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }" if (parenthesized_expression "(iVar23 == 100)" ( (binary_expression "iVar23 == 100" identifier == number_literal) )) (compound_statement "{\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }" { (expression_statement "iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)" ( (pointer_expression "*(code *)PTR_sqlite3_column_int_00190a4c" * (cast_expression "(code *)PTR_sqlite3_column_int_00190a4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_58[0],0)" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) )))) ;) (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;) (if_statement "if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }" if (parenthesized_expression "((0 < iVar7 + 1) && (iVar23 == 0))" ( (binary_expression "(0 < iVar7 + 1) && (iVar23 == 0)" (parenthesized_expression "(0 < iVar7 + 1)" ( (binary_expression "0 < iVar7 + 1" number_literal < (binary_expression "iVar7 + 1" identifier + number_literal)) )) && (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) ))) )) (compound_statement "{\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }" { (expression_statement "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "PTR_LAB_00190958 + 0x2bfc" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }" { (expression_statement "pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);" (assignment_expression "pcVar28 = (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 "local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);" (assignment_expression "local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30)" identifier = (cast_expression "(int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30)" identifier (argument_list "(&local_70,(iVar7 + 1) * 0x28 + 0x30)" ( (pointer_expression "&local_70" & identifier) , (binary_expression "(iVar7 + 1) * 0x28 + 0x30" (binary_expression "(iVar7 + 1) * 0x28" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal) + number_literal) ))))) ;) (if_statement "if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" { (if_statement "if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }" if (parenthesized_expression "(*param_1 == 100)" ( (binary_expression "*param_1 == 100" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n                  iVar23 = param_1[1];\n                }" { (expression_statement "iVar23 = param_1[1];" (assignment_expression "iVar23 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n                  iVar23 = param_1[3];\n                }" else (compound_statement "{\n                  iVar23 = param_1[3];\n                }" { (expression_statement "iVar23 = param_1[3];" (assignment_expression "iVar23 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) }))) (expression_statement "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)" ( (pointer_expression "*(code *)PTR_sqlite3_create_function_00190a0c" * (cast_expression "(code *)PTR_sqlite3_create_function_00190a0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0)" ( identifier , (binary_expression "PTR_LAB_00190958 + 0x2c20" identifier + number_literal) , number_literal , number_literal , identifier , (binary_expression "PTR_LAB_00190954 + 0x3c44" identifier + number_literal) , number_literal , number_literal )))) ;) (if_statement "if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" if (parenthesized_expression "((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0))" ( (binary_expression "(local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)" (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) && (parenthesized_expression "(local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)" ( (comma_expression "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)" ( (pointer_expression "*(code *)PTR_sqlite3_create_function_00190a0c" * (cast_expression "(code *)PTR_sqlite3_create_function_00190a0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , (binary_expression "PTR_LAB_00190958 + 0x2c24" identifier + number_literal) , number_literal , number_literal , identifier , (binary_expression "PTR_LAB_00190954 + 0x3b10" identifier + number_literal) , number_literal , number_literal )))) , (comma_expression "puVar5 = PTR_LAB_00190958,\n                   local_70 == 0" (assignment_expression "puVar5 = PTR_LAB_00190958" identifier = identifier) , (binary_expression "local_70 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" { (expression_statement "*local_80 = iVar7 + 2;" (assignment_expression "*local_80 = iVar7 + 2" (pointer_expression "*local_80" * identifier) = (binary_expression "iVar7 + 2" identifier + number_literal)) ;) (expression_statement "local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);" (assignment_expression "local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c)" identifier = (call_expression "(*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "&local_6c" & identifier) , identifier , (binary_expression "puVar5 + 0x2c2c" identifier + number_literal) )))) ;) (if_statement "if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" if (parenthesized_expression "((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0))))" ( (binary_expression "(local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))" (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) && (parenthesized_expression "((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))" ( (parenthesized_expression "(local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0))" ( (comma_expression "local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)" (assignment_expression "local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0)" identifier = (call_expression "(*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "&local_68" & identifier) , identifier , (binary_expression "PTR_LAB_00190958 + 0x2ca0" identifier + number_literal) )))) , (binary_expression "local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)" (binary_expression "local_70 == 0" identifier == number_literal) && (parenthesized_expression "(local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)" ( (comma_expression "local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0" (assignment_expression "local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8)" identifier = (call_expression "(*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "&local_64" & identifier) , identifier , (binary_expression "PTR_LAB_00190958 + 0x2cd8" identifier + number_literal) )))) , (comma_expression "puVar5 = PTR_LAB_00190958, local_70 == 0" (assignment_expression "puVar5 = PTR_LAB_00190958" identifier = identifier) , (binary_expression "local_70 == 0" identifier == number_literal))) )))) )) ))) )) (compound_statement "{\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" { (expression_statement "dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);" (assignment_expression "dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" identifier = (pointer_expression "*(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" * (cast_expression "(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648" identifier + number_literal) ))))) ;) (expression_statement "local_84 = PTR_LAB_00190958;" (assignment_expression "local_84 = PTR_LAB_00190958" identifier = identifier) ;) (expression_statement "puVar21 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar21 = PTR_LAB_00190958 + 0x30a8" identifier = (binary_expression "PTR_LAB_00190958 + 0x30a8" identifier + number_literal)) ;) (expression_statement "pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + 0x51c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + 0x51c)" ( (binary_expression "PTR_LAB_00190954 + 0x51c" identifier + number_literal) )))) ;) (expression_statement "lVar2 = -100000;" (assignment_expression "lVar2 = -100000" identifier = number_literal) ;) (labeled_statement "LAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);" statement_identifier : (expression_statement "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_6c)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_6c)" ( identifier )))) ;)) (if_statement "if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }" if (parenthesized_expression "(iVar23 != 100)" ( (binary_expression "iVar23 != 100" identifier != number_literal) )) (compound_statement "{\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }" { (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) (if_statement "if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }" if (parenthesized_expression "((local_70 == 0) && (*param_1 < 100))" ( (binary_expression "(local_70 == 0) && (*param_1 < 100)" (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) && (parenthesized_expression "(*param_1 < 100)" ( (binary_expression "*param_1 < 100" (pointer_expression "*param_1" * identifier) < number_literal) ))) )) (compound_statement "{\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }" { (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],puVar5 + 0x2d04,0,0,0)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , (binary_expression "puVar5 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) })) (goto_statement "goto LAB_00032240;" goto statement_identifier ;) })) (expression_statement "lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);" (assignment_expression "lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int64_001909a4)" ( (pointer_expression "*(code *)PTR_sqlite3_column_int64_001909a4" * (cast_expression "(code *)PTR_sqlite3_column_int64_001909a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_6c,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);" (assignment_expression "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_6c,1)" ( identifier , number_literal )))) ;) (expression_statement "uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);" (assignment_expression "uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_6c,2)" ( identifier , number_literal )))) ;) (expression_statement "iVar23 = *param_1;" (assignment_expression "iVar23 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }" if (parenthesized_expression "((iVar23 < 100) && (lVar30 != lVar2))" ( (binary_expression "(iVar23 < 100) && (lVar30 != lVar2)" (parenthesized_expression "(iVar23 < 100)" ( (binary_expression "iVar23 < 100" identifier < number_literal) )) && (parenthesized_expression "(lVar30 != lVar2)" ( (binary_expression "lVar30 != lVar2" identifier != identifier) ))) )) (compound_statement "{\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }" { (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_50 = (double)iVar23 / dVar29;" (assignment_expression "local_50 = (double)iVar23 / dVar29" identifier = (binary_expression "(double)iVar23 / dVar29" (cast_expression "(double)iVar23" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (expression_statement "local_58[0] = iVar23;" (assignment_expression "local_58[0] = iVar23" (subscript_expression "local_58[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],puVar5 + 0x2d04,0,0,0)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , (binary_expression "puVar5 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar23 != 0) goto LAB_00032240;" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032240;" goto statement_identifier ;)) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2d44,uVar10)" ( (binary_expression "PTR_LAB_00190958 + 0x2d44" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }" { (expression_statement "local_70 = 7;" (assignment_expression "local_70 = 7" identifier = number_literal) ;) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) (goto_statement "goto LAB_00032240;" goto statement_identifier ;) })) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],iVar7,0,0,0)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "sqlite3_free(iVar7);" (call_expression "sqlite3_free(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;) (if_statement "if (iVar23 != 0) goto LAB_00032240;" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032240;" goto statement_identifier ;)) })) (expression_statement "uVar4 = local_64;" (assignment_expression "uVar4 = local_64" identifier = identifier) ;) (expression_statement "uVar15 = local_68;" (assignment_expression "uVar15 = local_68" identifier = identifier) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" * (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_68,1,uVar11,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "puVar24 = PTR_LAB_00190958;" (assignment_expression "puVar24 = PTR_LAB_00190958" identifier = identifier) ;) (if_statement "if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }" { (expression_statement "uVar25 = 0;" (assignment_expression "uVar25 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;" (assignment_expression "puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" identifier + number_literal)) ;) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);" do (compound_statement "{\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      }" { (expression_statement "iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);" (assignment_expression "iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(uVar15)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar15)" ( identifier )))) ;) (expression_statement "iVar23 = iVar16;" (assignment_expression "iVar23 = iVar16" identifier = identifier) ;) (if_statement "if (iVar14 != 100) break;" if (parenthesized_expression "(iVar14 != 100)" ( (binary_expression "iVar14 != 100" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);" (assignment_expression "uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar15,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar22 = puVar21;" (assignment_expression "puVar22 = puVar21" identifier = identifier) ;) (if_statement "if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n                          puVar22 = puVar27;\n                        }" { (expression_statement "puVar22 = puVar27;" (assignment_expression "puVar22 = puVar27" identifier = identifier) ;) })) (expression_statement "uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);" (assignment_expression "uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar15,1)" ( identifier , number_literal )))) ;) (expression_statement "iVar23 = iVar16 + 1;" (assignment_expression "iVar23 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);" (assignment_expression "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13)" identifier = (call_expression "(*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13)" ( (pointer_expression "&local_5c" & identifier) , identifier , (binary_expression "puVar24 + 0x2d90" identifier + number_literal) , identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);" (assignment_expression "uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23)" identifier = (call_expression "(*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23)" ( (pointer_expression "&local_5c" & identifier) , identifier , (binary_expression "puVar24 + 0x2db4" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "iVar16 = iVar23;" (assignment_expression "iVar16 = iVar23" identifier = identifier) ;) }) while (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }" else (compound_statement "{\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }" { (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" identifier = number_literal) ;) (expression_statement "uVar25 = 0;" (assignment_expression "uVar25 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }))) (expression_statement "(*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);" (call_expression "(*(code *)PTR_sqlite3_reset_00190a5c)(uVar15)" (parenthesized_expression "(*(code *)PTR_sqlite3_reset_00190a5c)" ( (pointer_expression "*(code *)PTR_sqlite3_reset_00190a5c" * (cast_expression "(code *)PTR_sqlite3_reset_00190a5c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar15)" ( identifier ))) ;) (if_statement "if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }" { (if_statement "if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }" if (parenthesized_expression "(*param_1 == 100)" ( (binary_expression "*param_1 == 100" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }" { (expression_statement "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);" (assignment_expression "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25)" ( (binary_expression "PTR_LAB_00190958 + 0x2dbc" identifier + number_literal) , identifier , identifier , identifier )))) ;) }) (else_clause "else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }" else (compound_statement "{\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }" { (expression_statement "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);" (assignment_expression "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25)" ( (binary_expression "PTR_LAB_00190958 + 0x2ddc" identifier + number_literal) , identifier , identifier )))) ;) }))) }) (else_clause "else {\n                      uVar15 = 0;\n                    }" else (compound_statement "{\n                      uVar15 = 0;\n                    }" { (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) }))) (expression_statement "sqlite3_free(iVar7);" (call_expression "sqlite3_free(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "sqlite3_free(uVar25);" (call_expression "sqlite3_free(uVar25)" identifier (argument_list "(uVar25)" ( identifier ))) ;) (if_statement "if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }" { (if_statement "if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }" if (parenthesized_expression "(*param_1 == 100)" ( (binary_expression "*param_1 == 100" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n                        iVar7 = param_1[1];\n                      }" { (expression_statement "iVar7 = param_1[1];" (assignment_expression "iVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n                        iVar7 = param_1[3];\n                      }" else (compound_statement "{\n                        iVar7 = param_1[3];\n                      }" { (expression_statement "iVar7 = param_1[3];" (assignment_expression "iVar7 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) }))) (expression_statement "local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);" (assignment_expression "local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15)" identifier = (call_expression "(*pcVar6)(iVar7,&local_60,param_2,uVar15)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(iVar7,&local_60,param_2,uVar15)" ( identifier , (pointer_expression "&local_60" & identifier) , identifier , identifier )))) ;) })) (expression_statement "sqlite3_free(uVar15);" (call_expression "sqlite3_free(uVar15)" identifier (argument_list "(uVar15)" ( identifier ))) ;) (if_statement "if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }" { (expression_statement "piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);" (assignment_expression "piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4)" identifier = (cast_expression "(int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar28)(&local_5c,(iVar23 + 1) * 4)" (parenthesized_expression "(*pcVar28)" ( (pointer_expression "*pcVar28" * identifier) )) (argument_list "(&local_5c,(iVar23 + 1) * 4)" ( (pointer_expression "&local_5c" & identifier) , (binary_expression "(iVar23 + 1) * 4" (parenthesized_expression "(iVar23 + 1)" ( (binary_expression "iVar23 + 1" identifier + number_literal) )) * number_literal) ))))) ;) (if_statement "if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;" if (parenthesized_expression "((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))" ( (binary_expression "(local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100)" (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100)" ( (comma_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_60)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_60)" ( identifier )))) , (binary_expression "iVar7 != 100" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000327a8;" goto statement_identifier ;)) (expression_statement "piVar17 = piVar20;" (assignment_expression "piVar17 = piVar20" identifier = identifier) ;) (do_statement "do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);" do (compound_statement "{\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      }" { (expression_statement "*piVar17 = 1;" (assignment_expression "*piVar17 = 1" (pointer_expression "*piVar17" * identifier) = number_literal) ;) (expression_statement "piVar17 = piVar17 + 1;" (assignment_expression "piVar17 = piVar17 + 1" identifier = (binary_expression "piVar17 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar20 + iVar23 + 1 != piVar17)" ( (binary_expression "piVar20 + iVar23 + 1 != piVar17" (binary_expression "piVar20 + iVar23 + 1" (binary_expression "piVar20 + iVar23" identifier + identifier) + number_literal) != identifier) )) ;) (labeled_statement "LAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }" statement_identifier : (if_statement "if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }" { (expression_statement "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_60)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_60)" ( identifier )))) ;) (if_statement "if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" if (parenthesized_expression "(iVar7 != 100)" ( (binary_expression "iVar7 != 100" identifier != number_literal) )) (compound_statement "{\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" { (if_statement "if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }" { (expression_statement "iVar16 = *piVar20;" (assignment_expression "iVar16 = *piVar20" identifier = (pointer_expression "*piVar20" * identifier)) ;) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2918,iVar16)" ( (binary_expression "PTR_LAB_00190958 + 0x2918" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }" { (expression_statement "local_5c = 7;" (assignment_expression "local_5c = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00032928;" goto statement_identifier ;) })) (if_statement "if (local_5c != 0) goto LAB_00032928;" if (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032928;" goto statement_identifier ;)) (if_statement "if (iVar23 == 0) goto LAB_00032a64;" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00032a64;" goto statement_identifier ;)) (expression_statement "puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;" (assignment_expression "puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c" identifier + number_literal)) ;) (expression_statement "piVar17 = piVar20;" (assignment_expression "piVar17 = piVar20" identifier = identifier) ;) (goto_statement "goto LAB_000329d0;" goto statement_identifier ;) })) (goto_statement "goto LAB_00032924;" goto statement_identifier ;) })) (expression_statement "*piVar20 = *piVar20 + 1;" (assignment_expression "*piVar20 = *piVar20 + 1" (pointer_expression "*piVar20" * identifier) = (binary_expression "*piVar20 + 1" (pointer_expression "*piVar20" * identifier) + number_literal)) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (compound_statement "{\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }" { (do_statement "do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);" do (compound_statement "{\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          }" { (expression_statement "iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);" (assignment_expression "iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)" ( (pointer_expression "*(code *)PTR_sqlite3_column_int_00190a4c" * (cast_expression "(code *)PTR_sqlite3_column_int_00190a4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_60,iVar7)" ( identifier , identifier )))) ;) (if_statement "if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }" if (parenthesized_expression "(iVar16 == 0)" ( (binary_expression "iVar16 == 0" identifier == number_literal) )) (compound_statement "{\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }" { (if_statement "if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }" if (parenthesized_expression "(iVar7 < iVar23)" ( (binary_expression "iVar7 < iVar23" identifier < identifier) )) (compound_statement "{\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }" { (expression_statement "piVar17 = piVar20 + iVar7;" (assignment_expression "piVar17 = piVar20 + iVar7" identifier = (binary_expression "piVar20 + iVar7" identifier + identifier)) ;) (do_statement "do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);" do (compound_statement "{\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                }" { (expression_statement "piVar1 = piVar17 + 1;" (assignment_expression "piVar1 = piVar17 + 1" identifier = (binary_expression "piVar17 + 1" identifier + number_literal)) ;) (expression_statement "piVar17 = piVar17 + 1;" (assignment_expression "piVar17 = piVar17 + 1" identifier = (binary_expression "piVar17 + 1" identifier + number_literal)) ;) (expression_statement "*piVar17 = *piVar1 + 1;" (assignment_expression "*piVar17 = *piVar1 + 1" (pointer_expression "*piVar17" * identifier) = (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) }) while (parenthesized_expression "(piVar20 + iVar23 != piVar17)" ( (binary_expression "piVar20 + iVar23 != piVar17" (binary_expression "piVar20 + iVar23" identifier + identifier) != identifier) )) ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar23 != iVar7)" ( (binary_expression "iVar23 != iVar7" identifier != identifier) )) ;) })) (goto_statement "goto LAB_00032874;" goto statement_identifier ;) }))) (labeled_statement "LAB_00032924:\n                      iVar7 = 0;" statement_identifier : (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;)) (goto_statement "goto LAB_00032928;" goto statement_identifier ;) })) (expression_statement "piVar20 = (int *)0x0;" (assignment_expression "piVar20 = (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              local_80 = (int *)0x0;\n            }" else (compound_statement "{\n              local_80 = (int *)0x0;\n            }" { (expression_statement "local_80 = (int *)0x0;" (assignment_expression "local_80 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "local_84 = PTR_LAB_00190958;" (assignment_expression "local_84 = PTR_LAB_00190958" identifier = identifier) ;) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) (labeled_statement "LAB_00032240:\n            local_70 = iVar23;" statement_identifier : (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;)) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_6c)" (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_6c)" ( identifier )))) ;) (if_statement "if (local_70 == 0) {\n              local_70 = iVar23;\n            }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n              local_70 = iVar23;\n            }" { (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;) })) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_68)" (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_68)" ( identifier )))) ;) (if_statement "if (local_70 == 0) {\n              local_70 = iVar23;\n            }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n              local_70 = iVar23;\n            }" { (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;) })) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_64)" (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_64)" ( identifier )))) ;) (if_statement "if (local_70 == 0) {\n              local_70 = iVar23;\n            }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n              local_70 = iVar23;\n            }" { (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;) })) (if_statement "if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }" if (parenthesized_expression "(0 < *local_80)" ( (binary_expression "0 < *local_80" number_literal < (pointer_expression "*local_80" * identifier)) )) (compound_statement "{\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }" { (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" identifier = number_literal) ;) (expression_statement "piVar20 = local_80;" (assignment_expression "piVar20 = local_80" identifier = identifier) ;) (do_statement "do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);" do (compound_statement "{\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              }" { (expression_statement "piVar20 = piVar20 + 10;" (assignment_expression "piVar20 = piVar20 + 10" identifier = (binary_expression "piVar20 + 10" identifier + number_literal)) ;) (expression_statement "iVar23 = iVar23 + 1;" (assignment_expression "iVar23 = iVar23 + 1" identifier = (binary_expression "iVar23 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3_free(*piVar20);" (call_expression "sqlite3_free(*piVar20)" identifier (argument_list "(*piVar20)" ( (pointer_expression "*piVar20" * identifier) ))) ;) }) while (parenthesized_expression "(iVar23 < *local_80)" ( (binary_expression "iVar23 < *local_80" identifier < (pointer_expression "*local_80" * identifier)) )) ;) })) (expression_statement "sqlite3_free(local_80);" (call_expression "sqlite3_free(local_80)" identifier (argument_list "(local_80)" ( identifier ))) ;) (if_statement "if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }" { (expression_statement "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "PTR_LAB_00190958 + 0x2e24" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) })) (expression_statement "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);" (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1],local_84 + 0x2d04,0,0,0)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , (binary_expression "local_84 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal ))) ;) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) })) }) (else_clause "else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }" else (compound_statement "{\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }" { (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) )))) ;) }))) }) (else_clause "else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }" else (compound_statement "{\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }" { (expression_statement "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) ))) ;) }))) })) (labeled_statement "LAB_00031d34:\n    iVar7 = param_1[0xb];" statement_identifier : (expression_statement "iVar7 = param_1[0xb];" (assignment_expression "iVar7 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;)) (expression_statement "local_74 = iVar23;" (assignment_expression "local_74 = iVar23" identifier = identifier) ;) (if_statement "if (iVar7 != 0) goto LAB_00031d40;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d40;" goto statement_identifier ;)) }) (else_clause "else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }" else (compound_statement "{\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }" { (do_statement "do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);" do (compound_statement "{\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    }" { (while_statement "while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }" { (expression_statement "iVar7 = FUN_0002bdc0(param_1,iVar23,0);" (assignment_expression "iVar7 = FUN_0002bdc0(param_1,iVar23,0)" identifier = (call_expression "FUN_0002bdc0(param_1,iVar23,0)" identifier (argument_list "(param_1,iVar23,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar7 != 0) goto LAB_000320ec;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000320ec;" goto statement_identifier ;)) (if_statement "if (*(int *)(iVar23 + 0x10) != 0) break;" if (parenthesized_expression "(*(int *)(iVar23 + 0x10) != 0)" ( (binary_expression "*(int *)(iVar23 + 0x10) != 0" (pointer_expression "*(int *)(iVar23 + 0x10)" * (cast_expression "(int *)(iVar23 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x10)" ( (binary_expression "iVar23 + 0x10" identifier + number_literal) )))) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar23 = *(int *)(iVar23 + 0x1c);" (assignment_expression "iVar23 = *(int *)(iVar23 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar23 + 0x1c)" * (cast_expression "(int *)(iVar23 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x1c)" ( (binary_expression "iVar23 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar23 == 0) goto LAB_0003210c;" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003210c;" goto statement_identifier ;)) })) (expression_statement "iVar7 = FUN_0002bdc0(param_1,iVar23);" (assignment_expression "iVar7 = FUN_0002bdc0(param_1,iVar23)" identifier = (call_expression "FUN_0002bdc0(param_1,iVar23)" identifier (argument_list "(param_1,iVar23)" ( identifier , identifier )))) ;) (expression_statement "iVar23 = *(int *)(iVar23 + 0x1c);" (assignment_expression "iVar23 = *(int *)(iVar23 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar23 + 0x1c)" * (cast_expression "(int *)(iVar23 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x1c)" ( (binary_expression "iVar23 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (compound_statement "{\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }" { (expression_statement "local_74 = iVar7;" (assignment_expression "local_74 = iVar7" identifier = identifier) ;) (if_statement "if (iVar7 == 0) goto LAB_0003211c;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003211c;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) ;) (labeled_statement "LAB_000320ec:\n    local_74 = iVar7;" statement_identifier : (expression_statement "local_74 = iVar7;" (assignment_expression "local_74 = iVar7" identifier = identifier) ;)) (expression_statement "iVar7 = param_1[0xb];" (assignment_expression "iVar7 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;) (expression_statement "iVar23 = local_74;" (assignment_expression "iVar23 = local_74" identifier = identifier) ;) (if_statement "if (iVar7 == 0) goto LAB_00031db8;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00031db8;" goto statement_identifier ;)) (labeled_statement "LAB_00031d40:\n    iVar23 = param_1[0x40b];" statement_identifier : (expression_statement "iVar23 = param_1[0x40b];" (assignment_expression "iVar23 = param_1[0x40b]" identifier = (subscript_expression "param_1[0x40b]" identifier [ number_literal ])) ;)) (expression_statement "puVar24 = PTR_LAB_00190958 + 0x2e3c;" (assignment_expression "puVar24 = PTR_LAB_00190958 + 0x2e3c" identifier = (binary_expression "PTR_LAB_00190958 + 0x2e3c" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_LAB_00190958 + 0x2a20;" (assignment_expression "puVar21 = PTR_LAB_00190958 + 0x2a20" identifier = (binary_expression "PTR_LAB_00190958 + 0x2a20" identifier + number_literal)) ;) (expression_statement "puVar5 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar5 = PTR_LAB_00190958 + 0x30a8" identifier = (binary_expression "PTR_LAB_00190958 + 0x30a8" identifier + number_literal)) ;) (do_statement "do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);" do (compound_statement "{\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    }" { (expression_statement "puVar27 = puVar5;" (assignment_expression "puVar27 = puVar5" identifier = identifier) ;) (if_statement "if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }" if (parenthesized_expression "(*(int *)(iVar7 + 8) != 0)" ( (binary_expression "*(int *)(iVar7 + 8) != 0" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        puVar27 = puVar21;\n      }" { (expression_statement "puVar27 = puVar21;" (assignment_expression "puVar27 = puVar21" identifier = identifier) ;) })) (expression_statement "iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));" (assignment_expression "iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8))" identifier = (call_expression "FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8))" identifier (argument_list "(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8))" ( (pointer_expression "&local_74" & identifier) , identifier , identifier , (pointer_expression "*(undefined4 *)(iVar7 + 4)" * (cast_expression "(undefined4 *)(iVar7 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) )))) , identifier , (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "param_1[0x40b] = iVar23;" (assignment_expression "param_1[0x40b] = iVar23" (subscript_expression "param_1[0x40b]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar7 = *(int *)(iVar7 + 0x10);" (assignment_expression "iVar7 = *(int *)(iVar7 + 0x10)" identifier = (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar23 = local_74;" (assignment_expression "iVar23 = local_74" identifier = identifier) ;) (if_statement "if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }" if (parenthesized_expression "((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0))" ( (binary_expression "(local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)" (parenthesized_expression "(local_74 == 0)" ( (binary_expression "local_74 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)" ( (comma_expression "iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0" (assignment_expression "iVar23 = idxFindIndexes(param_1,param_2)" identifier = (call_expression "idxFindIndexes(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) , (binary_expression "iVar23 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    param_1[8] = 1;\n  }" { (expression_statement "param_1[8] = 1;" (assignment_expression "param_1[8] = 1" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }" statement_identifier : (if_statement "if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }" if (parenthesized_expression "(local_34 == *(int *)puVar3)" ( (binary_expression "local_34 == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar23;\n  }" { (return_statement "return iVar23;" return 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 "()" ( ))) ;) (if_statement "if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }" if (parenthesized_expression "(*(int **)(local_34 + 0x1c) != (int *)0x0)" ( (binary_expression "*(int **)(local_34 + 0x1c) != (int *)0x0" (pointer_expression "*(int **)(local_34 + 0x1c)" * (cast_expression "(int **)(local_34 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 0x1c)" ( (binary_expression "local_34 + 0x1c" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return **(int **)(local_34 + 0x1c) + 1;\n  }" { (return_statement "return **(int **)(local_34 + 0x1c) + 1;" return (binary_expression "**(int **)(local_34 + 0x1c) + 1" (pointer_expression "**(int **)(local_34 + 0x1c)" * (pointer_expression "*(int **)(local_34 + 0x1c)" * (cast_expression "(int **)(local_34 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 0x1c)" ( (binary_expression "local_34 + 0x1c" identifier + number_literal) ))))) + number_literal) ;) })) (return_statement "return 0;" return number_literal ;) (while_statement "while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }" while (parenthesized_expression "(piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17)" ( (comma_expression "piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17" (assignment_expression "piVar17 = piVar17 + 1" identifier = (binary_expression "piVar17 + 1" identifier + number_literal)) , (binary_expression "piVar20 + iVar23 != piVar17" (binary_expression "piVar20 + iVar23" identifier + identifier) != identifier)) )) (compound_statement "{\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }" { (labeled_statement "LAB_000329d0:\n    iVar14 = piVar17[1];" statement_identifier : (expression_statement "iVar14 = piVar17[1];" (assignment_expression "iVar14 = piVar17[1]" identifier = (subscript_expression "piVar17[1]" identifier [ number_literal ])) ;)) (if_statement "if (iVar14 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 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 "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);" (assignment_expression "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14)" identifier = (call_expression "(*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14)" ( (pointer_expression "&local_5c" & identifier) , identifier , identifier , (binary_expression "(iVar14 / 2 + iVar16) / iVar14" (parenthesized_expression "(iVar14 / 2 + iVar16)" ( (binary_expression "iVar14 / 2 + iVar16" (binary_expression "iVar14 / 2" identifier / number_literal) + identifier) )) / identifier) )))) ;) (if_statement "if (local_5c != 0) goto LAB_00032928;" if (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032928;" goto statement_identifier ;)) })) (labeled_statement "LAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);" statement_identifier : (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" * (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,1,uVar10,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;)) (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" * (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,2,uVar11,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" * (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,3,iVar7,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_sqlite3_step_00190990)(uVar4);" (call_expression "(*(code *)PTR_sqlite3_step_00190990)(uVar4)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4)" identifier = (call_expression "(*(code *)PTR_sqlite3_reset_00190a5c)(uVar4)" (parenthesized_expression "(*(code *)PTR_sqlite3_reset_00190a5c)" ( (pointer_expression "*(code *)PTR_sqlite3_reset_00190a5c" * (cast_expression "(code *)PTR_sqlite3_reset_00190a5c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier )))) ;) (labeled_statement "LAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);" statement_identifier : (expression_statement "uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);" (assignment_expression "uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11)" identifier = (call_expression "(*(code *)PTR_strlen_00190d80)(uVar11)" (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 "(uVar11)" ( identifier )))) ;)) (expression_statement "iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);" (assignment_expression "iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10)" identifier = (call_expression "FUN_00021854(param_1 + 0xb,uVar11,uVar10)" identifier (argument_list "(param_1 + 0xb,uVar11,uVar10)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (compound_statement "{\n    sqlite3_free(iVar7);\n  }" { (expression_statement "sqlite3_free(iVar7);" (call_expression "sqlite3_free(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) }) (else_clause "else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }" else (compound_statement "{\n    *(int *)(iVar23 + 8) = iVar7;\n  }" { (expression_statement "*(int *)(iVar23 + 8) = iVar7;" (assignment_expression "*(int *)(iVar23 + 8) = iVar7" (pointer_expression "*(int *)(iVar23 + 8)" * (cast_expression "(int *)(iVar23 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 8)" ( (binary_expression "iVar23 + 8" identifier + number_literal) )))) = identifier) ;) }))) (labeled_statement "LAB_000327a8:\n  sqlite3_free(piVar20);" statement_identifier : (expression_statement "sqlite3_free(piVar20);" (call_expression "sqlite3_free(piVar20)" identifier (argument_list "(piVar20)" ( identifier ))) ;)) (expression_statement "local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_60)" (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_60)" ( identifier )))) ;) (if_statement "if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }" if (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) (compound_statement "{\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }" { (expression_statement "local_70 = local_5c;" (assignment_expression "local_70 = local_5c" identifier = identifier) ;) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) (goto_statement "goto LAB_00032240;" goto statement_identifier ;) })) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) (expression_statement "lVar2 = lVar30;" (assignment_expression "lVar2 = lVar30" identifier = identifier) ;) (if_statement "if (local_70 != 0) goto LAB_00032240;" if (parenthesized_expression "(local_70 != 0)" ( (binary_expression "local_70 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032240;" goto statement_identifier ;)) (goto_statement "goto LAB_0003249c;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x00031ed8) */\n\nint sqlite3_expert_analyze(sqlite3expert *p,char **pzErr)\n\n{\n  sqlite3_stmt *psVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 *puVar8;\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  IdxWrite *pIVar17;\n  IdxScan *pScan;\n  IdxHashEntry *pIVar18;\n  IdxTable *pIVar19;\n  char *pcVar20;\n  int in_t9;\n  code *pcVar21;\n  double dVar22;\n  longlong lVar23;\n  int *piStack_80;\n  int iStack_74;\n  int rc_1;\n  sqlite3_stmt *pAllIndex;\n  sqlite3_stmt *pIndexXInfo;\n  sqlite3_stmt *pWrite;\n  sqlite3_stmt *pSelect;\n  int rc;\n  sqlite3_stmt *pX;\n  double dStack_50;\n  undefined4 uStack_48;\n  undefined4 uStack_44;\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  int iStack_34;\n  \n  piVar2 = *(int **)(in_t9 + 0x15f2f4);\n  pIVar17 = p->pWrite;\n  iStack_34 = *piVar2;\n  if ((pIVar17 == (IdxWrite *)0x0) ||\n     (iVar3 = *(int *)(in_t9 + 0x15ee2c) + 0x1114, pIVar17 == (IdxWrite *)0x0)) {\n    pScan = p->pScan;\n    iStack_74 = 0;\n    if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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        iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_74 = iVar3;\n          if (iVar3 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar3 == 0);\nLAB_000320ec:\n      iStack_74 = iVar3;\n      pIVar18 = (p->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar3 = FUN_00031db8();\n        return iVar3;\n      }\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28);\n      iVar3 = *(int *)(in_t9 + 0x15ee28);\n      pcVar20 = p->zCandidates;\n      do {\n        iVar15 = iVar3 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar4 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar3 = iStack_74;\n      if ((iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)) {\n        p->bRun = 1;\n      }\n      if (iStack_34 == *piVar2) {\n        return iVar3;\n      }\n      (**(code **)(in_t9 + 0x15f2c8))();\n      if (*(int **)(iStack_34 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_34 + 0x1c) + 1;\n      }\n      return 0;\n    }\nLAB_0003210c:\n    iStack_74 = 0;\nLAB_0003211c:\n    rc_1 = 0;\n    pAllIndex = (sqlite3_stmt *)0x0;\n    pIndexXInfo = (sqlite3_stmt *)0x0;\n    pWrite = (sqlite3_stmt *)0x0;\n    if (p->iSample == 0) {\nLAB_00032138:\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + -0x2194);\n    pX = (sqlite3_stmt *)0x0;\n    iVar3 = idxPrepareStmt(p->dbm,&pX,pzErr,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70));\n    if (iVar3 != 0) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    iVar3 = (**(code **)(in_t9 + 0x15ee60))(pX);\n    if (iVar3 != 100) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    iVar3 = (**(code **)(in_t9 + 0x15ef1c))(pX,0);\n    rc_1 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((iVar3 + 1 < 1) || (rc_1 != 0)) goto LAB_00032138;\n    rc_1 = (**(code **)(in_t9 + 0x15ef18))(p->dbm,*(int *)(in_t9 + 0x15ee28) + 0x2bfc,0,0,0);\n    if (rc_1 == 0) {\n      piStack_80 = (int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30);\n      iVar4 = rc_1;\n      if (rc_1 == 0) {\n        if (p->iSample == 100) {\n          psVar14 = p->db;\n        }\n        else {\n          psVar14 = p->dbv;\n        }\n        rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);\n        iVar4 = rc_1;\n        if ((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_80 = (int *)0x0;\n      iVar4 = rc_1;\n    }\n    rc_1 = iVar4;\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\nLAB_00032240:\n    iVar3 = (*pcVar21)(pAllIndex);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pIndexXInfo);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pWrite);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    if (0 < *piStack_80) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_80[10]);\n    }\n                    /* WARNING: Subroutine does not return */\n    sqlite3_free(piStack_80);\n  }\n  iVar4 = *(int *)(in_t9 + 0x15ee28);\n  pIVar19 = pIVar17->pTab;\n  pcVar20 = pIVar19->zName;\n  pSelect = (sqlite3_stmt *)0x0;\n  rc = 0;\n  rc = (*(code *)(*(int *)(in_t9 + 0x15ee24) + -0x884))\n                 (p->db,&pSelect,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2a2c,pcVar20,pcVar20);\n  if (rc == 0) {\n    do {\n      iVar6 = (**(code **)(in_t9 + 0x15ee60))(pSelect);\n      if (iVar6 != 100) break;\n      uVar5 = (**(code **)(in_t9 + 0x15ee78))(pSelect,0);\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr);\n    } while (rc == 0);\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }\n  else {\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }\n  iVar6 = (*pcVar21)(pSelect);\n  if ((rc == 0) && (rc = iVar6, iVar6 == 0)) {\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\n    pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                               (*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac);\n    if (pvVar7 != (void *)0x0) {\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar7);\n    }\n    rc = 7;\n    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;\n    if (pIVar17->eOp != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar15 = 0;\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);\n        iVar4 = iVar3;\n      } while (iVar16 < pIVar19->nCol);\n    }\n  }\n  else {\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar6 = *(int *)(in_t9 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (rc == 0) {\n        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        rc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar6 = 0;\n      iVar15 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);\n        iVar6 = iVar6 + 1;\n        iVar4 = iVar3;\n      } while (iVar6 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034));\n  }\nLAB_00031e1c:\n  if (rc == 0) {\n    pX = (sqlite3_stmt *)0x0;\n    rc = (**(code **)(in_t9 + 0x15ee38))(p->dbv,pcVar20,0xffffffff,&pX,0);\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((rc != 0) || (rc = iVar3, iVar3 != 0)) {\n      idxDatabaseError(p->dbv,pzErr);\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_analyze(sqlite3expert *p,char **pzErr)\n\n{\n  sqlite3_stmt *psVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 *puVar8;\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  IdxWrite *pIVar17;\n  IdxScan *pScan;\n  IdxHashEntry *pIVar18;\n  IdxTable *pIVar19;\n  char *pcVar20;\n  int in_t9;\n  code *pcVar21;\n  double dVar22;\n  longlong lVar23;\n  int *piStack_80;\n  int iStack_74;\n  int rc_1;\n  sqlite3_stmt *pAllIndex;\n  sqlite3_stmt *pIndexXInfo;\n  sqlite3_stmt *pWrite;\n  sqlite3_stmt *pSelect;\n  int rc;\n  sqlite3_stmt *pX;\n  double dStack_50;\n  undefined4 uStack_48;\n  undefined4 uStack_44;\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  int iStack_34;\n  \n  piVar2 = *(int **)(in_t9 + 0x15f2f4);\n  pIVar17 = p->pWrite;\n  iStack_34 = *piVar2;\n  if ((pIVar17 == (IdxWrite *)0x0) ||\n     (iVar3 = *(int *)(in_t9 + 0x15ee2c) + 0x1114, pIVar17 == (IdxWrite *)0x0)) {\n    pScan = p->pScan;\n    iStack_74 = 0;\n    if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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        iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_74 = iVar3;\n          if (iVar3 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar3 == 0);\nLAB_000320ec:\n      iStack_74 = iVar3;\n      pIVar18 = (p->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar3 = FUN_00031db8();\n        return iVar3;\n      }\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28);\n      iVar3 = *(int *)(in_t9 + 0x15ee28);\n      pcVar20 = p->zCandidates;\n      do {\n        iVar15 = iVar3 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar4 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar3 = iStack_74;\n      if ((iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)) {\n        p->bRun = 1;\n      }\n      if (iStack_34 == *piVar2) {\n        return iVar3;\n      }\n      (**(code **)(in_t9 + 0x15f2c8))();\n      if (*(int **)(iStack_34 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_34 + 0x1c) + 1;\n      }\n      return 0;\n    }\nLAB_0003210c:\n    iStack_74 = 0;\nLAB_0003211c:\n    rc_1 = 0;\n    pAllIndex = (sqlite3_stmt *)0x0;\n    pIndexXInfo = (sqlite3_stmt *)0x0;\n    pWrite = (sqlite3_stmt *)0x0;\n    if (p->iSample == 0) {\nLAB_00032138:\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + -0x2194);\n    pX = (sqlite3_stmt *)0x0;\n    iVar3 = idxPrepareStmt(p->dbm,&pX,pzErr,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70));\n    if (iVar3 != 0) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    iVar3 = (**(code **)(in_t9 + 0x15ee60))(pX);\n    if (iVar3 != 100) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    iVar3 = (**(code **)(in_t9 + 0x15ef1c))(pX,0);\n    rc_1 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((iVar3 + 1 < 1) || (rc_1 != 0)) goto LAB_00032138;\n    rc_1 = (**(code **)(in_t9 + 0x15ef18))(p->dbm,*(int *)(in_t9 + 0x15ee28) + 0x2bfc,0,0,0);\n    if (rc_1 == 0) {\n      piStack_80 = (int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30);\n      iVar4 = rc_1;\n      if (rc_1 == 0) {\n        if (p->iSample == 100) {\n          psVar14 = p->db;\n        }\n        else {\n          psVar14 = p->dbv;\n        }\n        rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);\n        iVar4 = rc_1;\n        if ((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_80 = (int *)0x0;\n      iVar4 = rc_1;\n    }\n    rc_1 = iVar4;\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\nLAB_00032240:\n    iVar3 = (*pcVar21)(pAllIndex);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pIndexXInfo);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pWrite);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    if (0 < *piStack_80) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_80[10]);\n    }\n                    /* WARNING: Subroutine does not return */\n    sqlite3_free(piStack_80);\n  }\n  iVar4 = *(int *)(in_t9 + 0x15ee28);\n  pIVar19 = pIVar17->pTab;\n  pcVar20 = pIVar19->zName;\n  pSelect = (sqlite3_stmt *)0x0;\n  rc = 0;\n  rc = (*(code *)(*(int *)(in_t9 + 0x15ee24) + -0x884))\n                 (p->db,&pSelect,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2a2c,pcVar20,pcVar20);\n  if (rc == 0) {\n    do {\n      iVar6 = (**(code **)(in_t9 + 0x15ee60))(pSelect);\n      if (iVar6 != 100) break;\n      uVar5 = (**(code **)(in_t9 + 0x15ee78))(pSelect,0);\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr);\n    } while (rc == 0);\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }\n  else {\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }\n  iVar6 = (*pcVar21)(pSelect);\n  if ((rc == 0) && (rc = iVar6, iVar6 == 0)) {\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\n    pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                               (*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac);\n    if (pvVar7 != (void *)0x0) {\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar7);\n    }\n    rc = 7;\n    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;\n    if (pIVar17->eOp != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar15 = 0;\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);\n        iVar4 = iVar3;\n      } while (iVar16 < pIVar19->nCol);\n    }\n  }\n  else {\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar6 = *(int *)(in_t9 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (rc == 0) {\n        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        rc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar6 = 0;\n      iVar15 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);\n        iVar6 = iVar6 + 1;\n        iVar4 = iVar3;\n      } while (iVar6 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034));\n  }\nLAB_00031e1c:\n  if (rc == 0) {\n    pX = (sqlite3_stmt *)0x0;\n    rc = (**(code **)(in_t9 + 0x15ee38))(p->dbv,pcVar20,0xffffffff,&pX,0);\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((rc != 0) || (rc = iVar3, iVar3 != 0)) {\n      idxDatabaseError(p->dbv,pzErr);\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_analyze(sqlite3expert *p,char **pzErr)" identifier (parameter_list "(sqlite3expert *p,char **pzErr)" ( (parameter_declaration "sqlite3expert *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "char **pzErr" primitive_type (pointer_declarator "**pzErr" * (pointer_declarator "*pzErr" * identifier))) ))) (compound_statement "{\n  sqlite3_stmt *psVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 *puVar8;\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  IdxWrite *pIVar17;\n  IdxScan *pScan;\n  IdxHashEntry *pIVar18;\n  IdxTable *pIVar19;\n  char *pcVar20;\n  int in_t9;\n  code *pcVar21;\n  double dVar22;\n  longlong lVar23;\n  int *piStack_80;\n  int iStack_74;\n  int rc_1;\n  sqlite3_stmt *pAllIndex;\n  sqlite3_stmt *pIndexXInfo;\n  sqlite3_stmt *pWrite;\n  sqlite3_stmt *pSelect;\n  int rc;\n  sqlite3_stmt *pX;\n  double dStack_50;\n  undefined4 uStack_48;\n  undefined4 uStack_44;\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  int iStack_34;\n  \n  piVar2 = *(int **)(in_t9 + 0x15f2f4);\n  pIVar17 = p->pWrite;\n  iStack_34 = *piVar2;\n  if ((pIVar17 == (IdxWrite *)0x0) ||\n     (iVar3 = *(int *)(in_t9 + 0x15ee2c) + 0x1114, pIVar17 == (IdxWrite *)0x0)) {\n    pScan = p->pScan;\n    iStack_74 = 0;\n    if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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        iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_74 = iVar3;\n          if (iVar3 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar3 == 0);\nLAB_000320ec:\n      iStack_74 = iVar3;\n      pIVar18 = (p->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar3 = FUN_00031db8();\n        return iVar3;\n      }\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28);\n      iVar3 = *(int *)(in_t9 + 0x15ee28);\n      pcVar20 = p->zCandidates;\n      do {\n        iVar15 = iVar3 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar4 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar3 = iStack_74;\n      if ((iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)) {\n        p->bRun = 1;\n      }\n      if (iStack_34 == *piVar2) {\n        return iVar3;\n      }\n      (**(code **)(in_t9 + 0x15f2c8))();\n      if (*(int **)(iStack_34 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_34 + 0x1c) + 1;\n      }\n      return 0;\n    }\nLAB_0003210c:\n    iStack_74 = 0;\nLAB_0003211c:\n    rc_1 = 0;\n    pAllIndex = (sqlite3_stmt *)0x0;\n    pIndexXInfo = (sqlite3_stmt *)0x0;\n    pWrite = (sqlite3_stmt *)0x0;\n    if (p->iSample == 0) {\nLAB_00032138:\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + -0x2194);\n    pX = (sqlite3_stmt *)0x0;\n    iVar3 = idxPrepareStmt(p->dbm,&pX,pzErr,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70));\n    if (iVar3 != 0) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    iVar3 = (**(code **)(in_t9 + 0x15ee60))(pX);\n    if (iVar3 != 100) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    iVar3 = (**(code **)(in_t9 + 0x15ef1c))(pX,0);\n    rc_1 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((iVar3 + 1 < 1) || (rc_1 != 0)) goto LAB_00032138;\n    rc_1 = (**(code **)(in_t9 + 0x15ef18))(p->dbm,*(int *)(in_t9 + 0x15ee28) + 0x2bfc,0,0,0);\n    if (rc_1 == 0) {\n      piStack_80 = (int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30);\n      iVar4 = rc_1;\n      if (rc_1 == 0) {\n        if (p->iSample == 100) {\n          psVar14 = p->db;\n        }\n        else {\n          psVar14 = p->dbv;\n        }\n        rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);\n        iVar4 = rc_1;\n        if ((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_80 = (int *)0x0;\n      iVar4 = rc_1;\n    }\n    rc_1 = iVar4;\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\nLAB_00032240:\n    iVar3 = (*pcVar21)(pAllIndex);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pIndexXInfo);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pWrite);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    if (0 < *piStack_80) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_80[10]);\n    }\n                    /* WARNING: Subroutine does not return */\n    sqlite3_free(piStack_80);\n  }\n  iVar4 = *(int *)(in_t9 + 0x15ee28);\n  pIVar19 = pIVar17->pTab;\n  pcVar20 = pIVar19->zName;\n  pSelect = (sqlite3_stmt *)0x0;\n  rc = 0;\n  rc = (*(code *)(*(int *)(in_t9 + 0x15ee24) + -0x884))\n                 (p->db,&pSelect,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2a2c,pcVar20,pcVar20);\n  if (rc == 0) {\n    do {\n      iVar6 = (**(code **)(in_t9 + 0x15ee60))(pSelect);\n      if (iVar6 != 100) break;\n      uVar5 = (**(code **)(in_t9 + 0x15ee78))(pSelect,0);\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr);\n    } while (rc == 0);\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }\n  else {\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }\n  iVar6 = (*pcVar21)(pSelect);\n  if ((rc == 0) && (rc = iVar6, iVar6 == 0)) {\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\n    pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                               (*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac);\n    if (pvVar7 != (void *)0x0) {\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar7);\n    }\n    rc = 7;\n    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;\n    if (pIVar17->eOp != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar15 = 0;\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);\n        iVar4 = iVar3;\n      } while (iVar16 < pIVar19->nCol);\n    }\n  }\n  else {\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar6 = *(int *)(in_t9 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (rc == 0) {\n        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        rc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar6 = 0;\n      iVar15 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);\n        iVar6 = iVar6 + 1;\n        iVar4 = iVar3;\n      } while (iVar6 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034));\n  }\nLAB_00031e1c:\n  if (rc == 0) {\n    pX = (sqlite3_stmt *)0x0;\n    rc = (**(code **)(in_t9 + 0x15ee38))(p->dbv,pcVar20,0xffffffff,&pX,0);\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((rc != 0) || (rc = iVar3, iVar3 != 0)) {\n      idxDatabaseError(p->dbv,pzErr);\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 "sqlite3_stmt *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "void *pvVar7;" primitive_type (pointer_declarator "*pvVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * 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 "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 "double dVar22;" primitive_type identifier ;) (declaration "longlong lVar23;" type_identifier identifier ;) (declaration "int *piStack_80;" primitive_type (pointer_declarator "*piStack_80" * identifier) ;) (declaration "int iStack_74;" primitive_type identifier ;) (declaration "int rc_1;" primitive_type identifier ;) (declaration "sqlite3_stmt *pAllIndex;" type_identifier (pointer_declarator "*pAllIndex" * identifier) ;) (declaration "sqlite3_stmt *pIndexXInfo;" type_identifier (pointer_declarator "*pIndexXInfo" * identifier) ;) (declaration "sqlite3_stmt *pWrite;" type_identifier (pointer_declarator "*pWrite" * identifier) ;) (declaration "sqlite3_stmt *pSelect;" type_identifier (pointer_declarator "*pSelect" * identifier) ;) (declaration "int rc;" primitive_type identifier ;) (declaration "sqlite3_stmt *pX;" type_identifier (pointer_declarator "*pX" * identifier) ;) (declaration "double dStack_50;" primitive_type identifier ;) (declaration "undefined4 uStack_48;" type_identifier identifier ;) (declaration "undefined4 uStack_44;" type_identifier identifier ;) (declaration "undefined4 uStack_40;" type_identifier identifier ;) (declaration "undefined4 uStack_3c;" type_identifier identifier ;) (declaration "int iStack_34;" primitive_type identifier ;) (expression_statement "piVar2 = *(int **)(in_t9 + 0x15f2f4);" (assignment_expression "piVar2 = *(int **)(in_t9 + 0x15f2f4)" identifier = (pointer_expression "*(int **)(in_t9 + 0x15f2f4)" * (cast_expression "(int **)(in_t9 + 0x15f2f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15f2f4)" ( (binary_expression "in_t9 + 0x15f2f4" identifier + number_literal) ))))) ;) (expression_statement "pIVar17 = p->pWrite;" (assignment_expression "pIVar17 = p->pWrite" identifier = (field_expression "p->pWrite" identifier -> field_identifier)) ;) (expression_statement "iStack_34 = *piVar2;" (assignment_expression "iStack_34 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if ((pIVar17 == (IdxWrite *)0x0) ||\n     (iVar3 = *(int *)(in_t9 + 0x15ee2c) + 0x1114, pIVar17 == (IdxWrite *)0x0)) {\n    pScan = p->pScan;\n    iStack_74 = 0;\n    if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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        iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_74 = iVar3;\n          if (iVar3 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar3 == 0);\nLAB_000320ec:\n      iStack_74 = iVar3;\n      pIVar18 = (p->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar3 = FUN_00031db8();\n        return iVar3;\n      }\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28);\n      iVar3 = *(int *)(in_t9 + 0x15ee28);\n      pcVar20 = p->zCandidates;\n      do {\n        iVar15 = iVar3 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar4 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar3 = iStack_74;\n      if ((iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)) {\n        p->bRun = 1;\n      }\n      if (iStack_34 == *piVar2) {\n        return iVar3;\n      }\n      (**(code **)(in_t9 + 0x15f2c8))();\n      if (*(int **)(iStack_34 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_34 + 0x1c) + 1;\n      }\n      return 0;\n    }\nLAB_0003210c:\n    iStack_74 = 0;\nLAB_0003211c:\n    rc_1 = 0;\n    pAllIndex = (sqlite3_stmt *)0x0;\n    pIndexXInfo = (sqlite3_stmt *)0x0;\n    pWrite = (sqlite3_stmt *)0x0;\n    if (p->iSample == 0) {\nLAB_00032138:\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + -0x2194);\n    pX = (sqlite3_stmt *)0x0;\n    iVar3 = idxPrepareStmt(p->dbm,&pX,pzErr,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70));\n    if (iVar3 != 0) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    iVar3 = (**(code **)(in_t9 + 0x15ee60))(pX);\n    if (iVar3 != 100) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    iVar3 = (**(code **)(in_t9 + 0x15ef1c))(pX,0);\n    rc_1 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((iVar3 + 1 < 1) || (rc_1 != 0)) goto LAB_00032138;\n    rc_1 = (**(code **)(in_t9 + 0x15ef18))(p->dbm,*(int *)(in_t9 + 0x15ee28) + 0x2bfc,0,0,0);\n    if (rc_1 == 0) {\n      piStack_80 = (int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30);\n      iVar4 = rc_1;\n      if (rc_1 == 0) {\n        if (p->iSample == 100) {\n          psVar14 = p->db;\n        }\n        else {\n          psVar14 = p->dbv;\n        }\n        rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);\n        iVar4 = rc_1;\n        if ((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_80 = (int *)0x0;\n      iVar4 = rc_1;\n    }\n    rc_1 = iVar4;\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\nLAB_00032240:\n    iVar3 = (*pcVar21)(pAllIndex);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pIndexXInfo);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pWrite);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    if (0 < *piStack_80) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_80[10]);\n    }\n                    /* WARNING: Subroutine does not return */\n    sqlite3_free(piStack_80);\n  }" if (parenthesized_expression "((pIVar17 == (IdxWrite *)0x0) ||\n     (iVar3 = *(int *)(in_t9 + 0x15ee2c) + 0x1114, pIVar17 == (IdxWrite *)0x0))" ( (binary_expression "(pIVar17 == (IdxWrite *)0x0) ||\n     (iVar3 = *(int *)(in_t9 + 0x15ee2c) + 0x1114, 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 "(iVar3 = *(int *)(in_t9 + 0x15ee2c) + 0x1114, pIVar17 == (IdxWrite *)0x0)" ( (comma_expression "iVar3 = *(int *)(in_t9 + 0x15ee2c) + 0x1114, pIVar17 == (IdxWrite *)0x0" (assignment_expression "iVar3 = *(int *)(in_t9 + 0x15ee2c) + 0x1114" identifier = (binary_expression "*(int *)(in_t9 + 0x15ee2c) + 0x1114" (pointer_expression "*(int *)(in_t9 + 0x15ee2c)" * (cast_expression "(int *)(in_t9 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee2c)" ( (binary_expression "in_t9 + 0x15ee2c" identifier + number_literal) )))) + number_literal)) , (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->pScan;\n    iStack_74 = 0;\n    if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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        iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_74 = iVar3;\n          if (iVar3 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar3 == 0);\nLAB_000320ec:\n      iStack_74 = iVar3;\n      pIVar18 = (p->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar3 = FUN_00031db8();\n        return iVar3;\n      }\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28);\n      iVar3 = *(int *)(in_t9 + 0x15ee28);\n      pcVar20 = p->zCandidates;\n      do {\n        iVar15 = iVar3 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar4 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar3 = iStack_74;\n      if ((iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)) {\n        p->bRun = 1;\n      }\n      if (iStack_34 == *piVar2) {\n        return iVar3;\n      }\n      (**(code **)(in_t9 + 0x15f2c8))();\n      if (*(int **)(iStack_34 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_34 + 0x1c) + 1;\n      }\n      return 0;\n    }\nLAB_0003210c:\n    iStack_74 = 0;\nLAB_0003211c:\n    rc_1 = 0;\n    pAllIndex = (sqlite3_stmt *)0x0;\n    pIndexXInfo = (sqlite3_stmt *)0x0;\n    pWrite = (sqlite3_stmt *)0x0;\n    if (p->iSample == 0) {\nLAB_00032138:\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + -0x2194);\n    pX = (sqlite3_stmt *)0x0;\n    iVar3 = idxPrepareStmt(p->dbm,&pX,pzErr,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70));\n    if (iVar3 != 0) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    iVar3 = (**(code **)(in_t9 + 0x15ee60))(pX);\n    if (iVar3 != 100) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }\n    iVar3 = (**(code **)(in_t9 + 0x15ef1c))(pX,0);\n    rc_1 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((iVar3 + 1 < 1) || (rc_1 != 0)) goto LAB_00032138;\n    rc_1 = (**(code **)(in_t9 + 0x15ef18))(p->dbm,*(int *)(in_t9 + 0x15ee28) + 0x2bfc,0,0,0);\n    if (rc_1 == 0) {\n      piStack_80 = (int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30);\n      iVar4 = rc_1;\n      if (rc_1 == 0) {\n        if (p->iSample == 100) {\n          psVar14 = p->db;\n        }\n        else {\n          psVar14 = p->dbv;\n        }\n        rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);\n        iVar4 = rc_1;\n        if ((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_80 = (int *)0x0;\n      iVar4 = rc_1;\n    }\n    rc_1 = iVar4;\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\nLAB_00032240:\n    iVar3 = (*pcVar21)(pAllIndex);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pIndexXInfo);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pWrite);\n    if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }\n    if (0 < *piStack_80) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_80[10]);\n    }\n                    /* WARNING: Subroutine does not return */\n    sqlite3_free(piStack_80);\n  }" { (expression_statement "pScan = p->pScan;" (assignment_expression "pScan = p->pScan" identifier = (field_expression "p->pScan" identifier -> field_identifier)) ;) (expression_statement "iStack_74 = 0;" (assignment_expression "iStack_74 = 0" identifier = number_literal) ;) (if_statement "if (pScan != (IdxScan *)0x0) {\n      do {\n        while( true ) {\n          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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        iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_74 = iVar3;\n          if (iVar3 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar3 == 0);\nLAB_000320ec:\n      iStack_74 = iVar3;\n      pIVar18 = (p->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar3 = FUN_00031db8();\n        return iVar3;\n      }\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28);\n      iVar3 = *(int *)(in_t9 + 0x15ee28);\n      pcVar20 = p->zCandidates;\n      do {\n        iVar15 = iVar3 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar4 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar3 = iStack_74;\n      if ((iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)) {\n        p->bRun = 1;\n      }\n      if (iStack_34 == *piVar2) {\n        return iVar3;\n      }\n      (**(code **)(in_t9 + 0x15f2c8))();\n      if (*(int **)(iStack_34 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_34 + 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          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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        iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_74 = iVar3;\n          if (iVar3 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar3 == 0);\nLAB_000320ec:\n      iStack_74 = iVar3;\n      pIVar18 = (p->hIdx).pFirst;\n      if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar3 = FUN_00031db8();\n        return iVar3;\n      }\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28);\n      iVar3 = *(int *)(in_t9 + 0x15ee28);\n      pcVar20 = p->zCandidates;\n      do {\n        iVar15 = iVar3 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar4 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);\n      iVar3 = iStack_74;\n      if ((iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)) {\n        p->bRun = 1;\n      }\n      if (iStack_34 == *piVar2) {\n        return iVar3;\n      }\n      (**(code **)(in_t9 + 0x15f2c8))();\n      if (*(int **)(iStack_34 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_34 + 0x1c) + 1;\n      }\n      return 0;\n    }" { (do_statement "do {\n        while( true ) {\n          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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        iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_74 = iVar3;\n          if (iVar3 == 0) goto LAB_0003211c;\n          break;\n        }\n      } while (iVar3 == 0);" do (compound_statement "{\n        while( true ) {\n          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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        iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);\n        pScan = pScan->pNextScan;\n        if (pScan == (IdxScan *)0x0) {\n          iStack_74 = iVar3;\n          if (iVar3 == 0) goto LAB_0003211c;\n          break;\n        }\n      }" { (while_statement "while( true ) {\n          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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          iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);\n          if (iVar3 != 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 "iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0);" (assignment_expression "iVar3 = idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0)" identifier = (call_expression "idxCreateFromWhere(p,pScan,(IdxConstraint *)0x0)" identifier (argument_list "(p,pScan,(IdxConstraint *)0x0)" ( identifier , identifier , (cast_expression "(IdxConstraint *)0x0" ( (type_descriptor "IdxConstraint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (iVar3 != 0) goto LAB_000320ec;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 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 "iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder);" (assignment_expression "iVar3 = idxCreateFromWhere(p,pScan,pScan->pOrder)" identifier = (call_expression "idxCreateFromWhere(p,pScan,pScan->pOrder)" identifier (argument_list "(p,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_74 = iVar3;\n          if (iVar3 == 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_74 = iVar3;\n          if (iVar3 == 0) goto LAB_0003211c;\n          break;\n        }" { (expression_statement "iStack_74 = iVar3;" (assignment_expression "iStack_74 = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) goto LAB_0003211c;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003211c;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) ;) (labeled_statement "LAB_000320ec:\n      iStack_74 = iVar3;" statement_identifier : (expression_statement "iStack_74 = iVar3;" (assignment_expression "iStack_74 = iVar3" identifier = identifier) ;)) (expression_statement "pIVar18 = (p->hIdx).pFirst;" (assignment_expression "pIVar18 = (p->hIdx).pFirst" identifier = (field_expression "(p->hIdx).pFirst" (parenthesized_expression "(p->hIdx)" ( (field_expression "p->hIdx" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (pIVar18 == (IdxHashEntry *)0x0) {\n        iVar3 = FUN_00031db8();\n        return iVar3;\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        iVar3 = FUN_00031db8();\n        return iVar3;\n      }" { (expression_statement "iVar3 = FUN_00031db8();" (assignment_expression "iVar3 = FUN_00031db8()" identifier = (call_expression "FUN_00031db8()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar6 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar6 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar4 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar3 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "pcVar20 = p->zCandidates;" (assignment_expression "pcVar20 = p->zCandidates" identifier = (field_expression "p->zCandidates" identifier -> field_identifier)) ;) (do_statement "do {\n        iVar15 = iVar3 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar4 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      } while (pIVar18 != (IdxHashEntry *)0x0);" do (compound_statement "{\n        iVar15 = iVar3 + 0x30a8;\n        if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar4 + 0x2a20;\n        }\n        pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);\n        p->zCandidates = pcVar20;\n        pIVar18 = pIVar18->pNext;\n      }" { (expression_statement "iVar15 = iVar3 + 0x30a8;" (assignment_expression "iVar15 = iVar3 + 0x30a8" identifier = (binary_expression "iVar3 + 0x30a8" identifier + number_literal)) ;) (if_statement "if (pIVar18->zVal2 != (char *)0x0) {\n          iVar15 = iVar4 + 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 = iVar4 + 0x2a20;\n        }" { (expression_statement "iVar15 = iVar4 + 0x2a20;" (assignment_expression "iVar15 = iVar4 + 0x2a20" identifier = (binary_expression "iVar4 + 0x2a20" identifier + number_literal)) ;) })) (expression_statement "pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2);" (assignment_expression "pcVar20 = idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2)" identifier = (call_expression "idxAppendText(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2)" identifier (argument_list "(&iStack_74,pcVar20,(char *)(iVar6 + 0x2e3c),pIVar18->zVal,iVar15,\n                                pIVar18->zVal2)" ( (pointer_expression "&iStack_74" & identifier) , identifier , (cast_expression "(char *)(iVar6 + 0x2e3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2e3c)" ( (binary_expression "iVar6 + 0x2e3c" identifier + number_literal) ))) , (field_expression "pIVar18->zVal" identifier -> field_identifier) , identifier , (field_expression "pIVar18->zVal2" identifier -> field_identifier) )))) ;) (expression_statement "p->zCandidates = pcVar20;" (assignment_expression "p->zCandidates = pcVar20" (field_expression "p->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 "iVar3 = iStack_74;" (assignment_expression "iVar3 = iStack_74" identifier = identifier) ;) (if_statement "if ((iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)) {\n        p->bRun = 1;\n      }" if (parenthesized_expression "((iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0))" ( (binary_expression "(iStack_74 == 0) && (iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)" (parenthesized_expression "(iStack_74 == 0)" ( (binary_expression "iStack_74 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0)" ( (comma_expression "iVar3 = idxFindIndexes(p,pzErr), iVar3 == 0" (assignment_expression "iVar3 = idxFindIndexes(p,pzErr)" identifier = (call_expression "idxFindIndexes(p,pzErr)" identifier (argument_list "(p,pzErr)" ( identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        p->bRun = 1;\n      }" { (expression_statement "p->bRun = 1;" (assignment_expression "p->bRun = 1" (field_expression "p->bRun" identifier -> field_identifier) = number_literal) ;) })) (if_statement "if (iStack_34 == *piVar2) {\n        return iVar3;\n      }" if (parenthesized_expression "(iStack_34 == *piVar2)" ( (binary_expression "iStack_34 == *piVar2" identifier == (pointer_expression "*piVar2" * identifier)) )) (compound_statement "{\n        return iVar3;\n      }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "(**(code **)(in_t9 + 0x15f2c8))();" (call_expression "(**(code **)(in_t9 + 0x15f2c8))()" (parenthesized_expression "(**(code **)(in_t9 + 0x15f2c8))" ( (pointer_expression "**(code **)(in_t9 + 0x15f2c8)" * (pointer_expression "*(code **)(in_t9 + 0x15f2c8)" * (cast_expression "(code **)(in_t9 + 0x15f2c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15f2c8)" ( (binary_expression "in_t9 + 0x15f2c8" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int **)(iStack_34 + 0x1c) != (int *)0x0) {\n        return **(int **)(iStack_34 + 0x1c) + 1;\n      }" if (parenthesized_expression "(*(int **)(iStack_34 + 0x1c) != (int *)0x0)" ( (binary_expression "*(int **)(iStack_34 + 0x1c) != (int *)0x0" (pointer_expression "*(int **)(iStack_34 + 0x1c)" * (cast_expression "(int **)(iStack_34 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iStack_34 + 0x1c)" ( (binary_expression "iStack_34 + 0x1c" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return **(int **)(iStack_34 + 0x1c) + 1;\n      }" { (return_statement "return **(int **)(iStack_34 + 0x1c) + 1;" return (binary_expression "**(int **)(iStack_34 + 0x1c) + 1" (pointer_expression "**(int **)(iStack_34 + 0x1c)" * (pointer_expression "*(int **)(iStack_34 + 0x1c)" * (cast_expression "(int **)(iStack_34 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iStack_34 + 0x1c)" ( (binary_expression "iStack_34 + 0x1c" identifier + number_literal) ))))) + number_literal) ;) })) (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_0003210c:\n    iStack_74 = 0;" statement_identifier : (expression_statement "iStack_74 = 0;" (assignment_expression "iStack_74 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_0003211c:\n    rc_1 = 0;" statement_identifier : (expression_statement "rc_1 = 0;" (assignment_expression "rc_1 = 0" identifier = number_literal) ;)) (expression_statement "pAllIndex = (sqlite3_stmt *)0x0;" (assignment_expression "pAllIndex = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pIndexXInfo = (sqlite3_stmt *)0x0;" (assignment_expression "pIndexXInfo = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pWrite = (sqlite3_stmt *)0x0;" (assignment_expression "pWrite = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (p->iSample == 0) {\nLAB_00032138:\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }" if (parenthesized_expression "(p->iSample == 0)" ( (binary_expression "p->iSample == 0" (field_expression "p->iSample" identifier -> field_identifier) == number_literal) )) (compound_statement "{\nLAB_00032138:\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }" { (labeled_statement "LAB_00032138:\n      iVar3 = FUN_00031d34();" statement_identifier : (expression_statement "iVar3 = FUN_00031d34();" (assignment_expression "iVar3 = FUN_00031d34()" identifier = (call_expression "FUN_00031d34()" identifier (argument_list "()" ( )))) ;)) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + -0x2194);" (assignment_expression "pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + -0x2194)" identifier = (cast_expression "(code *)(*(int *)(in_t9 + 0x15ee24) + -0x2194)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x15ee24) + -0x2194)" ( (binary_expression "*(int *)(in_t9 + 0x15ee24) + -0x2194" (pointer_expression "*(int *)(in_t9 + 0x15ee24)" * (cast_expression "(int *)(in_t9 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee24)" ( (binary_expression "in_t9 + 0x15ee24" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "pX = (sqlite3_stmt *)0x0;" (assignment_expression "pX = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = idxPrepareStmt(p->dbm,&pX,pzErr,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70));" (assignment_expression "iVar3 = idxPrepareStmt(p->dbm,&pX,pzErr,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70))" identifier = (call_expression "idxPrepareStmt(p->dbm,&pX,pzErr,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70))" identifier (argument_list "(p->dbm,&pX,pzErr,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70))" ( (field_expression "p->dbm" identifier -> field_identifier) , (pointer_expression "&pX" & identifier) , identifier , (cast_expression "(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2b70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x15ee28) + 0x2b70)" ( (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2b70" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) ))) )))) ;) (if_statement "if (iVar3 != 0) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }" { (expression_statement "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);" (call_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX)" (parenthesized_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))" ( (pointer_expression "**(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (pointer_expression "*(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (cast_expression "(code **)(sqlite3rebaser_configure + in_t9 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sqlite3rebaser_configure + in_t9 + 4)" ( (binary_expression "sqlite3rebaser_configure + in_t9 + 4" (binary_expression "sqlite3rebaser_configure + in_t9" identifier + identifier) + number_literal) ))))) )) (argument_list "(pX)" ( identifier ))) ;) (expression_statement "iVar3 = FUN_00031d34();" (assignment_expression "iVar3 = FUN_00031d34()" identifier = (call_expression "FUN_00031d34()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar3 = (**(code **)(in_t9 + 0x15ee60))(pX);" (assignment_expression "iVar3 = (**(code **)(in_t9 + 0x15ee60))(pX)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee60))(pX)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee60))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee60)" * (pointer_expression "*(code **)(in_t9 + 0x15ee60)" * (cast_expression "(code **)(in_t9 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee60)" ( (binary_expression "in_t9 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(pX)" ( identifier )))) ;) (if_statement "if (iVar3 != 100) {\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }" if (parenthesized_expression "(iVar3 != 100)" ( (binary_expression "iVar3 != 100" identifier != number_literal) )) (compound_statement "{\n      (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n      iVar3 = FUN_00031d34();\n      return iVar3;\n    }" { (expression_statement "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);" (call_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX)" (parenthesized_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))" ( (pointer_expression "**(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (pointer_expression "*(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (cast_expression "(code **)(sqlite3rebaser_configure + in_t9 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sqlite3rebaser_configure + in_t9 + 4)" ( (binary_expression "sqlite3rebaser_configure + in_t9 + 4" (binary_expression "sqlite3rebaser_configure + in_t9" identifier + identifier) + number_literal) ))))) )) (argument_list "(pX)" ( identifier ))) ;) (expression_statement "iVar3 = FUN_00031d34();" (assignment_expression "iVar3 = FUN_00031d34()" identifier = (call_expression "FUN_00031d34()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar3 = (**(code **)(in_t9 + 0x15ef1c))(pX,0);" (assignment_expression "iVar3 = (**(code **)(in_t9 + 0x15ef1c))(pX,0)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ef1c))(pX,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ef1c))" ( (pointer_expression "**(code **)(in_t9 + 0x15ef1c)" * (pointer_expression "*(code **)(in_t9 + 0x15ef1c)" * (cast_expression "(code **)(in_t9 + 0x15ef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ef1c)" ( (binary_expression "in_t9 + 0x15ef1c" identifier + number_literal) ))))) )) (argument_list "(pX,0)" ( identifier , number_literal )))) ;) (expression_statement "rc_1 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);" (assignment_expression "rc_1 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX)" identifier = (call_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX)" (parenthesized_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))" ( (pointer_expression "**(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (pointer_expression "*(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (cast_expression "(code **)(sqlite3rebaser_configure + in_t9 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sqlite3rebaser_configure + in_t9 + 4)" ( (binary_expression "sqlite3rebaser_configure + in_t9 + 4" (binary_expression "sqlite3rebaser_configure + in_t9" identifier + identifier) + number_literal) ))))) )) (argument_list "(pX)" ( identifier )))) ;) (if_statement "if ((iVar3 + 1 < 1) || (rc_1 != 0)) goto LAB_00032138;" if (parenthesized_expression "((iVar3 + 1 < 1) || (rc_1 != 0))" ( (binary_expression "(iVar3 + 1 < 1) || (rc_1 != 0)" (parenthesized_expression "(iVar3 + 1 < 1)" ( (binary_expression "iVar3 + 1 < 1" (binary_expression "iVar3 + 1" identifier + number_literal) < number_literal) )) || (parenthesized_expression "(rc_1 != 0)" ( (binary_expression "rc_1 != 0" identifier != number_literal) ))) )) (goto_statement "goto LAB_00032138;" goto statement_identifier ;)) (expression_statement "rc_1 = (**(code **)(in_t9 + 0x15ef18))(p->dbm,*(int *)(in_t9 + 0x15ee28) + 0x2bfc,0,0,0);" (assignment_expression "rc_1 = (**(code **)(in_t9 + 0x15ef18))(p->dbm,*(int *)(in_t9 + 0x15ee28) + 0x2bfc,0,0,0)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ef18))(p->dbm,*(int *)(in_t9 + 0x15ee28) + 0x2bfc,0,0,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ef18))" ( (pointer_expression "**(code **)(in_t9 + 0x15ef18)" * (pointer_expression "*(code **)(in_t9 + 0x15ef18)" * (cast_expression "(code **)(in_t9 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ef18)" ( (binary_expression "in_t9 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p->dbm,*(int *)(in_t9 + 0x15ee28) + 0x2bfc,0,0,0)" ( (field_expression "p->dbm" identifier -> field_identifier) , (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2bfc" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (rc_1 == 0) {\n      piStack_80 = (int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30);\n      iVar4 = rc_1;\n      if (rc_1 == 0) {\n        if (p->iSample == 100) {\n          psVar14 = p->db;\n        }\n        else {\n          psVar14 = p->dbv;\n        }\n        rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);\n        iVar4 = rc_1;\n        if ((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }\n    else {\n      piStack_80 = (int *)0x0;\n      iVar4 = rc_1;\n    }" if (parenthesized_expression "(rc_1 == 0)" ( (binary_expression "rc_1 == 0" identifier == number_literal) )) (compound_statement "{\n      piStack_80 = (int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30);\n      iVar4 = rc_1;\n      if (rc_1 == 0) {\n        if (p->iSample == 100) {\n          psVar14 = p->db;\n        }\n        else {\n          psVar14 = p->dbv;\n        }\n        rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);\n        iVar4 = rc_1;\n        if ((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }\n    }" { (expression_statement "piStack_80 = (int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30);" (assignment_expression "piStack_80 = (int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30)" identifier = (cast_expression "(int *)idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "idxMalloc(&rc_1,(iVar3 + 1) * 0x28 + 0x30)" identifier (argument_list "(&rc_1,(iVar3 + 1) * 0x28 + 0x30)" ( (pointer_expression "&rc_1" & identifier) , (binary_expression "(iVar3 + 1) * 0x28 + 0x30" (binary_expression "(iVar3 + 1) * 0x28" (parenthesized_expression "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )) * number_literal) + number_literal) ))))) ;) (expression_statement "iVar4 = rc_1;" (assignment_expression "iVar4 = rc_1" identifier = identifier) ;) (if_statement "if (rc_1 == 0) {\n        if (p->iSample == 100) {\n          psVar14 = p->db;\n        }\n        else {\n          psVar14 = p->dbv;\n        }\n        rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);\n        iVar4 = rc_1;\n        if ((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }" if (parenthesized_expression "(rc_1 == 0)" ( (binary_expression "rc_1 == 0" identifier == number_literal) )) (compound_statement "{\n        if (p->iSample == 100) {\n          psVar14 = p->db;\n        }\n        else {\n          psVar14 = p->dbv;\n        }\n        rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);\n        iVar4 = rc_1;\n        if ((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }\n      }" { (if_statement "if (p->iSample == 100) {\n          psVar14 = p->db;\n        }\n        else {\n          psVar14 = p->dbv;\n        }" if (parenthesized_expression "(p->iSample == 100)" ( (binary_expression "p->iSample == 100" (field_expression "p->iSample" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n          psVar14 = p->db;\n        }" { (expression_statement "psVar14 = p->db;" (assignment_expression "psVar14 = p->db" identifier = (field_expression "p->db" identifier -> field_identifier)) ;) }) (else_clause "else {\n          psVar14 = p->dbv;\n        }" else (compound_statement "{\n          psVar14 = p->dbv;\n        }" { (expression_statement "psVar14 = p->dbv;" (assignment_expression "psVar14 = p->dbv" identifier = (field_expression "p->dbv" identifier -> field_identifier)) ;) }))) (expression_statement "rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0);" (assignment_expression "rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0)" identifier = (call_expression "(**(code **)(in_t9 + 0x15eedc))\n                         (psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15eedc))" ( (pointer_expression "**(code **)(in_t9 + 0x15eedc)" * (pointer_expression "*(code **)(in_t9 + 0x15eedc)" * (cast_expression "(code **)(in_t9 + 0x15eedc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15eedc)" ( (binary_expression "in_t9 + 0x15eedc" identifier + number_literal) ))))) )) (argument_list "(psVar14,*(int *)(in_t9 + 0x15ee28) + 0x2c20,2,1,piStack_80,\n                          *(int *)(in_t9 + 0x15ee24) + 0x3c44,0,0)" ( identifier , (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2c20" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , identifier , (binary_expression "*(int *)(in_t9 + 0x15ee24) + 0x3c44" (pointer_expression "*(int *)(in_t9 + 0x15ee24)" * (cast_expression "(int *)(in_t9 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee24)" ( (binary_expression "in_t9 + 0x15ee24" identifier + number_literal) )))) + number_literal) , number_literal , number_literal )))) ;) (expression_statement "iVar4 = rc_1;" (assignment_expression "iVar4 = rc_1" identifier = identifier) ;) (if_statement "if ((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)) {\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }" if (parenthesized_expression "((rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0))" ( (binary_expression "(rc_1 == 0) &&\n           (rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)" (parenthesized_expression "(rc_1 == 0)" ( (binary_expression "rc_1 == 0" identifier == number_literal) )) && (parenthesized_expression "(rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0)" ( (comma_expression "rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0), iVar4 = rc_1, rc_1 == 0" (assignment_expression "rc_1 = (**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0)" identifier = (call_expression "(**(code **)(in_t9 + 0x15eedc))\n                             (p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15eedc))" ( (pointer_expression "**(code **)(in_t9 + 0x15eedc)" * (pointer_expression "*(code **)(in_t9 + 0x15eedc)" * (cast_expression "(code **)(in_t9 + 0x15eedc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15eedc)" ( (binary_expression "in_t9 + 0x15eedc" identifier + number_literal) ))))) )) (argument_list "(p->db,*(int *)(in_t9 + 0x15ee28) + 0x2c24,0,1,&pX,\n                              *(int *)(in_t9 + 0x15ee24) + 0x3b10,0,0)" ( (field_expression "p->db" identifier -> field_identifier) , (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2c24" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , (pointer_expression "&pX" & identifier) , (binary_expression "*(int *)(in_t9 + 0x15ee24) + 0x3b10" (pointer_expression "*(int *)(in_t9 + 0x15ee24)" * (cast_expression "(int *)(in_t9 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee24)" ( (binary_expression "in_t9 + 0x15ee24" identifier + number_literal) )))) + number_literal) , number_literal , number_literal )))) , (comma_expression "iVar4 = rc_1, rc_1 == 0" (assignment_expression "iVar4 = rc_1" identifier = identifier) , (binary_expression "rc_1 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n          iVar4 = *(int *)(in_t9 + 0x15ee28);\n          *piStack_80 = iVar3 + 2;\n          rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);\n          iVar4 = rc_1;\n          if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }\n        }" { (expression_statement "iVar4 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar4 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "*piStack_80 = iVar3 + 2;" (assignment_expression "*piStack_80 = iVar3 + 2" (pointer_expression "*piStack_80" * identifier) = (binary_expression "iVar3 + 2" identifier + number_literal)) ;) (expression_statement "rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c);" (assignment_expression "rc_1 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c)" identifier = (call_expression "(*pcVar21)(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c)" (parenthesized_expression "(*pcVar21)" ( (pointer_expression "*pcVar21" * identifier) )) (argument_list "(p->dbm,&pAllIndex,pzErr,iVar4 + 0x2c2c)" ( (field_expression "p->dbm" identifier -> field_identifier) , (pointer_expression "&pAllIndex" & identifier) , identifier , (binary_expression "iVar4 + 0x2c2c" identifier + number_literal) )))) ;) (expression_statement "iVar4 = rc_1;" (assignment_expression "iVar4 = rc_1" identifier = identifier) ;) (if_statement "if ((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))) {\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }" if (parenthesized_expression "((rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0))))" ( (binary_expression "(rc_1 == 0) &&\n             ((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))" (parenthesized_expression "(rc_1 == 0)" ( (binary_expression "rc_1 == 0" identifier == number_literal) )) && (parenthesized_expression "((rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)))" ( (parenthesized_expression "(rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0))" ( (comma_expression "rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0),\n              iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)" (assignment_expression "rc_1 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0)" identifier = (call_expression "(*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0)" (parenthesized_expression "(*pcVar21)" ( (pointer_expression "*pcVar21" * identifier) )) (argument_list "(p->dbm,&pIndexXInfo,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2ca0)" ( (field_expression "p->dbm" identifier -> field_identifier) , (pointer_expression "&pIndexXInfo" & identifier) , identifier , (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2ca0" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) , (comma_expression "iVar4 = rc_1, rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)" (assignment_expression "iVar4 = rc_1" identifier = identifier) , (binary_expression "rc_1 == 0 &&\n              (rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)" (binary_expression "rc_1 == 0" identifier == number_literal) && (parenthesized_expression "(rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0)" ( (comma_expression "rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8),\n              iVar4 = rc_1, rc_1 == 0" (assignment_expression "rc_1 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8)" identifier = (call_expression "(*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8)" (parenthesized_expression "(*pcVar21)" ( (pointer_expression "*pcVar21" * identifier) )) (argument_list "(p->dbm,&pWrite,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2cd8)" ( (field_expression "p->dbm" identifier -> field_identifier) , (pointer_expression "&pWrite" & identifier) , identifier , (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2cd8" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) )))) , (comma_expression "iVar4 = rc_1, rc_1 == 0" (assignment_expression "iVar4 = rc_1" identifier = identifier) , (binary_expression "rc_1 == 0" identifier == number_literal))) ))))) )) ))) )) (compound_statement "{\n            dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);\n            iVar3 = *(int *)(in_t9 + 0x15ee28);\n            iVar4 = *(int *)(in_t9 + 0x15ee28);\n            pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);\n            iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);\n            if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }\n          }" { (expression_statement "dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648);" (assignment_expression "dVar22 = *(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648)" identifier = (pointer_expression "*(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648)" * (cast_expression "(double *)(*(int *)(in_t9 + 0x15ee2c) + -0x6648)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x15ee2c) + -0x6648)" ( (binary_expression "*(int *)(in_t9 + 0x15ee2c) + -0x6648" (pointer_expression "*(int *)(in_t9 + 0x15ee2c)" * (cast_expression "(int *)(in_t9 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee2c)" ( (binary_expression "in_t9 + 0x15ee2c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar3 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar4 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c);" (assignment_expression "pcVar21 = (code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c)" identifier = (cast_expression "(code *)(*(int *)(in_t9 + 0x15ee24) + 0x51c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x15ee24) + 0x51c)" ( (binary_expression "*(int *)(in_t9 + 0x15ee24) + 0x51c" (pointer_expression "*(int *)(in_t9 + 0x15ee24)" * (cast_expression "(int *)(in_t9 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee24)" ( (binary_expression "in_t9 + 0x15ee24" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex);" (assignment_expression "iVar6 = (**(code **)(in_t9 + 0x15ee60))(pAllIndex)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee60))(pAllIndex)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee60))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee60)" * (pointer_expression "*(code **)(in_t9 + 0x15ee60)" * (cast_expression "(code **)(in_t9 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee60)" ( (binary_expression "in_t9 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(pAllIndex)" ( identifier )))) ;) (if_statement "if (iVar6 == 100) {\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }\n            else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }" if (parenthesized_expression "(iVar6 == 100)" ( (binary_expression "iVar6 == 100" identifier == number_literal) )) (compound_statement "{\n              lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);\n              uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);\n              uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);\n              psVar1 = pIndexXInfo;\n              psVar13 = (sqlite3_stmt *)p->iSample;\n              if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }\n              uStack_44 = 0;\n              uStack_48 = 0;\n              uStack_3c = 0;\n              uStack_40 = 0;\n              dStack_50 = (double)(int)psVar13 / dVar22;\n              pX = psVar13;\n              iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }\n            }" { (expression_statement "lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0);" (assignment_expression "lVar23 = (**(code **)(in_t9 + 0x15ee74))(pAllIndex,0)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee74))(pAllIndex,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee74))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee74)" * (pointer_expression "*(code **)(in_t9 + 0x15ee74)" * (cast_expression "(code **)(in_t9 + 0x15ee74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee74)" ( (binary_expression "in_t9 + 0x15ee74" identifier + number_literal) ))))) )) (argument_list "(pAllIndex,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1);" (assignment_expression "uVar5 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,1)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee78))(pAllIndex,1)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee78))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee78)" * (pointer_expression "*(code **)(in_t9 + 0x15ee78)" * (cast_expression "(code **)(in_t9 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee78)" ( (binary_expression "in_t9 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(pAllIndex,1)" ( identifier , number_literal )))) ;) (expression_statement "uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2);" (assignment_expression "uVar9 = (**(code **)(in_t9 + 0x15ee78))(pAllIndex,2)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee78))(pAllIndex,2)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee78))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee78)" * (pointer_expression "*(code **)(in_t9 + 0x15ee78)" * (cast_expression "(code **)(in_t9 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee78)" ( (binary_expression "in_t9 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(pAllIndex,2)" ( identifier , number_literal )))) ;) (expression_statement "psVar1 = pIndexXInfo;" (assignment_expression "psVar1 = pIndexXInfo" identifier = identifier) ;) (expression_statement "psVar13 = (sqlite3_stmt *)p->iSample;" (assignment_expression "psVar13 = (sqlite3_stmt *)p->iSample" identifier = (cast_expression "(sqlite3_stmt *)p->iSample" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p->iSample" identifier -> field_identifier))) ;) (if_statement "if ((99 < (int)psVar13) || (lVar23 == -100000)) {\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }" if (parenthesized_expression "((99 < (int)psVar13) || (lVar23 == -100000))" ( (binary_expression "(99 < (int)psVar13) || (lVar23 == -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 "(lVar23 == -100000)" ( (binary_expression "lVar23 == -100000" identifier == number_literal) ))) )) (compound_statement "{\n                pSelect = (sqlite3_stmt *)0x0;\n                rc = 0;\n                (**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);\n                if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }\n                (**(code **)(in_t9 + 0x15ef2c))(psVar1);\n                if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }\n                    /* WARNING: Subroutine does not return */\n                sqlite3_free(pvVar7);\n              }" { (expression_statement "pSelect = (sqlite3_stmt *)0x0;" (assignment_expression "pSelect = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "rc = 0;" (assignment_expression "rc = 0" identifier = number_literal) ;) (expression_statement "(**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);" (call_expression "(**(code **)(in_t9 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ef64))" ( (pointer_expression "**(code **)(in_t9 + 0x15ef64)" * (pointer_expression "*(code **)(in_t9 + 0x15ef64)" * (cast_expression "(code **)(in_t9 + 0x15ef64)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ef64)" ( (binary_expression "in_t9 + 0x15ef64" identifier + number_literal) ))))) )) (argument_list "(pIndexXInfo,1,uVar9,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (if_statement "if (rc == 0) {\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }\n                else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar6 = *(int *)(in_t9 + 0x15ee2c);\n                  uVar9 = 0;\n                  iVar16 = *(int *)(in_t9 + 0x15ee28);\n                  pvVar7 = (void *)0x0;\n                  iVar15 = *(int *)(in_t9 + 0x15ee28);\n                  iVar3 = 0;\n                  do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);\n                }" { (expression_statement "iVar6 = *(int *)(in_t9 + 0x15ee2c);" (assignment_expression "iVar6 = *(int *)(in_t9 + 0x15ee2c)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee2c)" * (cast_expression "(int *)(in_t9 + 0x15ee2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee2c)" ( (binary_expression "in_t9 + 0x15ee2c" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar16 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar16 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "pvVar7 = (void *)0x0;" (assignment_expression "pvVar7 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar15 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar15 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  } while (rc == 0);" do (compound_statement "{\n                    iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);\n                    if (iVar12 != 100) break;\n                    uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0);\n                    iVar12 = iVar4 + 0x30a8;\n                    if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }\n                    uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);\n                    pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);\n                    uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);\n                    iVar3 = iVar3 + 1;\n                  }" { (expression_statement "iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1);" (assignment_expression "iVar12 = (**(code **)(in_t9 + 0x15ee60))(psVar1)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee60))(psVar1)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee60))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee60)" * (pointer_expression "*(code **)(in_t9 + 0x15ee60)" * (cast_expression "(code **)(in_t9 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee60)" ( (binary_expression "in_t9 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(psVar1)" ( 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 **)(in_t9 + 0x15ee78))(psVar1,0);" (assignment_expression "uVar10 = (**(code **)(in_t9 + 0x15ee78))(psVar1,0)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee78))(psVar1,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee78))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee78)" * (pointer_expression "*(code **)(in_t9 + 0x15ee78)" * (cast_expression "(code **)(in_t9 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee78)" ( (binary_expression "in_t9 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(psVar1,0)" ( identifier , number_literal )))) ;) (expression_statement "iVar12 = iVar4 + 0x30a8;" (assignment_expression "iVar12 = iVar4 + 0x30a8" identifier = (binary_expression "iVar4 + 0x30a8" identifier + number_literal)) ;) (if_statement "if (pvVar7 != (void *)0x0) {\n                      iVar12 = iVar6 + 0x1114;\n                    }" if (parenthesized_expression "(pvVar7 != (void *)0x0)" ( (binary_expression "pvVar7 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      iVar12 = iVar6 + 0x1114;\n                    }" { (expression_statement "iVar12 = iVar6 + 0x1114;" (assignment_expression "iVar12 = iVar6 + 0x1114" identifier = (binary_expression "iVar6 + 0x1114" identifier + number_literal)) ;) })) (expression_statement "uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1);" (assignment_expression "uVar11 = (**(code **)(in_t9 + 0x15ee78))(psVar1,1)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee78))(psVar1,1)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee78))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee78)" * (pointer_expression "*(code **)(in_t9 + 0x15ee78)" * (cast_expression "(code **)(in_t9 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee78)" ( (binary_expression "in_t9 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(psVar1,1)" ( identifier , number_literal )))) ;) (expression_statement "pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11);" (assignment_expression "pvVar7 = (void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11)" identifier = (cast_expression "(void *)(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar21)(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11)" (parenthesized_expression "(*pcVar21)" ( (pointer_expression "*pcVar21" * identifier) )) (argument_list "(&rc,pvVar7,iVar16 + 0x2d90,iVar12,uVar10,iVar3,\n                                                uVar10,uVar11)" ( (pointer_expression "&rc" & identifier) , identifier , (binary_expression "iVar16 + 0x2d90" identifier + number_literal) , identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1);" (assignment_expression "uVar9 = (*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1)" identifier = (call_expression "(*pcVar21)(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1)" (parenthesized_expression "(*pcVar21)" ( (pointer_expression "*pcVar21" * identifier) )) (argument_list "(&rc,uVar9,iVar15 + 0x2db4,iVar12,iVar3 + 1)" ( (pointer_expression "&rc" & identifier) , identifier , (binary_expression "iVar15 + 0x2db4" identifier + number_literal) , identifier , (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }" else (compound_statement "{\n                  uVar9 = 0;\n                  pvVar7 = (void *)0x0;\n                }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "pvVar7 = (void *)0x0;" (assignment_expression "pvVar7 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "(**(code **)(in_t9 + 0x15ef2c))(psVar1);" (call_expression "(**(code **)(in_t9 + 0x15ef2c))(psVar1)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ef2c))" ( (pointer_expression "**(code **)(in_t9 + 0x15ef2c)" * (pointer_expression "*(code **)(in_t9 + 0x15ef2c)" * (cast_expression "(code **)(in_t9 + 0x15ef2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ef2c)" ( (binary_expression "in_t9 + 0x15ef2c" identifier + number_literal) ))))) )) (argument_list "(psVar1)" ( identifier ))) ;) (if_statement "if (rc == 0) {\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n                  if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }\n                }" { (if_statement "if (p->iSample == 100) {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }\n                  else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }" if (parenthesized_expression "(p->iSample == 100)" ( (binary_expression "p->iSample == 100" (field_expression "p->iSample" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);\n                  }" { (expression_statement "(**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9);" (call_expression "(**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee34))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee34)" * (pointer_expression "*(code **)(in_t9 + 0x15ee34)" * (cast_expression "(code **)(in_t9 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee34)" ( (binary_expression "in_t9 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(in_t9 + 0x15ee28) + 0x2dbc,pvVar7,uVar5,uVar9)" ( (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2dbc" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }" else (compound_statement "{\n                    (**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);\n                  }" { (expression_statement "(**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9);" (call_expression "(**(code **)(in_t9 + 0x15ee34))\n                              (*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee34))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee34)" * (pointer_expression "*(code **)(in_t9 + 0x15ee34)" * (cast_expression "(code **)(in_t9 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee34)" ( (binary_expression "in_t9 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(in_t9 + 0x15ee28) + 0x2ddc,pvVar7,uVar9)" ( (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2ddc" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) }))) })) comment (expression_statement "sqlite3_free(pvVar7);" (call_expression "sqlite3_free(pvVar7)" identifier (argument_list "(pvVar7)" ( identifier ))) ;) })) (expression_statement "uStack_44 = 0;" (assignment_expression "uStack_44 = 0" identifier = number_literal) ;) (expression_statement "uStack_48 = 0;" (assignment_expression "uStack_48 = 0" identifier = number_literal) ;) (expression_statement "uStack_3c = 0;" (assignment_expression "uStack_3c = 0" identifier = number_literal) ;) (expression_statement "uStack_40 = 0;" (assignment_expression "uStack_40 = 0" identifier = number_literal) ;) (expression_statement "dStack_50 = (double)(int)psVar13 / dVar22;" (assignment_expression "dStack_50 = (double)(int)psVar13 / dVar22" identifier = (binary_expression "(double)(int)psVar13 / dVar22" (cast_expression "(double)(int)psVar13" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)psVar13" ( (type_descriptor "int" primitive_type) ) identifier)) / identifier)) ;) (expression_statement "pX = psVar13;" (assignment_expression "pX = psVar13" identifier = identifier) ;) (expression_statement "iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);" (assignment_expression "iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ef18))" ( (pointer_expression "**(code **)(in_t9 + 0x15ef18)" * (pointer_expression "*(code **)(in_t9 + 0x15ef18)" * (cast_expression "(code **)(in_t9 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ef18)" ( (binary_expression "in_t9 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p->dbv,iVar3 + 0x2d04,0,0,0)" ( (field_expression "p->dbv" identifier -> field_identifier) , (binary_expression "iVar3 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n                pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);\n                if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }\n                rc_1 = 7;\n                iVar4 = rc_1;\n              }" { (expression_statement "pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5);" (assignment_expression "pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5)" identifier = (cast_expression "(void *)(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x15ee34))\n                                           (*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee34))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee34)" * (pointer_expression "*(code **)(in_t9 + 0x15ee34)" * (cast_expression "(code **)(in_t9 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee34)" ( (binary_expression "in_t9 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(in_t9 + 0x15ee28) + 0x2d44,uVar5)" ( (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2d44" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier ))))) ;) (if_statement "if (pvVar7 != (void *)0x0) {\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }" if (parenthesized_expression "(pvVar7 != (void *)0x0)" ( (binary_expression "pvVar7 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);\n                    /* WARNING: Subroutine does not return */\n                  sqlite3_free(pvVar7);\n                }" { (expression_statement "(**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0);" (call_expression "(**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ef18))" ( (pointer_expression "**(code **)(in_t9 + 0x15ef18)" * (pointer_expression "*(code **)(in_t9 + 0x15ef18)" * (cast_expression "(code **)(in_t9 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ef18)" ( (binary_expression "in_t9 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p->dbv,pvVar7,0,0,0)" ( (field_expression "p->dbv" identifier -> field_identifier) , identifier , number_literal , number_literal , number_literal ))) ;) comment (expression_statement "sqlite3_free(pvVar7);" (call_expression "sqlite3_free(pvVar7)" identifier (argument_list "(pvVar7)" ( identifier ))) ;) })) (expression_statement "rc_1 = 7;" (assignment_expression "rc_1 = 7" identifier = number_literal) ;) (expression_statement "iVar4 = rc_1;" (assignment_expression "iVar4 = rc_1" identifier = identifier) ;) })) }) (else_clause "else {\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }" else (compound_statement "{\n              iVar4 = rc_1;\n              if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }\n            }" { (expression_statement "iVar4 = rc_1;" (assignment_expression "iVar4 = rc_1" identifier = identifier) ;) (if_statement "if (rc_1 == 0) {\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }" if (parenthesized_expression "(rc_1 == 0)" ( (binary_expression "rc_1 == 0" identifier == number_literal) )) (compound_statement "{\n                pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n                if (99 < p->iSample) goto LAB_00032240;\n                iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);\n              }" { (expression_statement "pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);" (assignment_expression "pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4)" identifier = (pointer_expression "*(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (cast_expression "(code **)(sqlite3rebaser_configure + in_t9 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sqlite3rebaser_configure + in_t9 + 4)" ( (binary_expression "sqlite3rebaser_configure + in_t9 + 4" (binary_expression "sqlite3rebaser_configure + in_t9" identifier + identifier) + number_literal) ))))) ;) (if_statement "if (99 < p->iSample) goto LAB_00032240;" if (parenthesized_expression "(99 < p->iSample)" ( (binary_expression "99 < p->iSample" number_literal < (field_expression "p->iSample" identifier -> field_identifier)) )) (goto_statement "goto LAB_00032240;" goto statement_identifier ;)) (expression_statement "iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0);" (assignment_expression "iVar4 = (**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ef18))(p->dbv,iVar3 + 0x2d04,0,0,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ef18))" ( (pointer_expression "**(code **)(in_t9 + 0x15ef18)" * (pointer_expression "*(code **)(in_t9 + 0x15ef18)" * (cast_expression "(code **)(in_t9 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ef18)" ( (binary_expression "in_t9 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p->dbv,iVar3 + 0x2d04,0,0,0)" ( (field_expression "p->dbv" identifier -> field_identifier) , (binary_expression "iVar3 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) })) }))) })) })) })) }) (else_clause "else {\n      piStack_80 = (int *)0x0;\n      iVar4 = rc_1;\n    }" else (compound_statement "{\n      piStack_80 = (int *)0x0;\n      iVar4 = rc_1;\n    }" { (expression_statement "piStack_80 = (int *)0x0;" (assignment_expression "piStack_80 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar4 = rc_1;" (assignment_expression "iVar4 = rc_1" identifier = identifier) ;) }))) (expression_statement "rc_1 = iVar4;" (assignment_expression "rc_1 = iVar4" identifier = identifier) ;) (expression_statement "pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);" (assignment_expression "pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4)" identifier = (pointer_expression "*(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (cast_expression "(code **)(sqlite3rebaser_configure + in_t9 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sqlite3rebaser_configure + in_t9 + 4)" ( (binary_expression "sqlite3rebaser_configure + in_t9 + 4" (binary_expression "sqlite3rebaser_configure + in_t9" identifier + identifier) + number_literal) ))))) ;) (labeled_statement "LAB_00032240:\n    iVar3 = (*pcVar21)(pAllIndex);" statement_identifier : (expression_statement "iVar3 = (*pcVar21)(pAllIndex);" (assignment_expression "iVar3 = (*pcVar21)(pAllIndex)" identifier = (call_expression "(*pcVar21)(pAllIndex)" (parenthesized_expression "(*pcVar21)" ( (pointer_expression "*pcVar21" * identifier) )) (argument_list "(pAllIndex)" ( identifier )))) ;)) (if_statement "if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }" if (parenthesized_expression "(rc_1 == 0)" ( (binary_expression "rc_1 == 0" identifier == number_literal) )) (compound_statement "{\n      rc_1 = iVar3;\n    }" { (expression_statement "rc_1 = iVar3;" (assignment_expression "rc_1 = iVar3" identifier = identifier) ;) })) (expression_statement "iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pIndexXInfo);" (assignment_expression "iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pIndexXInfo)" identifier = (call_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pIndexXInfo)" (parenthesized_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))" ( (pointer_expression "**(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (pointer_expression "*(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (cast_expression "(code **)(sqlite3rebaser_configure + in_t9 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sqlite3rebaser_configure + in_t9 + 4)" ( (binary_expression "sqlite3rebaser_configure + in_t9 + 4" (binary_expression "sqlite3rebaser_configure + in_t9" identifier + identifier) + number_literal) ))))) )) (argument_list "(pIndexXInfo)" ( identifier )))) ;) (if_statement "if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }" if (parenthesized_expression "(rc_1 == 0)" ( (binary_expression "rc_1 == 0" identifier == number_literal) )) (compound_statement "{\n      rc_1 = iVar3;\n    }" { (expression_statement "rc_1 = iVar3;" (assignment_expression "rc_1 = iVar3" identifier = identifier) ;) })) (expression_statement "iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pWrite);" (assignment_expression "iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pWrite)" identifier = (call_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pWrite)" (parenthesized_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))" ( (pointer_expression "**(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (pointer_expression "*(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (cast_expression "(code **)(sqlite3rebaser_configure + in_t9 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sqlite3rebaser_configure + in_t9 + 4)" ( (binary_expression "sqlite3rebaser_configure + in_t9 + 4" (binary_expression "sqlite3rebaser_configure + in_t9" identifier + identifier) + number_literal) ))))) )) (argument_list "(pWrite)" ( identifier )))) ;) (if_statement "if (rc_1 == 0) {\n      rc_1 = iVar3;\n    }" if (parenthesized_expression "(rc_1 == 0)" ( (binary_expression "rc_1 == 0" identifier == number_literal) )) (compound_statement "{\n      rc_1 = iVar3;\n    }" { (expression_statement "rc_1 = iVar3;" (assignment_expression "rc_1 = iVar3" identifier = identifier) ;) })) (if_statement "if (0 < *piStack_80) {\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_80[10]);\n    }" if (parenthesized_expression "(0 < *piStack_80)" ( (binary_expression "0 < *piStack_80" number_literal < (pointer_expression "*piStack_80" * identifier)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free((void *)piStack_80[10]);\n    }" { comment (expression_statement "sqlite3_free((void *)piStack_80[10]);" (call_expression "sqlite3_free((void *)piStack_80[10])" identifier (argument_list "((void *)piStack_80[10])" ( (cast_expression "(void *)piStack_80[10]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piStack_80[10]" identifier [ number_literal ])) ))) ;) })) comment (expression_statement "sqlite3_free(piStack_80);" (call_expression "sqlite3_free(piStack_80)" identifier (argument_list "(piStack_80)" ( identifier ))) ;) })) (expression_statement "iVar4 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar4 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 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 "pSelect = (sqlite3_stmt *)0x0;" (assignment_expression "pSelect = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "rc = 0;" (assignment_expression "rc = 0" identifier = number_literal) ;) (expression_statement "rc = (*(code *)(*(int *)(in_t9 + 0x15ee24) + -0x884))\n                 (p->db,&pSelect,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2a2c,pcVar20,pcVar20);" (assignment_expression "rc = (*(code *)(*(int *)(in_t9 + 0x15ee24) + -0x884))\n                 (p->db,&pSelect,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2a2c,pcVar20,pcVar20)" identifier = (call_expression "(*(code *)(*(int *)(in_t9 + 0x15ee24) + -0x884))\n                 (p->db,&pSelect,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2a2c,pcVar20,pcVar20)" (parenthesized_expression "(*(code *)(*(int *)(in_t9 + 0x15ee24) + -0x884))" ( (pointer_expression "*(code *)(*(int *)(in_t9 + 0x15ee24) + -0x884)" * (cast_expression "(code *)(*(int *)(in_t9 + 0x15ee24) + -0x884)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x15ee24) + -0x884)" ( (binary_expression "*(int *)(in_t9 + 0x15ee24) + -0x884" (pointer_expression "*(int *)(in_t9 + 0x15ee24)" * (cast_expression "(int *)(in_t9 + 0x15ee24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee24)" ( (binary_expression "in_t9 + 0x15ee24" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(p->db,&pSelect,pzErr,*(int *)(in_t9 + 0x15ee28) + 0x2a2c,pcVar20,pcVar20)" ( (field_expression "p->db" identifier -> field_identifier) , (pointer_expression "&pSelect" & identifier) , identifier , (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2a2c" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , identifier )))) ;) (if_statement "if (rc == 0) {\n    do {\n      iVar6 = (**(code **)(in_t9 + 0x15ee60))(pSelect);\n      if (iVar6 != 100) break;\n      uVar5 = (**(code **)(in_t9 + 0x15ee78))(pSelect,0);\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr);\n    } while (rc == 0);\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }\n  else {\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n    do {\n      iVar6 = (**(code **)(in_t9 + 0x15ee60))(pSelect);\n      if (iVar6 != 100) break;\n      uVar5 = (**(code **)(in_t9 + 0x15ee78))(pSelect,0);\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr);\n    } while (rc == 0);\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }" { (do_statement "do {\n      iVar6 = (**(code **)(in_t9 + 0x15ee60))(pSelect);\n      if (iVar6 != 100) break;\n      uVar5 = (**(code **)(in_t9 + 0x15ee78))(pSelect,0);\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr);\n    } while (rc == 0);" do (compound_statement "{\n      iVar6 = (**(code **)(in_t9 + 0x15ee60))(pSelect);\n      if (iVar6 != 100) break;\n      uVar5 = (**(code **)(in_t9 + 0x15ee78))(pSelect,0);\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr);\n    }" { (expression_statement "iVar6 = (**(code **)(in_t9 + 0x15ee60))(pSelect);" (assignment_expression "iVar6 = (**(code **)(in_t9 + 0x15ee60))(pSelect)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee60))(pSelect)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee60))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee60)" * (pointer_expression "*(code **)(in_t9 + 0x15ee60)" * (cast_expression "(code **)(in_t9 + 0x15ee60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee60)" ( (binary_expression "in_t9 + 0x15ee60" identifier + number_literal) ))))) )) (argument_list "(pSelect)" ( identifier )))) ;) (if_statement "if (iVar6 != 100) break;" if (parenthesized_expression "(iVar6 != 100)" ( (binary_expression "iVar6 != 100" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar5 = (**(code **)(in_t9 + 0x15ee78))(pSelect,0);" (assignment_expression "uVar5 = (**(code **)(in_t9 + 0x15ee78))(pSelect,0)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee78))(pSelect,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee78))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee78)" * (pointer_expression "*(code **)(in_t9 + 0x15ee78)" * (cast_expression "(code **)(in_t9 + 0x15ee78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee78)" ( (binary_expression "in_t9 + 0x15ee78" identifier + number_literal) ))))) )) (argument_list "(pSelect,0)" ( identifier , number_literal )))) ;) (expression_statement "rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr);" (assignment_expression "rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ef18))" ( (pointer_expression "**(code **)(in_t9 + 0x15ef18)" * (pointer_expression "*(code **)(in_t9 + 0x15ef18)" * (cast_expression "(code **)(in_t9 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ef18)" ( (binary_expression "in_t9 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p->dbv,uVar5,0,0,pzErr)" ( (field_expression "p->dbv" identifier -> field_identifier) , identifier , number_literal , number_literal , identifier )))) ;) }) while (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) ;) (expression_statement "pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);" (assignment_expression "pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4)" identifier = (pointer_expression "*(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (cast_expression "(code **)(sqlite3rebaser_configure + in_t9 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sqlite3rebaser_configure + in_t9 + 4)" ( (binary_expression "sqlite3rebaser_configure + in_t9 + 4" (binary_expression "sqlite3rebaser_configure + in_t9" identifier + identifier) + number_literal) ))))) ;) }) (else_clause "else {\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }" else (compound_statement "{\n    pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);\n  }" { (expression_statement "pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4);" (assignment_expression "pcVar21 = *(code **)(sqlite3rebaser_configure + in_t9 + 4)" identifier = (pointer_expression "*(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (cast_expression "(code **)(sqlite3rebaser_configure + in_t9 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sqlite3rebaser_configure + in_t9 + 4)" ( (binary_expression "sqlite3rebaser_configure + in_t9 + 4" (binary_expression "sqlite3rebaser_configure + in_t9" identifier + identifier) + number_literal) ))))) ;) }))) (expression_statement "iVar6 = (*pcVar21)(pSelect);" (assignment_expression "iVar6 = (*pcVar21)(pSelect)" identifier = (call_expression "(*pcVar21)(pSelect)" (parenthesized_expression "(*pcVar21)" ( (pointer_expression "*pcVar21" * identifier) )) (argument_list "(pSelect)" ( identifier )))) ;) (if_statement "if ((rc == 0) && (rc = iVar6, iVar6 == 0)) {\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\n    pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                               (*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac);\n    if (pvVar7 != (void *)0x0) {\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar7);\n    }\n    rc = 7;\n    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;\n    if (pIVar17->eOp != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar15 = 0;\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);\n        iVar4 = iVar3;\n      } while (iVar16 < pIVar19->nCol);\n    }\n  }\n  else {\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar6 = *(int *)(in_t9 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (rc == 0) {\n        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        rc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar6 = 0;\n      iVar15 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);\n        iVar6 = iVar6 + 1;\n        iVar4 = iVar3;\n      } while (iVar6 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034));\n  }" if (parenthesized_expression "((rc == 0) && (rc = iVar6, iVar6 == 0))" ( (binary_expression "(rc == 0) && (rc = iVar6, iVar6 == 0)" (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) && (parenthesized_expression "(rc = iVar6, iVar6 == 0)" ( (comma_expression "rc = iVar6, iVar6 == 0" (assignment_expression "rc = iVar6" identifier = identifier) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\n    pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                               (*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac);\n    if (pvVar7 != (void *)0x0) {\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar7);\n    }\n    rc = 7;\n    if (pIVar17->eOp == 0x12) goto LAB_00031fc8;\n    if (pIVar17->eOp != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar15 = 0;\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);\n        iVar4 = iVar3;\n      } while (iVar16 < pIVar19->nCol);\n    }\n  }" { (expression_statement "iVar6 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar6 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                               (*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac);" (assignment_expression "pvVar7 = (void *)(**(code **)(in_t9 + 0x15ee34))\n                               (*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac)" identifier = (cast_expression "(void *)(**(code **)(in_t9 + 0x15ee34))\n                               (*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x15ee34))\n                               (*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee34))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee34)" * (pointer_expression "*(code **)(in_t9 + 0x15ee34)" * (cast_expression "(code **)(in_t9 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee34)" ( (binary_expression "in_t9 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(in_t9 + 0x15ee28) + 0x2ad4,pcVar20,iVar6 + 0x2aac)" ( (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2ad4" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) , identifier , (binary_expression "iVar6 + 0x2aac" identifier + number_literal) ))))) ;) (if_statement "if (pvVar7 != (void *)0x0) {\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar7);\n    }" if (parenthesized_expression "(pvVar7 != (void *)0x0)" ( (binary_expression "pvVar7 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pvVar7);\n    }" { (expression_statement "rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr);" (assignment_expression "rc = (**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ef18))(p->dbv,pvVar7,0,0,pzErr)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ef18))" ( (pointer_expression "**(code **)(in_t9 + 0x15ef18)" * (pointer_expression "*(code **)(in_t9 + 0x15ef18)" * (cast_expression "(code **)(in_t9 + 0x15ef18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ef18)" ( (binary_expression "in_t9 + 0x15ef18" identifier + number_literal) ))))) )) (argument_list "(p->dbv,pvVar7,0,0,pzErr)" ( (field_expression "p->dbv" identifier -> field_identifier) , identifier , number_literal , number_literal , identifier )))) ;) comment (expression_statement "sqlite3_free(pvVar7);" (call_expression "sqlite3_free(pvVar7)" identifier (argument_list "(pvVar7)" ( identifier ))) ;) })) (expression_statement "rc = 7;" (assignment_expression "rc = 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(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac);" statement_identifier : (expression_statement "pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac);" (assignment_expression "pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac)" identifier = (call_expression "idxAppendText(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac)" identifier (argument_list "(&rc,(char *)0x0,(char *)(iVar4 + 0x2b14),iVar6 + 0x2aac)" ( (pointer_expression "&rc" & identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(char *)(iVar4 + 0x2b14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2b14)" ( (binary_expression "iVar4 + 0x2b14" identifier + number_literal) ))) , (binary_expression "iVar6 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < pIVar19->nCol) {\n      iVar16 = 0;\n      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar15 = 0;\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);\n        iVar4 = iVar3;\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      iVar6 = *(int *)(in_t9 + 0x15ee28);\n      iVar15 = 0;\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        iVar16 = iVar16 + 1;\n        puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);\n        iVar4 = iVar3;\n      } while (iVar16 < pIVar19->nCol);\n    }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar6 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;" (assignment_expression "iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8" identifier = (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x30a8" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n        iVar16 = iVar16 + 1;\n        puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);\n        iVar4 = iVar3;\n      } while (iVar16 < pIVar19->nCol);" do (compound_statement "{\n        iVar16 = iVar16 + 1;\n        puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);\n        iVar15 = iVar15 + 0xc;\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);\n        iVar4 = iVar3;\n      }" { (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined4 *)((int)&pIVar19->aCol->zName + iVar15);" (assignment_expression "puVar8 = (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(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8);" (assignment_expression "pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8)" identifier = (call_expression "idxAppendText(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8)" identifier (argument_list "(&rc,pcVar20,(char *)(iVar6 + 0x2b24),iVar4,*puVar8)" ( (pointer_expression "&rc" & identifier) , identifier , (cast_expression "(char *)(iVar6 + 0x2b24)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2b24)" ( (binary_expression "iVar6 + 0x2b24" identifier + number_literal) ))) , identifier , (pointer_expression "*puVar8" * identifier) )))) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) }) 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        iVar6 = *(int *)(in_t9 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (rc == 0) {\n        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        rc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar6 = 0;\n      iVar15 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);\n        iVar6 = iVar6 + 1;\n        iVar4 = iVar3;\n      } while (iVar6 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034));\n  }" else (compound_statement "{\n    if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar6 = *(int *)(in_t9 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (rc == 0) {\n        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        rc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }\n    iVar6 = *(int *)(in_t9 + 0x15ee28);\nLAB_00031fc8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac);\n    if (0 < pIVar19->nCol) {\n      iVar6 = 0;\n      iVar15 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);\n        iVar6 = iVar6 + 1;\n        iVar4 = iVar3;\n      } while (iVar6 < pIVar19->nCol);\n    }\n    pcVar20 = idxAppendText(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034));\n  }" { (if_statement "if (pIVar17->eOp != 0x12) {\n      if (pIVar17->eOp == 0x17) {\n        iVar6 = *(int *)(in_t9 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (rc == 0) {\n        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        rc = 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        iVar6 = *(int *)(in_t9 + 0x15ee28);\n        goto LAB_00031ef8;\n      }\n      if (rc == 0) {\n        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        rc = 7;\n      }\nLAB_00031d18:\n      pcVar20 = (char *)0x0;\n      goto LAB_00031d20;\n    }" { (if_statement "if (pIVar17->eOp == 0x17) {\n        iVar6 = *(int *)(in_t9 + 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        iVar6 = *(int *)(in_t9 + 0x15ee28);\n        goto LAB_00031ef8;\n      }" { (expression_statement "iVar6 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar6 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_00031ef8;" goto statement_identifier ;) })) (if_statement "if (rc == 0) {\n        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        rc = 7;\n      }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);\n        if (pcVar20 != (char *)0x0) goto LAB_00031e1c;\n        rc = 7;\n      }" { (expression_statement "pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac);" (assignment_expression "pcVar20 = (char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac)" identifier = (cast_expression "(char *)(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x15ee34))\n                                    (*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee34))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee34)" * (pointer_expression "*(code **)(in_t9 + 0x15ee34)" * (cast_expression "(code **)(in_t9 + 0x15ee34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee34)" ( (binary_expression "in_t9 + 0x15ee34" identifier + number_literal) ))))) )) (argument_list "(*(int *)(in_t9 + 0x15ee28) + 0x2b2c,\n                                     *(int *)(in_t9 + 0x15ee28) + 0x2aac)" ( (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2b2c" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2aac" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 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 "rc = 7;" (assignment_expression "rc = 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 "iVar6 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar6 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00031fc8:\n    pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac);" statement_identifier : (expression_statement "pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac);" (assignment_expression "pcVar20 = idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac)" identifier = (call_expression "idxAppendText(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac)" identifier (argument_list "(&rc,(char *)0x0,(char *)(*(int *)(in_t9 + 0x15ee28) + 11000),\n                            iVar6 + 0x2aac)" ( (pointer_expression "&rc" & identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(char *)(*(int *)(in_t9 + 0x15ee28) + 11000)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x15ee28) + 11000)" ( (binary_expression "*(int *)(in_t9 + 0x15ee28) + 11000" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) ))) , (binary_expression "iVar6 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < pIVar19->nCol) {\n      iVar6 = 0;\n      iVar15 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);\n        iVar6 = iVar6 + 1;\n        iVar4 = iVar3;\n      } while (iVar6 < 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      iVar6 = 0;\n      iVar15 = *(int *)(in_t9 + 0x15ee28);\n      iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;\n      do {\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);\n        iVar6 = iVar6 + 1;\n        iVar4 = iVar3;\n      } while (iVar6 < pIVar19->nCol);\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar15 = *(int *)(in_t9 + 0x15ee28);" (assignment_expression "iVar15 = *(int *)(in_t9 + 0x15ee28)" identifier = (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8;" (assignment_expression "iVar4 = *(int *)(in_t9 + 0x15ee28) + 0x30a8" identifier = (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x30a8" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);\n        iVar6 = iVar6 + 1;\n        iVar4 = iVar3;\n      } while (iVar6 < pIVar19->nCol);" do (compound_statement "{\n        pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);\n        iVar6 = iVar6 + 1;\n        iVar4 = iVar3;\n      }" { (expression_statement "pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4);" (assignment_expression "pcVar20 = idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4)" identifier = (call_expression "idxAppendText(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4)" identifier (argument_list "(&rc,pcVar20,(char *)(iVar15 + 0x2b10),iVar4)" ( (pointer_expression "&rc" & 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 "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar6 < pIVar19->nCol)" ( (binary_expression "iVar6 < pIVar19->nCol" identifier < (field_expression "pIVar19->nCol" identifier -> field_identifier)) )) ;) })) (expression_statement "pcVar20 = idxAppendText(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034));" (assignment_expression "pcVar20 = idxAppendText(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034))" identifier = (call_expression "idxAppendText(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034))" identifier (argument_list "(&rc,pcVar20,(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034))" ( (pointer_expression "&rc" & identifier) , identifier , (cast_expression "(char *)(*(int *)(in_t9 + 0x15ee28) + 0x2034)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x15ee28) + 0x2034)" ( (binary_expression "*(int *)(in_t9 + 0x15ee28) + 0x2034" (pointer_expression "*(int *)(in_t9 + 0x15ee28)" * (cast_expression "(int *)(in_t9 + 0x15ee28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x15ee28)" ( (binary_expression "in_t9 + 0x15ee28" identifier + number_literal) )))) + number_literal) ))) )))) ;) }))) (labeled_statement "LAB_00031e1c:\n  if (rc == 0) {\n    pX = (sqlite3_stmt *)0x0;\n    rc = (**(code **)(in_t9 + 0x15ee38))(p->dbv,pcVar20,0xffffffff,&pX,0);\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((rc != 0) || (rc = iVar3, iVar3 != 0)) {\n      idxDatabaseError(p->dbv,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }\n  }" statement_identifier : (if_statement "if (rc == 0) {\n    pX = (sqlite3_stmt *)0x0;\n    rc = (**(code **)(in_t9 + 0x15ee38))(p->dbv,pcVar20,0xffffffff,&pX,0);\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((rc != 0) || (rc = iVar3, iVar3 != 0)) {\n      idxDatabaseError(p->dbv,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }\n  }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n    pX = (sqlite3_stmt *)0x0;\n    rc = (**(code **)(in_t9 + 0x15ee38))(p->dbv,pcVar20,0xffffffff,&pX,0);\n    iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);\n    if ((rc != 0) || (rc = iVar3, iVar3 != 0)) {\n      idxDatabaseError(p->dbv,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }\n  }" { (expression_statement "pX = (sqlite3_stmt *)0x0;" (assignment_expression "pX = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "rc = (**(code **)(in_t9 + 0x15ee38))(p->dbv,pcVar20,0xffffffff,&pX,0);" (assignment_expression "rc = (**(code **)(in_t9 + 0x15ee38))(p->dbv,pcVar20,0xffffffff,&pX,0)" identifier = (call_expression "(**(code **)(in_t9 + 0x15ee38))(p->dbv,pcVar20,0xffffffff,&pX,0)" (parenthesized_expression "(**(code **)(in_t9 + 0x15ee38))" ( (pointer_expression "**(code **)(in_t9 + 0x15ee38)" * (pointer_expression "*(code **)(in_t9 + 0x15ee38)" * (cast_expression "(code **)(in_t9 + 0x15ee38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x15ee38)" ( (binary_expression "in_t9 + 0x15ee38" identifier + number_literal) ))))) )) (argument_list "(p->dbv,pcVar20,0xffffffff,&pX,0)" ( (field_expression "p->dbv" identifier -> field_identifier) , identifier , number_literal , (pointer_expression "&pX" & identifier) , number_literal )))) ;) (expression_statement "iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX);" (assignment_expression "iVar3 = (**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX)" identifier = (call_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))(pX)" (parenthesized_expression "(**(code **)(sqlite3rebaser_configure + in_t9 + 4))" ( (pointer_expression "**(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (pointer_expression "*(code **)(sqlite3rebaser_configure + in_t9 + 4)" * (cast_expression "(code **)(sqlite3rebaser_configure + in_t9 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sqlite3rebaser_configure + in_t9 + 4)" ( (binary_expression "sqlite3rebaser_configure + in_t9 + 4" (binary_expression "sqlite3rebaser_configure + in_t9" identifier + identifier) + number_literal) ))))) )) (argument_list "(pX)" ( identifier )))) ;) (if_statement "if ((rc != 0) || (rc = iVar3, iVar3 != 0)) {\n      idxDatabaseError(p->dbv,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }" if (parenthesized_expression "((rc != 0) || (rc = iVar3, iVar3 != 0))" ( (binary_expression "(rc != 0) || (rc = iVar3, iVar3 != 0)" (parenthesized_expression "(rc != 0)" ( (binary_expression "rc != 0" identifier != number_literal) )) || (parenthesized_expression "(rc = iVar3, iVar3 != 0)" ( (comma_expression "rc = iVar3, iVar3 != 0" (assignment_expression "rc = iVar3" identifier = identifier) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      idxDatabaseError(p->dbv,pzErr);\n                    /* WARNING: Subroutine does not return */\n      sqlite3_free(pcVar20);\n    }" { (expression_statement "idxDatabaseError(p->dbv,pzErr);" (call_expression "idxDatabaseError(p->dbv,pzErr)" identifier (argument_list "(p->dbv,pzErr)" ( (field_expression "p->dbv" identifier -> field_identifier) , 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_analyze(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  code *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 uVar15;\n  int iVar16;\n  int *piVar17;\n  undefined4 *puVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  undefined *puVar21;\n  undefined *puVar22;\n  int iVar23;\n  undefined *puVar24;\n  undefined4 uVar25;\n  undefined4 *puVar26;\n  undefined *puVar27;\n  code *pcVar28;\n  double dVar29;\n  longlong lVar30;\n  undefined *local_84;\n  int *local_80;\n  int local_74;\n  int local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_5c;\n  int local_58 [2];\n  double local_50;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  int local_34;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  local_34 = *(int *)PTR___stack_chk_guard_00190e24;\n  if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }\n  iVar23 = param_1[5];\n  local_74 = 0;\n  if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }\n  iVar23 = local_74;\n  if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }\nLAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);\n  (*(code *)PTR_sqlite3_step_00190990)(uVar4);\n  local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);\nLAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);\n  iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);\n  if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar20);\n  local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n  if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }\n  iVar23 = local_70;\n  lVar2 = lVar30;\n  if (local_70 != 0) goto LAB_00032240;\n  goto LAB_0003249c;\n}\n\n" (function_definition "int sqlite3_expert_analyze(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  code *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 uVar15;\n  int iVar16;\n  int *piVar17;\n  undefined4 *puVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  undefined *puVar21;\n  undefined *puVar22;\n  int iVar23;\n  undefined *puVar24;\n  undefined4 uVar25;\n  undefined4 *puVar26;\n  undefined *puVar27;\n  code *pcVar28;\n  double dVar29;\n  longlong lVar30;\n  undefined *local_84;\n  int *local_80;\n  int local_74;\n  int local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_5c;\n  int local_58 [2];\n  double local_50;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  int local_34;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  local_34 = *(int *)PTR___stack_chk_guard_00190e24;\n  if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }\n  iVar23 = param_1[5];\n  local_74 = 0;\n  if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }\n  iVar23 = local_74;\n  if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }\nLAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);\n  (*(code *)PTR_sqlite3_step_00190990)(uVar4);\n  local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);\nLAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);\n  iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);\n  if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar20);\n  local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n  if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }\n  iVar23 = local_70;\n  lVar2 = lVar30;\n  if (local_70 != 0) goto LAB_00032240;\n  goto LAB_0003249c;\n}" primitive_type (function_declarator "sqlite3_expert_analyze(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  code *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 uVar15;\n  int iVar16;\n  int *piVar17;\n  undefined4 *puVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  undefined *puVar21;\n  undefined *puVar22;\n  int iVar23;\n  undefined *puVar24;\n  undefined4 uVar25;\n  undefined4 *puVar26;\n  undefined *puVar27;\n  code *pcVar28;\n  double dVar29;\n  longlong lVar30;\n  undefined *local_84;\n  int *local_80;\n  int local_74;\n  int local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_5c;\n  int local_58 [2];\n  double local_50;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  int local_34;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  local_34 = *(int *)PTR___stack_chk_guard_00190e24;\n  if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }\n  iVar23 = param_1[5];\n  local_74 = 0;\n  if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }\n  iVar23 = local_74;\n  if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }\nLAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);\n  (*(code *)PTR_sqlite3_step_00190990)(uVar4);\n  local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);\nLAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);\n  iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);\n  if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar20);\n  local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n  if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }\n  iVar23 = local_70;\n  lVar2 = lVar30;\n  if (local_70 != 0) goto LAB_00032240;\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 "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int *piVar17;" primitive_type (pointer_declarator "*piVar17" * identifier) ;) (declaration "undefined4 *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "undefined4 *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "int *piVar20;" primitive_type (pointer_declarator "*piVar20" * identifier) ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "undefined *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "undefined *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "undefined4 uVar25;" type_identifier identifier ;) (declaration "undefined4 *puVar26;" type_identifier (pointer_declarator "*puVar26" * identifier) ;) (declaration "undefined *puVar27;" type_identifier (pointer_declarator "*puVar27" * identifier) ;) (declaration "code *pcVar28;" type_identifier (pointer_declarator "*pcVar28" * identifier) ;) (declaration "double dVar29;" primitive_type identifier ;) (declaration "longlong lVar30;" type_identifier identifier ;) (declaration "undefined *local_84;" type_identifier (pointer_declarator "*local_84" * identifier) ;) (declaration "int *local_80;" primitive_type (pointer_declarator "*local_80" * identifier) ;) (declaration "int local_74;" primitive_type identifier ;) (declaration "int local_70;" primitive_type identifier ;) (declaration "undefined4 local_6c;" type_identifier identifier ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "int local_58 [2];" primitive_type (array_declarator "local_58 [2]" identifier [ number_literal ]) ;) (declaration "double local_50;" primitive_type identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "local_34 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_34 = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }" if (parenthesized_expression "((undefined4 *)param_1[6] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)param_1[6] != (undefined4 *)0x0" (cast_expression "(undefined4 *)param_1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }" { (expression_statement "puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;" (assignment_expression "puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" identifier + number_literal)) ;) (expression_statement "puVar19 = (undefined4 *)param_1[6];" (assignment_expression "puVar19 = (undefined4 *)param_1[6]" identifier = (cast_expression "(undefined4 *)param_1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) ;) (expression_statement "puVar26 = (undefined4 *)0x0;" (assignment_expression "puVar26 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);" do (compound_statement "{\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    }" { (expression_statement "puVar18 = puVar19;" (assignment_expression "puVar18 = puVar19" identifier = identifier) ;) (expression_statement "puVar21 = PTR_LAB_00190958;" (assignment_expression "puVar21 = PTR_LAB_00190958" identifier = identifier) ;) (expression_statement "puVar19 = puVar18;" (assignment_expression "puVar19 = puVar18" identifier = identifier) ;) (if_statement "if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }" if (parenthesized_expression "(puVar26 != puVar18)" ( (binary_expression "puVar26 != puVar18" identifier != identifier) )) (compound_statement "{\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }" { (expression_statement "pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_00190954 + -0x884)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + -0x884)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + -0x884)" ( (binary_expression "PTR_LAB_00190954 + -0x884" identifier + number_literal) )))) ;) (do_statement "do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);" do (compound_statement "{\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        }" { (expression_statement "piVar20 = (int *)*puVar19;" (assignment_expression "piVar20 = (int *)*puVar19" identifier = (cast_expression "(int *)*puVar19" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar19" * identifier))) ;) (expression_statement "iVar23 = piVar20[1];" (assignment_expression "iVar23 = piVar20[1]" identifier = (subscript_expression "piVar20[1]" identifier [ number_literal ])) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (expression_statement "local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);" (assignment_expression "local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23)" identifier = (call_expression "(*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , (pointer_expression "&local_60" & identifier) , identifier , (binary_expression "puVar21 + 0x2a2c" identifier + number_literal) , identifier , identifier )))) ;) (while_statement "while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }" while (parenthesized_expression "((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100)))" ( (parenthesized_expression "(local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))" ( (binary_expression "local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100)" (binary_expression "local_5c == 0" identifier == number_literal) && (parenthesized_expression "(iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100)" ( (comma_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_60)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_60)" ( identifier )))) , (binary_expression "iVar7 == 100" identifier == number_literal)) ))) )) )) (compound_statement "{\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }" { (expression_statement "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);" (assignment_expression "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_60,0)" ( identifier , number_literal )))) ;) (expression_statement "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],uVar10,0,0,param_2)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , identifier )))) ;) })) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_60)" (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_60)" ( identifier )))) ;) (expression_statement "puVar24 = PTR_LAB_00190958;" (assignment_expression "puVar24 = PTR_LAB_00190958" identifier = identifier) ;) (if_statement "if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }" if (parenthesized_expression "((local_5c == 0) && (local_5c = iVar7, iVar7 == 0))" ( (binary_expression "(local_5c == 0) && (local_5c = iVar7, iVar7 == 0)" (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) && (parenthesized_expression "(local_5c = iVar7, iVar7 == 0)" ( (comma_expression "local_5c = iVar7, iVar7 == 0" (assignment_expression "local_5c = iVar7" identifier = identifier) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }" { (expression_statement "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac)" ( (binary_expression "PTR_LAB_00190958 + 0x2ad4" identifier + number_literal) , identifier , (binary_expression "PTR_LAB_00190958 + 0x2aac" identifier + number_literal) )))) ;) (if_statement "if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (compound_statement "{\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }" { (expression_statement "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],iVar23,0,0,param_2)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "sqlite3_free(iVar23);" (call_expression "sqlite3_free(iVar23)" identifier (argument_list "(iVar23)" ( identifier ))) ;) (goto_statement "goto LAB_00031cf4;" goto statement_identifier ;) })) (expression_statement "local_5c = 7;" (assignment_expression "local_5c = 7" identifier = number_literal) ;) (if_statement "if (puVar19[1] == 0x12) goto LAB_00031fc8;" if (parenthesized_expression "(puVar19[1] == 0x12)" ( (binary_expression "puVar19[1] == 0x12" (subscript_expression "puVar19[1]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00031fc8;" goto statement_identifier ;)) (if_statement "if (puVar19[1] != 0x17) goto LAB_00031d18;" if (parenthesized_expression "(puVar19[1] != 0x17)" ( (binary_expression "puVar19[1] != 0x17" (subscript_expression "puVar19[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_00031d18;" goto statement_identifier ;)) (labeled_statement "LAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);" statement_identifier : (expression_statement "iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);" (assignment_expression "iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac)" identifier = (call_expression "FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac)" identifier (argument_list "(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac)" ( (pointer_expression "&local_5c" & identifier) , number_literal , (binary_expression "puVar21 + 0x2b14" identifier + number_literal) , (binary_expression "puVar24 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }" if (parenthesized_expression "(0 < *piVar20)" ( (binary_expression "0 < *piVar20" number_literal < (pointer_expression "*piVar20" * identifier)) )) (compound_statement "{\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar27 = PTR_LAB_00190958 + 0x2b24;" (assignment_expression "puVar27 = PTR_LAB_00190958 + 0x2b24" identifier = (binary_expression "PTR_LAB_00190958 + 0x2b24" identifier + number_literal)) ;) (expression_statement "puVar24 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar24 = PTR_LAB_00190958 + 0x30a8" identifier = (binary_expression "PTR_LAB_00190958 + 0x30a8" identifier + number_literal)) ;) (do_statement "do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);" do (compound_statement "{\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              }" { (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined4 *)(piVar20[2] + iVar7);" (assignment_expression "puVar8 = (undefined4 *)(piVar20[2] + iVar7)" identifier = (cast_expression "(undefined4 *)(piVar20[2] + iVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar20[2] + iVar7)" ( (binary_expression "piVar20[2] + iVar7" (subscript_expression "piVar20[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "iVar7 = iVar7 + 0xc;" (assignment_expression "iVar7 = iVar7 + 0xc" identifier = (binary_expression "iVar7 + 0xc" identifier + number_literal)) ;) (expression_statement "iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);" (assignment_expression "iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8)" identifier = (call_expression "FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8)" identifier (argument_list "(&local_5c,iVar23,puVar27,puVar24,*puVar8)" ( (pointer_expression "&local_5c" & identifier) , identifier , identifier , identifier , (pointer_expression "*puVar8" * identifier) )))) ;) (expression_statement "puVar24 = puVar5;" (assignment_expression "puVar24 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar16 < *piVar20)" ( (binary_expression "iVar16 < *piVar20" identifier < (pointer_expression "*piVar20" * identifier)) )) ;) })) (labeled_statement "LAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;" statement_identifier : (if_statement "if (local_5c != 0) goto LAB_00031d20;" if (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d20;" goto statement_identifier ;))) (expression_statement "local_58[0] = 0;" (assignment_expression "local_58[0] = 0" (subscript_expression "local_58[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0)" (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 "(param_1[3],iVar23,0xffffffff,local_58,0)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , identifier , number_literal , identifier , number_literal )))) ;) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) )))) ;) (if_statement "if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;" if (parenthesized_expression "((local_5c == 0) && (local_5c = iVar7, iVar7 == 0))" ( (binary_expression "(local_5c == 0) && (local_5c = iVar7, iVar7 == 0)" (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) && (parenthesized_expression "(local_5c = iVar7, iVar7 == 0)" ( (comma_expression "local_5c = iVar7, iVar7 == 0" (assignment_expression "local_5c = iVar7" identifier = identifier) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00031d20;" goto statement_identifier ;)) (expression_statement "FUN_0001de18(param_1[3],param_2);" (call_expression "FUN_0001de18(param_1[3],param_2)" identifier (argument_list "(param_1[3],param_2)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "sqlite3_free(iVar23);" (call_expression "sqlite3_free(iVar23)" identifier (argument_list "(iVar23)" ( identifier ))) ;) }) (else_clause "else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }" else (compound_statement "{\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }" { (labeled_statement "LAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;" statement_identifier : (expression_statement "puVar24 = PTR_LAB_00190958;" (assignment_expression "puVar24 = PTR_LAB_00190958" identifier = identifier) ;)) (if_statement "if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }" if (parenthesized_expression "(puVar19[1] == 0x12)" ( (binary_expression "puVar19[1] == 0x12" (subscript_expression "puVar19[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }" { (labeled_statement "LAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);" statement_identifier : (expression_statement "uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);" (assignment_expression "uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac)" identifier = (call_expression "FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac)" identifier (argument_list "(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac)" ( (pointer_expression "&local_5c" & identifier) , number_literal , (binary_expression "PTR_LAB_00190958 + 11000" identifier + number_literal) , (binary_expression "puVar24 + 0x2aac" identifier + number_literal) )))) ;)) (if_statement "if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }" if (parenthesized_expression "(0 < *piVar20)" ( (binary_expression "0 < *piVar20" number_literal < (pointer_expression "*piVar20" * identifier)) )) (compound_statement "{\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }" { (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" identifier = number_literal) ;) (expression_statement "puVar27 = PTR_LAB_00190958 + 0x2b10;" (assignment_expression "puVar27 = PTR_LAB_00190958 + 0x2b10" identifier = (binary_expression "PTR_LAB_00190958 + 0x2b10" identifier + number_literal)) ;) (expression_statement "puVar24 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar24 = PTR_LAB_00190958 + 0x30a8" identifier = (binary_expression "PTR_LAB_00190958 + 0x30a8" identifier + number_literal)) ;) (do_statement "do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);" do (compound_statement "{\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                }" { (expression_statement "uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);" (assignment_expression "uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24)" identifier = (call_expression "FUN_0002051c(&local_5c,uVar10,puVar27,puVar24)" identifier (argument_list "(&local_5c,uVar10,puVar27,puVar24)" ( (pointer_expression "&local_5c" & identifier) , identifier , identifier , identifier )))) ;) (expression_statement "iVar23 = iVar23 + 1;" (assignment_expression "iVar23 = iVar23 + 1" identifier = (binary_expression "iVar23 + 1" identifier + number_literal)) ;) (expression_statement "puVar24 = puVar5;" (assignment_expression "puVar24 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar23 < *piVar20)" ( (binary_expression "iVar23 < *piVar20" identifier < (pointer_expression "*piVar20" * identifier)) )) ;) })) (expression_statement "iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);" (assignment_expression "iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034)" identifier = (call_expression "FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034)" identifier (argument_list "(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034)" ( (pointer_expression "&local_5c" & identifier) , identifier , (binary_expression "PTR_LAB_00190958 + 0x2034" identifier + number_literal) )))) ;) (goto_statement "goto LAB_00031e1c;" goto statement_identifier ;) })) (if_statement "if (puVar19[1] == 0x17) goto LAB_00031ef8;" if (parenthesized_expression "(puVar19[1] == 0x17)" ( (binary_expression "puVar19[1] == 0x17" (subscript_expression "puVar19[1]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00031ef8;" goto statement_identifier ;)) (if_statement "if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }" { (expression_statement "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac)" ( (binary_expression "PTR_LAB_00190958 + 0x2b2c" identifier + number_literal) , (binary_expression "PTR_LAB_00190958 + 0x2aac" identifier + number_literal) )))) ;) (if_statement "if (iVar23 != 0) goto LAB_00031e1c;" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031e1c;" goto statement_identifier ;)) (expression_statement "local_5c = 7;" (assignment_expression "local_5c = 7" identifier = number_literal) ;) })) (labeled_statement "LAB_00031d18:\n            iVar23 = 0;" statement_identifier : (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00031d20:\n            sqlite3_free(iVar23);" statement_identifier : (expression_statement "sqlite3_free(iVar23);" (call_expression "sqlite3_free(iVar23)" identifier (argument_list "(iVar23)" ( identifier ))) ;)) }))) (expression_statement "iVar23 = local_5c;" (assignment_expression "iVar23 = local_5c" identifier = identifier) ;) (if_statement "if (local_5c != 0) goto LAB_00031d34;" if (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d34;" goto statement_identifier ;)) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , (binary_expression "PTR_LAB_00190958 + 0x2b3c" identifier + number_literal) , number_literal , number_literal , identifier )))) ;) (expression_statement "puVar19 = (undefined4 *)puVar19[2];" (assignment_expression "puVar19 = (undefined4 *)puVar19[2]" identifier = (cast_expression "(undefined4 *)puVar19[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar19[2]" identifier [ number_literal ]))) ;) (if_statement "if (iVar23 != 0) goto LAB_00031d34;" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d34;" goto statement_identifier ;)) }) while (parenthesized_expression "(puVar19 != puVar26)" ( (binary_expression "puVar19 != puVar26" identifier != identifier) )) ;) (expression_statement "puVar19 = (undefined4 *)param_1[6];" (assignment_expression "puVar19 = (undefined4 *)param_1[6]" identifier = (cast_expression "(undefined4 *)param_1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) ;) })) (expression_statement "puVar26 = puVar18;" (assignment_expression "puVar26 = puVar18" identifier = identifier) ;) }) while (parenthesized_expression "(puVar18 != puVar19)" ( (binary_expression "puVar18 != puVar19" identifier != identifier) )) ;) })) (expression_statement "iVar23 = param_1[5];" (assignment_expression "iVar23 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "local_74 = 0;" (assignment_expression "local_74 = 0" identifier = number_literal) ;) (if_statement "if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }" { (labeled_statement "LAB_0003210c:\n    local_74 = 0;" statement_identifier : (expression_statement "local_74 = 0;" (assignment_expression "local_74 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_0003211c:\n    iVar23 = *param_1;" statement_identifier : (expression_statement "iVar23 = *param_1;" (assignment_expression "iVar23 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_6c = 0;" (assignment_expression "local_6c = 0" identifier = number_literal) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "local_64 = 0;" (assignment_expression "local_64 = 0" identifier = number_literal) ;) (if_statement "if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }" { (expression_statement "pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + -0x2194)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + -0x2194)" ( (binary_expression "PTR_LAB_00190954 + -0x2194" identifier + number_literal) )))) ;) (expression_statement "local_58[0] = 0;" (assignment_expression "local_58[0] = 0" (subscript_expression "local_58[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);" (assignment_expression "iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70)" identifier = (call_expression "FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70)" identifier (argument_list "(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , identifier , (binary_expression "PTR_LAB_00190958 + 0x2b70" identifier + number_literal) )))) ;) (if_statement "if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }" { (expression_statement "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0])" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_58[0])" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_58[0])" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }" if (parenthesized_expression "(iVar23 == 100)" ( (binary_expression "iVar23 == 100" identifier == number_literal) )) (compound_statement "{\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }" { (expression_statement "iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)" ( (pointer_expression "*(code *)PTR_sqlite3_column_int_00190a4c" * (cast_expression "(code *)PTR_sqlite3_column_int_00190a4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_58[0],0)" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) )))) ;) (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;) (if_statement "if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }" if (parenthesized_expression "((0 < iVar7 + 1) && (iVar23 == 0))" ( (binary_expression "(0 < iVar7 + 1) && (iVar23 == 0)" (parenthesized_expression "(0 < iVar7 + 1)" ( (binary_expression "0 < iVar7 + 1" number_literal < (binary_expression "iVar7 + 1" identifier + number_literal)) )) && (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) ))) )) (compound_statement "{\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }" { (expression_statement "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "PTR_LAB_00190958 + 0x2bfc" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }" { (expression_statement "pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);" (assignment_expression "pcVar28 = (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 "local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);" (assignment_expression "local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30)" identifier = (cast_expression "(int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30)" identifier (argument_list "(&local_70,(iVar7 + 1) * 0x28 + 0x30)" ( (pointer_expression "&local_70" & identifier) , (binary_expression "(iVar7 + 1) * 0x28 + 0x30" (binary_expression "(iVar7 + 1) * 0x28" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal) + number_literal) ))))) ;) (if_statement "if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" { (if_statement "if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }" if (parenthesized_expression "(*param_1 == 100)" ( (binary_expression "*param_1 == 100" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n                  iVar23 = param_1[1];\n                }" { (expression_statement "iVar23 = param_1[1];" (assignment_expression "iVar23 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n                  iVar23 = param_1[3];\n                }" else (compound_statement "{\n                  iVar23 = param_1[3];\n                }" { (expression_statement "iVar23 = param_1[3];" (assignment_expression "iVar23 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) }))) (expression_statement "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)" ( (pointer_expression "*(code *)PTR_sqlite3_create_function_00190a0c" * (cast_expression "(code *)PTR_sqlite3_create_function_00190a0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0)" ( identifier , (binary_expression "PTR_LAB_00190958 + 0x2c20" identifier + number_literal) , number_literal , number_literal , identifier , (binary_expression "PTR_LAB_00190954 + 0x3c44" identifier + number_literal) , number_literal , number_literal )))) ;) (if_statement "if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" if (parenthesized_expression "((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0))" ( (binary_expression "(local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)" (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) && (parenthesized_expression "(local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)" ( (comma_expression "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)" ( (pointer_expression "*(code *)PTR_sqlite3_create_function_00190a0c" * (cast_expression "(code *)PTR_sqlite3_create_function_00190a0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , (binary_expression "PTR_LAB_00190958 + 0x2c24" identifier + number_literal) , number_literal , number_literal , identifier , (binary_expression "PTR_LAB_00190954 + 0x3b10" identifier + number_literal) , number_literal , number_literal )))) , (comma_expression "puVar5 = PTR_LAB_00190958,\n                   local_70 == 0" (assignment_expression "puVar5 = PTR_LAB_00190958" identifier = identifier) , (binary_expression "local_70 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" { (expression_statement "*local_80 = iVar7 + 2;" (assignment_expression "*local_80 = iVar7 + 2" (pointer_expression "*local_80" * identifier) = (binary_expression "iVar7 + 2" identifier + number_literal)) ;) (expression_statement "local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);" (assignment_expression "local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c)" identifier = (call_expression "(*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "&local_6c" & identifier) , identifier , (binary_expression "puVar5 + 0x2c2c" identifier + number_literal) )))) ;) (if_statement "if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" if (parenthesized_expression "((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0))))" ( (binary_expression "(local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))" (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) && (parenthesized_expression "((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))" ( (parenthesized_expression "(local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0))" ( (comma_expression "local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)" (assignment_expression "local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0)" identifier = (call_expression "(*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "&local_68" & identifier) , identifier , (binary_expression "PTR_LAB_00190958 + 0x2ca0" identifier + number_literal) )))) , (binary_expression "local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)" (binary_expression "local_70 == 0" identifier == number_literal) && (parenthesized_expression "(local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)" ( (comma_expression "local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0" (assignment_expression "local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8)" identifier = (call_expression "(*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "&local_64" & identifier) , identifier , (binary_expression "PTR_LAB_00190958 + 0x2cd8" identifier + number_literal) )))) , (comma_expression "puVar5 = PTR_LAB_00190958, local_70 == 0" (assignment_expression "puVar5 = PTR_LAB_00190958" identifier = identifier) , (binary_expression "local_70 == 0" identifier == number_literal))) )))) )) ))) )) (compound_statement "{\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" { (expression_statement "dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);" (assignment_expression "dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" identifier = (pointer_expression "*(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" * (cast_expression "(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648" identifier + number_literal) ))))) ;) (expression_statement "local_84 = PTR_LAB_00190958;" (assignment_expression "local_84 = PTR_LAB_00190958" identifier = identifier) ;) (expression_statement "puVar21 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar21 = PTR_LAB_00190958 + 0x30a8" identifier = (binary_expression "PTR_LAB_00190958 + 0x30a8" identifier + number_literal)) ;) (expression_statement "pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + 0x51c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + 0x51c)" ( (binary_expression "PTR_LAB_00190954 + 0x51c" identifier + number_literal) )))) ;) (expression_statement "lVar2 = -100000;" (assignment_expression "lVar2 = -100000" identifier = number_literal) ;) (labeled_statement "LAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);" statement_identifier : (expression_statement "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_6c)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_6c)" ( identifier )))) ;)) (if_statement "if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }" if (parenthesized_expression "(iVar23 != 100)" ( (binary_expression "iVar23 != 100" identifier != number_literal) )) (compound_statement "{\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }" { (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) (if_statement "if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }" if (parenthesized_expression "((local_70 == 0) && (*param_1 < 100))" ( (binary_expression "(local_70 == 0) && (*param_1 < 100)" (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) && (parenthesized_expression "(*param_1 < 100)" ( (binary_expression "*param_1 < 100" (pointer_expression "*param_1" * identifier) < number_literal) ))) )) (compound_statement "{\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }" { (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],puVar5 + 0x2d04,0,0,0)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , (binary_expression "puVar5 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) })) (goto_statement "goto LAB_00032240;" goto statement_identifier ;) })) (expression_statement "lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);" (assignment_expression "lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int64_001909a4)" ( (pointer_expression "*(code *)PTR_sqlite3_column_int64_001909a4" * (cast_expression "(code *)PTR_sqlite3_column_int64_001909a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_6c,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);" (assignment_expression "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_6c,1)" ( identifier , number_literal )))) ;) (expression_statement "uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);" (assignment_expression "uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_6c,2)" ( identifier , number_literal )))) ;) (expression_statement "iVar23 = *param_1;" (assignment_expression "iVar23 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }" if (parenthesized_expression "((iVar23 < 100) && (lVar30 != lVar2))" ( (binary_expression "(iVar23 < 100) && (lVar30 != lVar2)" (parenthesized_expression "(iVar23 < 100)" ( (binary_expression "iVar23 < 100" identifier < number_literal) )) && (parenthesized_expression "(lVar30 != lVar2)" ( (binary_expression "lVar30 != lVar2" identifier != identifier) ))) )) (compound_statement "{\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }" { (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_50 = (double)iVar23 / dVar29;" (assignment_expression "local_50 = (double)iVar23 / dVar29" identifier = (binary_expression "(double)iVar23 / dVar29" (cast_expression "(double)iVar23" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (expression_statement "local_58[0] = iVar23;" (assignment_expression "local_58[0] = iVar23" (subscript_expression "local_58[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],puVar5 + 0x2d04,0,0,0)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , (binary_expression "puVar5 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar23 != 0) goto LAB_00032240;" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032240;" goto statement_identifier ;)) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2d44,uVar10)" ( (binary_expression "PTR_LAB_00190958 + 0x2d44" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }" { (expression_statement "local_70 = 7;" (assignment_expression "local_70 = 7" identifier = number_literal) ;) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) (goto_statement "goto LAB_00032240;" goto statement_identifier ;) })) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],iVar7,0,0,0)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "sqlite3_free(iVar7);" (call_expression "sqlite3_free(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;) (if_statement "if (iVar23 != 0) goto LAB_00032240;" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032240;" goto statement_identifier ;)) })) (expression_statement "uVar4 = local_64;" (assignment_expression "uVar4 = local_64" identifier = identifier) ;) (expression_statement "uVar15 = local_68;" (assignment_expression "uVar15 = local_68" identifier = identifier) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" * (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_68,1,uVar11,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "puVar24 = PTR_LAB_00190958;" (assignment_expression "puVar24 = PTR_LAB_00190958" identifier = identifier) ;) (if_statement "if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }" { (expression_statement "uVar25 = 0;" (assignment_expression "uVar25 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;" (assignment_expression "puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" identifier + number_literal)) ;) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);" do (compound_statement "{\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      }" { (expression_statement "iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);" (assignment_expression "iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(uVar15)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar15)" ( identifier )))) ;) (expression_statement "iVar23 = iVar16;" (assignment_expression "iVar23 = iVar16" identifier = identifier) ;) (if_statement "if (iVar14 != 100) break;" if (parenthesized_expression "(iVar14 != 100)" ( (binary_expression "iVar14 != 100" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);" (assignment_expression "uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar15,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar22 = puVar21;" (assignment_expression "puVar22 = puVar21" identifier = identifier) ;) (if_statement "if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n                          puVar22 = puVar27;\n                        }" { (expression_statement "puVar22 = puVar27;" (assignment_expression "puVar22 = puVar27" identifier = identifier) ;) })) (expression_statement "uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);" (assignment_expression "uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar15,1)" ( identifier , number_literal )))) ;) (expression_statement "iVar23 = iVar16 + 1;" (assignment_expression "iVar23 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);" (assignment_expression "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13)" identifier = (call_expression "(*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13)" ( (pointer_expression "&local_5c" & identifier) , identifier , (binary_expression "puVar24 + 0x2d90" identifier + number_literal) , identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);" (assignment_expression "uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23)" identifier = (call_expression "(*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23)" ( (pointer_expression "&local_5c" & identifier) , identifier , (binary_expression "puVar24 + 0x2db4" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "iVar16 = iVar23;" (assignment_expression "iVar16 = iVar23" identifier = identifier) ;) }) while (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }" else (compound_statement "{\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }" { (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" identifier = number_literal) ;) (expression_statement "uVar25 = 0;" (assignment_expression "uVar25 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }))) (expression_statement "(*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);" (call_expression "(*(code *)PTR_sqlite3_reset_00190a5c)(uVar15)" (parenthesized_expression "(*(code *)PTR_sqlite3_reset_00190a5c)" ( (pointer_expression "*(code *)PTR_sqlite3_reset_00190a5c" * (cast_expression "(code *)PTR_sqlite3_reset_00190a5c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar15)" ( identifier ))) ;) (if_statement "if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }" { (if_statement "if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }" if (parenthesized_expression "(*param_1 == 100)" ( (binary_expression "*param_1 == 100" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }" { (expression_statement "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);" (assignment_expression "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25)" ( (binary_expression "PTR_LAB_00190958 + 0x2dbc" identifier + number_literal) , identifier , identifier , identifier )))) ;) }) (else_clause "else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }" else (compound_statement "{\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }" { (expression_statement "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);" (assignment_expression "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25)" ( (binary_expression "PTR_LAB_00190958 + 0x2ddc" identifier + number_literal) , identifier , identifier )))) ;) }))) }) (else_clause "else {\n                      uVar15 = 0;\n                    }" else (compound_statement "{\n                      uVar15 = 0;\n                    }" { (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) }))) (expression_statement "sqlite3_free(iVar7);" (call_expression "sqlite3_free(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "sqlite3_free(uVar25);" (call_expression "sqlite3_free(uVar25)" identifier (argument_list "(uVar25)" ( identifier ))) ;) (if_statement "if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }" { (if_statement "if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }" if (parenthesized_expression "(*param_1 == 100)" ( (binary_expression "*param_1 == 100" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n                        iVar7 = param_1[1];\n                      }" { (expression_statement "iVar7 = param_1[1];" (assignment_expression "iVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n                        iVar7 = param_1[3];\n                      }" else (compound_statement "{\n                        iVar7 = param_1[3];\n                      }" { (expression_statement "iVar7 = param_1[3];" (assignment_expression "iVar7 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) }))) (expression_statement "local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);" (assignment_expression "local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15)" identifier = (call_expression "(*pcVar6)(iVar7,&local_60,param_2,uVar15)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(iVar7,&local_60,param_2,uVar15)" ( identifier , (pointer_expression "&local_60" & identifier) , identifier , identifier )))) ;) })) (expression_statement "sqlite3_free(uVar15);" (call_expression "sqlite3_free(uVar15)" identifier (argument_list "(uVar15)" ( identifier ))) ;) (if_statement "if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }" { (expression_statement "piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);" (assignment_expression "piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4)" identifier = (cast_expression "(int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar28)(&local_5c,(iVar23 + 1) * 4)" (parenthesized_expression "(*pcVar28)" ( (pointer_expression "*pcVar28" * identifier) )) (argument_list "(&local_5c,(iVar23 + 1) * 4)" ( (pointer_expression "&local_5c" & identifier) , (binary_expression "(iVar23 + 1) * 4" (parenthesized_expression "(iVar23 + 1)" ( (binary_expression "iVar23 + 1" identifier + number_literal) )) * number_literal) ))))) ;) (if_statement "if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;" if (parenthesized_expression "((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))" ( (binary_expression "(local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100)" (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100)" ( (comma_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_60)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_60)" ( identifier )))) , (binary_expression "iVar7 != 100" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000327a8;" goto statement_identifier ;)) (expression_statement "piVar17 = piVar20;" (assignment_expression "piVar17 = piVar20" identifier = identifier) ;) (do_statement "do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);" do (compound_statement "{\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      }" { (expression_statement "*piVar17 = 1;" (assignment_expression "*piVar17 = 1" (pointer_expression "*piVar17" * identifier) = number_literal) ;) (expression_statement "piVar17 = piVar17 + 1;" (assignment_expression "piVar17 = piVar17 + 1" identifier = (binary_expression "piVar17 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar20 + iVar23 + 1 != piVar17)" ( (binary_expression "piVar20 + iVar23 + 1 != piVar17" (binary_expression "piVar20 + iVar23 + 1" (binary_expression "piVar20 + iVar23" identifier + identifier) + number_literal) != identifier) )) ;) (labeled_statement "LAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }" statement_identifier : (if_statement "if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }" { (expression_statement "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_60)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_60)" ( identifier )))) ;) (if_statement "if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" if (parenthesized_expression "(iVar7 != 100)" ( (binary_expression "iVar7 != 100" identifier != number_literal) )) (compound_statement "{\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" { (if_statement "if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }" if (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) (compound_statement "{\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }" { (expression_statement "iVar16 = *piVar20;" (assignment_expression "iVar16 = *piVar20" identifier = (pointer_expression "*piVar20" * identifier)) ;) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0x2918,iVar16)" ( (binary_expression "PTR_LAB_00190958 + 0x2918" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }" { (expression_statement "local_5c = 7;" (assignment_expression "local_5c = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00032928;" goto statement_identifier ;) })) (if_statement "if (local_5c != 0) goto LAB_00032928;" if (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032928;" goto statement_identifier ;)) (if_statement "if (iVar23 == 0) goto LAB_00032a64;" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00032a64;" goto statement_identifier ;)) (expression_statement "puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;" (assignment_expression "puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c" identifier + number_literal)) ;) (expression_statement "piVar17 = piVar20;" (assignment_expression "piVar17 = piVar20" identifier = identifier) ;) (goto_statement "goto LAB_000329d0;" goto statement_identifier ;) })) (goto_statement "goto LAB_00032924;" goto statement_identifier ;) })) (expression_statement "*piVar20 = *piVar20 + 1;" (assignment_expression "*piVar20 = *piVar20 + 1" (pointer_expression "*piVar20" * identifier) = (binary_expression "*piVar20 + 1" (pointer_expression "*piVar20" * identifier) + number_literal)) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }" if (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != number_literal) )) (compound_statement "{\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }" { (do_statement "do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);" do (compound_statement "{\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          }" { (expression_statement "iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);" (assignment_expression "iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)" ( (pointer_expression "*(code *)PTR_sqlite3_column_int_00190a4c" * (cast_expression "(code *)PTR_sqlite3_column_int_00190a4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_60,iVar7)" ( identifier , identifier )))) ;) (if_statement "if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }" if (parenthesized_expression "(iVar16 == 0)" ( (binary_expression "iVar16 == 0" identifier == number_literal) )) (compound_statement "{\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }" { (if_statement "if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }" if (parenthesized_expression "(iVar7 < iVar23)" ( (binary_expression "iVar7 < iVar23" identifier < identifier) )) (compound_statement "{\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }" { (expression_statement "piVar17 = piVar20 + iVar7;" (assignment_expression "piVar17 = piVar20 + iVar7" identifier = (binary_expression "piVar20 + iVar7" identifier + identifier)) ;) (do_statement "do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);" do (compound_statement "{\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                }" { (expression_statement "piVar1 = piVar17 + 1;" (assignment_expression "piVar1 = piVar17 + 1" identifier = (binary_expression "piVar17 + 1" identifier + number_literal)) ;) (expression_statement "piVar17 = piVar17 + 1;" (assignment_expression "piVar17 = piVar17 + 1" identifier = (binary_expression "piVar17 + 1" identifier + number_literal)) ;) (expression_statement "*piVar17 = *piVar1 + 1;" (assignment_expression "*piVar17 = *piVar1 + 1" (pointer_expression "*piVar17" * identifier) = (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) }) while (parenthesized_expression "(piVar20 + iVar23 != piVar17)" ( (binary_expression "piVar20 + iVar23 != piVar17" (binary_expression "piVar20 + iVar23" identifier + identifier) != identifier) )) ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar23 != iVar7)" ( (binary_expression "iVar23 != iVar7" identifier != identifier) )) ;) })) (goto_statement "goto LAB_00032874;" goto statement_identifier ;) }))) (labeled_statement "LAB_00032924:\n                      iVar7 = 0;" statement_identifier : (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;)) (goto_statement "goto LAB_00032928;" goto statement_identifier ;) })) (expression_statement "piVar20 = (int *)0x0;" (assignment_expression "piVar20 = (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              local_80 = (int *)0x0;\n            }" else (compound_statement "{\n              local_80 = (int *)0x0;\n            }" { (expression_statement "local_80 = (int *)0x0;" (assignment_expression "local_80 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "local_84 = PTR_LAB_00190958;" (assignment_expression "local_84 = PTR_LAB_00190958" identifier = identifier) ;) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) (labeled_statement "LAB_00032240:\n            local_70 = iVar23;" statement_identifier : (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;)) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_6c)" (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_6c)" ( identifier )))) ;) (if_statement "if (local_70 == 0) {\n              local_70 = iVar23;\n            }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n              local_70 = iVar23;\n            }" { (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;) })) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_68)" (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_68)" ( identifier )))) ;) (if_statement "if (local_70 == 0) {\n              local_70 = iVar23;\n            }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n              local_70 = iVar23;\n            }" { (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;) })) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_64)" (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_64)" ( identifier )))) ;) (if_statement "if (local_70 == 0) {\n              local_70 = iVar23;\n            }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n              local_70 = iVar23;\n            }" { (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" identifier = identifier) ;) })) (if_statement "if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }" if (parenthesized_expression "(0 < *local_80)" ( (binary_expression "0 < *local_80" number_literal < (pointer_expression "*local_80" * identifier)) )) (compound_statement "{\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }" { (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" identifier = number_literal) ;) (expression_statement "piVar20 = local_80;" (assignment_expression "piVar20 = local_80" identifier = identifier) ;) (do_statement "do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);" do (compound_statement "{\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              }" { (expression_statement "piVar20 = piVar20 + 10;" (assignment_expression "piVar20 = piVar20 + 10" identifier = (binary_expression "piVar20 + 10" identifier + number_literal)) ;) (expression_statement "iVar23 = iVar23 + 1;" (assignment_expression "iVar23 = iVar23 + 1" identifier = (binary_expression "iVar23 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3_free(*piVar20);" (call_expression "sqlite3_free(*piVar20)" identifier (argument_list "(*piVar20)" ( (pointer_expression "*piVar20" * identifier) ))) ;) }) while (parenthesized_expression "(iVar23 < *local_80)" ( (binary_expression "iVar23 < *local_80" identifier < (pointer_expression "*local_80" * identifier)) )) ;) })) (expression_statement "sqlite3_free(local_80);" (call_expression "sqlite3_free(local_80)" identifier (argument_list "(local_80)" ( identifier ))) ;) (if_statement "if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }" { (expression_statement "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "PTR_LAB_00190958 + 0x2e24" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) })) (expression_statement "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);" (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1],local_84 + 0x2d04,0,0,0)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , (binary_expression "local_84 + 0x2d04" identifier + number_literal) , number_literal , number_literal , number_literal ))) ;) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) })) }) (else_clause "else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }" else (compound_statement "{\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }" { (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) )))) ;) }))) }) (else_clause "else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }" else (compound_statement "{\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }" { (expression_statement "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" ( (subscript_expression "local_58[0]" identifier [ number_literal ]) ))) ;) }))) })) (labeled_statement "LAB_00031d34:\n    iVar7 = param_1[0xb];" statement_identifier : (expression_statement "iVar7 = param_1[0xb];" (assignment_expression "iVar7 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;)) (expression_statement "local_74 = iVar23;" (assignment_expression "local_74 = iVar23" identifier = identifier) ;) (if_statement "if (iVar7 != 0) goto LAB_00031d40;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00031d40;" goto statement_identifier ;)) }) (else_clause "else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }" else (compound_statement "{\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }" { (do_statement "do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);" do (compound_statement "{\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    }" { (while_statement "while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }" { (expression_statement "iVar7 = FUN_0002bdc0(param_1,iVar23,0);" (assignment_expression "iVar7 = FUN_0002bdc0(param_1,iVar23,0)" identifier = (call_expression "FUN_0002bdc0(param_1,iVar23,0)" identifier (argument_list "(param_1,iVar23,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar7 != 0) goto LAB_000320ec;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000320ec;" goto statement_identifier ;)) (if_statement "if (*(int *)(iVar23 + 0x10) != 0) break;" if (parenthesized_expression "(*(int *)(iVar23 + 0x10) != 0)" ( (binary_expression "*(int *)(iVar23 + 0x10) != 0" (pointer_expression "*(int *)(iVar23 + 0x10)" * (cast_expression "(int *)(iVar23 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x10)" ( (binary_expression "iVar23 + 0x10" identifier + number_literal) )))) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar23 = *(int *)(iVar23 + 0x1c);" (assignment_expression "iVar23 = *(int *)(iVar23 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar23 + 0x1c)" * (cast_expression "(int *)(iVar23 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x1c)" ( (binary_expression "iVar23 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar23 == 0) goto LAB_0003210c;" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003210c;" goto statement_identifier ;)) })) (expression_statement "iVar7 = FUN_0002bdc0(param_1,iVar23);" (assignment_expression "iVar7 = FUN_0002bdc0(param_1,iVar23)" identifier = (call_expression "FUN_0002bdc0(param_1,iVar23)" identifier (argument_list "(param_1,iVar23)" ( identifier , identifier )))) ;) (expression_statement "iVar23 = *(int *)(iVar23 + 0x1c);" (assignment_expression "iVar23 = *(int *)(iVar23 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar23 + 0x1c)" * (cast_expression "(int *)(iVar23 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x1c)" ( (binary_expression "iVar23 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (compound_statement "{\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }" { (expression_statement "local_74 = iVar7;" (assignment_expression "local_74 = iVar7" identifier = identifier) ;) (if_statement "if (iVar7 == 0) goto LAB_0003211c;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003211c;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) ;) (labeled_statement "LAB_000320ec:\n    local_74 = iVar7;" statement_identifier : (expression_statement "local_74 = iVar7;" (assignment_expression "local_74 = iVar7" identifier = identifier) ;)) (expression_statement "iVar7 = param_1[0xb];" (assignment_expression "iVar7 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;) (expression_statement "iVar23 = local_74;" (assignment_expression "iVar23 = local_74" identifier = identifier) ;) (if_statement "if (iVar7 == 0) goto LAB_00031db8;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00031db8;" goto statement_identifier ;)) (labeled_statement "LAB_00031d40:\n    iVar23 = param_1[0x40b];" statement_identifier : (expression_statement "iVar23 = param_1[0x40b];" (assignment_expression "iVar23 = param_1[0x40b]" identifier = (subscript_expression "param_1[0x40b]" identifier [ number_literal ])) ;)) (expression_statement "puVar24 = PTR_LAB_00190958 + 0x2e3c;" (assignment_expression "puVar24 = PTR_LAB_00190958 + 0x2e3c" identifier = (binary_expression "PTR_LAB_00190958 + 0x2e3c" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_LAB_00190958 + 0x2a20;" (assignment_expression "puVar21 = PTR_LAB_00190958 + 0x2a20" identifier = (binary_expression "PTR_LAB_00190958 + 0x2a20" identifier + number_literal)) ;) (expression_statement "puVar5 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar5 = PTR_LAB_00190958 + 0x30a8" identifier = (binary_expression "PTR_LAB_00190958 + 0x30a8" identifier + number_literal)) ;) (do_statement "do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);" do (compound_statement "{\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    }" { (expression_statement "puVar27 = puVar5;" (assignment_expression "puVar27 = puVar5" identifier = identifier) ;) (if_statement "if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }" if (parenthesized_expression "(*(int *)(iVar7 + 8) != 0)" ( (binary_expression "*(int *)(iVar7 + 8) != 0" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        puVar27 = puVar21;\n      }" { (expression_statement "puVar27 = puVar21;" (assignment_expression "puVar27 = puVar21" identifier = identifier) ;) })) (expression_statement "iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));" (assignment_expression "iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8))" identifier = (call_expression "FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8))" identifier (argument_list "(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8))" ( (pointer_expression "&local_74" & identifier) , identifier , identifier , (pointer_expression "*(undefined4 *)(iVar7 + 4)" * (cast_expression "(undefined4 *)(iVar7 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) )))) , identifier , (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "param_1[0x40b] = iVar23;" (assignment_expression "param_1[0x40b] = iVar23" (subscript_expression "param_1[0x40b]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar7 = *(int *)(iVar7 + 0x10);" (assignment_expression "iVar7 = *(int *)(iVar7 + 0x10)" identifier = (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar23 = local_74;" (assignment_expression "iVar23 = local_74" identifier = identifier) ;) (if_statement "if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }" if (parenthesized_expression "((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0))" ( (binary_expression "(local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)" (parenthesized_expression "(local_74 == 0)" ( (binary_expression "local_74 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)" ( (comma_expression "iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0" (assignment_expression "iVar23 = idxFindIndexes(param_1,param_2)" identifier = (call_expression "idxFindIndexes(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) , (binary_expression "iVar23 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    param_1[8] = 1;\n  }" { (expression_statement "param_1[8] = 1;" (assignment_expression "param_1[8] = 1" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }" statement_identifier : (if_statement "if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }" if (parenthesized_expression "(local_34 == *(int *)puVar3)" ( (binary_expression "local_34 == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar23;\n  }" { (return_statement "return iVar23;" return 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 "()" ( ))) ;) (if_statement "if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }" if (parenthesized_expression "(*(int **)(local_34 + 0x1c) != (int *)0x0)" ( (binary_expression "*(int **)(local_34 + 0x1c) != (int *)0x0" (pointer_expression "*(int **)(local_34 + 0x1c)" * (cast_expression "(int **)(local_34 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 0x1c)" ( (binary_expression "local_34 + 0x1c" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return **(int **)(local_34 + 0x1c) + 1;\n  }" { (return_statement "return **(int **)(local_34 + 0x1c) + 1;" return (binary_expression "**(int **)(local_34 + 0x1c) + 1" (pointer_expression "**(int **)(local_34 + 0x1c)" * (pointer_expression "*(int **)(local_34 + 0x1c)" * (cast_expression "(int **)(local_34 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 0x1c)" ( (binary_expression "local_34 + 0x1c" identifier + number_literal) ))))) + number_literal) ;) })) (return_statement "return 0;" return number_literal ;) (while_statement "while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }" while (parenthesized_expression "(piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17)" ( (comma_expression "piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17" (assignment_expression "piVar17 = piVar17 + 1" identifier = (binary_expression "piVar17 + 1" identifier + number_literal)) , (binary_expression "piVar20 + iVar23 != piVar17" (binary_expression "piVar20 + iVar23" identifier + identifier) != identifier)) )) (compound_statement "{\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }" { (labeled_statement "LAB_000329d0:\n    iVar14 = piVar17[1];" statement_identifier : (expression_statement "iVar14 = piVar17[1];" (assignment_expression "iVar14 = piVar17[1]" identifier = (subscript_expression "piVar17[1]" identifier [ number_literal ])) ;)) (if_statement "if (iVar14 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 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 "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);" (assignment_expression "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14)" identifier = (call_expression "(*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14)" ( (pointer_expression "&local_5c" & identifier) , identifier , identifier , (binary_expression "(iVar14 / 2 + iVar16) / iVar14" (parenthesized_expression "(iVar14 / 2 + iVar16)" ( (binary_expression "iVar14 / 2 + iVar16" (binary_expression "iVar14 / 2" identifier / number_literal) + identifier) )) / identifier) )))) ;) (if_statement "if (local_5c != 0) goto LAB_00032928;" if (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032928;" goto statement_identifier ;)) })) (labeled_statement "LAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);" statement_identifier : (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" * (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,1,uVar10,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;)) (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" * (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,2,uVar11,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" * (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,3,iVar7,0xffffffff,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_sqlite3_step_00190990)(uVar4);" (call_expression "(*(code *)PTR_sqlite3_step_00190990)(uVar4)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" ( (pointer_expression "*(code *)PTR_sqlite3_step_00190990" * (cast_expression "(code *)PTR_sqlite3_step_00190990" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4)" identifier = (call_expression "(*(code *)PTR_sqlite3_reset_00190a5c)(uVar4)" (parenthesized_expression "(*(code *)PTR_sqlite3_reset_00190a5c)" ( (pointer_expression "*(code *)PTR_sqlite3_reset_00190a5c" * (cast_expression "(code *)PTR_sqlite3_reset_00190a5c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier )))) ;) (labeled_statement "LAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);" statement_identifier : (expression_statement "uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);" (assignment_expression "uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11)" identifier = (call_expression "(*(code *)PTR_strlen_00190d80)(uVar11)" (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 "(uVar11)" ( identifier )))) ;)) (expression_statement "iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);" (assignment_expression "iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10)" identifier = (call_expression "FUN_00021854(param_1 + 0xb,uVar11,uVar10)" identifier (argument_list "(param_1 + 0xb,uVar11,uVar10)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }" if (parenthesized_expression "(iVar23 == 0)" ( (binary_expression "iVar23 == 0" identifier == number_literal) )) (compound_statement "{\n    sqlite3_free(iVar7);\n  }" { (expression_statement "sqlite3_free(iVar7);" (call_expression "sqlite3_free(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) }) (else_clause "else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }" else (compound_statement "{\n    *(int *)(iVar23 + 8) = iVar7;\n  }" { (expression_statement "*(int *)(iVar23 + 8) = iVar7;" (assignment_expression "*(int *)(iVar23 + 8) = iVar7" (pointer_expression "*(int *)(iVar23 + 8)" * (cast_expression "(int *)(iVar23 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 8)" ( (binary_expression "iVar23 + 8" identifier + number_literal) )))) = identifier) ;) }))) (labeled_statement "LAB_000327a8:\n  sqlite3_free(piVar20);" statement_identifier : (expression_statement "sqlite3_free(piVar20);" (call_expression "sqlite3_free(piVar20)" identifier (argument_list "(piVar20)" ( identifier ))) ;)) (expression_statement "local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_60)" (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_60)" ( identifier )))) ;) (if_statement "if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }" if (parenthesized_expression "(local_5c != 0)" ( (binary_expression "local_5c != 0" identifier != number_literal) )) (compound_statement "{\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }" { (expression_statement "local_70 = local_5c;" (assignment_expression "local_70 = local_5c" identifier = identifier) ;) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) (goto_statement "goto LAB_00032240;" goto statement_identifier ;) })) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" identifier = identifier) ;) (expression_statement "lVar2 = lVar30;" (assignment_expression "lVar2 = lVar30" identifier = identifier) ;) (if_statement "if (local_70 != 0) goto LAB_00032240;" if (parenthesized_expression "(local_70 != 0)" ( (binary_expression "local_70 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032240;" goto statement_identifier ;)) (goto_statement "goto LAB_0003249c;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (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 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 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 ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = (binary_expression IDENT + LIT)) ;) (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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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 * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , LIT , LIT , IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (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 = IDENT) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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 , IDENT , IDENT , (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , LIT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (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 : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) 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 IDENT + LIT) )))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + 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 IDENT + 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 IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) , LIT , LIT , 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 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , LIT , IDENT , (binary_expression IDENT + 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) , LIT , LIT , IDENT , (binary_expression IDENT + LIT) , LIT , LIT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT))) ))) )) (compound_statement { (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 IDENT + 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 IDENT + LIT) )))) , (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + 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 * IDENT) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + 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 ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (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 ( 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) , LIT , LIT , LIT )))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (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 = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 , IDENT , (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , LIT , LIT ))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , LIT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , LIT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = 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_analyze(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  code *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 uVar15;\n  int iVar16;\n  int *piVar17;\n  undefined4 *puVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  undefined *puVar21;\n  undefined *puVar22;\n  int iVar23;\n  undefined *puVar24;\n  undefined4 uVar25;\n  undefined4 *puVar26;\n  undefined *puVar27;\n  code *pcVar28;\n  double dVar29;\n  longlong lVar30;\n  undefined *local_84;\n  int *local_80;\n  int local_74;\n  int local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_5c;\n  int local_58 [2];\n  double local_50;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  int local_34;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  local_34 = *(int *)PTR___stack_chk_guard_00190e24;\n  if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }\n  iVar23 = param_1[5];\n  local_74 = 0;\n  if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }\n  iVar23 = local_74;\n  if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }\nLAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);\n  (*(code *)PTR_sqlite3_step_00190990)(uVar4);\n  local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);\nLAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);\n  iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);\n  if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar20);\n  local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n  if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }\n  iVar23 = local_70;\n  lVar2 = lVar30;\n  if (local_70 != 0) goto LAB_00032240;\n  goto LAB_0003249c;\n}" (primitive_type "int") (function_declarator "sqlite3_expert_analyze(int *param_1,undefined4 param_2)" (identifier "sqlite3_expert_analyze") (parameter_list "(int *param_1,undefined4 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  code *pcVar9;\n  undefined4 uVar10;\n  undefined4 uVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 uVar15;\n  int iVar16;\n  int *piVar17;\n  undefined4 *puVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  undefined *puVar21;\n  undefined *puVar22;\n  int iVar23;\n  undefined *puVar24;\n  undefined4 uVar25;\n  undefined4 *puVar26;\n  undefined *puVar27;\n  code *pcVar28;\n  double dVar29;\n  longlong lVar30;\n  undefined *local_84;\n  int *local_80;\n  int local_74;\n  int local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_5c;\n  int local_58 [2];\n  double local_50;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  int local_34;\n  \n  puVar3 = PTR___stack_chk_guard_00190e24;\n  local_34 = *(int *)PTR___stack_chk_guard_00190e24;\n  if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }\n  iVar23 = param_1[5];\n  local_74 = 0;\n  if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }\n  iVar23 = local_74;\n  if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }\nLAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }\n  return 0;\n  while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }\nLAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);\n  (*(code *)PTR_sqlite3_step_00190990)(uVar4);\n  local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);\nLAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);\n  iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);\n  if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }\nLAB_000327a8:\n  sqlite3_free(piVar20);\n  local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n  if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }\n  iVar23 = local_70;\n  lVar2 = lVar30;\n  if (local_70 != 0) goto LAB_00032240;\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 "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "code *pcVar9;" (type_identifier "code") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "undefined4 uVar11;" (type_identifier "undefined4") (identifier "uVar11") (; ";")) (declaration "undefined4 uVar12;" (type_identifier "undefined4") (identifier "uVar12") (; ";")) (declaration "undefined4 uVar13;" (type_identifier "undefined4") (identifier "uVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "undefined4 uVar15;" (type_identifier "undefined4") (identifier "uVar15") (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "int *piVar17;" (primitive_type "int") (pointer_declarator "*piVar17" (* "*") (identifier "piVar17")) (; ";")) (declaration "undefined4 *puVar18;" (type_identifier "undefined4") (pointer_declarator "*puVar18" (* "*") (identifier "puVar18")) (; ";")) (declaration "undefined4 *puVar19;" (type_identifier "undefined4") (pointer_declarator "*puVar19" (* "*") (identifier "puVar19")) (; ";")) (declaration "int *piVar20;" (primitive_type "int") (pointer_declarator "*piVar20" (* "*") (identifier "piVar20")) (; ";")) (declaration "undefined *puVar21;" (type_identifier "undefined") (pointer_declarator "*puVar21" (* "*") (identifier "puVar21")) (; ";")) (declaration "undefined *puVar22;" (type_identifier "undefined") (pointer_declarator "*puVar22" (* "*") (identifier "puVar22")) (; ";")) (declaration "int iVar23;" (primitive_type "int") (identifier "iVar23") (; ";")) (declaration "undefined *puVar24;" (type_identifier "undefined") (pointer_declarator "*puVar24" (* "*") (identifier "puVar24")) (; ";")) (declaration "undefined4 uVar25;" (type_identifier "undefined4") (identifier "uVar25") (; ";")) (declaration "undefined4 *puVar26;" (type_identifier "undefined4") (pointer_declarator "*puVar26" (* "*") (identifier "puVar26")) (; ";")) (declaration "undefined *puVar27;" (type_identifier "undefined") (pointer_declarator "*puVar27" (* "*") (identifier "puVar27")) (; ";")) (declaration "code *pcVar28;" (type_identifier "code") (pointer_declarator "*pcVar28" (* "*") (identifier "pcVar28")) (; ";")) (declaration "double dVar29;" (primitive_type "double") (identifier "dVar29") (; ";")) (declaration "longlong lVar30;" (type_identifier "longlong") (identifier "lVar30") (; ";")) (declaration "undefined *local_84;" (type_identifier "undefined") (pointer_declarator "*local_84" (* "*") (identifier "local_84")) (; ";")) (declaration "int *local_80;" (primitive_type "int") (pointer_declarator "*local_80" (* "*") (identifier "local_80")) (; ";")) (declaration "int local_74;" (primitive_type "int") (identifier "local_74") (; ";")) (declaration "int local_70;" (primitive_type "int") (identifier "local_70") (; ";")) (declaration "undefined4 local_6c;" (type_identifier "undefined4") (identifier "local_6c") (; ";")) (declaration "undefined4 local_68;" (type_identifier "undefined4") (identifier "local_68") (; ";")) (declaration "undefined4 local_64;" (type_identifier "undefined4") (identifier "local_64") (; ";")) (declaration "undefined4 local_60;" (type_identifier "undefined4") (identifier "local_60") (; ";")) (declaration "int local_5c;" (primitive_type "int") (identifier "local_5c") (; ";")) (declaration "int local_58 [2];" (primitive_type "int") (array_declarator "local_58 [2]" (identifier "local_58") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "double local_50;" (primitive_type "double") (identifier "local_50") (; ";")) (declaration "undefined4 local_48;" (type_identifier "undefined4") (identifier "local_48") (; ";")) (declaration "undefined4 local_44;" (type_identifier "undefined4") (identifier "local_44") (; ";")) (declaration "undefined4 local_40;" (type_identifier "undefined4") (identifier "local_40") (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (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 "local_34 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_34 = *(int *)PTR___stack_chk_guard_00190e24" (identifier "local_34") (= "=") (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 "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00190e24")))) (; ";")) (if_statement "if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }" (if "if") (parenthesized_expression "((undefined4 *)param_1[6] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)param_1[6] != (undefined4 *)0x0" (cast_expression "(undefined4 *)param_1[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n    puVar19 = (undefined4 *)param_1[6];\n    puVar26 = (undefined4 *)0x0;\n    do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);\n  }" ({ "{") (expression_statement "puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;" (assignment_expression "puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" (identifier "puVar5") (= "=") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "0x1114"))) (; ";")) (expression_statement "puVar19 = (undefined4 *)param_1[6];" (assignment_expression "puVar19 = (undefined4 *)param_1[6]" (identifier "puVar19") (= "=") (cast_expression "(undefined4 *)param_1[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")))) (; ";")) (expression_statement "puVar26 = (undefined4 *)0x0;" (assignment_expression "puVar26 = (undefined4 *)0x0" (identifier "puVar26") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (do_statement "do {\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    } while (puVar18 != puVar19);" (do "do") (compound_statement "{\n      puVar18 = puVar19;\n      puVar21 = PTR_LAB_00190958;\n      puVar19 = puVar18;\n      if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }\n      puVar26 = puVar18;\n    }" ({ "{") (expression_statement "puVar18 = puVar19;" (assignment_expression "puVar18 = puVar19" (identifier "puVar18") (= "=") (identifier "puVar19")) (; ";")) (expression_statement "puVar21 = PTR_LAB_00190958;" (assignment_expression "puVar21 = PTR_LAB_00190958" (identifier "puVar21") (= "=") (identifier "PTR_LAB_00190958")) (; ";")) (expression_statement "puVar19 = puVar18;" (assignment_expression "puVar19 = puVar18" (identifier "puVar19") (= "=") (identifier "puVar18")) (; ";")) (if_statement "if (puVar26 != puVar18) {\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }" (if "if") (parenthesized_expression "(puVar26 != puVar18)" (( "(") (binary_expression "puVar26 != puVar18" (identifier "puVar26") (!= "!=") (identifier "puVar18")) () ")")) (compound_statement "{\n        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);\n        do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);\n        puVar19 = (undefined4 *)param_1[6];\n      }" ({ "{") (expression_statement "pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_00190954 + -0x884)" (identifier "pcVar6") (= "=") (cast_expression "(code *)(PTR_LAB_00190954 + -0x884)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190954 + -0x884)" (( "(") (binary_expression "PTR_LAB_00190954 + -0x884" (identifier "PTR_LAB_00190954") (+ "+") (number_literal "-0x884")) () ")")))) (; ";")) (do_statement "do {\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        } while (puVar19 != puVar26);" (do "do") (compound_statement "{\n          piVar20 = (int *)*puVar19;\n          iVar23 = piVar20[1];\n          local_60 = 0;\n          local_5c = 0;\n          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);\n          while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }\n          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);\n          puVar24 = PTR_LAB_00190958;\n          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }\n          iVar23 = local_5c;\n          if (local_5c != 0) goto LAB_00031d34;\n          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);\n          puVar19 = (undefined4 *)puVar19[2];\n          if (iVar23 != 0) goto LAB_00031d34;\n        }" ({ "{") (expression_statement "piVar20 = (int *)*puVar19;" (assignment_expression "piVar20 = (int *)*puVar19" (identifier "piVar20") (= "=") (cast_expression "(int *)*puVar19" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar19" (* "*") (identifier "puVar19")))) (; ";")) (expression_statement "iVar23 = piVar20[1];" (assignment_expression "iVar23 = piVar20[1]" (identifier "iVar23") (= "=") (subscript_expression "piVar20[1]" (identifier "piVar20") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" (identifier "local_60") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" (identifier "local_5c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);" (assignment_expression "local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23)" (identifier "local_5c") (= "=") (call_expression "(*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23)" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "&local_60" (& "&") (identifier "local_60")) (, ",") (identifier "param_2") (, ",") (binary_expression "puVar21 + 0x2a2c" (identifier "puVar21") (+ "+") (number_literal "0x2a2c")) (, ",") (identifier "iVar23") (, ",") (identifier "iVar23") () ")")))) (; ";")) (while_statement "while ((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }" (while "while") (parenthesized_expression "((local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100)))" (( "(") (parenthesized_expression "(local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))" (( "(") (binary_expression "local_5c == 0 &&\n                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100)" (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) (&& "&&") (parenthesized_expression "(iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100)" (( "(") (comma_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_60)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_step_00190990" (* "*") (cast_expression "(code *)PTR_sqlite3_step_00190990" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_step_00190990"))) () ")")) (argument_list "(local_60)" (( "(") (identifier "local_60") () ")")))) (, ",") (binary_expression "iVar7 == 100" (identifier "iVar7") (== "==") (number_literal "100"))) () ")"))) () ")")) () ")")) (compound_statement "{\n            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);\n            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);\n          }" ({ "{") (expression_statement "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);" (assignment_expression "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0)" (identifier "uVar10") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" (* "*") (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_text_001909a8"))) () ")")) (argument_list "(local_60,0)" (( "(") (identifier "local_60") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2)" (identifier "local_5c") (= "=") (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_00190a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_00190a48"))) () ")")) (argument_list "(param_1[3],uVar10,0,0,param_2)" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "uVar10") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_2") () ")")))) (; ";")) (} "}"))) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_60)" (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_60)" (( "(") (identifier "local_60") () ")")))) (; ";")) (expression_statement "puVar24 = PTR_LAB_00190958;" (assignment_expression "puVar24 = PTR_LAB_00190958" (identifier "puVar24") (= "=") (identifier "PTR_LAB_00190958")) (; ";")) (if_statement "if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }\n          else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }" (if "if") (parenthesized_expression "((local_5c == 0) && (local_5c = iVar7, iVar7 == 0))" (( "(") (binary_expression "(local_5c == 0) && (local_5c = iVar7, iVar7 == 0)" (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(local_5c = iVar7, iVar7 == 0)" (( "(") (comma_expression "local_5c = iVar7, iVar7 == 0" (assignment_expression "local_5c = iVar7" (identifier "local_5c") (= "=") (identifier "iVar7")) (, ",") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);\n            if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }\n            local_5c = 7;\n            if (puVar19[1] == 0x12) goto LAB_00031fc8;\n            if (puVar19[1] != 0x17) goto LAB_00031d18;\nLAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);\n            if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }\nLAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;\n            local_58[0] = 0;\n            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);\n            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;\n            FUN_0001de18(param_1[3],param_2);\n            sqlite3_free(iVar23);\n          }" ({ "{") (expression_statement "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac)" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" (* "*") (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mprintf_00190964"))) () ")")) (argument_list "(PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac)" (( "(") (binary_expression "PTR_LAB_00190958 + 0x2ad4" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2ad4")) (, ",") (identifier "iVar23") (, ",") (binary_expression "PTR_LAB_00190958 + 0x2aac" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2aac")) () ")")))) (; ";")) (if_statement "if (iVar23 != 0) {\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }" (if "if") (parenthesized_expression "(iVar23 != 0)" (( "(") (binary_expression "iVar23 != 0" (identifier "iVar23") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);\n              sqlite3_free(iVar23);\n              goto LAB_00031cf4;\n            }" ({ "{") (expression_statement "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2)" (identifier "local_5c") (= "=") (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_00190a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_00190a48"))) () ")")) (argument_list "(param_1[3],iVar23,0,0,param_2)" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "iVar23") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "sqlite3_free(iVar23);" (call_expression "sqlite3_free(iVar23)" (identifier "sqlite3_free") (argument_list "(iVar23)" (( "(") (identifier "iVar23") () ")"))) (; ";")) (goto_statement "goto LAB_00031cf4;" (goto "goto") (statement_identifier "LAB_00031cf4") (; ";")) (} "}"))) (expression_statement "local_5c = 7;" (assignment_expression "local_5c = 7" (identifier "local_5c") (= "=") (number_literal "7")) (; ";")) (if_statement "if (puVar19[1] == 0x12) goto LAB_00031fc8;" (if "if") (parenthesized_expression "(puVar19[1] == 0x12)" (( "(") (binary_expression "puVar19[1] == 0x12" (subscript_expression "puVar19[1]" (identifier "puVar19") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x12")) () ")")) (goto_statement "goto LAB_00031fc8;" (goto "goto") (statement_identifier "LAB_00031fc8") (; ";"))) (if_statement "if (puVar19[1] != 0x17) goto LAB_00031d18;" (if "if") (parenthesized_expression "(puVar19[1] != 0x17)" (( "(") (binary_expression "puVar19[1] != 0x17" (subscript_expression "puVar19[1]" (identifier "puVar19") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0x17")) () ")")) (goto_statement "goto LAB_00031d18;" (goto "goto") (statement_identifier "LAB_00031d18") (; ";"))) (labeled_statement "LAB_00031ef8:\n            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);" (statement_identifier "LAB_00031ef8") (: ":") (expression_statement "iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);" (assignment_expression "iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac)" (identifier "iVar23") (= "=") (call_expression "FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac)" (identifier "FUN_0002051c") (argument_list "(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac)" (( "(") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (number_literal "0") (, ",") (binary_expression "puVar21 + 0x2b14" (identifier "puVar21") (+ "+") (number_literal "0x2b14")) (, ",") (binary_expression "puVar24 + 0x2aac" (identifier "puVar24") (+ "+") (number_literal "0x2aac")) () ")")))) (; ";"))) (if_statement "if (0 < *piVar20) {\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }" (if "if") (parenthesized_expression "(0 < *piVar20)" (( "(") (binary_expression "0 < *piVar20" (number_literal "0") (< "<") (pointer_expression "*piVar20" (* "*") (identifier "piVar20"))) () ")")) (compound_statement "{\n              iVar16 = 0;\n              iVar7 = 0;\n              puVar27 = PTR_LAB_00190958 + 0x2b24;\n              puVar24 = PTR_LAB_00190958 + 0x30a8;\n              do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);\n            }" ({ "{") (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" (identifier "iVar16") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar27 = PTR_LAB_00190958 + 0x2b24;" (assignment_expression "puVar27 = PTR_LAB_00190958 + 0x2b24" (identifier "puVar27") (= "=") (binary_expression "PTR_LAB_00190958 + 0x2b24" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2b24"))) (; ";")) (expression_statement "puVar24 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar24 = PTR_LAB_00190958 + 0x30a8" (identifier "puVar24") (= "=") (binary_expression "PTR_LAB_00190958 + 0x30a8" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x30a8"))) (; ";")) (do_statement "do {\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              } while (iVar16 < *piVar20);" (do "do") (compound_statement "{\n                iVar16 = iVar16 + 1;\n                puVar8 = (undefined4 *)(piVar20[2] + iVar7);\n                iVar7 = iVar7 + 0xc;\n                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);\n                puVar24 = puVar5;\n              }" ({ "{") (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" (identifier "iVar16") (= "=") (binary_expression "iVar16 + 1" (identifier "iVar16") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar8 = (undefined4 *)(piVar20[2] + iVar7);" (assignment_expression "puVar8 = (undefined4 *)(piVar20[2] + iVar7)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)(piVar20[2] + iVar7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar20[2] + iVar7)" (( "(") (binary_expression "piVar20[2] + iVar7" (subscript_expression "piVar20[2]" (identifier "piVar20") ([ "[") (number_literal "2") (] "]")) (+ "+") (identifier "iVar7")) () ")")))) (; ";")) (expression_statement "iVar7 = iVar7 + 0xc;" (assignment_expression "iVar7 = iVar7 + 0xc" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 0xc" (identifier "iVar7") (+ "+") (number_literal "0xc"))) (; ";")) (expression_statement "iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);" (assignment_expression "iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8)" (identifier "iVar23") (= "=") (call_expression "FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8)" (identifier "FUN_0002051c") (argument_list "(&local_5c,iVar23,puVar27,puVar24,*puVar8)" (( "(") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (identifier "iVar23") (, ",") (identifier "puVar27") (, ",") (identifier "puVar24") (, ",") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) () ")")))) (; ";")) (expression_statement "puVar24 = puVar5;" (assignment_expression "puVar24 = puVar5" (identifier "puVar24") (= "=") (identifier "puVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar16 < *piVar20)" (( "(") (binary_expression "iVar16 < *piVar20" (identifier "iVar16") (< "<") (pointer_expression "*piVar20" (* "*") (identifier "piVar20"))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00031e1c:\n            if (local_5c != 0) goto LAB_00031d20;" (statement_identifier "LAB_00031e1c") (: ":") (if_statement "if (local_5c != 0) goto LAB_00031d20;" (if "if") (parenthesized_expression "(local_5c != 0)" (( "(") (binary_expression "local_5c != 0" (identifier "local_5c") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031d20;" (goto "goto") (statement_identifier "LAB_00031d20") (; ";")))) (expression_statement "local_58[0] = 0;" (assignment_expression "local_58[0] = 0" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0)" (identifier "local_5c") (= "=") (call_expression "(*(code *)PTR_sqlite3_prepare_v2_00190968)\n                                 (param_1[3],iVar23,0xffffffff,local_58,0)" (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 "(param_1[3],iVar23,0xffffffff,local_58,0)" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "iVar23") (, ",") (number_literal "0xffffffff") (, ",") (identifier "local_58") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" (( "(") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (if_statement "if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;" (if "if") (parenthesized_expression "((local_5c == 0) && (local_5c = iVar7, iVar7 == 0))" (( "(") (binary_expression "(local_5c == 0) && (local_5c = iVar7, iVar7 == 0)" (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(local_5c = iVar7, iVar7 == 0)" (( "(") (comma_expression "local_5c = iVar7, iVar7 == 0" (assignment_expression "local_5c = iVar7" (identifier "local_5c") (= "=") (identifier "iVar7")) (, ",") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_00031d20;" (goto "goto") (statement_identifier "LAB_00031d20") (; ";"))) (expression_statement "FUN_0001de18(param_1[3],param_2);" (call_expression "FUN_0001de18(param_1[3],param_2)" (identifier "FUN_0001de18") (argument_list "(param_1[3],param_2)" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "sqlite3_free(iVar23);" (call_expression "sqlite3_free(iVar23)" (identifier "sqlite3_free") (argument_list "(iVar23)" (( "(") (identifier "iVar23") () ")"))) (; ";")) (} "}")) (else_clause "else {\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }" (else "else") (compound_statement "{\nLAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;\n            if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }\n            if (puVar19[1] == 0x17) goto LAB_00031ef8;\n            if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }\nLAB_00031d18:\n            iVar23 = 0;\nLAB_00031d20:\n            sqlite3_free(iVar23);\n          }" ({ "{") (labeled_statement "LAB_00031cf4:\n            puVar24 = PTR_LAB_00190958;" (statement_identifier "LAB_00031cf4") (: ":") (expression_statement "puVar24 = PTR_LAB_00190958;" (assignment_expression "puVar24 = PTR_LAB_00190958" (identifier "puVar24") (= "=") (identifier "PTR_LAB_00190958")) (; ";"))) (if_statement "if (puVar19[1] == 0x12) {\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }" (if "if") (parenthesized_expression "(puVar19[1] == 0x12)" (( "(") (binary_expression "puVar19[1] == 0x12" (subscript_expression "puVar19[1]" (identifier "puVar19") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x12")) () ")")) (compound_statement "{\nLAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);\n              if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }\n              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);\n              goto LAB_00031e1c;\n            }" ({ "{") (labeled_statement "LAB_00031fc8:\n              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);" (statement_identifier "LAB_00031fc8") (: ":") (expression_statement "uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);" (assignment_expression "uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac)" (identifier "uVar10") (= "=") (call_expression "FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac)" (identifier "FUN_0002051c") (argument_list "(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac)" (( "(") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (number_literal "0") (, ",") (binary_expression "PTR_LAB_00190958 + 11000" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "11000")) (, ",") (binary_expression "puVar24 + 0x2aac" (identifier "puVar24") (+ "+") (number_literal "0x2aac")) () ")")))) (; ";"))) (if_statement "if (0 < *piVar20) {\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }" (if "if") (parenthesized_expression "(0 < *piVar20)" (( "(") (binary_expression "0 < *piVar20" (number_literal "0") (< "<") (pointer_expression "*piVar20" (* "*") (identifier "piVar20"))) () ")")) (compound_statement "{\n                iVar23 = 0;\n                puVar27 = PTR_LAB_00190958 + 0x2b10;\n                puVar24 = PTR_LAB_00190958 + 0x30a8;\n                do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);\n              }" ({ "{") (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" (identifier "iVar23") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar27 = PTR_LAB_00190958 + 0x2b10;" (assignment_expression "puVar27 = PTR_LAB_00190958 + 0x2b10" (identifier "puVar27") (= "=") (binary_expression "PTR_LAB_00190958 + 0x2b10" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2b10"))) (; ";")) (expression_statement "puVar24 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar24 = PTR_LAB_00190958 + 0x30a8" (identifier "puVar24") (= "=") (binary_expression "PTR_LAB_00190958 + 0x30a8" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x30a8"))) (; ";")) (do_statement "do {\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                } while (iVar23 < *piVar20);" (do "do") (compound_statement "{\n                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);\n                  iVar23 = iVar23 + 1;\n                  puVar24 = puVar5;\n                }" ({ "{") (expression_statement "uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);" (assignment_expression "uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24)" (identifier "uVar10") (= "=") (call_expression "FUN_0002051c(&local_5c,uVar10,puVar27,puVar24)" (identifier "FUN_0002051c") (argument_list "(&local_5c,uVar10,puVar27,puVar24)" (( "(") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (identifier "uVar10") (, ",") (identifier "puVar27") (, ",") (identifier "puVar24") () ")")))) (; ";")) (expression_statement "iVar23 = iVar23 + 1;" (assignment_expression "iVar23 = iVar23 + 1" (identifier "iVar23") (= "=") (binary_expression "iVar23 + 1" (identifier "iVar23") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar24 = puVar5;" (assignment_expression "puVar24 = puVar5" (identifier "puVar24") (= "=") (identifier "puVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar23 < *piVar20)" (( "(") (binary_expression "iVar23 < *piVar20" (identifier "iVar23") (< "<") (pointer_expression "*piVar20" (* "*") (identifier "piVar20"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);" (assignment_expression "iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034)" (identifier "iVar23") (= "=") (call_expression "FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034)" (identifier "FUN_0002051c") (argument_list "(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034)" (( "(") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (identifier "uVar10") (, ",") (binary_expression "PTR_LAB_00190958 + 0x2034" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2034")) () ")")))) (; ";")) (goto_statement "goto LAB_00031e1c;" (goto "goto") (statement_identifier "LAB_00031e1c") (; ";")) (} "}"))) (if_statement "if (puVar19[1] == 0x17) goto LAB_00031ef8;" (if "if") (parenthesized_expression "(puVar19[1] == 0x17)" (( "(") (binary_expression "puVar19[1] == 0x17" (subscript_expression "puVar19[1]" (identifier "puVar19") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x17")) () ")")) (goto_statement "goto LAB_00031ef8;" (goto "goto") (statement_identifier "LAB_00031ef8") (; ";"))) (if_statement "if (local_5c == 0) {\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }" (if "if") (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);\n              if (iVar23 != 0) goto LAB_00031e1c;\n              local_5c = 7;\n            }" ({ "{") (expression_statement "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac)" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" (* "*") (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mprintf_00190964"))) () ")")) (argument_list "(PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac)" (( "(") (binary_expression "PTR_LAB_00190958 + 0x2b2c" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2b2c")) (, ",") (binary_expression "PTR_LAB_00190958 + 0x2aac" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2aac")) () ")")))) (; ";")) (if_statement "if (iVar23 != 0) goto LAB_00031e1c;" (if "if") (parenthesized_expression "(iVar23 != 0)" (( "(") (binary_expression "iVar23 != 0" (identifier "iVar23") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031e1c;" (goto "goto") (statement_identifier "LAB_00031e1c") (; ";"))) (expression_statement "local_5c = 7;" (assignment_expression "local_5c = 7" (identifier "local_5c") (= "=") (number_literal "7")) (; ";")) (} "}"))) (labeled_statement "LAB_00031d18:\n            iVar23 = 0;" (statement_identifier "LAB_00031d18") (: ":") (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" (identifier "iVar23") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_00031d20:\n            sqlite3_free(iVar23);" (statement_identifier "LAB_00031d20") (: ":") (expression_statement "sqlite3_free(iVar23);" (call_expression "sqlite3_free(iVar23)" (identifier "sqlite3_free") (argument_list "(iVar23)" (( "(") (identifier "iVar23") () ")"))) (; ";"))) (} "}")))) (expression_statement "iVar23 = local_5c;" (assignment_expression "iVar23 = local_5c" (identifier "iVar23") (= "=") (identifier "local_5c")) (; ";")) (if_statement "if (local_5c != 0) goto LAB_00031d34;" (if "if") (parenthesized_expression "(local_5c != 0)" (( "(") (binary_expression "local_5c != 0" (identifier "local_5c") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031d34;" (goto "goto") (statement_identifier "LAB_00031d34") (; ";"))) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2)" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_00190a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_00190a48"))) () ")")) (argument_list "(param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2)" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (binary_expression "PTR_LAB_00190958 + 0x2b3c" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2b3c")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "puVar19 = (undefined4 *)puVar19[2];" (assignment_expression "puVar19 = (undefined4 *)puVar19[2]" (identifier "puVar19") (= "=") (cast_expression "(undefined4 *)puVar19[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar19[2]" (identifier "puVar19") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (iVar23 != 0) goto LAB_00031d34;" (if "if") (parenthesized_expression "(iVar23 != 0)" (( "(") (binary_expression "iVar23 != 0" (identifier "iVar23") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031d34;" (goto "goto") (statement_identifier "LAB_00031d34") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(puVar19 != puVar26)" (( "(") (binary_expression "puVar19 != puVar26" (identifier "puVar19") (!= "!=") (identifier "puVar26")) () ")")) (; ";")) (expression_statement "puVar19 = (undefined4 *)param_1[6];" (assignment_expression "puVar19 = (undefined4 *)param_1[6]" (identifier "puVar19") (= "=") (cast_expression "(undefined4 *)param_1[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")))) (; ";")) (} "}"))) (expression_statement "puVar26 = puVar18;" (assignment_expression "puVar26 = puVar18" (identifier "puVar26") (= "=") (identifier "puVar18")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar18 != puVar19)" (( "(") (binary_expression "puVar18 != puVar19" (identifier "puVar18") (!= "!=") (identifier "puVar19")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar23 = param_1[5];" (assignment_expression "iVar23 = param_1[5]" (identifier "iVar23") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "local_74 = 0;" (assignment_expression "local_74 = 0" (identifier "local_74") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar23 == 0) {\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }\n  else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }" (if "if") (parenthesized_expression "(iVar23 == 0)" (( "(") (binary_expression "iVar23 == 0" (identifier "iVar23") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0003210c:\n    local_74 = 0;\nLAB_0003211c:\n    iVar23 = *param_1;\n    local_70 = 0;\n    local_6c = 0;\n    local_68 = 0;\n    local_64 = 0;\n    if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }\nLAB_00031d34:\n    iVar7 = param_1[0xb];\n    local_74 = iVar23;\n    if (iVar7 != 0) goto LAB_00031d40;\n  }" ({ "{") (labeled_statement "LAB_0003210c:\n    local_74 = 0;" (statement_identifier "LAB_0003210c") (: ":") (expression_statement "local_74 = 0;" (assignment_expression "local_74 = 0" (identifier "local_74") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_0003211c:\n    iVar23 = *param_1;" (statement_identifier "LAB_0003211c") (: ":") (expression_statement "iVar23 = *param_1;" (assignment_expression "iVar23 = *param_1" (identifier "iVar23") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";"))) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" (identifier "local_70") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_6c = 0;" (assignment_expression "local_6c = 0" (identifier "local_6c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" (identifier "local_68") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_64 = 0;" (assignment_expression "local_64 = 0" (identifier "local_64") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar23 != 0) {\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }" (if "if") (parenthesized_expression "(iVar23 != 0)" (( "(") (binary_expression "iVar23 != 0" (identifier "iVar23") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);\n      local_58[0] = 0;\n      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);\n      if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }\n    }" ({ "{") (expression_statement "pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194)" (identifier "pcVar6") (= "=") (cast_expression "(code *)(PTR_LAB_00190954 + -0x2194)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190954 + -0x2194)" (( "(") (binary_expression "PTR_LAB_00190954 + -0x2194" (identifier "PTR_LAB_00190954") (+ "+") (number_literal "-0x2194")) () ")")))) (; ";")) (expression_statement "local_58[0] = 0;" (assignment_expression "local_58[0] = 0" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);" (assignment_expression "iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70)" (identifier "iVar23") (= "=") (call_expression "FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70)" (identifier "FUN_0001de6c") (argument_list "(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "local_58") (, ",") (identifier "param_2") (, ",") (binary_expression "PTR_LAB_00190958 + 0x2b70" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2b70")) () ")")))) (; ";")) (if_statement "if (iVar23 == 0) {\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }\n      else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }" (if "if") (parenthesized_expression "(iVar23 == 0)" (( "(") (binary_expression "iVar23 == 0" (identifier "iVar23") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);\n        if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }\n      }" ({ "{") (expression_statement "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0])" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_58[0])" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_step_00190990" (* "*") (cast_expression "(code *)PTR_sqlite3_step_00190990" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_step_00190990"))) () ")")) (argument_list "(local_58[0])" (( "(") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar23 == 100) {\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }\n        else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }" (if "if") (parenthesized_expression "(iVar23 == 100)" (( "(") (binary_expression "iVar23 == 100" (identifier "iVar23") (== "==") (number_literal "100")) () ")")) (compound_statement "{\n          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n          local_70 = iVar23;\n          if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }\n        }" ({ "{") (expression_statement "iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_int_00190a4c" (* "*") (cast_expression "(code *)PTR_sqlite3_column_int_00190a4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_int_00190a4c"))) () ")")) (argument_list "(local_58[0],0)" (( "(") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" (( "(") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" (identifier "local_70") (= "=") (identifier "iVar23")) (; ";")) (if_statement "if ((0 < iVar7 + 1) && (iVar23 == 0)) {\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }" (if "if") (parenthesized_expression "((0 < iVar7 + 1) && (iVar23 == 0))" (( "(") (binary_expression "(0 < iVar7 + 1) && (iVar23 == 0)" (parenthesized_expression "(0 < iVar7 + 1)" (( "(") (binary_expression "0 < iVar7 + 1" (number_literal "0") (< "<") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) () ")")) (&& "&&") (parenthesized_expression "(iVar23 == 0)" (( "(") (binary_expression "iVar23 == 0" (identifier "iVar23") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);\n            if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }\n            local_84 = PTR_LAB_00190958;\n            iVar23 = local_70;\nLAB_00032240:\n            local_70 = iVar23;\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);\n            if (local_70 == 0) {\n              local_70 = iVar23;\n            }\n            if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }\n            sqlite3_free(local_80);\n            if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }\n            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);\n            iVar23 = local_70;\n          }" ({ "{") (expression_statement "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0)" (identifier "local_70") (= "=") (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_00190a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_00190a48"))) () ")")) (argument_list "(param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (binary_expression "PTR_LAB_00190958 + 0x2bfc" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2bfc")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (local_70 == 0) {\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }\n            else {\n              local_80 = (int *)0x0;\n            }" (if "if") (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);\n              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);\n              if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }\n            }" ({ "{") (expression_statement "pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);" (assignment_expression "pcVar28 = (code *)(PTR_LAB_00190954 + 0x368)" (identifier "pcVar28") (= "=") (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 "local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);" (assignment_expression "local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30)" (identifier "local_80") (= "=") (cast_expression "(int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30)" (identifier "FUN_00020368") (argument_list "(&local_70,(iVar7 + 1) * 0x28 + 0x30)" (( "(") (pointer_expression "&local_70" (& "&") (identifier "local_70")) (, ",") (binary_expression "(iVar7 + 1) * 0x28 + 0x30" (binary_expression "(iVar7 + 1) * 0x28" (parenthesized_expression "(iVar7 + 1)" (( "(") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x28")) (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (local_70 == 0) {\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" (if "if") (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }\n                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);\n                if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }\n              }" ({ "{") (if_statement "if (*param_1 == 100) {\n                  iVar23 = param_1[1];\n                }\n                else {\n                  iVar23 = param_1[3];\n                }" (if "if") (parenthesized_expression "(*param_1 == 100)" (( "(") (binary_expression "*param_1 == 100" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "100")) () ")")) (compound_statement "{\n                  iVar23 = param_1[1];\n                }" ({ "{") (expression_statement "iVar23 = param_1[1];" (assignment_expression "iVar23 = param_1[1]" (identifier "iVar23") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n                  iVar23 = param_1[3];\n                }" (else "else") (compound_statement "{\n                  iVar23 = param_1[3];\n                }" ({ "{") (expression_statement "iVar23 = param_1[3];" (assignment_expression "iVar23 = param_1[3]" (identifier "iVar23") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}")))) (expression_statement "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0)" (identifier "local_70") (= "=") (call_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)\n                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_create_function_00190a0c" (* "*") (cast_expression "(code *)PTR_sqlite3_create_function_00190a0c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_create_function_00190a0c"))) () ")")) (argument_list "(iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,\n                                      PTR_LAB_00190954 + 0x3c44,0,0)" (( "(") (identifier "iVar23") (, ",") (binary_expression "PTR_LAB_00190958 + 0x2c20" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2c20")) (, ",") (number_literal "2") (, ",") (number_literal "1") (, ",") (identifier "local_80") (, ",") (binary_expression "PTR_LAB_00190954 + 0x3c44" (identifier "PTR_LAB_00190954") (+ "+") (number_literal "0x3c44")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)) {\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" (if "if") (parenthesized_expression "((local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0))" (( "(") (binary_expression "(local_70 == 0) &&\n                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)" (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0)" (( "(") (comma_expression "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,\n                   local_70 == 0" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0)" (identifier "local_70") (= "=") (call_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)\n                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_create_function_00190a0c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_create_function_00190a0c" (* "*") (cast_expression "(code *)PTR_sqlite3_create_function_00190a0c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_create_function_00190a0c"))) () ")")) (argument_list "(param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,\n                                          PTR_LAB_00190954 + 0x3b10,0,0)" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (binary_expression "PTR_LAB_00190958 + 0x2c24" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2c24")) (, ",") (number_literal "0") (, ",") (number_literal "1") (, ",") (identifier "local_58") (, ",") (binary_expression "PTR_LAB_00190954 + 0x3b10" (identifier "PTR_LAB_00190954") (+ "+") (number_literal "0x3b10")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (, ",") (comma_expression "puVar5 = PTR_LAB_00190958,\n                   local_70 == 0" (assignment_expression "puVar5 = PTR_LAB_00190958" (identifier "puVar5") (= "=") (identifier "PTR_LAB_00190958")) (, ",") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n                  *local_80 = iVar7 + 2;\n                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);\n                  if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }\n                }" ({ "{") (expression_statement "*local_80 = iVar7 + 2;" (assignment_expression "*local_80 = iVar7 + 2" (pointer_expression "*local_80" (* "*") (identifier "local_80")) (= "=") (binary_expression "iVar7 + 2" (identifier "iVar7") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);" (assignment_expression "local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c)" (identifier "local_70") (= "=") (call_expression "(*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "&local_6c" (& "&") (identifier "local_6c")) (, ",") (identifier "param_2") (, ",") (binary_expression "puVar5 + 0x2c2c" (identifier "puVar5") (+ "+") (number_literal "0x2c2c")) () ")")))) (; ";")) (if_statement "if ((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" (if "if") (parenthesized_expression "((local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0))))" (( "(") (binary_expression "(local_70 == 0) &&\n                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))" (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)))" (( "(") (parenthesized_expression "(local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0))" (( "(") (comma_expression "local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),\n                      local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)" (assignment_expression "local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0)" (identifier "local_70") (= "=") (call_expression "(*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "&local_68" (& "&") (identifier "local_68")) (, ",") (identifier "param_2") (, ",") (binary_expression "PTR_LAB_00190958 + 0x2ca0" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2ca0")) () ")")))) (, ",") (binary_expression "local_70 == 0 &&\n                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)" (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) (&& "&&") (parenthesized_expression "(local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0)" (( "(") (comma_expression "local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),\n                      puVar5 = PTR_LAB_00190958, local_70 == 0" (assignment_expression "local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8)" (identifier "local_70") (= "=") (call_expression "(*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "&local_64" (& "&") (identifier "local_64")) (, ",") (identifier "param_2") (, ",") (binary_expression "PTR_LAB_00190958 + 0x2cd8" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2cd8")) () ")")))) (, ",") (comma_expression "puVar5 = PTR_LAB_00190958, local_70 == 0" (assignment_expression "puVar5 = PTR_LAB_00190958" (identifier "puVar5") (= "=") (identifier "PTR_LAB_00190958")) (, ",") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);\n                    local_84 = PTR_LAB_00190958;\n                    puVar21 = PTR_LAB_00190958 + 0x30a8;\n                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);\n                    lVar2 = -100000;\nLAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);\n                    if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }\n                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);\n                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);\n                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);\n                    iVar23 = *param_1;\n                    if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }\n                    uVar4 = local_64;\n                    uVar15 = local_68;\n                    local_60 = 0;\n                    local_5c = 0;\n                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);\n                    puVar24 = PTR_LAB_00190958;\n                    if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }\n                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }\n                    sqlite3_free(iVar7);\n                    sqlite3_free(uVar25);\n                    if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }\n                    sqlite3_free(uVar15);\n                    if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }\n                    piVar20 = (int *)0x0;\n                    goto LAB_000327a8;\n                  }" ({ "{") (expression_statement "dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);" (assignment_expression "dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" (identifier "dVar29") (= "=") (pointer_expression "*(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" (* "*") (cast_expression "(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648)" (( "(") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "-0x6648")) () ")"))))) (; ";")) (expression_statement "local_84 = PTR_LAB_00190958;" (assignment_expression "local_84 = PTR_LAB_00190958" (identifier "local_84") (= "=") (identifier "PTR_LAB_00190958")) (; ";")) (expression_statement "puVar21 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar21 = PTR_LAB_00190958 + 0x30a8" (identifier "puVar21") (= "=") (binary_expression "PTR_LAB_00190958 + 0x30a8" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x30a8"))) (; ";")) (expression_statement "pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c)" (identifier "pcVar9") (= "=") (cast_expression "(code *)(PTR_LAB_00190954 + 0x51c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190954 + 0x51c)" (( "(") (binary_expression "PTR_LAB_00190954 + 0x51c" (identifier "PTR_LAB_00190954") (+ "+") (number_literal "0x51c")) () ")")))) (; ";")) (expression_statement "lVar2 = -100000;" (assignment_expression "lVar2 = -100000" (identifier "lVar2") (= "=") (number_literal "-100000")) (; ";")) (labeled_statement "LAB_0003249c:\n                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);" (statement_identifier "LAB_0003249c") (: ":") (expression_statement "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c)" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_6c)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_step_00190990" (* "*") (cast_expression "(code *)PTR_sqlite3_step_00190990" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_step_00190990"))) () ")")) (argument_list "(local_6c)" (( "(") (identifier "local_6c") () ")")))) (; ";"))) (if_statement "if (iVar23 != 100) {\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }" (if "if") (parenthesized_expression "(iVar23 != 100)" (( "(") (binary_expression "iVar23 != 100" (identifier "iVar23") (!= "!=") (number_literal "100")) () ")")) (compound_statement "{\n                      iVar23 = local_70;\n                      if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }\n                      goto LAB_00032240;\n                    }" ({ "{") (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" (identifier "iVar23") (= "=") (identifier "local_70")) (; ";")) (if_statement "if ((local_70 == 0) && (*param_1 < 100)) {\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }" (if "if") (parenthesized_expression "((local_70 == 0) && (*param_1 < 100))" (( "(") (binary_expression "(local_70 == 0) && (*param_1 < 100)" (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*param_1 < 100)" (( "(") (binary_expression "*param_1 < 100" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (< "<") (number_literal "100")) () ")"))) () ")")) (compound_statement "{\n                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      }" ({ "{") (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0)" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                           (param_1[3],puVar5 + 0x2d04,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_00190a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_00190a48"))) () ")")) (argument_list "(param_1[3],puVar5 + 0x2d04,0,0,0)" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (binary_expression "puVar5 + 0x2d04" (identifier "puVar5") (+ "+") (number_literal "0x2d04")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (goto_statement "goto LAB_00032240;" (goto "goto") (statement_identifier "LAB_00032240") (; ";")) (} "}"))) (expression_statement "lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);" (assignment_expression "lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0)" (identifier "lVar30") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int64_001909a4)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_int64_001909a4" (* "*") (cast_expression "(code *)PTR_sqlite3_column_int64_001909a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_int64_001909a4"))) () ")")) (argument_list "(local_6c,0)" (( "(") (identifier "local_6c") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);" (assignment_expression "uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1)" (identifier "uVar10") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" (* "*") (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_text_001909a8"))) () ")")) (argument_list "(local_6c,1)" (( "(") (identifier "local_6c") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);" (assignment_expression "uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2)" (identifier "uVar11") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" (* "*") (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_text_001909a8"))) () ")")) (argument_list "(local_6c,2)" (( "(") (identifier "local_6c") (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "iVar23 = *param_1;" (assignment_expression "iVar23 = *param_1" (identifier "iVar23") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((iVar23 < 100) && (lVar30 != lVar2)) {\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }" (if "if") (parenthesized_expression "((iVar23 < 100) && (lVar30 != lVar2))" (( "(") (binary_expression "(iVar23 < 100) && (lVar30 != lVar2)" (parenthesized_expression "(iVar23 < 100)" (( "(") (binary_expression "iVar23 < 100" (identifier "iVar23") (< "<") (number_literal "100")) () ")")) (&& "&&") (parenthesized_expression "(lVar30 != lVar2)" (( "(") (binary_expression "lVar30 != lVar2" (identifier "lVar30") (!= "!=") (identifier "lVar2")) () ")"))) () ")")) (compound_statement "{\n                      local_44 = 0;\n                      local_48 = 0;\n                      local_3c = 0;\n                      local_40 = 0;\n                      local_50 = (double)iVar23 / dVar29;\n                      local_58[0] = iVar23;\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);\n                      if (iVar23 != 0) goto LAB_00032240;\n                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);\n                      if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }\n                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);\n                      sqlite3_free(iVar7);\n                      local_70 = iVar23;\n                      if (iVar23 != 0) goto LAB_00032240;\n                    }" ({ "{") (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" (identifier "local_44") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" (identifier "local_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_50 = (double)iVar23 / dVar29;" (assignment_expression "local_50 = (double)iVar23 / dVar29" (identifier "local_50") (= "=") (binary_expression "(double)iVar23 / dVar29" (cast_expression "(double)iVar23" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar23")) (/ "/") (identifier "dVar29"))) (; ";")) (expression_statement "local_58[0] = iVar23;" (assignment_expression "local_58[0] = iVar23" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar23")) (; ";")) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0)" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                         (param_1[3],puVar5 + 0x2d04,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_00190a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_00190a48"))) () ")")) (argument_list "(param_1[3],puVar5 + 0x2d04,0,0,0)" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (binary_expression "puVar5 + 0x2d04" (identifier "puVar5") (+ "+") (number_literal "0x2d04")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar23 != 0) goto LAB_00032240;" (if "if") (parenthesized_expression "(iVar23 != 0)" (( "(") (binary_expression "iVar23 != 0" (identifier "iVar23") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00032240;" (goto "goto") (statement_identifier "LAB_00032240") (; ";"))) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                        (PTR_LAB_00190958 + 0x2d44,uVar10)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" (* "*") (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mprintf_00190964"))) () ")")) (argument_list "(PTR_LAB_00190958 + 0x2d44,uVar10)" (( "(") (binary_expression "PTR_LAB_00190958 + 0x2d44" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2d44")) (, ",") (identifier "uVar10") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                        local_70 = 7;\n                        iVar23 = local_70;\n                        goto LAB_00032240;\n                      }" ({ "{") (expression_statement "local_70 = 7;" (assignment_expression "local_70 = 7" (identifier "local_70") (= "=") (number_literal "7")) (; ";")) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" (identifier "iVar23") (= "=") (identifier "local_70")) (; ";")) (goto_statement "goto LAB_00032240;" (goto "goto") (statement_identifier "LAB_00032240") (; ";")) (} "}"))) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0)" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_00190a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_00190a48"))) () ")")) (argument_list "(param_1[3],iVar7,0,0,0)" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "iVar7") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "sqlite3_free(iVar7);" (call_expression "sqlite3_free(iVar7)" (identifier "sqlite3_free") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" (identifier "local_70") (= "=") (identifier "iVar23")) (; ";")) (if_statement "if (iVar23 != 0) goto LAB_00032240;" (if "if") (parenthesized_expression "(iVar23 != 0)" (( "(") (binary_expression "iVar23 != 0" (identifier "iVar23") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00032240;" (goto "goto") (statement_identifier "LAB_00032240") (; ";"))) (} "}"))) (expression_statement "uVar4 = local_64;" (assignment_expression "uVar4 = local_64" (identifier "uVar4") (= "=") (identifier "local_64")) (; ";")) (expression_statement "uVar15 = local_68;" (assignment_expression "uVar15 = local_68" (identifier "uVar15") (= "=") (identifier "local_68")) (; ";")) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" (identifier "local_60") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" (identifier "local_5c") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" (* "*") (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_bind_text_00190a94"))) () ")")) (argument_list "(local_68,1,uVar11,0xffffffff,0)" (( "(") (identifier "local_68") (, ",") (number_literal "1") (, ",") (identifier "uVar11") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "puVar24 = PTR_LAB_00190958;" (assignment_expression "puVar24 = PTR_LAB_00190958" (identifier "puVar24") (= "=") (identifier "PTR_LAB_00190958")) (; ";")) (if_statement "if (local_5c == 0) {\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }\n                    else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }" (if "if") (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                      uVar25 = 0;\n                      iVar7 = 0;\n                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;\n                      iVar16 = 0;\n                      do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);\n                    }" ({ "{") (expression_statement "uVar25 = 0;" (assignment_expression "uVar25 = 0" (identifier "uVar25") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;" (assignment_expression "puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" (identifier "puVar27") (= "=") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "0x1114"))) (; ";")) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" (identifier "iVar16") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      } while (local_5c == 0);" (do "do") (compound_statement "{\n                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);\n                        iVar23 = iVar16;\n                        if (iVar14 != 100) break;\n                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);\n                        puVar22 = puVar21;\n                        if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }\n                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);\n                        iVar23 = iVar16 + 1;\n                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);\n                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);\n                        iVar16 = iVar23;\n                      }" ({ "{") (expression_statement "iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);" (assignment_expression "iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15)" (identifier "iVar14") (= "=") (call_expression "(*(code *)PTR_sqlite3_step_00190990)(uVar15)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_step_00190990" (* "*") (cast_expression "(code *)PTR_sqlite3_step_00190990" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_step_00190990"))) () ")")) (argument_list "(uVar15)" (( "(") (identifier "uVar15") () ")")))) (; ";")) (expression_statement "iVar23 = iVar16;" (assignment_expression "iVar23 = iVar16" (identifier "iVar23") (= "=") (identifier "iVar16")) (; ";")) (if_statement "if (iVar14 != 100) break;" (if "if") (parenthesized_expression "(iVar14 != 100)" (( "(") (binary_expression "iVar14 != 100" (identifier "iVar14") (!= "!=") (number_literal "100")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);" (assignment_expression "uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" (* "*") (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_text_001909a8"))) () ")")) (argument_list "(uVar15,0)" (( "(") (identifier "uVar15") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "puVar22 = puVar21;" (assignment_expression "puVar22 = puVar21" (identifier "puVar22") (= "=") (identifier "puVar21")) (; ";")) (if_statement "if (iVar7 != 0) {\n                          puVar22 = puVar27;\n                        }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                          puVar22 = puVar27;\n                        }" ({ "{") (expression_statement "puVar22 = puVar27;" (assignment_expression "puVar22 = puVar27" (identifier "puVar22") (= "=") (identifier "puVar27")) (; ";")) (} "}"))) (expression_statement "uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);" (assignment_expression "uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1)" (identifier "uVar13") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" (* "*") (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_text_001909a8"))) () ")")) (argument_list "(uVar15,1)" (( "(") (identifier "uVar15") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "iVar23 = iVar16 + 1;" (assignment_expression "iVar23 = iVar16 + 1" (identifier "iVar23") (= "=") (binary_expression "iVar16 + 1" (identifier "iVar16") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13);" (assignment_expression "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13)" (identifier "iVar7") (= "=") (call_expression "(*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13)" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,\n                                          uVar12,uVar13)" (( "(") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (identifier "iVar7") (, ",") (binary_expression "puVar24 + 0x2d90" (identifier "puVar24") (+ "+") (number_literal "0x2d90")) (, ",") (identifier "puVar22") (, ",") (identifier "uVar12") (, ",") (identifier "iVar16") (, ",") (identifier "uVar12") (, ",") (identifier "uVar13") () ")")))) (; ";")) (expression_statement "uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);" (assignment_expression "uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23)" (identifier "uVar25") (= "=") (call_expression "(*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23)" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23)" (( "(") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (identifier "uVar25") (, ",") (binary_expression "puVar24 + 0x2db4" (identifier "puVar24") (+ "+") (number_literal "0x2db4")) (, ",") (identifier "puVar22") (, ",") (identifier "iVar23") () ")")))) (; ";")) (expression_statement "iVar16 = iVar23;" (assignment_expression "iVar16 = iVar23" (identifier "iVar16") (= "=") (identifier "iVar23")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}")) (else_clause "else {\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }" (else "else") (compound_statement "{\n                      iVar23 = 0;\n                      uVar25 = 0;\n                      iVar7 = 0;\n                    }" ({ "{") (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" (identifier "iVar23") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar25 = 0;" (assignment_expression "uVar25 = 0" (identifier "uVar25") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);" (call_expression "(*(code *)PTR_sqlite3_reset_00190a5c)(uVar15)" (parenthesized_expression "(*(code *)PTR_sqlite3_reset_00190a5c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_reset_00190a5c" (* "*") (cast_expression "(code *)PTR_sqlite3_reset_00190a5c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_reset_00190a5c"))) () ")")) (argument_list "(uVar15)" (( "(") (identifier "uVar15") () ")"))) (; ";")) (if_statement "if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }\n                    else {\n                      uVar15 = 0;\n                    }" (if "if") (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                      if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }\n                    }" ({ "{") (if_statement "if (*param_1 == 100) {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }\n                      else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }" (if "if") (parenthesized_expression "(*param_1 == 100)" (( "(") (binary_expression "*param_1 == 100" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "100")) () ")")) (compound_statement "{\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);\n                      }" ({ "{") (expression_statement "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);" (assignment_expression "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25)" (identifier "uVar15") (= "=") (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" (* "*") (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mprintf_00190964"))) () ")")) (argument_list "(PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25)" (( "(") (binary_expression "PTR_LAB_00190958 + 0x2dbc" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2dbc")) (, ",") (identifier "iVar7") (, ",") (identifier "uVar10") (, ",") (identifier "uVar25") () ")")))) (; ";")) (} "}")) (else_clause "else {\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }" (else "else") (compound_statement "{\n                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);\n                      }" ({ "{") (expression_statement "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);" (assignment_expression "uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25)" (identifier "uVar15") (= "=") (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" (* "*") (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mprintf_00190964"))) () ")")) (argument_list "(PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25)" (( "(") (binary_expression "PTR_LAB_00190958 + 0x2ddc" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2ddc")) (, ",") (identifier "iVar7") (, ",") (identifier "uVar25") () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n                      uVar15 = 0;\n                    }" (else "else") (compound_statement "{\n                      uVar15 = 0;\n                    }" ({ "{") (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" (identifier "uVar15") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "sqlite3_free(iVar7);" (call_expression "sqlite3_free(iVar7)" (identifier "sqlite3_free") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "sqlite3_free(uVar25);" (call_expression "sqlite3_free(uVar25)" (identifier "sqlite3_free") (argument_list "(uVar25)" (( "(") (identifier "uVar25") () ")"))) (; ";")) (if_statement "if (local_5c == 0) {\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }" (if "if") (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                      if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }\n                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);\n                    }" ({ "{") (if_statement "if (*param_1 == 100) {\n                        iVar7 = param_1[1];\n                      }\n                      else {\n                        iVar7 = param_1[3];\n                      }" (if "if") (parenthesized_expression "(*param_1 == 100)" (( "(") (binary_expression "*param_1 == 100" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "100")) () ")")) (compound_statement "{\n                        iVar7 = param_1[1];\n                      }" ({ "{") (expression_statement "iVar7 = param_1[1];" (assignment_expression "iVar7 = param_1[1]" (identifier "iVar7") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n                        iVar7 = param_1[3];\n                      }" (else "else") (compound_statement "{\n                        iVar7 = param_1[3];\n                      }" ({ "{") (expression_statement "iVar7 = param_1[3];" (assignment_expression "iVar7 = param_1[3]" (identifier "iVar7") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}")))) (expression_statement "local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);" (assignment_expression "local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15)" (identifier "local_5c") (= "=") (call_expression "(*pcVar6)(iVar7,&local_60,param_2,uVar15)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(iVar7,&local_60,param_2,uVar15)" (( "(") (identifier "iVar7") (, ",") (pointer_expression "&local_60" (& "&") (identifier "local_60")) (, ",") (identifier "param_2") (, ",") (identifier "uVar15") () ")")))) (; ";")) (} "}"))) (expression_statement "sqlite3_free(uVar15);" (call_expression "sqlite3_free(uVar15)" (identifier "sqlite3_free") (argument_list "(uVar15)" (( "(") (identifier "uVar15") () ")"))) (; ";")) (if_statement "if (local_5c == 0) {\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }" (if "if") (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);\n                      if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;\n                      piVar17 = piVar20;\n                      do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);\nLAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }\nLAB_00032924:\n                      iVar7 = 0;\n                      goto LAB_00032928;\n                    }" ({ "{") (expression_statement "piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);" (assignment_expression "piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4)" (identifier "piVar20") (= "=") (cast_expression "(int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*pcVar28)(&local_5c,(iVar23 + 1) * 4)" (parenthesized_expression "(*pcVar28)" (( "(") (pointer_expression "*pcVar28" (* "*") (identifier "pcVar28")) () ")")) (argument_list "(&local_5c,(iVar23 + 1) * 4)" (( "(") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (binary_expression "(iVar23 + 1) * 4" (parenthesized_expression "(iVar23 + 1)" (( "(") (binary_expression "iVar23 + 1" (identifier "iVar23") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if ((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))\n                      goto LAB_000327a8;" (if "if") (parenthesized_expression "((local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))" (( "(") (binary_expression "(local_5c != 0) ||\n                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100)" (parenthesized_expression "(local_5c != 0)" (( "(") (binary_expression "local_5c != 0" (identifier "local_5c") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100)" (( "(") (comma_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_60)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_step_00190990" (* "*") (cast_expression "(code *)PTR_sqlite3_step_00190990" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_step_00190990"))) () ")")) (argument_list "(local_60)" (( "(") (identifier "local_60") () ")")))) (, ",") (binary_expression "iVar7 != 100" (identifier "iVar7") (!= "!=") (number_literal "100"))) () ")"))) () ")")) (goto_statement "goto LAB_000327a8;" (goto "goto") (statement_identifier "LAB_000327a8") (; ";"))) (expression_statement "piVar17 = piVar20;" (assignment_expression "piVar17 = piVar20" (identifier "piVar17") (= "=") (identifier "piVar20")) (; ";")) (do_statement "do {\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      } while (piVar20 + iVar23 + 1 != piVar17);" (do "do") (compound_statement "{\n                        *piVar17 = 1;\n                        piVar17 = piVar17 + 1;\n                      }" ({ "{") (expression_statement "*piVar17 = 1;" (assignment_expression "*piVar17 = 1" (pointer_expression "*piVar17" (* "*") (identifier "piVar17")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar17 = piVar17 + 1;" (assignment_expression "piVar17 = piVar17 + 1" (identifier "piVar17") (= "=") (binary_expression "piVar17 + 1" (identifier "piVar17") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar20 + iVar23 + 1 != piVar17)" (( "(") (binary_expression "piVar20 + iVar23 + 1 != piVar17" (binary_expression "piVar20 + iVar23 + 1" (binary_expression "piVar20 + iVar23" (identifier "piVar20") (+ "+") (identifier "iVar23")) (+ "+") (number_literal "1")) (!= "!=") (identifier "piVar17")) () ")")) (; ";")) (labeled_statement "LAB_00032874:\n                      if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }" (statement_identifier "LAB_00032874") (: ":") (if_statement "if (local_5c == 0) {\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }" (if "if") (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);\n                        if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }\n                        *piVar20 = *piVar20 + 1;\n                        iVar7 = 0;\n                        if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }\n                        goto LAB_00032874;\n                      }" ({ "{") (expression_statement "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_sqlite3_step_00190990)(local_60)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_step_00190990" (* "*") (cast_expression "(code *)PTR_sqlite3_step_00190990" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_step_00190990"))) () ")")) (argument_list "(local_60)" (( "(") (identifier "local_60") () ")")))) (; ";")) (if_statement "if (iVar7 != 100) {\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" (if "if") (parenthesized_expression "(iVar7 != 100)" (( "(") (binary_expression "iVar7 != 100" (identifier "iVar7") (!= "!=") (number_literal "100")) () ")")) (compound_statement "{\n                          if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }\n                          goto LAB_00032924;\n                        }" ({ "{") (if_statement "if (local_5c == 0) {\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }" (if "if") (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                            iVar16 = *piVar20;\n                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);\n                            if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }\n                            if (local_5c != 0) goto LAB_00032928;\n                            if (iVar23 == 0) goto LAB_00032a64;\n                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;\n                            piVar17 = piVar20;\n                            goto LAB_000329d0;\n                          }" ({ "{") (expression_statement "iVar16 = *piVar20;" (assignment_expression "iVar16 = *piVar20" (identifier "iVar16") (= "=") (pointer_expression "*piVar20" (* "*") (identifier "piVar20"))) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16);" (assignment_expression "iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)\n                                              (PTR_LAB_00190958 + 0x2918,iVar16)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" (* "*") (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mprintf_00190964"))) () ")")) (argument_list "(PTR_LAB_00190958 + 0x2918,iVar16)" (( "(") (binary_expression "PTR_LAB_00190958 + 0x2918" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2918")) (, ",") (identifier "iVar16") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                              local_5c = 7;\n                              goto LAB_00032928;\n                            }" ({ "{") (expression_statement "local_5c = 7;" (assignment_expression "local_5c = 7" (identifier "local_5c") (= "=") (number_literal "7")) (; ";")) (goto_statement "goto LAB_00032928;" (goto "goto") (statement_identifier "LAB_00032928") (; ";")) (} "}"))) (if_statement "if (local_5c != 0) goto LAB_00032928;" (if "if") (parenthesized_expression "(local_5c != 0)" (( "(") (binary_expression "local_5c != 0" (identifier "local_5c") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00032928;" (goto "goto") (statement_identifier "LAB_00032928") (; ";"))) (if_statement "if (iVar23 == 0) goto LAB_00032a64;" (if "if") (parenthesized_expression "(iVar23 == 0)" (( "(") (binary_expression "iVar23 == 0" (identifier "iVar23") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00032a64;" (goto "goto") (statement_identifier "LAB_00032a64") (; ";"))) (expression_statement "puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;" (assignment_expression "puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c" (identifier "puVar24") (= "=") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "-0x556c"))) (; ";")) (expression_statement "piVar17 = piVar20;" (assignment_expression "piVar17 = piVar20" (identifier "piVar17") (= "=") (identifier "piVar20")) (; ";")) (goto_statement "goto LAB_000329d0;" (goto "goto") (statement_identifier "LAB_000329d0") (; ";")) (} "}"))) (goto_statement "goto LAB_00032924;" (goto "goto") (statement_identifier "LAB_00032924") (; ";")) (} "}"))) (expression_statement "*piVar20 = *piVar20 + 1;" (assignment_expression "*piVar20 = *piVar20 + 1" (pointer_expression "*piVar20" (* "*") (identifier "piVar20")) (= "=") (binary_expression "*piVar20 + 1" (pointer_expression "*piVar20" (* "*") (identifier "piVar20")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar23 != 0) {\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }" (if "if") (parenthesized_expression "(iVar23 != 0)" (( "(") (binary_expression "iVar23 != 0" (identifier "iVar23") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                          do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);\n                        }" ({ "{") (do_statement "do {\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          } while (iVar23 != iVar7);" (do "do") (compound_statement "{\n                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);\n                            if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }\n                            iVar7 = iVar7 + 1;\n                          }" ({ "{") (expression_statement "iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);" (assignment_expression "iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7)" (identifier "iVar16") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int_00190a4c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_int_00190a4c" (* "*") (cast_expression "(code *)PTR_sqlite3_column_int_00190a4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_int_00190a4c"))) () ")")) (argument_list "(local_60,iVar7)" (( "(") (identifier "local_60") (, ",") (identifier "iVar7") () ")")))) (; ";")) (if_statement "if (iVar16 == 0) {\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }" (if "if") (parenthesized_expression "(iVar16 == 0)" (( "(") (binary_expression "iVar16 == 0" (identifier "iVar16") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                              if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }\n                              break;\n                            }" ({ "{") (if_statement "if (iVar7 < iVar23) {\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }" (if "if") (parenthesized_expression "(iVar7 < iVar23)" (( "(") (binary_expression "iVar7 < iVar23" (identifier "iVar7") (< "<") (identifier "iVar23")) () ")")) (compound_statement "{\n                                piVar17 = piVar20 + iVar7;\n                                do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);\n                              }" ({ "{") (expression_statement "piVar17 = piVar20 + iVar7;" (assignment_expression "piVar17 = piVar20 + iVar7" (identifier "piVar17") (= "=") (binary_expression "piVar20 + iVar7" (identifier "piVar20") (+ "+") (identifier "iVar7"))) (; ";")) (do_statement "do {\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                } while (piVar20 + iVar23 != piVar17);" (do "do") (compound_statement "{\n                                  piVar1 = piVar17 + 1;\n                                  piVar17 = piVar17 + 1;\n                                  *piVar17 = *piVar1 + 1;\n                                }" ({ "{") (expression_statement "piVar1 = piVar17 + 1;" (assignment_expression "piVar1 = piVar17 + 1" (identifier "piVar1") (= "=") (binary_expression "piVar17 + 1" (identifier "piVar17") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar17 = piVar17 + 1;" (assignment_expression "piVar17 = piVar17 + 1" (identifier "piVar17") (= "=") (binary_expression "piVar17 + 1" (identifier "piVar17") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*piVar17 = *piVar1 + 1;" (assignment_expression "*piVar17 = *piVar1 + 1" (pointer_expression "*piVar17" (* "*") (identifier "piVar17")) (= "=") (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar20 + iVar23 != piVar17)" (( "(") (binary_expression "piVar20 + iVar23 != piVar17" (binary_expression "piVar20 + iVar23" (identifier "piVar20") (+ "+") (identifier "iVar23")) (!= "!=") (identifier "piVar17")) () ")")) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar23 != iVar7)" (( "(") (binary_expression "iVar23 != iVar7" (identifier "iVar23") (!= "!=") (identifier "iVar7")) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_00032874;" (goto "goto") (statement_identifier "LAB_00032874") (; ";")) (} "}")))) (labeled_statement "LAB_00032924:\n                      iVar7 = 0;" (statement_identifier "LAB_00032924") (: ":") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";"))) (goto_statement "goto LAB_00032928;" (goto "goto") (statement_identifier "LAB_00032928") (; ";")) (} "}"))) (expression_statement "piVar20 = (int *)0x0;" (assignment_expression "piVar20 = (int *)0x0" (identifier "piVar20") (= "=") (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              local_80 = (int *)0x0;\n            }" (else "else") (compound_statement "{\n              local_80 = (int *)0x0;\n            }" ({ "{") (expression_statement "local_80 = (int *)0x0;" (assignment_expression "local_80 = (int *)0x0" (identifier "local_80") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (expression_statement "local_84 = PTR_LAB_00190958;" (assignment_expression "local_84 = PTR_LAB_00190958" (identifier "local_84") (= "=") (identifier "PTR_LAB_00190958")) (; ";")) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" (identifier "iVar23") (= "=") (identifier "local_70")) (; ";")) (labeled_statement "LAB_00032240:\n            local_70 = iVar23;" (statement_identifier "LAB_00032240") (: ":") (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" (identifier "local_70") (= "=") (identifier "iVar23")) (; ";"))) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c)" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_6c)" (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_6c)" (( "(") (identifier "local_6c") () ")")))) (; ";")) (if_statement "if (local_70 == 0) {\n              local_70 = iVar23;\n            }" (if "if") (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              local_70 = iVar23;\n            }" ({ "{") (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" (identifier "local_70") (= "=") (identifier "iVar23")) (; ";")) (} "}"))) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68)" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_68)" (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_68)" (( "(") (identifier "local_68") () ")")))) (; ";")) (if_statement "if (local_70 == 0) {\n              local_70 = iVar23;\n            }" (if "if") (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              local_70 = iVar23;\n            }" ({ "{") (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" (identifier "local_70") (= "=") (identifier "iVar23")) (; ";")) (} "}"))) (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64)" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_64)" (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_64)" (( "(") (identifier "local_64") () ")")))) (; ";")) (if_statement "if (local_70 == 0) {\n              local_70 = iVar23;\n            }" (if "if") (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              local_70 = iVar23;\n            }" ({ "{") (expression_statement "local_70 = iVar23;" (assignment_expression "local_70 = iVar23" (identifier "local_70") (= "=") (identifier "iVar23")) (; ";")) (} "}"))) (if_statement "if (0 < *local_80) {\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }" (if "if") (parenthesized_expression "(0 < *local_80)" (( "(") (binary_expression "0 < *local_80" (number_literal "0") (< "<") (pointer_expression "*local_80" (* "*") (identifier "local_80"))) () ")")) (compound_statement "{\n              iVar23 = 0;\n              piVar20 = local_80;\n              do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);\n            }" ({ "{") (expression_statement "iVar23 = 0;" (assignment_expression "iVar23 = 0" (identifier "iVar23") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar20 = local_80;" (assignment_expression "piVar20 = local_80" (identifier "piVar20") (= "=") (identifier "local_80")) (; ";")) (do_statement "do {\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              } while (iVar23 < *local_80);" (do "do") (compound_statement "{\n                piVar20 = piVar20 + 10;\n                iVar23 = iVar23 + 1;\n                sqlite3_free(*piVar20);\n              }" ({ "{") (expression_statement "piVar20 = piVar20 + 10;" (assignment_expression "piVar20 = piVar20 + 10" (identifier "piVar20") (= "=") (binary_expression "piVar20 + 10" (identifier "piVar20") (+ "+") (number_literal "10"))) (; ";")) (expression_statement "iVar23 = iVar23 + 1;" (assignment_expression "iVar23 = iVar23 + 1" (identifier "iVar23") (= "=") (binary_expression "iVar23 + 1" (identifier "iVar23") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "sqlite3_free(*piVar20);" (call_expression "sqlite3_free(*piVar20)" (identifier "sqlite3_free") (argument_list "(*piVar20)" (( "(") (pointer_expression "*piVar20" (* "*") (identifier "piVar20")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar23 < *local_80)" (( "(") (binary_expression "iVar23 < *local_80" (identifier "iVar23") (< "<") (pointer_expression "*local_80" (* "*") (identifier "local_80"))) () ")")) (; ";")) (} "}"))) (expression_statement "sqlite3_free(local_80);" (call_expression "sqlite3_free(local_80)" (identifier "sqlite3_free") (argument_list "(local_80)" (( "(") (identifier "local_80") () ")"))) (; ";")) (if_statement "if (local_70 == 0) {\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }" (if "if") (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);\n            }" ({ "{") (expression_statement "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0)" (identifier "local_70") (= "=") (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)\n                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_00190a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_00190a48"))) () ")")) (argument_list "(param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (binary_expression "PTR_LAB_00190958 + 0x2e24" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2e24")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);" (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_00190a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_00190a48"))) () ")")) (argument_list "(param_1[1],local_84 + 0x2d04,0,0,0)" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (binary_expression "local_84 + 0x2d04" (identifier "local_84") (+ "+") (number_literal "0x2d04")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" (identifier "iVar23") (= "=") (identifier "local_70")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }" (else "else") (compound_statement "{\n          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n        }" ({ "{") (expression_statement "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (assignment_expression "iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (identifier "iVar23") (= "=") (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" (( "(") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }" (else "else") (compound_statement "{\n        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);\n      }" ({ "{") (expression_statement "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);" (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_58[0])" (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_58[0])" (( "(") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}")))) (} "}"))) (labeled_statement "LAB_00031d34:\n    iVar7 = param_1[0xb];" (statement_identifier "LAB_00031d34") (: ":") (expression_statement "iVar7 = param_1[0xb];" (assignment_expression "iVar7 = param_1[0xb]" (identifier "iVar7") (= "=") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]"))) (; ";"))) (expression_statement "local_74 = iVar23;" (assignment_expression "local_74 = iVar23" (identifier "local_74") (= "=") (identifier "iVar23")) (; ";")) (if_statement "if (iVar7 != 0) goto LAB_00031d40;" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031d40;" (goto "goto") (statement_identifier "LAB_00031d40") (; ";"))) (} "}")) (else_clause "else {\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }" (else "else") (compound_statement "{\n    do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);\nLAB_000320ec:\n    local_74 = iVar7;\n    iVar7 = param_1[0xb];\n    iVar23 = local_74;\n    if (iVar7 == 0) goto LAB_00031db8;\nLAB_00031d40:\n    iVar23 = param_1[0x40b];\n    puVar24 = PTR_LAB_00190958 + 0x2e3c;\n    puVar21 = PTR_LAB_00190958 + 0x2a20;\n    puVar5 = PTR_LAB_00190958 + 0x30a8;\n    do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);\n  }" ({ "{") (do_statement "do {\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    } while (iVar7 == 0);" (do "do") (compound_statement "{\n      while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }\n      iVar7 = FUN_0002bdc0(param_1,iVar23);\n      iVar23 = *(int *)(iVar23 + 0x1c);\n      if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar7 = FUN_0002bdc0(param_1,iVar23,0);\n        if (iVar7 != 0) goto LAB_000320ec;\n        if (*(int *)(iVar23 + 0x10) != 0) break;\n        iVar23 = *(int *)(iVar23 + 0x1c);\n        if (iVar23 == 0) goto LAB_0003210c;\n      }" ({ "{") (expression_statement "iVar7 = FUN_0002bdc0(param_1,iVar23,0);" (assignment_expression "iVar7 = FUN_0002bdc0(param_1,iVar23,0)" (identifier "iVar7") (= "=") (call_expression "FUN_0002bdc0(param_1,iVar23,0)" (identifier "FUN_0002bdc0") (argument_list "(param_1,iVar23,0)" (( "(") (identifier "param_1") (, ",") (identifier "iVar23") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar7 != 0) goto LAB_000320ec;" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000320ec;" (goto "goto") (statement_identifier "LAB_000320ec") (; ";"))) (if_statement "if (*(int *)(iVar23 + 0x10) != 0) break;" (if "if") (parenthesized_expression "(*(int *)(iVar23 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(iVar23 + 0x10) != 0" (pointer_expression "*(int *)(iVar23 + 0x10)" (* "*") (cast_expression "(int *)(iVar23 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar23 + 0x10)" (( "(") (binary_expression "iVar23 + 0x10" (identifier "iVar23") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar23 = *(int *)(iVar23 + 0x1c);" (assignment_expression "iVar23 = *(int *)(iVar23 + 0x1c)" (identifier "iVar23") (= "=") (pointer_expression "*(int *)(iVar23 + 0x1c)" (* "*") (cast_expression "(int *)(iVar23 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar23 + 0x1c)" (( "(") (binary_expression "iVar23 + 0x1c" (identifier "iVar23") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar23 == 0) goto LAB_0003210c;" (if "if") (parenthesized_expression "(iVar23 == 0)" (( "(") (binary_expression "iVar23 == 0" (identifier "iVar23") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003210c;" (goto "goto") (statement_identifier "LAB_0003210c") (; ";"))) (} "}"))) (expression_statement "iVar7 = FUN_0002bdc0(param_1,iVar23);" (assignment_expression "iVar7 = FUN_0002bdc0(param_1,iVar23)" (identifier "iVar7") (= "=") (call_expression "FUN_0002bdc0(param_1,iVar23)" (identifier "FUN_0002bdc0") (argument_list "(param_1,iVar23)" (( "(") (identifier "param_1") (, ",") (identifier "iVar23") () ")")))) (; ";")) (expression_statement "iVar23 = *(int *)(iVar23 + 0x1c);" (assignment_expression "iVar23 = *(int *)(iVar23 + 0x1c)" (identifier "iVar23") (= "=") (pointer_expression "*(int *)(iVar23 + 0x1c)" (* "*") (cast_expression "(int *)(iVar23 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar23 + 0x1c)" (( "(") (binary_expression "iVar23 + 0x1c" (identifier "iVar23") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar23 == 0) {\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }" (if "if") (parenthesized_expression "(iVar23 == 0)" (( "(") (binary_expression "iVar23 == 0" (identifier "iVar23") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_74 = iVar7;\n        if (iVar7 == 0) goto LAB_0003211c;\n        break;\n      }" ({ "{") (expression_statement "local_74 = iVar7;" (assignment_expression "local_74 = iVar7" (identifier "local_74") (= "=") (identifier "iVar7")) (; ";")) (if_statement "if (iVar7 == 0) goto LAB_0003211c;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003211c;" (goto "goto") (statement_identifier "LAB_0003211c") (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (; ";")) (labeled_statement "LAB_000320ec:\n    local_74 = iVar7;" (statement_identifier "LAB_000320ec") (: ":") (expression_statement "local_74 = iVar7;" (assignment_expression "local_74 = iVar7" (identifier "local_74") (= "=") (identifier "iVar7")) (; ";"))) (expression_statement "iVar7 = param_1[0xb];" (assignment_expression "iVar7 = param_1[0xb]" (identifier "iVar7") (= "=") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "iVar23 = local_74;" (assignment_expression "iVar23 = local_74" (identifier "iVar23") (= "=") (identifier "local_74")) (; ";")) (if_statement "if (iVar7 == 0) goto LAB_00031db8;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00031db8;" (goto "goto") (statement_identifier "LAB_00031db8") (; ";"))) (labeled_statement "LAB_00031d40:\n    iVar23 = param_1[0x40b];" (statement_identifier "LAB_00031d40") (: ":") (expression_statement "iVar23 = param_1[0x40b];" (assignment_expression "iVar23 = param_1[0x40b]" (identifier "iVar23") (= "=") (subscript_expression "param_1[0x40b]" (identifier "param_1") ([ "[") (number_literal "0x40b") (] "]"))) (; ";"))) (expression_statement "puVar24 = PTR_LAB_00190958 + 0x2e3c;" (assignment_expression "puVar24 = PTR_LAB_00190958 + 0x2e3c" (identifier "puVar24") (= "=") (binary_expression "PTR_LAB_00190958 + 0x2e3c" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2e3c"))) (; ";")) (expression_statement "puVar21 = PTR_LAB_00190958 + 0x2a20;" (assignment_expression "puVar21 = PTR_LAB_00190958 + 0x2a20" (identifier "puVar21") (= "=") (binary_expression "PTR_LAB_00190958 + 0x2a20" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x2a20"))) (; ";")) (expression_statement "puVar5 = PTR_LAB_00190958 + 0x30a8;" (assignment_expression "puVar5 = PTR_LAB_00190958 + 0x30a8" (identifier "puVar5") (= "=") (binary_expression "PTR_LAB_00190958 + 0x30a8" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x30a8"))) (; ";")) (do_statement "do {\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    } while (iVar7 != 0);" (do "do") (compound_statement "{\n      puVar27 = puVar5;\n      if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }\n      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));\n      param_1[0x40b] = iVar23;\n      iVar7 = *(int *)(iVar7 + 0x10);\n    }" ({ "{") (expression_statement "puVar27 = puVar5;" (assignment_expression "puVar27 = puVar5" (identifier "puVar27") (= "=") (identifier "puVar5")) (; ";")) (if_statement "if (*(int *)(iVar7 + 8) != 0) {\n        puVar27 = puVar21;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar7 + 8) != 0)" (( "(") (binary_expression "*(int *)(iVar7 + 8) != 0" (pointer_expression "*(int *)(iVar7 + 8)" (* "*") (cast_expression "(int *)(iVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar27 = puVar21;\n      }" ({ "{") (expression_statement "puVar27 = puVar21;" (assignment_expression "puVar27 = puVar21" (identifier "puVar27") (= "=") (identifier "puVar21")) (; ";")) (} "}"))) (expression_statement "iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8));" (assignment_expression "iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8))" (identifier "iVar23") (= "=") (call_expression "FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8))" (identifier "FUN_0002051c") (argument_list "(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,\n                            *(int *)(iVar7 + 8))" (( "(") (pointer_expression "&local_74" (& "&") (identifier "local_74")) (, ",") (identifier "iVar23") (, ",") (identifier "puVar24") (, ",") (pointer_expression "*(undefined4 *)(iVar7 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 4)" (( "(") (binary_expression "iVar7 + 4" (identifier "iVar7") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "puVar27") (, ",") (pointer_expression "*(int *)(iVar7 + 8)" (* "*") (cast_expression "(int *)(iVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (expression_statement "param_1[0x40b] = iVar23;" (assignment_expression "param_1[0x40b] = iVar23" (subscript_expression "param_1[0x40b]" (identifier "param_1") ([ "[") (number_literal "0x40b") (] "]")) (= "=") (identifier "iVar23")) (; ";")) (expression_statement "iVar7 = *(int *)(iVar7 + 0x10);" (assignment_expression "iVar7 = *(int *)(iVar7 + 0x10)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar7 + 0x10)" (* "*") (cast_expression "(int *)(iVar7 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "iVar23 = local_74;" (assignment_expression "iVar23 = local_74" (identifier "iVar23") (= "=") (identifier "local_74")) (; ";")) (if_statement "if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {\n    param_1[8] = 1;\n  }" (if "if") (parenthesized_expression "((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0))" (( "(") (binary_expression "(local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)" (parenthesized_expression "(local_74 == 0)" (( "(") (binary_expression "local_74 == 0" (identifier "local_74") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)" (( "(") (comma_expression "iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0" (assignment_expression "iVar23 = idxFindIndexes(param_1,param_2)" (identifier "iVar23") (= "=") (call_expression "idxFindIndexes(param_1,param_2)" (identifier "idxFindIndexes") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar23 == 0" (identifier "iVar23") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    param_1[8] = 1;\n  }" ({ "{") (expression_statement "param_1[8] = 1;" (assignment_expression "param_1[8] = 1" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (labeled_statement "LAB_00031db8:\n  if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }" (statement_identifier "LAB_00031db8") (: ":") (if_statement "if (local_34 == *(int *)puVar3) {\n    return iVar23;\n  }" (if "if") (parenthesized_expression "(local_34 == *(int *)puVar3)" (( "(") (binary_expression "local_34 == *(int *)puVar3" (identifier "local_34") (== "==") (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n    return iVar23;\n  }" ({ "{") (return_statement "return iVar23;" (return "return") (identifier "iVar23") (; ";")) (} "}")))) (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 "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int **)(local_34 + 0x1c) != (int *)0x0) {\n    return **(int **)(local_34 + 0x1c) + 1;\n  }" (if "if") (parenthesized_expression "(*(int **)(local_34 + 0x1c) != (int *)0x0)" (( "(") (binary_expression "*(int **)(local_34 + 0x1c) != (int *)0x0" (pointer_expression "*(int **)(local_34 + 0x1c)" (* "*") (cast_expression "(int **)(local_34 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_34 + 0x1c)" (( "(") (binary_expression "local_34 + 0x1c" (identifier "local_34") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return **(int **)(local_34 + 0x1c) + 1;\n  }" ({ "{") (return_statement "return **(int **)(local_34 + 0x1c) + 1;" (return "return") (binary_expression "**(int **)(local_34 + 0x1c) + 1" (pointer_expression "**(int **)(local_34 + 0x1c)" (* "*") (pointer_expression "*(int **)(local_34 + 0x1c)" (* "*") (cast_expression "(int **)(local_34 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_34 + 0x1c)" (( "(") (binary_expression "local_34 + 0x1c" (identifier "local_34") (+ "+") (number_literal "0x1c")) () ")"))))) (+ "+") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (while_statement "while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }" (while "while") (parenthesized_expression "(piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17)" (( "(") (comma_expression "piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17" (assignment_expression "piVar17 = piVar17 + 1" (identifier "piVar17") (= "=") (binary_expression "piVar17 + 1" (identifier "piVar17") (+ "+") (number_literal "1"))) (, ",") (binary_expression "piVar20 + iVar23 != piVar17" (binary_expression "piVar20 + iVar23" (identifier "piVar20") (+ "+") (identifier "iVar23")) (!= "!=") (identifier "piVar17"))) () ")")) (compound_statement "{\nLAB_000329d0:\n    iVar14 = piVar17[1];\n    if (iVar14 == 0) {\n      trap(7);\n    }\n    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);\n    if (local_5c != 0) goto LAB_00032928;\n  }" ({ "{") (labeled_statement "LAB_000329d0:\n    iVar14 = piVar17[1];" (statement_identifier "LAB_000329d0") (: ":") (expression_statement "iVar14 = piVar17[1];" (assignment_expression "iVar14 = piVar17[1]" (identifier "iVar14") (= "=") (subscript_expression "piVar17[1]" (identifier "piVar17") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (if_statement "if (iVar14 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(iVar14 == 0)" (( "(") (binary_expression "iVar14 == 0" (identifier "iVar14") (== "==") (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 "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);" (assignment_expression "iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14)" (identifier "iVar7") (= "=") (call_expression "(*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14)" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14)" (( "(") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (identifier "iVar7") (, ",") (identifier "puVar24") (, ",") (binary_expression "(iVar14 / 2 + iVar16) / iVar14" (parenthesized_expression "(iVar14 / 2 + iVar16)" (( "(") (binary_expression "iVar14 / 2 + iVar16" (binary_expression "iVar14 / 2" (identifier "iVar14") (/ "/") (number_literal "2")) (+ "+") (identifier "iVar16")) () ")")) (/ "/") (identifier "iVar14")) () ")")))) (; ";")) (if_statement "if (local_5c != 0) goto LAB_00032928;" (if "if") (parenthesized_expression "(local_5c != 0)" (( "(") (binary_expression "local_5c != 0" (identifier "local_5c") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00032928;" (goto "goto") (statement_identifier "LAB_00032928") (; ";"))) (} "}"))) (labeled_statement "LAB_00032a64:\n  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);" (statement_identifier "LAB_00032a64") (: ":") (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" (* "*") (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_bind_text_00190a94"))) () ")")) (argument_list "(uVar4,1,uVar10,0xffffffff,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "1") (, ",") (identifier "uVar10") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";"))) (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" (* "*") (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_bind_text_00190a94"))) () ")")) (argument_list "(uVar4,2,uVar11,0xffffffff,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "2") (, ",") (identifier "uVar11") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);" (call_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_text_00190a94)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_bind_text_00190a94" (* "*") (cast_expression "(code *)PTR_sqlite3_bind_text_00190a94" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_bind_text_00190a94"))) () ")")) (argument_list "(uVar4,3,iVar7,0xffffffff,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "3") (, ",") (identifier "iVar7") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_step_00190990)(uVar4);" (call_expression "(*(code *)PTR_sqlite3_step_00190990)(uVar4)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_00190990)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_step_00190990" (* "*") (cast_expression "(code *)PTR_sqlite3_step_00190990" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_step_00190990"))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);" (assignment_expression "local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4)" (identifier "local_5c") (= "=") (call_expression "(*(code *)PTR_sqlite3_reset_00190a5c)(uVar4)" (parenthesized_expression "(*(code *)PTR_sqlite3_reset_00190a5c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_reset_00190a5c" (* "*") (cast_expression "(code *)PTR_sqlite3_reset_00190a5c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_reset_00190a5c"))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")")))) (; ";")) (labeled_statement "LAB_00032928:\n  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);" (statement_identifier "LAB_00032928") (: ":") (expression_statement "uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);" (assignment_expression "uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11)" (identifier "uVar10") (= "=") (call_expression "(*(code *)PTR_strlen_00190d80)(uVar11)" (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 "(uVar11)" (( "(") (identifier "uVar11") () ")")))) (; ";"))) (expression_statement "iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);" (assignment_expression "iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10)" (identifier "iVar23") (= "=") (call_expression "FUN_00021854(param_1 + 0xb,uVar11,uVar10)" (identifier "FUN_00021854") (argument_list "(param_1 + 0xb,uVar11,uVar10)" (( "(") (binary_expression "param_1 + 0xb" (identifier "param_1") (+ "+") (number_literal "0xb")) (, ",") (identifier "uVar11") (, ",") (identifier "uVar10") () ")")))) (; ";")) (if_statement "if (iVar23 == 0) {\n    sqlite3_free(iVar7);\n  }\n  else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }" (if "if") (parenthesized_expression "(iVar23 == 0)" (( "(") (binary_expression "iVar23 == 0" (identifier "iVar23") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    sqlite3_free(iVar7);\n  }" ({ "{") (expression_statement "sqlite3_free(iVar7);" (call_expression "sqlite3_free(iVar7)" (identifier "sqlite3_free") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    *(int *)(iVar23 + 8) = iVar7;\n  }" (else "else") (compound_statement "{\n    *(int *)(iVar23 + 8) = iVar7;\n  }" ({ "{") (expression_statement "*(int *)(iVar23 + 8) = iVar7;" (assignment_expression "*(int *)(iVar23 + 8) = iVar7" (pointer_expression "*(int *)(iVar23 + 8)" (* "*") (cast_expression "(int *)(iVar23 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar23 + 8)" (( "(") (binary_expression "iVar23 + 8" (identifier "iVar23") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (} "}")))) (labeled_statement "LAB_000327a8:\n  sqlite3_free(piVar20);" (statement_identifier "LAB_000327a8") (: ":") (expression_statement "sqlite3_free(piVar20);" (call_expression "sqlite3_free(piVar20)" (identifier "sqlite3_free") (argument_list "(piVar20)" (( "(") (identifier "piVar20") () ")"))) (; ";"))) (expression_statement "local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);" (assignment_expression "local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60)" (identifier "local_70") (= "=") (call_expression "(*(code *)PTR_sqlite3_finalize_00190970)(local_60)" (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_60)" (( "(") (identifier "local_60") () ")")))) (; ";")) (if_statement "if (local_5c != 0) {\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }" (if "if") (parenthesized_expression "(local_5c != 0)" (( "(") (binary_expression "local_5c != 0" (identifier "local_5c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_70 = local_5c;\n    iVar23 = local_70;\n    goto LAB_00032240;\n  }" ({ "{") (expression_statement "local_70 = local_5c;" (assignment_expression "local_70 = local_5c" (identifier "local_70") (= "=") (identifier "local_5c")) (; ";")) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" (identifier "iVar23") (= "=") (identifier "local_70")) (; ";")) (goto_statement "goto LAB_00032240;" (goto "goto") (statement_identifier "LAB_00032240") (; ";")) (} "}"))) (expression_statement "iVar23 = local_70;" (assignment_expression "iVar23 = local_70" (identifier "iVar23") (= "=") (identifier "local_70")) (; ";")) (expression_statement "lVar2 = lVar30;" (assignment_expression "lVar2 = lVar30" (identifier "lVar2") (= "=") (identifier "lVar30")) (; ";")) (if_statement "if (local_70 != 0) goto LAB_00032240;" (if "if") (parenthesized_expression "(local_70 != 0)" (( "(") (binary_expression "local_70 != 0" (identifier "local_70") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00032240;" (goto "goto") (statement_identifier "LAB_00032240") (; ";"))) (goto_statement "goto LAB_0003249c;" (goto "goto") (statement_identifier "LAB_0003249c") (; ";")) (} "}")))

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

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

{
  type_2 *psVar1;
  int *piVar2;
  int var_5;
  int var_8;
  type_3 uVar5;
  int var_10;
  void *var_22;
  type_3 *puVar8;
  type_3 uVar9;
  type_3 uVar10;
  type_3 uVar11;
  int var_21;
  type_2 *psVar13;
  type_4 *psVar14;
  int var_24;
  int var_23;
  type_5 *var_2;
  type_6 *var_3;
  type_7 *var_6;
  type_8 *pIVar19;
  char *var_27;
  int var_1;
  type_9 *pcVar21;
  double var_26;
  type_10 var_19;
  int *piStack_80;
  int var_11;
  int var_17;
  type_2 *pAllIndex;
  type_2 *pIndexXInfo;
  type_2 *pWrite;
  type_2 *pSelect;
  int var_20;
  type_2 *pX;
  double dStack_50;
  type_3 uStack_48;
  type_3 uStack_44;
  type_3 uStack_40;
  type_3 uStack_3c;
  int var_13;
  
  piVar2 = *(int **)(var_1 + 0x15f2f4);
  var_2 = p->pWrite;
  var_13 = *piVar2;
  if ((var_2 == (type_5 *)0x0) ||
     (var_5 = *(int *)(var_1 + 0x15ee2c) + 0x1114, var_2 == (type_5 *)0x0)) {
    var_3 = p->var_3;
    var_11 = 0;
    if (var_3 != (type_6 *)0x0) {
      do {
        while( true ) {
          var_5 = var_4(p,var_3,(type_11 *)0x0);
          if (var_5 != 0) goto LAB_000320ec;
          if (var_3->pOrder != (type_11 *)0x0) break;
          var_3 = var_3->pNextScan;
          if (var_3 == (type_6 *)0x0) goto LAB_0003210c;
        }
        var_5 = var_4(p,var_3,var_3->pOrder);
        var_3 = var_3->pNextScan;
        if (var_3 == (type_6 *)0x0) {
          var_11 = var_5;
          if (var_5 == 0) goto LAB_0003211c;
          break;
        }
      } while (var_5 == 0);
LAB_000320ec:
      var_11 = var_5;
      var_6 = (p->hIdx).pFirst;
      if (var_6 == (type_7 *)0x0) {
        var_5 = var_7();
        return var_5;
      }
      var_10 = *(int *)(var_1 + 0x15ee28);
      var_8 = *(int *)(var_1 + 0x15ee28);
      var_5 = *(int *)(var_1 + 0x15ee28);
      var_27 = p->zCandidates;
      do {
        var_24 = var_5 + 0x30a8;
        if (var_6->zVal2 != (char *)0x0) {
          var_24 = var_8 + 0x2a20;
        }
        var_27 = var_9(&var_11,var_27,(char *)(var_10 + 0x2e3c),var_6->zVal,var_24,
                                var_6->zVal2);
        p->zCandidates = var_27;
        var_6 = var_6->pNext;
      } while (var_6 != (type_7 *)0x0);
      var_5 = var_11;
      if ((var_11 == 0) && (var_5 = var_12(p,pzErr), var_5 == 0)) {
        p->bRun = 1;
      }
      if (var_13 == *piVar2) {
        return var_5;
      }
      (**(type_9 **)(var_1 + 0x15f2c8))();
      if (*(int **)(var_13 + 0x1c) != (int *)0x0) {
        return **(int **)(var_13 + 0x1c) + 1;
      }
      return 0;
    }
LAB_0003210c:
    var_11 = 0;
LAB_0003211c:
    var_17 = 0;
    pAllIndex = (type_2 *)0x0;
    pIndexXInfo = (type_2 *)0x0;
    pWrite = (type_2 *)0x0;
    if (p->iSample == 0) {
LAB_00032138:
      var_5 = var_14();
      return var_5;
    }
    pcVar21 = (type_9 *)(*(int *)(var_1 + 0x15ee24) + -0x2194);
    pX = (type_2 *)0x0;
    var_5 = var_15(p->dbm,&pX,pzErr,(char *)(*(int *)(var_1 + 0x15ee28) + 0x2b70));
    if (var_5 != 0) {
      (**(type_9 **)(var_16 + var_1 + 4))(pX);
      var_5 = var_14();
      return var_5;
    }
    var_5 = (**(type_9 **)(var_1 + 0x15ee60))(pX);
    if (var_5 != 100) {
      (**(type_9 **)(var_16 + var_1 + 4))(pX);
      var_5 = var_14();
      return var_5;
    }
    var_5 = (**(type_9 **)(var_1 + 0x15ef1c))(pX,0);
    var_17 = (**(type_9 **)(var_16 + var_1 + 4))(pX);
    if ((var_5 + 1 < 1) || (var_17 != 0)) goto LAB_00032138;
    var_17 = (**(type_9 **)(var_1 + 0x15ef18))(p->dbm,*(int *)(var_1 + 0x15ee28) + 0x2bfc,0,0,0);
    if (var_17 == 0) {
      piStack_80 = (int *)var_18(&var_17,(var_5 + 1) * 0x28 + 0x30);
      var_8 = var_17;
      if (var_17 == 0) {
        if (p->iSample == 100) {
          psVar14 = p->db;
        }
        else {
          psVar14 = p->dbv;
        }
        var_17 = (**(type_9 **)(var_1 + 0x15eedc))
                         (psVar14,*(int *)(var_1 + 0x15ee28) + 0x2c20,2,1,piStack_80,
                          *(int *)(var_1 + 0x15ee24) + 0x3c44,0,0);
        var_8 = var_17;
        if ((var_17 == 0) &&
           (var_17 = (**(type_9 **)(var_1 + 0x15eedc))
                             (p->db,*(int *)(var_1 + 0x15ee28) + 0x2c24,0,1,&pX,
                              *(int *)(var_1 + 0x15ee24) + 0x3b10,0,0), var_8 = var_17, var_17 == 0)) {
          var_8 = *(int *)(var_1 + 0x15ee28);
          *piStack_80 = var_5 + 2;
          var_17 = (*pcVar21)(p->dbm,&pAllIndex,pzErr,var_8 + 0x2c2c);
          var_8 = var_17;
          if ((var_17 == 0) &&
             ((var_17 = (*pcVar21)(p->dbm,&pIndexXInfo,pzErr,*(int *)(var_1 + 0x15ee28) + 0x2ca0),
              var_8 = var_17, var_17 == 0 &&
              (var_17 = (*pcVar21)(p->dbm,&pWrite,pzErr,*(int *)(var_1 + 0x15ee28) + 0x2cd8),
              var_8 = var_17, var_17 == 0)))) {
            var_26 = *(double *)(*(int *)(var_1 + 0x15ee2c) + -0x6648);
            var_5 = *(int *)(var_1 + 0x15ee28);
            var_8 = *(int *)(var_1 + 0x15ee28);
            pcVar21 = (type_9 *)(*(int *)(var_1 + 0x15ee24) + 0x51c);
            var_10 = (**(type_9 **)(var_1 + 0x15ee60))(pAllIndex);
            if (var_10 == 100) {
              var_19 = (**(type_9 **)(var_1 + 0x15ee74))(pAllIndex,0);
              uVar5 = (**(type_9 **)(var_1 + 0x15ee78))(pAllIndex,1);
              uVar9 = (**(type_9 **)(var_1 + 0x15ee78))(pAllIndex,2);
              psVar1 = pIndexXInfo;
              psVar13 = (type_2 *)p->iSample;
              if ((99 < (int)psVar13) || (var_19 == -100000)) {
                pSelect = (type_2 *)0x0;
                var_20 = 0;
                (**(type_9 **)(var_1 + 0x15ef64))(pIndexXInfo,1,uVar9,0xffffffff,0);
                if (var_20 == 0) {
                  var_10 = *(int *)(var_1 + 0x15ee2c);
                  uVar9 = 0;
                  var_23 = *(int *)(var_1 + 0x15ee28);
                  var_22 = (void *)0x0;
                  var_24 = *(int *)(var_1 + 0x15ee28);
                  var_5 = 0;
                  do {
                    var_21 = (**(type_9 **)(var_1 + 0x15ee60))(psVar1);
                    if (var_21 != 100) break;
                    uVar10 = (**(type_9 **)(var_1 + 0x15ee78))(psVar1,0);
                    var_21 = var_8 + 0x30a8;
                    if (var_22 != (void *)0x0) {
                      var_21 = var_10 + 0x1114;
                    }
                    uVar11 = (**(type_9 **)(var_1 + 0x15ee78))(psVar1,1);
                    var_22 = (void *)(*pcVar21)(&var_20,var_22,var_23 + 0x2d90,var_21,uVar10,var_5,
                                                uVar10,uVar11);
                    uVar9 = (*pcVar21)(&var_20,uVar9,var_24 + 0x2db4,var_21,var_5 + 1);
                    var_5 = var_5 + 1;
                  } while (var_20 == 0);
                }
                else {
                  uVar9 = 0;
                  var_22 = (void *)0x0;
                }
                (**(type_9 **)(var_1 + 0x15ef2c))(psVar1);
                if (var_20 == 0) {
                  if (p->iSample == 100) {
                    (**(type_9 **)(var_1 + 0x15ee34))
                              (*(int *)(var_1 + 0x15ee28) + 0x2dbc,var_22,uVar5,uVar9);
                  }
                  else {
                    (**(type_9 **)(var_1 + 0x15ee34))
                              (*(int *)(var_1 + 0x15ee28) + 0x2ddc,var_22,uVar9);
                  }
                }
                    /* WARNING: Subroutine does not return */
                var_25(var_22);
              }
              uStack_44 = 0;
              uStack_48 = 0;
              uStack_3c = 0;
              uStack_40 = 0;
              dStack_50 = (double)(int)psVar13 / var_26;
              pX = psVar13;
              var_8 = (**(type_9 **)(var_1 + 0x15ef18))(p->dbv,var_5 + 0x2d04,0,0,0);
              if (var_8 == 0) {
                var_22 = (void *)(**(type_9 **)(var_1 + 0x15ee34))
                                           (*(int *)(var_1 + 0x15ee28) + 0x2d44,uVar5);
                if (var_22 != (void *)0x0) {
                  (**(type_9 **)(var_1 + 0x15ef18))(p->dbv,var_22,0,0,0);
                    /* WARNING: Subroutine does not return */
                  var_25(var_22);
                }
                var_17 = 7;
                var_8 = var_17;
              }
            }
            else {
              var_8 = var_17;
              if (var_17 == 0) {
                pcVar21 = *(type_9 **)(var_16 + var_1 + 4);
                if (99 < p->iSample) goto LAB_00032240;
                var_8 = (**(type_9 **)(var_1 + 0x15ef18))(p->dbv,var_5 + 0x2d04,0,0,0);
              }
            }
          }
        }
      }
    }
    else {
      piStack_80 = (int *)0x0;
      var_8 = var_17;
    }
    var_17 = var_8;
    pcVar21 = *(type_9 **)(var_16 + var_1 + 4);
LAB_00032240:
    var_5 = (*pcVar21)(pAllIndex);
    if (var_17 == 0) {
      var_17 = var_5;
    }
    var_5 = (**(type_9 **)(var_16 + var_1 + 4))(pIndexXInfo);
    if (var_17 == 0) {
      var_17 = var_5;
    }
    var_5 = (**(type_9 **)(var_16 + var_1 + 4))(pWrite);
    if (var_17 == 0) {
      var_17 = var_5;
    }
    if (0 < *piStack_80) {
                    /* WARNING: Subroutine does not return */
      var_25((void *)piStack_80[10]);
    }
                    /* WARNING: Subroutine does not return */
    var_25(piStack_80);
  }
  var_8 = *(int *)(var_1 + 0x15ee28);
  pIVar19 = var_2->pTab;
  var_27 = pIVar19->zName;
  pSelect = (type_2 *)0x0;
  var_20 = 0;
  var_20 = (*(type_9 *)(*(int *)(var_1 + 0x15ee24) + -0x884))
                 (p->db,&pSelect,pzErr,*(int *)(var_1 + 0x15ee28) + 0x2a2c,var_27,var_27);
  if (var_20 == 0) {
    do {
      var_10 = (**(type_9 **)(var_1 + 0x15ee60))(pSelect);
      if (var_10 != 100) break;
      uVar5 = (**(type_9 **)(var_1 + 0x15ee78))(pSelect,0);
      var_20 = (**(type_9 **)(var_1 + 0x15ef18))(p->dbv,uVar5,0,0,pzErr);
    } while (var_20 == 0);
    pcVar21 = *(type_9 **)(var_16 + var_1 + 4);
  }
  else {
    pcVar21 = *(type_9 **)(var_16 + var_1 + 4);
  }
  var_10 = (*pcVar21)(pSelect);
  if ((var_20 == 0) && (var_20 = var_10, var_10 == 0)) {
    var_10 = *(int *)(var_1 + 0x15ee28);
    var_22 = (void *)(**(type_9 **)(var_1 + 0x15ee34))
                               (*(int *)(var_1 + 0x15ee28) + 0x2ad4,var_27,var_10 + 0x2aac);
    if (var_22 != (void *)0x0) {
      var_20 = (**(type_9 **)(var_1 + 0x15ef18))(p->dbv,var_22,0,0,pzErr);
                    /* WARNING: Subroutine does not return */
      var_25(var_22);
    }
    var_20 = 7;
    if (var_2->eOp == 0x12) goto LAB_00031fc8;
    if (var_2->eOp != 0x17) goto LAB_00031d18;
LAB_00031ef8:
    var_27 = var_9(&var_20,(char *)0x0,(char *)(var_8 + 0x2b14),var_10 + 0x2aac);
    if (0 < pIVar19->nCol) {
      var_23 = 0;
      var_10 = *(int *)(var_1 + 0x15ee28);
      var_24 = 0;
      var_8 = *(int *)(var_1 + 0x15ee28) + 0x30a8;
      do {
        var_23 = var_23 + 1;
        puVar8 = (type_3 *)((int)&pIVar19->aCol->zName + var_24);
        var_24 = var_24 + 0xc;
        var_27 = var_9(&var_20,var_27,(char *)(var_10 + 0x2b24),var_8,*puVar8);
        var_8 = var_5;
      } while (var_23 < pIVar19->nCol);
    }
  }
  else {
    if (var_2->eOp != 0x12) {
      if (var_2->eOp == 0x17) {
        var_10 = *(int *)(var_1 + 0x15ee28);
        goto LAB_00031ef8;
      }
      if (var_20 == 0) {
        var_27 = (char *)(**(type_9 **)(var_1 + 0x15ee34))
                                    (*(int *)(var_1 + 0x15ee28) + 0x2b2c,
                                     *(int *)(var_1 + 0x15ee28) + 0x2aac);
        if (var_27 != (char *)0x0) goto LAB_00031e1c;
        var_20 = 7;
      }
LAB_00031d18:
      var_27 = (char *)0x0;
      goto LAB_00031d20;
    }
    var_10 = *(int *)(var_1 + 0x15ee28);
LAB_00031fc8:
    var_27 = var_9(&var_20,(char *)0x0,(char *)(*(int *)(var_1 + 0x15ee28) + 11000),
                            var_10 + 0x2aac);
    if (0 < pIVar19->nCol) {
      var_10 = 0;
      var_24 = *(int *)(var_1 + 0x15ee28);
      var_8 = *(int *)(var_1 + 0x15ee28) + 0x30a8;
      do {
        var_27 = var_9(&var_20,var_27,(char *)(var_24 + 0x2b10),var_8);
        var_10 = var_10 + 1;
        var_8 = var_5;
      } while (var_10 < pIVar19->nCol);
    }
    var_27 = var_9(&var_20,var_27,(char *)(*(int *)(var_1 + 0x15ee28) + 0x2034));
  }
LAB_00031e1c:
  if (var_20 == 0) {
    pX = (type_2 *)0x0;
    var_20 = (**(type_9 **)(var_1 + 0x15ee38))(p->dbv,var_27,0xffffffff,&pX,0);
    var_5 = (**(type_9 **)(var_16 + var_1 + 4))(pX);
    if ((var_20 != 0) || (var_20 = var_5, var_5 != 0)) {
      var_28(p->dbv,pzErr);
                    /* WARNING: Subroutine does not return */
      var_25(var_27);
    }
  }
LAB_00031d20:
                    /* WARNING: Subroutine does not return */
  var_25(var_27);
}


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

{
  int *piVar1;
  longlong lVar2;
  undefined *puVar3;
  undefined4 uVar4;
  undefined *puVar5;
  code *pcVar6;
  int iVar7;
  undefined4 *puVar8;
  code *pcVar9;
  undefined4 uVar10;
  undefined4 uVar11;
  undefined4 uVar12;
  undefined4 uVar13;
  int iVar14;
  undefined4 uVar15;
  int iVar16;
  int *piVar17;
  undefined4 *puVar18;
  undefined4 *puVar19;
  int *piVar20;
  undefined *puVar21;
  undefined *puVar22;
  int iVar23;
  undefined *puVar24;
  undefined4 uVar25;
  undefined4 *puVar26;
  undefined *puVar27;
  code *pcVar28;
  double dVar29;
  longlong lVar30;
  undefined *local_84;
  int *local_80;
  int local_74;
  int local_70;
  undefined4 local_6c;
  undefined4 local_68;
  undefined4 local_64;
  undefined4 local_60;
  int local_5c;
  int local_58 [2];
  double local_50;
  undefined4 local_48;
  undefined4 local_44;
  undefined4 local_40;
  undefined4 local_3c;
  int local_34;
  
  puVar3 = PTR___stack_chk_guard_00190e24;
  local_34 = *(int *)PTR___stack_chk_guard_00190e24;
  if ((undefined4 *)param_1[6] != (undefined4 *)0x0) {
    puVar5 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;
    puVar19 = (undefined4 *)param_1[6];
    puVar26 = (undefined4 *)0x0;
    do {
      puVar18 = puVar19;
      puVar21 = PTR_LAB_00190958;
      puVar19 = puVar18;
      if (puVar26 != puVar18) {
        pcVar6 = (code *)(PTR_LAB_00190954 + -0x884);
        do {
          piVar20 = (int *)*puVar19;
          iVar23 = piVar20[1];
          local_60 = 0;
          local_5c = 0;
          local_5c = (*pcVar6)(param_1[1],&local_60,param_2,puVar21 + 0x2a2c,iVar23,iVar23);
          while ((local_5c == 0 &&
                 (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 == 100))) {
            uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_60,0);
            local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],uVar10,0,0,param_2);
          }
          iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);
          puVar24 = PTR_LAB_00190958;
          if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) {
            iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)
                               (PTR_LAB_00190958 + 0x2ad4,iVar23,PTR_LAB_00190958 + 0x2aac);
            if (iVar23 != 0) {
              local_5c = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar23,0,0,param_2);
              sqlite3_free(iVar23);
              goto LAB_00031cf4;
            }
            local_5c = 7;
            if (puVar19[1] == 0x12) goto LAB_00031fc8;
            if (puVar19[1] != 0x17) goto LAB_00031d18;
LAB_00031ef8:
            iVar23 = FUN_0002051c(&local_5c,0,puVar21 + 0x2b14,puVar24 + 0x2aac);
            if (0 < *piVar20) {
              iVar16 = 0;
              iVar7 = 0;
              puVar27 = PTR_LAB_00190958 + 0x2b24;
              puVar24 = PTR_LAB_00190958 + 0x30a8;
              do {
                iVar16 = iVar16 + 1;
                puVar8 = (undefined4 *)(piVar20[2] + iVar7);
                iVar7 = iVar7 + 0xc;
                iVar23 = FUN_0002051c(&local_5c,iVar23,puVar27,puVar24,*puVar8);
                puVar24 = puVar5;
              } while (iVar16 < *piVar20);
            }
LAB_00031e1c:
            if (local_5c != 0) goto LAB_00031d20;
            local_58[0] = 0;
            local_5c = (*(code *)PTR_sqlite3_prepare_v2_00190968)
                                 (param_1[3],iVar23,0xffffffff,local_58,0);
            iVar7 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);
            if ((local_5c == 0) && (local_5c = iVar7, iVar7 == 0)) goto LAB_00031d20;
            FUN_0001de18(param_1[3],param_2);
            sqlite3_free(iVar23);
          }
          else {
LAB_00031cf4:
            puVar24 = PTR_LAB_00190958;
            if (puVar19[1] == 0x12) {
LAB_00031fc8:
              uVar10 = FUN_0002051c(&local_5c,0,PTR_LAB_00190958 + 11000,puVar24 + 0x2aac);
              if (0 < *piVar20) {
                iVar23 = 0;
                puVar27 = PTR_LAB_00190958 + 0x2b10;
                puVar24 = PTR_LAB_00190958 + 0x30a8;
                do {
                  uVar10 = FUN_0002051c(&local_5c,uVar10,puVar27,puVar24);
                  iVar23 = iVar23 + 1;
                  puVar24 = puVar5;
                } while (iVar23 < *piVar20);
              }
              iVar23 = FUN_0002051c(&local_5c,uVar10,PTR_LAB_00190958 + 0x2034);
              goto LAB_00031e1c;
            }
            if (puVar19[1] == 0x17) goto LAB_00031ef8;
            if (local_5c == 0) {
              iVar23 = (*(code *)PTR_sqlite3_mprintf_00190964)
                                 (PTR_LAB_00190958 + 0x2b2c,PTR_LAB_00190958 + 0x2aac);
              if (iVar23 != 0) goto LAB_00031e1c;
              local_5c = 7;
            }
LAB_00031d18:
            iVar23 = 0;
LAB_00031d20:
            sqlite3_free(iVar23);
          }
          iVar23 = local_5c;
          if (local_5c != 0) goto LAB_00031d34;
          iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)
                             (param_1[3],PTR_LAB_00190958 + 0x2b3c,0,0,param_2);
          puVar19 = (undefined4 *)puVar19[2];
          if (iVar23 != 0) goto LAB_00031d34;
        } while (puVar19 != puVar26);
        puVar19 = (undefined4 *)param_1[6];
      }
      puVar26 = puVar18;
    } while (puVar18 != puVar19);
  }
  iVar23 = param_1[5];
  local_74 = 0;
  if (iVar23 == 0) {
LAB_0003210c:
    local_74 = 0;
LAB_0003211c:
    iVar23 = *param_1;
    local_70 = 0;
    local_6c = 0;
    local_68 = 0;
    local_64 = 0;
    if (iVar23 != 0) {
      pcVar6 = (code *)(PTR_LAB_00190954 + -0x2194);
      local_58[0] = 0;
      iVar23 = FUN_0001de6c(param_1[2],local_58,param_2,PTR_LAB_00190958 + 0x2b70);
      if (iVar23 == 0) {
        iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_58[0]);
        if (iVar23 == 100) {
          iVar7 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_58[0],0);
          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);
          local_70 = iVar23;
          if ((0 < iVar7 + 1) && (iVar23 == 0)) {
            local_70 = (*(code *)PTR_sqlite3_exec_00190a48)
                                 (param_1[2],PTR_LAB_00190958 + 0x2bfc,0,0,0);
            if (local_70 == 0) {
              pcVar28 = (code *)(PTR_LAB_00190954 + 0x368);
              local_80 = (int *)FUN_00020368(&local_70,(iVar7 + 1) * 0x28 + 0x30);
              if (local_70 == 0) {
                if (*param_1 == 100) {
                  iVar23 = param_1[1];
                }
                else {
                  iVar23 = param_1[3];
                }
                local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)
                                     (iVar23,PTR_LAB_00190958 + 0x2c20,2,1,local_80,
                                      PTR_LAB_00190954 + 0x3c44,0,0);
                if ((local_70 == 0) &&
                   (local_70 = (*(code *)PTR_sqlite3_create_function_00190a0c)
                                         (param_1[1],PTR_LAB_00190958 + 0x2c24,0,1,local_58,
                                          PTR_LAB_00190954 + 0x3b10,0,0), puVar5 = PTR_LAB_00190958,
                   local_70 == 0)) {
                  *local_80 = iVar7 + 2;
                  local_70 = (*pcVar6)(param_1[2],&local_6c,param_2,puVar5 + 0x2c2c);
                  if ((local_70 == 0) &&
                     ((local_70 = (*pcVar6)(param_1[2],&local_68,param_2,PTR_LAB_00190958 + 0x2ca0),
                      local_70 == 0 &&
                      (local_70 = (*pcVar6)(param_1[2],&local_64,param_2,PTR_LAB_00190958 + 0x2cd8),
                      puVar5 = PTR_LAB_00190958, local_70 == 0)))) {
                    dVar29 = *(double *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6648);
                    local_84 = PTR_LAB_00190958;
                    puVar21 = PTR_LAB_00190958 + 0x30a8;
                    pcVar9 = (code *)(PTR_LAB_00190954 + 0x51c);
                    lVar2 = -100000;
LAB_0003249c:
                    iVar23 = (*(code *)PTR_sqlite3_step_00190990)(local_6c);
                    if (iVar23 != 100) {
                      iVar23 = local_70;
                      if ((local_70 == 0) && (*param_1 < 100)) {
                        iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)
                                           (param_1[3],puVar5 + 0x2d04,0,0,0);
                      }
                      goto LAB_00032240;
                    }
                    lVar30 = (*(code *)PTR_sqlite3_column_int64_001909a4)(local_6c,0);
                    uVar10 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,1);
                    uVar11 = (*(code *)PTR_sqlite3_column_text_001909a8)(local_6c,2);
                    iVar23 = *param_1;
                    if ((iVar23 < 100) && (lVar30 != lVar2)) {
                      local_44 = 0;
                      local_48 = 0;
                      local_3c = 0;
                      local_40 = 0;
                      local_50 = (double)iVar23 / dVar29;
                      local_58[0] = iVar23;
                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)
                                         (param_1[3],puVar5 + 0x2d04,0,0,0);
                      if (iVar23 != 0) goto LAB_00032240;
                      iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)
                                        (PTR_LAB_00190958 + 0x2d44,uVar10);
                      if (iVar7 == 0) {
                        local_70 = 7;
                        iVar23 = local_70;
                        goto LAB_00032240;
                      }
                      iVar23 = (*(code *)PTR_sqlite3_exec_00190a48)(param_1[3],iVar7,0,0,0);
                      sqlite3_free(iVar7);
                      local_70 = iVar23;
                      if (iVar23 != 0) goto LAB_00032240;
                    }
                    uVar4 = local_64;
                    uVar15 = local_68;
                    local_60 = 0;
                    local_5c = 0;
                    (*(code *)PTR_sqlite3_bind_text_00190a94)(local_68,1,uVar11,0xffffffff,0);
                    puVar24 = PTR_LAB_00190958;
                    if (local_5c == 0) {
                      uVar25 = 0;
                      iVar7 = 0;
                      puVar27 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x1114;
                      iVar16 = 0;
                      do {
                        iVar14 = (*(code *)PTR_sqlite3_step_00190990)(uVar15);
                        iVar23 = iVar16;
                        if (iVar14 != 100) break;
                        uVar12 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,0);
                        puVar22 = puVar21;
                        if (iVar7 != 0) {
                          puVar22 = puVar27;
                        }
                        uVar13 = (*(code *)PTR_sqlite3_column_text_001909a8)(uVar15,1);
                        iVar23 = iVar16 + 1;
                        iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24 + 0x2d90,puVar22,uVar12,iVar16,
                                          uVar12,uVar13);
                        uVar25 = (*pcVar9)(&local_5c,uVar25,puVar24 + 0x2db4,puVar22,iVar23);
                        iVar16 = iVar23;
                      } while (local_5c == 0);
                    }
                    else {
                      iVar23 = 0;
                      uVar25 = 0;
                      iVar7 = 0;
                    }
                    (*(code *)PTR_sqlite3_reset_00190a5c)(uVar15);
                    if (local_5c == 0) {
                      if (*param_1 == 100) {
                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)
                                           (PTR_LAB_00190958 + 0x2dbc,iVar7,uVar10,uVar25);
                      }
                      else {
                        uVar15 = (*(code *)PTR_sqlite3_mprintf_00190964)
                                           (PTR_LAB_00190958 + 0x2ddc,iVar7,uVar25);
                      }
                    }
                    else {
                      uVar15 = 0;
                    }
                    sqlite3_free(iVar7);
                    sqlite3_free(uVar25);
                    if (local_5c == 0) {
                      if (*param_1 == 100) {
                        iVar7 = param_1[1];
                      }
                      else {
                        iVar7 = param_1[3];
                      }
                      local_5c = (*pcVar6)(iVar7,&local_60,param_2,uVar15);
                    }
                    sqlite3_free(uVar15);
                    if (local_5c == 0) {
                      piVar20 = (int *)(*pcVar28)(&local_5c,(iVar23 + 1) * 4);
                      if ((local_5c != 0) ||
                         (iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60), iVar7 != 100))
                      goto LAB_000327a8;
                      piVar17 = piVar20;
                      do {
                        *piVar17 = 1;
                        piVar17 = piVar17 + 1;
                      } while (piVar20 + iVar23 + 1 != piVar17);
LAB_00032874:
                      if (local_5c == 0) {
                        iVar7 = (*(code *)PTR_sqlite3_step_00190990)(local_60);
                        if (iVar7 != 100) {
                          if (local_5c == 0) {
                            iVar16 = *piVar20;
                            iVar7 = (*(code *)PTR_sqlite3_mprintf_00190964)
                                              (PTR_LAB_00190958 + 0x2918,iVar16);
                            if (iVar7 == 0) {
                              local_5c = 7;
                              goto LAB_00032928;
                            }
                            if (local_5c != 0) goto LAB_00032928;
                            if (iVar23 == 0) goto LAB_00032a64;
                            puVar24 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x556c;
                            piVar17 = piVar20;
                            goto LAB_000329d0;
                          }
                          goto LAB_00032924;
                        }
                        *piVar20 = *piVar20 + 1;
                        iVar7 = 0;
                        if (iVar23 != 0) {
                          do {
                            iVar16 = (*(code *)PTR_sqlite3_column_int_00190a4c)(local_60,iVar7);
                            if (iVar16 == 0) {
                              if (iVar7 < iVar23) {
                                piVar17 = piVar20 + iVar7;
                                do {
                                  piVar1 = piVar17 + 1;
                                  piVar17 = piVar17 + 1;
                                  *piVar17 = *piVar1 + 1;
                                } while (piVar20 + iVar23 != piVar17);
                              }
                              break;
                            }
                            iVar7 = iVar7 + 1;
                          } while (iVar23 != iVar7);
                        }
                        goto LAB_00032874;
                      }
LAB_00032924:
                      iVar7 = 0;
                      goto LAB_00032928;
                    }
                    piVar20 = (int *)0x0;
                    goto LAB_000327a8;
                  }
                }
              }
            }
            else {
              local_80 = (int *)0x0;
            }
            local_84 = PTR_LAB_00190958;
            iVar23 = local_70;
LAB_00032240:
            local_70 = iVar23;
            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_6c);
            if (local_70 == 0) {
              local_70 = iVar23;
            }
            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_68);
            if (local_70 == 0) {
              local_70 = iVar23;
            }
            iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_64);
            if (local_70 == 0) {
              local_70 = iVar23;
            }
            if (0 < *local_80) {
              iVar23 = 0;
              piVar20 = local_80;
              do {
                piVar20 = piVar20 + 10;
                iVar23 = iVar23 + 1;
                sqlite3_free(*piVar20);
              } while (iVar23 < *local_80);
            }
            sqlite3_free(local_80);
            if (local_70 == 0) {
              local_70 = (*(code *)PTR_sqlite3_exec_00190a48)
                                   (param_1[2],PTR_LAB_00190958 + 0x2e24,0,0,0);
            }
            (*(code *)PTR_sqlite3_exec_00190a48)(param_1[1],local_84 + 0x2d04,0,0,0);
            iVar23 = local_70;
          }
        }
        else {
          iVar23 = (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);
        }
      }
      else {
        (*(code *)PTR_sqlite3_finalize_00190970)(local_58[0]);
      }
    }
LAB_00031d34:
    iVar7 = param_1[0xb];
    local_74 = iVar23;
    if (iVar7 != 0) goto LAB_00031d40;
  }
  else {
    do {
      while( true ) {
        iVar7 = FUN_0002bdc0(param_1,iVar23,0);
        if (iVar7 != 0) goto LAB_000320ec;
        if (*(int *)(iVar23 + 0x10) != 0) break;
        iVar23 = *(int *)(iVar23 + 0x1c);
        if (iVar23 == 0) goto LAB_0003210c;
      }
      iVar7 = FUN_0002bdc0(param_1,iVar23);
      iVar23 = *(int *)(iVar23 + 0x1c);
      if (iVar23 == 0) {
        local_74 = iVar7;
        if (iVar7 == 0) goto LAB_0003211c;
        break;
      }
    } while (iVar7 == 0);
LAB_000320ec:
    local_74 = iVar7;
    iVar7 = param_1[0xb];
    iVar23 = local_74;
    if (iVar7 == 0) goto LAB_00031db8;
LAB_00031d40:
    iVar23 = param_1[0x40b];
    puVar24 = PTR_LAB_00190958 + 0x2e3c;
    puVar21 = PTR_LAB_00190958 + 0x2a20;
    puVar5 = PTR_LAB_00190958 + 0x30a8;
    do {
      puVar27 = puVar5;
      if (*(int *)(iVar7 + 8) != 0) {
        puVar27 = puVar21;
      }
      iVar23 = FUN_0002051c(&local_74,iVar23,puVar24,*(undefined4 *)(iVar7 + 4),puVar27,
                            *(int *)(iVar7 + 8));
      param_1[0x40b] = iVar23;
      iVar7 = *(int *)(iVar7 + 0x10);
    } while (iVar7 != 0);
  }
  iVar23 = local_74;
  if ((local_74 == 0) && (iVar23 = idxFindIndexes(param_1,param_2), iVar23 == 0)) {
    param_1[8] = 1;
  }
LAB_00031db8:
  if (local_34 == *(int *)puVar3) {
    return iVar23;
  }
  (*(code *)PTR___stack_chk_fail_00190df8)();
  if (*(int **)(local_34 + 0x1c) != (int *)0x0) {
    return **(int **)(local_34 + 0x1c) + 1;
  }
  return 0;
  while (piVar17 = piVar17 + 1, piVar20 + iVar23 != piVar17) {
LAB_000329d0:
    iVar14 = piVar17[1];
    if (iVar14 == 0) {
      trap(7);
    }
    iVar7 = (*pcVar9)(&local_5c,iVar7,puVar24,(iVar14 / 2 + iVar16) / iVar14);
    if (local_5c != 0) goto LAB_00032928;
  }
LAB_00032a64:
  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,1,uVar10,0xffffffff,0);
  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,2,uVar11,0xffffffff,0);
  (*(code *)PTR_sqlite3_bind_text_00190a94)(uVar4,3,iVar7,0xffffffff,0);
  (*(code *)PTR_sqlite3_step_00190990)(uVar4);
  local_5c = (*(code *)PTR_sqlite3_reset_00190a5c)(uVar4);
LAB_00032928:
  uVar10 = (*(code *)PTR_strlen_00190d80)(uVar11);
  iVar23 = FUN_00021854(param_1 + 0xb,uVar11,uVar10);
  if (iVar23 == 0) {
    sqlite3_free(iVar7);
  }
  else {
    *(int *)(iVar23 + 8) = iVar7;
  }
LAB_000327a8:
  sqlite3_free(piVar20);
  local_70 = (*(code *)PTR_sqlite3_finalize_00190970)(local_60);
  if (local_5c != 0) {
    local_70 = local_5c;
    iVar23 = local_70;
    goto LAB_00032240;
  }
  iVar23 = local_70;
  lVar2 = lVar30;
  if (local_70 != 0) goto LAB_00032240;
  goto LAB_0003249c;
}

