; LLVM IR from ibr-ds/STANlite :: Enclave/sqlite (vdbeblob)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.VdbeOpList = type { i8, i8, i8, i8 }
%struct.sqlite3 = type { ptr, ptr, ptr, ptr, ptr, i32, i32, i64, i64, i32, i32, i32, i32, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, [12 x i32], i32, %struct.sqlite3InitInfo, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %union.anon, %struct.Lookaside, ptr, ptr, ptr, ptr, i32, i32, %struct.Hash, ptr, ptr, ptr, %struct.Hash, %struct.Hash, %struct.BusyHandler, [2 x %struct.Db], ptr, i32, i32, i32, i64, i64, ptr }
%struct.sqlite3InitInfo = type { i32, i8, i8, i8, i8 }
%union.anon = type { double }
%struct.Lookaside = type { i32, i16, i8, i32, i32, [3 x i32], ptr, ptr, ptr }
%struct.Hash = type { i32, i32, ptr, ptr }
%struct.BusyHandler = type { ptr, ptr, i32 }
%struct.Db = type { ptr, ptr, i8, i8, ptr }
%struct.Parse = type { ptr, ptr, ptr, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, %struct.Token, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i8, i8, i8, [10 x %struct.yColCache], [8 x i32], %struct.Token, %struct.Token, i16, i8, i8, i8, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.Token, ptr, ptr, ptr, ptr, ptr }
%struct.yColCache = type { i32, i16, i8, i32, i32, i32 }
%struct.Token = type { ptr, i32 }
%struct.Table = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i16, i16, i16, i16, i8, i32, i32, ptr, ptr, ptr, ptr, ptr }
%struct.Incrblob = type { i32, i32, i16, ptr, ptr, ptr, ptr, ptr }
%struct.Column = type { ptr, ptr, ptr, i8, i8, i8, i8 }
%struct.FKey = type { ptr, ptr, ptr, ptr, ptr, i32, i8, [2 x i8], [2 x ptr], [1 x %struct.sColMap] }
%struct.sColMap = type { i32, ptr }
%struct.Index = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i16, i16, i16, i8, i8 }
%struct.Schema = type { i32, i32, %struct.Hash, %struct.Hash, %struct.Hash, %struct.Hash, ptr, i8, i8, i16, i32 }
%struct.VdbeOp = type { i8, i8, i16, i32, i32, i32, %union.p4union }
%union.p4union = type { ptr }

@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [34 x i8], align 1
@sqlite3_blob_open.openBlob = external hidden constant [6 x %struct.VdbeOpList], align 16
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_blob_open(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store i64 %4, ptr %13, align 8, !tbaa !9
  store i32 %5, ptr %14, align 4, !tbaa !11
  store ptr %6, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  store ptr null, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  store ptr null, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  store ptr null, ptr %22, align 8, !tbaa !5
  %32 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr null, ptr %32, align 8, !tbaa !5
  %33 = load i32, ptr %14, align 4, !tbaa !11
  %34 = icmp ne i32 %33, 0
  %35 = xor i1 %34, true
  %36 = xor i1 %35, true
  %37 = zext i1 %36 to i32
  store i32 %37, ptr %14, align 4, !tbaa !11
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.sqlite3, ptr %38, i32 0, i32 3
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  call void @sqlite3_mutex_enter(ptr noundef %40)
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = call ptr @sqlite3DbMallocZero(ptr noundef %41, i64 noundef 56)
  store ptr %42, ptr %22, align 8, !tbaa !5
  %43 = load ptr, ptr %22, align 8, !tbaa !5
  %44 = icmp ne ptr %43, null
  br i1 %44, label %46, label %45

45:                                               ; preds = %7
  br label %416

46:                                               ; preds = %7
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = call ptr @sqlite3DbMallocRaw(ptr noundef %47, i64 noundef 592)
  store ptr %48, ptr %21, align 8, !tbaa !5
  %49 = load ptr, ptr %21, align 8, !tbaa !5
  %50 = icmp ne ptr %49, null
  br i1 %50, label %52, label %51

51:                                               ; preds = %46
  br label %416

52:                                               ; preds = %46
  br label %53

53:                                               ; preds = %413, %52
  %54 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %54, i8 0, i64 592, i1 false)
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = load ptr, ptr %21, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.Parse, ptr %56, i32 0, i32 0
  store ptr %55, ptr %57, align 8, !tbaa !20
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = load ptr, ptr %19, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %58, ptr noundef %59)
  store ptr null, ptr %19, align 8, !tbaa !5
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  call void @sqlite3BtreeEnterAll(ptr noundef %60)
  %61 = load ptr, ptr %21, align 8, !tbaa !5
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = call ptr @sqlite3LocateTable(ptr noundef %61, i32 noundef 0, ptr noundef %62, ptr noundef %63)
  store ptr %64, ptr %20, align 8, !tbaa !5
  %65 = load ptr, ptr %20, align 8, !tbaa !5
  %66 = icmp ne ptr %65, null
  br i1 %66, label %67, label %75

67:                                               ; preds = %53
  %68 = load ptr, ptr %20, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.Table, ptr %68, i32 0, i32 16
  %70 = load i32, ptr %69, align 4, !tbaa !23
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %75

72:                                               ; preds = %67
  store ptr null, ptr %20, align 8, !tbaa !5
  %73 = load ptr, ptr %21, align 8, !tbaa !5
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  call void (ptr, ptr, ...) @sqlite3ErrorMsg(ptr noundef %73, ptr noundef @.str, ptr noundef %74)
  br label %75

75:                                               ; preds = %72, %67, %53
  %76 = load ptr, ptr %20, align 8, !tbaa !5
  %77 = icmp ne ptr %76, null
  br i1 %77, label %78, label %87

78:                                               ; preds = %75
  %79 = load ptr, ptr %20, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.Table, ptr %79, i32 0, i32 9
  %81 = load i32, ptr %80, align 8, !tbaa !25
  %82 = and i32 %81, 32
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %87, label %84

84:                                               ; preds = %78
  store ptr null, ptr %20, align 8, !tbaa !5
  %85 = load ptr, ptr %21, align 8, !tbaa !5
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  call void (ptr, ptr, ...) @sqlite3ErrorMsg(ptr noundef %85, ptr noundef @.str.1, ptr noundef %86)
  br label %87

87:                                               ; preds = %84, %78, %75
  %88 = load ptr, ptr %20, align 8, !tbaa !5
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %98

90:                                               ; preds = %87
  %91 = load ptr, ptr %20, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.Table, ptr %91, i32 0, i32 3
  %93 = load ptr, ptr %92, align 8, !tbaa !26
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %98

95:                                               ; preds = %90
  store ptr null, ptr %20, align 8, !tbaa !5
  %96 = load ptr, ptr %21, align 8, !tbaa !5
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  call void (ptr, ptr, ...) @sqlite3ErrorMsg(ptr noundef %96, ptr noundef @.str.2, ptr noundef %97)
  br label %98

98:                                               ; preds = %95, %90, %87
  %99 = load ptr, ptr %20, align 8, !tbaa !5
  %100 = icmp ne ptr %99, null
  br i1 %100, label %116, label %101

101:                                              ; preds = %98
  %102 = load ptr, ptr %21, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.Parse, ptr %102, i32 0, i32 1
  %104 = load ptr, ptr %103, align 8, !tbaa !27
  %105 = icmp ne ptr %104, null
  br i1 %105, label %106, label %114

106:                                              ; preds = %101
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = load ptr, ptr %19, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %107, ptr noundef %108)
  %109 = load ptr, ptr %21, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.Parse, ptr %109, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !27
  store ptr %111, ptr %19, align 8, !tbaa !5
  %112 = load ptr, ptr %21, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.Parse, ptr %112, i32 0, i32 1
  store ptr null, ptr %113, align 8, !tbaa !27
  br label %114

114:                                              ; preds = %106, %101
  store i32 1, ptr %18, align 4, !tbaa !11
  %115 = load ptr, ptr %9, align 8, !tbaa !5
  call void @sqlite3BtreeLeaveAll(ptr noundef %115)
  br label %416

116:                                              ; preds = %98
  %117 = load ptr, ptr %20, align 8, !tbaa !5
  %118 = load ptr, ptr %22, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.Incrblob, ptr %118, i32 0, i32 7
  store ptr %117, ptr %119, align 8, !tbaa !28
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.sqlite3, ptr %120, i32 0, i32 4
  %122 = load ptr, ptr %121, align 8, !tbaa !30
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = load ptr, ptr %20, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.Table, ptr %124, i32 0, i32 20
  %126 = load ptr, ptr %125, align 8, !tbaa !31
  %127 = call i32 @sqlite3SchemaToIndex(ptr noundef %123, ptr noundef %126)
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds %struct.Db, ptr %122, i64 %128
  %130 = getelementptr inbounds %struct.Db, ptr %129, i32 0, i32 0
  %131 = load ptr, ptr %130, align 8, !tbaa !32
  %132 = load ptr, ptr %22, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.Incrblob, ptr %132, i32 0, i32 6
  store ptr %131, ptr %133, align 8, !tbaa !34
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %134

134:                                              ; preds = %155, %116
  %135 = load i32, ptr %17, align 4, !tbaa !11
  %136 = load ptr, ptr %20, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.Table, ptr %136, i32 0, i32 11
  %138 = load i16, ptr %137, align 2, !tbaa !35
  %139 = sext i16 %138 to i32
  %140 = icmp slt i32 %135, %139
  br i1 %140, label %141, label %158

141:                                              ; preds = %134
  %142 = load ptr, ptr %20, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.Table, ptr %142, i32 0, i32 1
  %144 = load ptr, ptr %143, align 8, !tbaa !36
  %145 = load i32, ptr %17, align 4, !tbaa !11
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds %struct.Column, ptr %144, i64 %146
  %148 = getelementptr inbounds %struct.Column, ptr %147, i32 0, i32 0
  %149 = load ptr, ptr %148, align 8, !tbaa !37
  %150 = load ptr, ptr %12, align 8, !tbaa !5
  %151 = call i32 @sqlite3StrICmp(ptr noundef %149, ptr noundef %150)
  %152 = icmp eq i32 %151, 0
  br i1 %152, label %153, label %154

153:                                              ; preds = %141
  br label %158

154:                                              ; preds = %141
  br label %155

155:                                              ; preds = %154
  %156 = load i32, ptr %17, align 4, !tbaa !11
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %17, align 4, !tbaa !11
  br label %134, !llvm.loop !39

158:                                              ; preds = %153, %134
  %159 = load i32, ptr %17, align 4, !tbaa !11
  %160 = load ptr, ptr %20, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.Table, ptr %160, i32 0, i32 11
  %162 = load i16, ptr %161, align 2, !tbaa !35
  %163 = sext i16 %162 to i32
  %164 = icmp eq i32 %159, %163
  br i1 %164, label %165, label %172

165:                                              ; preds = %158
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = load ptr, ptr %19, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %166, ptr noundef %167)
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = load ptr, ptr %12, align 8, !tbaa !5
  %170 = call ptr (ptr, ptr, ...) @sqlite3MPrintf(ptr noundef %168, ptr noundef @.str.3, ptr noundef %169)
  store ptr %170, ptr %19, align 8, !tbaa !5
  store i32 1, ptr %18, align 4, !tbaa !11
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  call void @sqlite3BtreeLeaveAll(ptr noundef %171)
  br label %416

172:                                              ; preds = %158
  %173 = load i32, ptr %14, align 4, !tbaa !11
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %276

175:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store ptr null, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %176 = load ptr, ptr %9, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.sqlite3, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %177, align 4, !tbaa !41
  %179 = and i32 %178, 524288
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %216

181:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %182 = load ptr, ptr %20, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.Table, ptr %182, i32 0, i32 4
  %184 = load ptr, ptr %183, align 8, !tbaa !42
  store ptr %184, ptr %25, align 8, !tbaa !5
  br label %185

185:                                              ; preds = %211, %181
  %186 = load ptr, ptr %25, align 8, !tbaa !5
  %187 = icmp ne ptr %186, null
  br i1 %187, label %188, label %215

188:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  store i32 0, ptr %26, align 4, !tbaa !11
  br label %189

189:                                              ; preds = %207, %188
  %190 = load i32, ptr %26, align 4, !tbaa !11
  %191 = load ptr, ptr %25, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.FKey, ptr %191, i32 0, i32 5
  %193 = load i32, ptr %192, align 8, !tbaa !43
  %194 = icmp slt i32 %190, %193
  br i1 %194, label %195, label %210

195:                                              ; preds = %189
  %196 = load ptr, ptr %25, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.FKey, ptr %196, i32 0, i32 9
  %198 = load i32, ptr %26, align 4, !tbaa !11
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [1 x %struct.sColMap], ptr %197, i64 0, i64 %199
  %201 = getelementptr inbounds %struct.sColMap, ptr %200, i32 0, i32 0
  %202 = load i32, ptr %201, align 8, !tbaa !45
  %203 = load i32, ptr %17, align 4, !tbaa !11
  %204 = icmp eq i32 %202, %203
  br i1 %204, label %205, label %206

205:                                              ; preds = %195
  store ptr @.str.4, ptr %23, align 8, !tbaa !5
  br label %206

206:                                              ; preds = %205, %195
  br label %207

207:                                              ; preds = %206
  %208 = load i32, ptr %26, align 4, !tbaa !11
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %26, align 4, !tbaa !11
  br label %189, !llvm.loop !47

210:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  br label %211

211:                                              ; preds = %210
  %212 = load ptr, ptr %25, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.FKey, ptr %212, i32 0, i32 1
  %214 = load ptr, ptr %213, align 8, !tbaa !48
  store ptr %214, ptr %25, align 8, !tbaa !5
  br label %185, !llvm.loop !49

215:                                              ; preds = %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  br label %216

216:                                              ; preds = %215, %175
  %217 = load ptr, ptr %20, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.Table, ptr %217, i32 0, i32 2
  %219 = load ptr, ptr %218, align 8, !tbaa !50
  store ptr %219, ptr %24, align 8, !tbaa !5
  br label %220

220:                                              ; preds = %258, %216
  %221 = load ptr, ptr %24, align 8, !tbaa !5
  %222 = icmp ne ptr %221, null
  br i1 %222, label %223, label %262

223:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  store i32 0, ptr %27, align 4, !tbaa !11
  br label %224

224:                                              ; preds = %254, %223
  %225 = load i32, ptr %27, align 4, !tbaa !11
  %226 = load ptr, ptr %24, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.Index, ptr %226, i32 0, i32 13
  %228 = load i16, ptr %227, align 2, !tbaa !51
  %229 = zext i16 %228 to i32
  %230 = icmp slt i32 %225, %229
  br i1 %230, label %231, label %257

231:                                              ; preds = %224
  %232 = load ptr, ptr %24, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.Index, ptr %232, i32 0, i32 1
  %234 = load ptr, ptr %233, align 8, !tbaa !53
  %235 = load i32, ptr %27, align 4, !tbaa !11
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds i16, ptr %234, i64 %236
  %238 = load i16, ptr %237, align 2, !tbaa !54
  %239 = sext i16 %238 to i32
  %240 = load i32, ptr %17, align 4, !tbaa !11
  %241 = icmp eq i32 %239, %240
  br i1 %241, label %252, label %242

242:                                              ; preds = %231
  %243 = load ptr, ptr %24, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.Index, ptr %243, i32 0, i32 1
  %245 = load ptr, ptr %244, align 8, !tbaa !53
  %246 = load i32, ptr %27, align 4, !tbaa !11
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds i16, ptr %245, i64 %247
  %249 = load i16, ptr %248, align 2, !tbaa !54
  %250 = sext i16 %249 to i32
  %251 = icmp eq i32 %250, -2
  br i1 %251, label %252, label %253

252:                                              ; preds = %242, %231
  store ptr @.str.5, ptr %23, align 8, !tbaa !5
  br label %253

253:                                              ; preds = %252, %242
  br label %254

254:                                              ; preds = %253
  %255 = load i32, ptr %27, align 4, !tbaa !11
  %256 = add nsw i32 %255, 1
  store i32 %256, ptr %27, align 4, !tbaa !11
  br label %224, !llvm.loop !55

257:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  br label %258

258:                                              ; preds = %257
  %259 = load ptr, ptr %24, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.Index, ptr %259, i32 0, i32 5
  %261 = load ptr, ptr %260, align 8, !tbaa !56
  store ptr %261, ptr %24, align 8, !tbaa !5
  br label %220, !llvm.loop !57

262:                                              ; preds = %220
  %263 = load ptr, ptr %23, align 8, !tbaa !5
  %264 = icmp ne ptr %263, null
  br i1 %264, label %265, label %272

265:                                              ; preds = %262
  %266 = load ptr, ptr %9, align 8, !tbaa !5
  %267 = load ptr, ptr %19, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %266, ptr noundef %267)
  %268 = load ptr, ptr %9, align 8, !tbaa !5
  %269 = load ptr, ptr %23, align 8, !tbaa !5
  %270 = call ptr (ptr, ptr, ...) @sqlite3MPrintf(ptr noundef %268, ptr noundef @.str.6, ptr noundef %269)
  store ptr %270, ptr %19, align 8, !tbaa !5
  store i32 1, ptr %18, align 4, !tbaa !11
  %271 = load ptr, ptr %9, align 8, !tbaa !5
  call void @sqlite3BtreeLeaveAll(ptr noundef %271)
  store i32 2, ptr %28, align 4
  br label %273

272:                                              ; preds = %262
  store i32 0, ptr %28, align 4
  br label %273

273:                                              ; preds = %272, %265
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  %274 = load i32, ptr %28, align 4
  switch i32 %274, label %464 [
    i32 0, label %275
    i32 2, label %416
  ]

275:                                              ; preds = %273
  br label %276

276:                                              ; preds = %275, %172
  %277 = load ptr, ptr %21, align 8, !tbaa !5
  %278 = call ptr @sqlite3VdbeCreate(ptr noundef %277)
  %279 = load ptr, ptr %22, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.Incrblob, ptr %279, i32 0, i32 4
  store ptr %278, ptr %280, align 8, !tbaa !58
  %281 = load ptr, ptr %22, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.Incrblob, ptr %281, i32 0, i32 4
  %283 = load ptr, ptr %282, align 8, !tbaa !58
  %284 = icmp ne ptr %283, null
  br i1 %284, label %285, label %388

285:                                              ; preds = %276
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  %286 = load ptr, ptr %22, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.Incrblob, ptr %286, i32 0, i32 4
  %288 = load ptr, ptr %287, align 8, !tbaa !58
  store ptr %288, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %289 = load ptr, ptr %9, align 8, !tbaa !5
  %290 = load ptr, ptr %20, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.Table, ptr %290, i32 0, i32 20
  %292 = load ptr, ptr %291, align 8, !tbaa !31
  %293 = call i32 @sqlite3SchemaToIndex(ptr noundef %289, ptr noundef %292)
  store i32 %293, ptr %30, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  %294 = load ptr, ptr %29, align 8, !tbaa !5
  %295 = load i32, ptr %30, align 4, !tbaa !11
  %296 = load i32, ptr %14, align 4, !tbaa !11
  %297 = load ptr, ptr %20, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.Table, ptr %297, i32 0, i32 20
  %299 = load ptr, ptr %298, align 8, !tbaa !31
  %300 = getelementptr inbounds %struct.Schema, ptr %299, i32 0, i32 0
  %301 = load i32, ptr %300, align 8, !tbaa !59
  %302 = load ptr, ptr %20, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.Table, ptr %302, i32 0, i32 20
  %304 = load ptr, ptr %303, align 8, !tbaa !31
  %305 = getelementptr inbounds %struct.Schema, ptr %304, i32 0, i32 1
  %306 = load i32, ptr %305, align 4, !tbaa !61
  %307 = call i32 @sqlite3VdbeAddOp4Int(ptr noundef %294, i32 noundef 2, i32 noundef %295, i32 noundef %296, i32 noundef %301, i32 noundef %306)
  %308 = load ptr, ptr %29, align 8, !tbaa !5
  call void @sqlite3VdbeChangeP5(ptr noundef %308, i16 noundef zeroext 1)
  %309 = load ptr, ptr %29, align 8, !tbaa !5
  %310 = call ptr @sqlite3VdbeAddOpList(ptr noundef %309, i32 noundef 6, ptr noundef @sqlite3_blob_open.openBlob, i32 noundef 0)
  store ptr %310, ptr %31, align 8, !tbaa !5
  %311 = load ptr, ptr %29, align 8, !tbaa !5
  %312 = load i32, ptr %30, align 4, !tbaa !11
  call void @sqlite3VdbeUsesBtree(ptr noundef %311, i32 noundef %312)
  %313 = load ptr, ptr %9, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.sqlite3, ptr %313, i32 0, i32 17
  %315 = load i8, ptr %314, align 1, !tbaa !62
  %316 = zext i8 %315 to i32
  %317 = icmp eq i32 %316, 0
  br i1 %317, label %318, label %337

318:                                              ; preds = %285
  %319 = load i32, ptr %30, align 4, !tbaa !11
  %320 = load ptr, ptr %31, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.VdbeOp, ptr %320, i64 0
  %322 = getelementptr inbounds %struct.VdbeOp, ptr %321, i32 0, i32 3
  store i32 %319, ptr %322, align 4, !tbaa !63
  %323 = load ptr, ptr %20, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.Table, ptr %323, i32 0, i32 7
  %325 = load i32, ptr %324, align 8, !tbaa !65
  %326 = load ptr, ptr %31, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.VdbeOp, ptr %326, i64 0
  %328 = getelementptr inbounds %struct.VdbeOp, ptr %327, i32 0, i32 4
  store i32 %325, ptr %328, align 8, !tbaa !66
  %329 = load i32, ptr %14, align 4, !tbaa !11
  %330 = load ptr, ptr %31, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.VdbeOp, ptr %330, i64 0
  %332 = getelementptr inbounds %struct.VdbeOp, ptr %331, i32 0, i32 5
  store i32 %329, ptr %332, align 4, !tbaa !67
  %333 = load ptr, ptr %29, align 8, !tbaa !5
  %334 = load ptr, ptr %20, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.Table, ptr %334, i32 0, i32 0
  %336 = load ptr, ptr %335, align 8, !tbaa !68
  call void @sqlite3VdbeChangeP4(ptr noundef %333, i32 noundef 1, ptr noundef %336, i32 noundef 0)
  br label %337

337:                                              ; preds = %318, %285
  %338 = load ptr, ptr %9, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.sqlite3, ptr %338, i32 0, i32 17
  %340 = load i8, ptr %339, align 1, !tbaa !62
  %341 = zext i8 %340 to i32
  %342 = icmp eq i32 %341, 0
  br i1 %342, label %343, label %387

343:                                              ; preds = %337
  %344 = load i32, ptr %14, align 4, !tbaa !11
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %346, label %350

346:                                              ; preds = %343
  %347 = load ptr, ptr %31, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.VdbeOp, ptr %347, i64 1
  %349 = getelementptr inbounds %struct.VdbeOp, ptr %348, i32 0, i32 0
  store i8 106, ptr %349, align 8, !tbaa !69
  br label %350

350:                                              ; preds = %346, %343
  %351 = load ptr, ptr %20, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.Table, ptr %351, i32 0, i32 7
  %353 = load i32, ptr %352, align 8, !tbaa !65
  %354 = load ptr, ptr %31, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.VdbeOp, ptr %354, i64 1
  %356 = getelementptr inbounds %struct.VdbeOp, ptr %355, i32 0, i32 4
  store i32 %353, ptr %356, align 8, !tbaa !66
  %357 = load i32, ptr %30, align 4, !tbaa !11
  %358 = load ptr, ptr %31, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.VdbeOp, ptr %358, i64 1
  %360 = getelementptr inbounds %struct.VdbeOp, ptr %359, i32 0, i32 5
  store i32 %357, ptr %360, align 4, !tbaa !67
  %361 = load ptr, ptr %31, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.VdbeOp, ptr %361, i64 1
  %363 = getelementptr inbounds %struct.VdbeOp, ptr %362, i32 0, i32 1
  store i8 -11, ptr %363, align 1, !tbaa !70
  %364 = load ptr, ptr %20, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.Table, ptr %364, i32 0, i32 11
  %366 = load i16, ptr %365, align 2, !tbaa !35
  %367 = sext i16 %366 to i32
  %368 = add nsw i32 %367, 1
  %369 = load ptr, ptr %31, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.VdbeOp, ptr %369, i64 1
  %371 = getelementptr inbounds %struct.VdbeOp, ptr %370, i32 0, i32 6
  store i32 %368, ptr %371, align 8, !tbaa !71
  %372 = load ptr, ptr %20, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.Table, ptr %372, i32 0, i32 11
  %374 = load i16, ptr %373, align 2, !tbaa !35
  %375 = sext i16 %374 to i32
  %376 = load ptr, ptr %31, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.VdbeOp, ptr %376, i64 3
  %378 = getelementptr inbounds %struct.VdbeOp, ptr %377, i32 0, i32 4
  store i32 %375, ptr %378, align 8, !tbaa !66
  %379 = load ptr, ptr %21, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.Parse, ptr %379, i32 0, i32 50
  store i16 0, ptr %380, align 8, !tbaa !72
  %381 = load ptr, ptr %21, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.Parse, ptr %381, i32 0, i32 18
  store i32 1, ptr %382, align 8, !tbaa !73
  %383 = load ptr, ptr %21, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.Parse, ptr %383, i32 0, i32 17
  store i32 1, ptr %384, align 4, !tbaa !74
  %385 = load ptr, ptr %29, align 8, !tbaa !5
  %386 = load ptr, ptr %21, align 8, !tbaa !5
  call void @sqlite3VdbeMakeReady(ptr noundef %385, ptr noundef %386)
  br label %387

387:                                              ; preds = %350, %337
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  br label %388

388:                                              ; preds = %387, %276
  %389 = load i32, ptr %17, align 4, !tbaa !11
  %390 = trunc i32 %389 to i16
  %391 = load ptr, ptr %22, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.Incrblob, ptr %391, i32 0, i32 2
  store i16 %390, ptr %392, align 8, !tbaa !75
  %393 = load ptr, ptr %9, align 8, !tbaa !5
  %394 = load ptr, ptr %22, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.Incrblob, ptr %394, i32 0, i32 5
  store ptr %393, ptr %395, align 8, !tbaa !76
  %396 = load ptr, ptr %9, align 8, !tbaa !5
  call void @sqlite3BtreeLeaveAll(ptr noundef %396)
  %397 = load ptr, ptr %9, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.sqlite3, ptr %397, i32 0, i32 17
  %399 = load i8, ptr %398, align 1, !tbaa !62
  %400 = icmp ne i8 %399, 0
  br i1 %400, label %401, label %402

401:                                              ; preds = %388
  br label %416

402:                                              ; preds = %388
  %403 = load ptr, ptr %22, align 8, !tbaa !5
  %404 = load i64, ptr %13, align 8, !tbaa !9
  %405 = call i32 @blobSeekToRow(ptr noundef %403, i64 noundef %404, ptr noundef %19)
  store i32 %405, ptr %18, align 4, !tbaa !11
  br label %406

406:                                              ; preds = %402
  %407 = load i32, ptr %16, align 4, !tbaa !11
  %408 = add nsw i32 %407, 1
  store i32 %408, ptr %16, align 4, !tbaa !11
  %409 = icmp slt i32 %408, 50
  br i1 %409, label %410, label %413

410:                                              ; preds = %406
  %411 = load i32, ptr %18, align 4, !tbaa !11
  %412 = icmp eq i32 %411, 17
  br label %413

413:                                              ; preds = %410, %406
  %414 = phi i1 [ false, %406 ], [ %412, %410 ]
  br i1 %414, label %53, label %415, !llvm.loop !77

415:                                              ; preds = %413
  br label %416

416:                                              ; preds = %415, %401, %273, %165, %114, %51, %45
  %417 = load i32, ptr %18, align 4, !tbaa !11
  %418 = icmp eq i32 %417, 0
  br i1 %418, label %419, label %428

419:                                              ; preds = %416
  %420 = load ptr, ptr %9, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.sqlite3, ptr %420, i32 0, i32 17
  %422 = load i8, ptr %421, align 1, !tbaa !62
  %423 = zext i8 %422 to i32
  %424 = icmp eq i32 %423, 0
  br i1 %424, label %425, label %428

425:                                              ; preds = %419
  %426 = load ptr, ptr %22, align 8, !tbaa !5
  %427 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %426, ptr %427, align 8, !tbaa !5
  br label %444

428:                                              ; preds = %419, %416
  %429 = load ptr, ptr %22, align 8, !tbaa !5
  %430 = icmp ne ptr %429, null
  br i1 %430, label %431, label %441

431:                                              ; preds = %428
  %432 = load ptr, ptr %22, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.Incrblob, ptr %432, i32 0, i32 4
  %434 = load ptr, ptr %433, align 8, !tbaa !58
  %435 = icmp ne ptr %434, null
  br i1 %435, label %436, label %441

436:                                              ; preds = %431
  %437 = load ptr, ptr %22, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.Incrblob, ptr %437, i32 0, i32 4
  %439 = load ptr, ptr %438, align 8, !tbaa !58
  %440 = call i32 @sqlite3VdbeFinalize(ptr noundef %439)
  br label %441

441:                                              ; preds = %436, %431, %428
  %442 = load ptr, ptr %9, align 8, !tbaa !5
  %443 = load ptr, ptr %22, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %442, ptr noundef %443)
  br label %444

444:                                              ; preds = %441, %425
  %445 = load ptr, ptr %9, align 8, !tbaa !5
  %446 = load i32, ptr %18, align 4, !tbaa !11
  %447 = load ptr, ptr %19, align 8, !tbaa !5
  %448 = icmp ne ptr %447, null
  %449 = zext i1 %448 to i64
  %450 = select i1 %448, ptr @.str.7, ptr null
  %451 = load ptr, ptr %19, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @sqlite3ErrorWithMsg(ptr noundef %445, i32 noundef %446, ptr noundef %450, ptr noundef %451)
  %452 = load ptr, ptr %9, align 8, !tbaa !5
  %453 = load ptr, ptr %19, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %452, ptr noundef %453)
  %454 = load ptr, ptr %21, align 8, !tbaa !5
  call void @sqlite3ParserReset(ptr noundef %454)
  %455 = load ptr, ptr %9, align 8, !tbaa !5
  %456 = load ptr, ptr %21, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %455, ptr noundef %456)
  %457 = load ptr, ptr %9, align 8, !tbaa !5
  %458 = load i32, ptr %18, align 4, !tbaa !11
  %459 = call i32 @sqlite3ApiExit(ptr noundef %457, i32 noundef %458)
  store i32 %459, ptr %18, align 4, !tbaa !11
  %460 = load ptr, ptr %9, align 8, !tbaa !5
  %461 = getelementptr inbounds %struct.sqlite3, ptr %460, i32 0, i32 3
  %462 = load ptr, ptr %461, align 8, !tbaa !13
  call void @sqlite3_mutex_leave(ptr noundef %462)
  %463 = load i32, ptr %18, align 4, !tbaa !11
  store i32 %463, ptr %8, align 4
  store i32 1, ptr %28, align 4
  br label %464

464:                                              ; preds = %444, %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  %465 = load i32, ptr %8, align 4
  ret i32 %465
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

declare void @sqlite3_mutex_enter(ptr noundef) #2

declare ptr @sqlite3DbMallocZero(ptr noundef, i64 noundef) #2

declare ptr @sqlite3DbMallocRaw(ptr noundef, i64 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @sqlite3DbFree(ptr noundef, ptr noundef) #2

declare void @sqlite3BtreeEnterAll(ptr noundef) #2

declare ptr @sqlite3LocateTable(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

declare void @sqlite3ErrorMsg(ptr noundef, ptr noundef, ...) #2

declare void @sqlite3BtreeLeaveAll(ptr noundef) #2

declare i32 @sqlite3SchemaToIndex(ptr noundef, ptr noundef) #2

declare i32 @sqlite3StrICmp(ptr noundef, ptr noundef) #2

declare ptr @sqlite3MPrintf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare ptr @sqlite3VdbeCreate(ptr noundef) #2

declare i32 @sqlite3VdbeAddOp4Int(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare void @sqlite3VdbeChangeP5(ptr noundef, i16 noundef zeroext) #2

declare ptr @sqlite3VdbeAddOpList(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2

declare void @sqlite3VdbeUsesBtree(ptr noundef, i32 noundef) #2

declare void @sqlite3VdbeChangeP4(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2

declare void @sqlite3VdbeMakeReady(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @blobSeekToRow(ptr noundef, i64 noundef, ptr noundef) #0

declare i32 @sqlite3VdbeFinalize(ptr noundef) #2

declare void @sqlite3ErrorWithMsg(ptr noundef, i32 noundef, ptr noundef, ...) #2

declare void @sqlite3ParserReset(ptr noundef) #2

declare i32 @sqlite3ApiExit(ptr noundef, i32 noundef) #2

declare void @sqlite3_mutex_leave(ptr noundef) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 24}
!14 = !{!"sqlite3", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !12, i64 44, !10, i64 48, !10, i64 56, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !15, i64 80, !7, i64 82, !7, i64 83, !7, i64 84, !7, i64 85, !7, i64 86, !7, i64 87, !7, i64 88, !7, i64 89, !7, i64 90, !7, i64 91, !7, i64 92, !7, i64 93, !7, i64 94, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !7, i64 112, !12, i64 160, !16, i64 164, !12, i64 172, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !12, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !7, i64 336, !17, i64 344, !6, i64 400, !6, i64 408, !6, i64 416, !6, i64 424, !12, i64 432, !12, i64 436, !18, i64 440, !6, i64 464, !6, i64 472, !6, i64 480, !18, i64 488, !18, i64 512, !19, i64 536, !7, i64 560, !6, i64 624, !12, i64 632, !12, i64 636, !12, i64 640, !10, i64 648, !10, i64 656, !6, i64 664}
!15 = !{!"short", !7, i64 0}
!16 = !{!"sqlite3InitInfo", !12, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7}
!17 = !{!"Lookaside", !12, i64 0, !15, i64 4, !7, i64 6, !12, i64 8, !12, i64 12, !7, i64 16, !6, i64 32, !6, i64 40, !6, i64 48}
!18 = !{!"Hash", !12, i64 0, !12, i64 4, !6, i64 8, !6, i64 16}
!19 = !{!"BusyHandler", !6, i64 0, !6, i64 8, !12, i64 16}
!20 = !{!21, !6, i64 0}
!21 = !{!"Parse", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !7, i64 28, !7, i64 29, !7, i64 30, !7, i64 31, !7, i64 32, !7, i64 33, !7, i64 34, !7, i64 35, !7, i64 36, !7, i64 37, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !6, i64 88, !6, i64 96, !22, i64 104, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !7, i64 192, !7, i64 193, !7, i64 194, !7, i64 196, !7, i64 396, !22, i64 432, !22, i64 448, !15, i64 464, !7, i64 466, !7, i64 467, !7, i64 468, !12, i64 472, !12, i64 476, !12, i64 480, !12, i64 484, !6, i64 488, !6, i64 496, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !22, i64 536, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584}
!22 = !{!"Token", !6, i64 0, !12, i64 8}
!23 = !{!24, !12, i64 84}
!24 = !{!"Table", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !12, i64 56, !12, i64 60, !12, i64 64, !15, i64 68, !15, i64 70, !15, i64 72, !15, i64 74, !7, i64 76, !12, i64 80, !12, i64 84, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120}
!25 = !{!24, !12, i64 64}
!26 = !{!24, !6, i64 24}
!27 = !{!21, !6, i64 8}
!28 = !{!29, !6, i64 48}
!29 = !{!"Incrblob", !12, i64 0, !12, i64 4, !15, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!30 = !{!14, !6, i64 32}
!31 = !{!24, !6, i64 112}
!32 = !{!33, !6, i64 0}
!33 = !{!"Db", !6, i64 0, !6, i64 8, !7, i64 16, !7, i64 17, !6, i64 24}
!34 = !{!29, !6, i64 40}
!35 = !{!24, !15, i64 70}
!36 = !{!24, !6, i64 8}
!37 = !{!38, !6, i64 0}
!38 = !{!"Column", !6, i64 0, !6, i64 8, !6, i64 16, !7, i64 24, !7, i64 25, !7, i64 26, !7, i64 27}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{!14, !12, i64 44}
!42 = !{!24, !6, i64 32}
!43 = !{!44, !12, i64 40}
!44 = !{!"FKey", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !7, i64 44, !7, i64 45, !7, i64 48, !7, i64 64}
!45 = !{!46, !12, i64 0}
!46 = !{!"sColMap", !12, i64 0, !6, i64 8}
!47 = distinct !{!47, !40}
!48 = !{!44, !6, i64 8}
!49 = distinct !{!49, !40}
!50 = !{!24, !6, i64 16}
!51 = !{!52, !15, i64 94}
!52 = !{!"Index", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !12, i64 88, !15, i64 92, !15, i64 94, !15, i64 96, !7, i64 98, !12, i64 99, !12, i64 99, !12, i64 99, !12, i64 99, !12, i64 99, !12, i64 99, !12, i64 99}
!53 = !{!52, !6, i64 8}
!54 = !{!15, !15, i64 0}
!55 = distinct !{!55, !40}
!56 = !{!52, !6, i64 40}
!57 = distinct !{!57, !40}
!58 = !{!29, !6, i64 24}
!59 = !{!60, !12, i64 0}
!60 = !{!"Schema", !12, i64 0, !12, i64 4, !18, i64 8, !18, i64 32, !18, i64 56, !18, i64 80, !6, i64 104, !7, i64 112, !7, i64 113, !15, i64 114, !12, i64 116}
!61 = !{!60, !12, i64 4}
!62 = !{!14, !7, i64 85}
!63 = !{!64, !12, i64 4}
!64 = !{!"VdbeOp", !7, i64 0, !7, i64 1, !15, i64 2, !12, i64 4, !12, i64 8, !12, i64 12, !7, i64 16}
!65 = !{!24, !12, i64 56}
!66 = !{!64, !12, i64 8}
!67 = !{!64, !12, i64 12}
!68 = !{!24, !6, i64 0}
!69 = !{!64, !7, i64 0}
!70 = !{!64, !7, i64 1}
!71 = !{!7, !7, i64 0}
!72 = !{!21, !15, i64 464}
!73 = !{!21, !12, i64 56}
!74 = !{!21, !12, i64 52}
!75 = !{!29, !15, i64 8}
!76 = !{!29, !6, i64 32}
!77 = distinct !{!77, !40}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.VdbeOpList = type { i8, i8, i8, i8 }
%struct.Db = type { ptr, ptr, i8, i8, ptr }
%struct.Column = type { ptr, ptr, ptr, i8, i8, i8, i8 }
%struct.sColMap = type { i32, ptr }

@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [34 x i8], align 1
@sqlite3_blob_open.openBlob = external hidden constant [6 x %struct.VdbeOpList], align 16
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_blob_open(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #0 {
  %8 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  store ptr null, ptr %8, align 8, !tbaa !5
  store ptr null, ptr %6, align 8, !tbaa !5
  %9 = icmp ne i32 %5, 0
  %10 = zext i1 %9 to i32
  %11 = getelementptr inbounds i8, ptr %0, i64 24
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  tail call void @sqlite3_mutex_enter(ptr noundef %12) #4
  %13 = tail call ptr @sqlite3DbMallocZero(ptr noundef %0, i64 noundef 56) #4
  %.not = icmp eq ptr %13, null
  br i1 %.not, label %.thread216, label %14

14:                                               ; preds = %7
  %15 = tail call ptr @sqlite3DbMallocRaw(ptr noundef nonnull %0, i64 noundef 592) #4
  %.not175 = icmp eq ptr %15, null
  br i1 %.not175, label %.thread216, label %.preheader231

.preheader231:                                    ; preds = %14
  %16 = getelementptr inbounds i8, ptr %13, i64 48
  %17 = getelementptr inbounds i8, ptr %0, i64 32
  %18 = getelementptr inbounds i8, ptr %13, i64 40
  %19 = getelementptr inbounds i8, ptr %0, i64 44
  %20 = getelementptr inbounds i8, ptr %13, i64 24
  %21 = getelementptr inbounds i8, ptr %0, i64 85
  %22 = getelementptr inbounds i8, ptr %15, i64 464
  %23 = getelementptr inbounds i8, ptr %15, i64 56
  %24 = getelementptr inbounds i8, ptr %15, i64 52
  %25 = getelementptr inbounds i8, ptr %13, i64 8
  %26 = getelementptr inbounds i8, ptr %13, i64 32
  %27 = getelementptr inbounds i8, ptr %15, i64 8
  br label %28

28:                                               ; preds = %.preheader231, %180
  %.0160 = phi i32 [ 17, %180 ], [ 0, %.preheader231 ]
  %.0149 = phi i32 [ %182, %180 ], [ 0, %.preheader231 ]
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(592) %27, i8 0, i64 584, i1 false)
  store ptr %0, ptr %15, align 8, !tbaa !18
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef nonnull %0, ptr noundef %29) #4
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @sqlite3BtreeEnterAll(ptr noundef nonnull %0) #4
  %30 = call ptr @sqlite3LocateTable(ptr noundef nonnull %15, i32 noundef 0, ptr noundef %2, ptr noundef %1) #4
  %.not176 = icmp eq ptr %30, null
  br i1 %.not176, label %.thread195, label %31

31:                                               ; preds = %28
  %32 = getelementptr inbounds i8, ptr %30, i64 84
  %33 = load i32, ptr %32, align 4, !tbaa !21
  %.not177 = icmp eq i32 %33, 0
  br i1 %.not177, label %34, label %.thread195.sink.split

34:                                               ; preds = %31
  %35 = getelementptr inbounds i8, ptr %30, i64 64
  %36 = load i32, ptr %35, align 8, !tbaa !23
  %37 = and i32 %36, 32
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %39, label %.thread195.sink.split

39:                                               ; preds = %34
  %40 = getelementptr inbounds i8, ptr %30, i64 24
  %41 = load ptr, ptr %40, align 8, !tbaa !24
  %.not180 = icmp eq ptr %41, null
  br i1 %.not180, label %47, label %.thread195.sink.split

.thread195.sink.split:                            ; preds = %39, %34, %31
  %.str.sink = phi ptr [ @.str, %31 ], [ @.str.1, %34 ], [ @.str.2, %39 ]
  call void (ptr, ptr, ...) @sqlite3ErrorMsg(ptr noundef nonnull %15, ptr noundef nonnull %.str.sink, ptr noundef %2) #4
  br label %.thread195

.thread195:                                       ; preds = %28, %.thread195.sink.split
  %42 = getelementptr inbounds i8, ptr %15, i64 8
  %43 = load ptr, ptr %42, align 8, !tbaa !25
  %.not182 = icmp eq ptr %43, null
  br i1 %.not182, label %.thread208.thread, label %44

44:                                               ; preds = %.thread195
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef nonnull %0, ptr noundef %45) #4
  %46 = load ptr, ptr %42, align 8, !tbaa !25
  store ptr %46, ptr %8, align 8, !tbaa !5
  store ptr null, ptr %42, align 8, !tbaa !25
  br label %.thread208.thread

.thread208.thread:                                ; preds = %.thread195, %44
  call void @sqlite3BtreeLeaveAll(ptr noundef nonnull %0) #4
  br label %.thread221

47:                                               ; preds = %39
  store ptr %30, ptr %16, align 8, !tbaa !26
  %48 = load ptr, ptr %17, align 8, !tbaa !28
  %49 = getelementptr inbounds i8, ptr %30, i64 112
  %50 = load ptr, ptr %49, align 8, !tbaa !29
  %51 = call i32 @sqlite3SchemaToIndex(ptr noundef nonnull %0, ptr noundef %50) #4
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds %struct.Db, ptr %48, i64 %52
  %54 = load ptr, ptr %53, align 8, !tbaa !30
  store ptr %54, ptr %18, align 8, !tbaa !32
  %55 = getelementptr inbounds i8, ptr %30, i64 8
  %56 = getelementptr inbounds i8, ptr %30, i64 70
  %57 = load i16, ptr %56, align 2, !tbaa !33
  %58 = icmp sgt i16 %57, 0
  br i1 %58, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %47, %64
  %indvars.iv = phi i64 [ %indvars.iv.next, %64 ], [ 0, %47 ]
  %59 = load ptr, ptr %55, align 8, !tbaa !34
  %60 = getelementptr inbounds %struct.Column, ptr %59, i64 %indvars.iv
  %61 = load ptr, ptr %60, align 8, !tbaa !35
  %62 = call i32 @sqlite3StrICmp(ptr noundef %61, ptr noundef %3) #4
  %63 = icmp eq i32 %62, 0
  %.pre.pre = load i16, ptr %56, align 2, !tbaa !33
  br i1 %63, label %._crit_edge.loopexit, label %64

64:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %65 = sext i16 %.pre.pre to i64
  %66 = icmp slt i64 %indvars.iv.next, %65
  br i1 %66, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !37

._crit_edge.loopexit:                             ; preds = %.lr.ph, %64
  %.0164.lcssa.ph.in = phi i64 [ %indvars.iv.next, %64 ], [ %indvars.iv, %.lr.ph ]
  %.0164.lcssa.ph = trunc i64 %.0164.lcssa.ph.in to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %47
  %67 = phi i16 [ %57, %47 ], [ %.pre.pre, %._crit_edge.loopexit ]
  %.0164.lcssa = phi i32 [ 0, %47 ], [ %.0164.lcssa.ph, %._crit_edge.loopexit ]
  %68 = sext i16 %67 to i32
  %69 = icmp eq i32 %.0164.lcssa, %68
  br i1 %69, label %70, label %73

70:                                               ; preds = %._crit_edge
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %0, ptr noundef %71) #4
  %72 = call ptr (ptr, ptr, ...) @sqlite3MPrintf(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef %3) #4
  br label %.thread208.sink.split

73:                                               ; preds = %._crit_edge
  br i1 %9, label %74, label %.thread202

74:                                               ; preds = %73
  %75 = load i32, ptr %19, align 4, !tbaa !39
  %76 = and i32 %75, 524288
  %.not183 = icmp eq i32 %76, 0
  br i1 %.not183, label %.loopexit, label %77

77:                                               ; preds = %74
  %78 = getelementptr inbounds i8, ptr %30, i64 32
  %.0153240 = load ptr, ptr %78, align 8, !tbaa !5
  %.not184241 = icmp eq ptr %.0153240, null
  br i1 %.not184241, label %.loopexit, label %.preheader230

.preheader230:                                    ; preds = %77, %._crit_edge238
  %.0153243 = phi ptr [ %.0153, %._crit_edge238 ], [ %.0153240, %77 ]
  %.0155242 = phi ptr [ %.1.lcssa, %._crit_edge238 ], [ null, %77 ]
  %79 = getelementptr inbounds i8, ptr %.0153243, i64 40
  %80 = load i32, ptr %79, align 8, !tbaa !40
  %81 = icmp sgt i32 %80, 0
  br i1 %81, label %.lr.ph237, label %._crit_edge238

.lr.ph237:                                        ; preds = %.preheader230
  %82 = getelementptr inbounds i8, ptr %.0153243, i64 64
  %wide.trip.count = zext nneg i32 %80 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %83 = icmp ult i32 %80, 4
  br i1 %83, label %._crit_edge238.loopexit.unr-lcssa, label %.lr.ph237.new

.lr.ph237.new:                                    ; preds = %.lr.ph237
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %84

84:                                               ; preds = %84, %.lr.ph237.new
  %indvars.iv258 = phi i64 [ 0, %.lr.ph237.new ], [ %indvars.iv.next259.3, %84 ]
  %.1235 = phi ptr [ %.0155242, %.lr.ph237.new ], [ %spec.select.3, %84 ]
  %niter = phi i64 [ 0, %.lr.ph237.new ], [ %niter.next.3, %84 ]
  %85 = getelementptr inbounds [1 x %struct.sColMap], ptr %82, i64 0, i64 %indvars.iv258
  %86 = load i32, ptr %85, align 8, !tbaa !42
  %87 = icmp eq i32 %86, %.0164.lcssa
  %indvars.iv.next259 = or disjoint i64 %indvars.iv258, 1
  %88 = getelementptr inbounds [1 x %struct.sColMap], ptr %82, i64 0, i64 %indvars.iv.next259
  %89 = load i32, ptr %88, align 8, !tbaa !42
  %90 = icmp eq i32 %89, %.0164.lcssa
  %indvars.iv.next259.1 = or disjoint i64 %indvars.iv258, 2
  %91 = getelementptr inbounds [1 x %struct.sColMap], ptr %82, i64 0, i64 %indvars.iv.next259.1
  %92 = load i32, ptr %91, align 8, !tbaa !42
  %93 = icmp eq i32 %92, %.0164.lcssa
  %indvars.iv.next259.2 = or disjoint i64 %indvars.iv258, 3
  %94 = getelementptr inbounds [1 x %struct.sColMap], ptr %82, i64 0, i64 %indvars.iv.next259.2
  %95 = load i32, ptr %94, align 8, !tbaa !42
  %96 = icmp eq i32 %95, %.0164.lcssa
  %97 = select i1 %96, i1 true, i1 %93
  %98 = select i1 %97, i1 true, i1 %90
  %99 = select i1 %98, i1 true, i1 %87
  %spec.select.3 = select i1 %99, ptr @.str.4, ptr %.1235
  %indvars.iv.next259.3 = add nuw nsw i64 %indvars.iv258, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge238.loopexit.unr-lcssa, label %84, !llvm.loop !44

._crit_edge238.loopexit.unr-lcssa:                ; preds = %84, %.lr.ph237
  %spec.select.lcssa.ph = phi ptr [ poison, %.lr.ph237 ], [ %spec.select.3, %84 ]
  %indvars.iv258.unr = phi i64 [ 0, %.lr.ph237 ], [ %indvars.iv.next259.3, %84 ]
  %.1235.unr = phi ptr [ %.0155242, %.lr.ph237 ], [ %spec.select.3, %84 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge238, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge238.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv258.epil = phi i64 [ %indvars.iv.next259.epil, %.epil.preheader ], [ %indvars.iv258.unr, %._crit_edge238.loopexit.unr-lcssa ]
  %.1235.epil = phi ptr [ %spec.select.epil, %.epil.preheader ], [ %.1235.unr, %._crit_edge238.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge238.loopexit.unr-lcssa ]
  %100 = getelementptr inbounds [1 x %struct.sColMap], ptr %82, i64 0, i64 %indvars.iv258.epil
  %101 = load i32, ptr %100, align 8, !tbaa !42
  %102 = icmp eq i32 %101, %.0164.lcssa
  %spec.select.epil = select i1 %102, ptr @.str.4, ptr %.1235.epil
  %indvars.iv.next259.epil = add nuw nsw i64 %indvars.iv258.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge238, label %.epil.preheader, !llvm.loop !45

._crit_edge238:                                   ; preds = %._crit_edge238.loopexit.unr-lcssa, %.epil.preheader, %.preheader230
  %.1.lcssa = phi ptr [ %.0155242, %.preheader230 ], [ %spec.select.lcssa.ph, %._crit_edge238.loopexit.unr-lcssa ], [ %spec.select.epil, %.epil.preheader ]
  %103 = getelementptr inbounds i8, ptr %.0153243, i64 8
  %.0153 = load ptr, ptr %103, align 8, !tbaa !5
  %.not184 = icmp eq ptr %.0153, null
  br i1 %.not184, label %.loopexit, label %.preheader230, !llvm.loop !47

.loopexit:                                        ; preds = %._crit_edge238, %77, %74
  %.3 = phi ptr [ null, %74 ], [ null, %77 ], [ %.1.lcssa, %._crit_edge238 ]
  %104 = getelementptr inbounds i8, ptr %30, i64 16
  %.0154250 = load ptr, ptr %104, align 8, !tbaa !5
  %.not185251 = icmp eq ptr %.0154250, null
  br i1 %.not185251, label %._crit_edge254, label %.preheader

.preheader:                                       ; preds = %.loopexit, %._crit_edge248
  %.0154253 = phi ptr [ %.0154, %._crit_edge248 ], [ %.0154250, %.loopexit ]
  %.4252 = phi ptr [ %.5.lcssa, %._crit_edge248 ], [ %.3, %.loopexit ]
  %105 = getelementptr inbounds i8, ptr %.0154253, i64 94
  %106 = load i16, ptr %105, align 2, !tbaa !48
  %.not256 = icmp eq i16 %106, 0
  br i1 %.not256, label %._crit_edge248, label %.lr.ph247

.lr.ph247:                                        ; preds = %.preheader
  %107 = getelementptr inbounds i8, ptr %.0154253, i64 8
  %108 = load ptr, ptr %107, align 8, !tbaa !50
  %wide.trip.count266 = zext i16 %106 to i64
  %xtraiter270 = and i64 %wide.trip.count266, 3
  %109 = icmp ult i16 %106, 4
  br i1 %109, label %._crit_edge248.loopexit.unr-lcssa, label %.lr.ph247.new

.lr.ph247.new:                                    ; preds = %.lr.ph247
  %unroll_iter274 = and i64 %wide.trip.count266, 65532
  br label %110

110:                                              ; preds = %110, %.lr.ph247.new
  %indvars.iv262 = phi i64 [ 0, %.lr.ph247.new ], [ %indvars.iv.next263.3, %110 ]
  %.5245 = phi ptr [ %.4252, %.lr.ph247.new ], [ %.6.3, %110 ]
  %niter275 = phi i64 [ 0, %.lr.ph247.new ], [ %niter275.next.3, %110 ]
  %111 = getelementptr inbounds i16, ptr %108, i64 %indvars.iv262
  %112 = load i16, ptr %111, align 2, !tbaa !51
  %113 = sext i16 %112 to i32
  %114 = icmp eq i32 %.0164.lcssa, %113
  %115 = icmp eq i16 %112, -2
  %or.cond = or i1 %115, %114
  %indvars.iv.next263 = or disjoint i64 %indvars.iv262, 1
  %116 = getelementptr inbounds i16, ptr %108, i64 %indvars.iv.next263
  %117 = load i16, ptr %116, align 2, !tbaa !51
  %118 = sext i16 %117 to i32
  %119 = icmp eq i32 %.0164.lcssa, %118
  %120 = icmp eq i16 %117, -2
  %or.cond.1 = or i1 %120, %119
  %indvars.iv.next263.1 = or disjoint i64 %indvars.iv262, 2
  %121 = getelementptr inbounds i16, ptr %108, i64 %indvars.iv.next263.1
  %122 = load i16, ptr %121, align 2, !tbaa !51
  %123 = sext i16 %122 to i32
  %124 = icmp eq i32 %.0164.lcssa, %123
  %125 = icmp eq i16 %122, -2
  %or.cond.2 = or i1 %125, %124
  %indvars.iv.next263.2 = or disjoint i64 %indvars.iv262, 3
  %126 = getelementptr inbounds i16, ptr %108, i64 %indvars.iv.next263.2
  %127 = load i16, ptr %126, align 2, !tbaa !51
  %128 = sext i16 %127 to i32
  %129 = icmp eq i32 %.0164.lcssa, %128
  %130 = icmp eq i16 %127, -2
  %or.cond.3 = or i1 %130, %129
  %131 = select i1 %or.cond.3, i1 true, i1 %or.cond.2
  %132 = select i1 %131, i1 true, i1 %or.cond.1
  %133 = select i1 %132, i1 true, i1 %or.cond
  %.6.3 = select i1 %133, ptr @.str.5, ptr %.5245
  %indvars.iv.next263.3 = add nuw nsw i64 %indvars.iv262, 4
  %niter275.next.3 = add i64 %niter275, 4
  %niter275.ncmp.3 = icmp eq i64 %niter275.next.3, %unroll_iter274
  br i1 %niter275.ncmp.3, label %._crit_edge248.loopexit.unr-lcssa, label %110, !llvm.loop !52

._crit_edge248.loopexit.unr-lcssa:                ; preds = %110, %.lr.ph247
  %.6.lcssa.ph = phi ptr [ poison, %.lr.ph247 ], [ %.6.3, %110 ]
  %indvars.iv262.unr = phi i64 [ 0, %.lr.ph247 ], [ %indvars.iv.next263.3, %110 ]
  %.5245.unr = phi ptr [ %.4252, %.lr.ph247 ], [ %.6.3, %110 ]
  %lcmp.mod272.not = icmp eq i64 %xtraiter270, 0
  br i1 %lcmp.mod272.not, label %._crit_edge248, label %.epil.preheader269

.epil.preheader269:                               ; preds = %._crit_edge248.loopexit.unr-lcssa, %.epil.preheader269
  %indvars.iv262.epil = phi i64 [ %indvars.iv.next263.epil, %.epil.preheader269 ], [ %indvars.iv262.unr, %._crit_edge248.loopexit.unr-lcssa ]
  %.5245.epil = phi ptr [ %.6.epil, %.epil.preheader269 ], [ %.5245.unr, %._crit_edge248.loopexit.unr-lcssa ]
  %epil.iter271 = phi i64 [ %epil.iter271.next, %.epil.preheader269 ], [ 0, %._crit_edge248.loopexit.unr-lcssa ]
  %134 = getelementptr inbounds i16, ptr %108, i64 %indvars.iv262.epil
  %135 = load i16, ptr %134, align 2, !tbaa !51
  %136 = sext i16 %135 to i32
  %137 = icmp eq i32 %.0164.lcssa, %136
  %138 = icmp eq i16 %135, -2
  %or.cond.epil = or i1 %138, %137
  %.6.epil = select i1 %or.cond.epil, ptr @.str.5, ptr %.5245.epil
  %indvars.iv.next263.epil = add nuw nsw i64 %indvars.iv262.epil, 1
  %epil.iter271.next = add i64 %epil.iter271, 1
  %epil.iter271.cmp.not = icmp eq i64 %epil.iter271.next, %xtraiter270
  br i1 %epil.iter271.cmp.not, label %._crit_edge248, label %.epil.preheader269, !llvm.loop !53

._crit_edge248:                                   ; preds = %._crit_edge248.loopexit.unr-lcssa, %.epil.preheader269, %.preheader
  %.5.lcssa = phi ptr [ %.4252, %.preheader ], [ %.6.lcssa.ph, %._crit_edge248.loopexit.unr-lcssa ], [ %.6.epil, %.epil.preheader269 ]
  %139 = getelementptr inbounds i8, ptr %.0154253, i64 40
  %.0154 = load ptr, ptr %139, align 8, !tbaa !5
  %.not185 = icmp eq ptr %.0154, null
  br i1 %.not185, label %._crit_edge254, label %.preheader, !llvm.loop !54

._crit_edge254:                                   ; preds = %._crit_edge248, %.loopexit
  %.4.lcssa = phi ptr [ %.3, %.loopexit ], [ %.5.lcssa, %._crit_edge248 ]
  %.not186 = icmp eq ptr %.4.lcssa, null
  br i1 %.not186, label %.thread202, label %140

140:                                              ; preds = %._crit_edge254
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %0, ptr noundef %141) #4
  %142 = call ptr (ptr, ptr, ...) @sqlite3MPrintf(ptr noundef %0, ptr noundef nonnull @.str.6, ptr noundef nonnull %.4.lcssa) #4
  br label %.thread208.sink.split

.thread202:                                       ; preds = %._crit_edge254, %73
  %143 = call ptr @sqlite3VdbeCreate(ptr noundef nonnull %15) #4
  store ptr %143, ptr %20, align 8, !tbaa !55
  %.not187 = icmp eq ptr %143, null
  br i1 %.not187, label %.thread206, label %144

144:                                              ; preds = %.thread202
  %145 = load ptr, ptr %49, align 8, !tbaa !29
  %146 = call i32 @sqlite3SchemaToIndex(ptr noundef %0, ptr noundef %145) #4
  %147 = load ptr, ptr %49, align 8, !tbaa !29
  %148 = load i32, ptr %147, align 8, !tbaa !56
  %149 = getelementptr inbounds i8, ptr %147, i64 4
  %150 = load i32, ptr %149, align 4, !tbaa !58
  %151 = call i32 @sqlite3VdbeAddOp4Int(ptr noundef nonnull %143, i32 noundef 2, i32 noundef %146, i32 noundef %10, i32 noundef %148, i32 noundef %150) #4
  call void @sqlite3VdbeChangeP5(ptr noundef nonnull %143, i16 noundef zeroext 1) #4
  %152 = call ptr @sqlite3VdbeAddOpList(ptr noundef nonnull %143, i32 noundef 6, ptr noundef nonnull @sqlite3_blob_open.openBlob, i32 noundef 0) #4
  call void @sqlite3VdbeUsesBtree(ptr noundef nonnull %143, i32 noundef %146) #4
  %153 = load i8, ptr %21, align 1, !tbaa !59
  %154 = icmp eq i8 %153, 0
  br i1 %154, label %155, label %.thread206

155:                                              ; preds = %144
  %156 = getelementptr inbounds i8, ptr %152, i64 4
  store i32 %146, ptr %156, align 4, !tbaa !60
  %157 = getelementptr inbounds i8, ptr %30, i64 56
  %158 = load i32, ptr %157, align 8, !tbaa !62
  %159 = getelementptr inbounds i8, ptr %152, i64 8
  store i32 %158, ptr %159, align 8, !tbaa !63
  %160 = getelementptr inbounds i8, ptr %152, i64 12
  store i32 %10, ptr %160, align 4, !tbaa !64
  %161 = load ptr, ptr %30, align 8, !tbaa !65
  call void @sqlite3VdbeChangeP4(ptr noundef nonnull %143, i32 noundef 1, ptr noundef %161, i32 noundef 0) #4
  %.pr = load i8, ptr %21, align 1, !tbaa !59
  %162 = icmp eq i8 %.pr, 0
  br i1 %162, label %163, label %.thread206

163:                                              ; preds = %155
  br i1 %9, label %164, label %166

164:                                              ; preds = %163
  %165 = getelementptr inbounds i8, ptr %152, i64 24
  store i8 106, ptr %165, align 8, !tbaa !66
  br label %166

166:                                              ; preds = %164, %163
  %167 = load i32, ptr %157, align 8, !tbaa !62
  %168 = getelementptr inbounds i8, ptr %152, i64 32
  store i32 %167, ptr %168, align 8, !tbaa !63
  %169 = getelementptr inbounds i8, ptr %152, i64 36
  store i32 %146, ptr %169, align 4, !tbaa !64
  %170 = getelementptr inbounds i8, ptr %152, i64 25
  store i8 -11, ptr %170, align 1, !tbaa !67
  %171 = load i16, ptr %56, align 2, !tbaa !33
  %172 = sext i16 %171 to i32
  %173 = add nsw i32 %172, 1
  %174 = getelementptr inbounds i8, ptr %152, i64 40
  store i32 %173, ptr %174, align 8, !tbaa !68
  %175 = load i16, ptr %56, align 2, !tbaa !33
  %176 = sext i16 %175 to i32
  %177 = getelementptr inbounds i8, ptr %152, i64 80
  store i32 %176, ptr %177, align 8, !tbaa !63
  store i16 0, ptr %22, align 8, !tbaa !69
  store i32 1, ptr %23, align 8, !tbaa !70
  store i32 1, ptr %24, align 4, !tbaa !71
  call void @sqlite3VdbeMakeReady(ptr noundef nonnull %143, ptr noundef nonnull %15) #4
  br label %.thread206

.thread206:                                       ; preds = %144, %155, %166, %.thread202
  %178 = trunc i32 %.0164.lcssa to i16
  store i16 %178, ptr %25, align 8, !tbaa !72
  store ptr %0, ptr %26, align 8, !tbaa !73
  call void @sqlite3BtreeLeaveAll(ptr noundef %0) #4
  %179 = load i8, ptr %21, align 1, !tbaa !59
  %.not188 = icmp eq i8 %179, 0
  br i1 %.not188, label %180, label %186

180:                                              ; preds = %.thread206
  %181 = call i32 @blobSeekToRow(ptr noundef nonnull %13, i64 noundef %4, ptr noundef nonnull %8)
  %182 = add nuw nsw i32 %.0149, 1
  %183 = icmp ult i32 %.0149, 49
  %184 = icmp eq i32 %181, 17
  %185 = select i1 %183, i1 %184, i1 false
  br i1 %185, label %28, label %186, !llvm.loop !74

186:                                              ; preds = %180, %.thread206
  %.3163 = phi i32 [ %.0160, %.thread206 ], [ %181, %180 ]
  %187 = icmp eq i32 %.3163, 0
  br i1 %187, label %.thread216, label %.thread221

.thread216:                                       ; preds = %7, %14, %186
  %.0156220 = phi ptr [ %15, %186 ], [ null, %14 ], [ null, %7 ]
  %188 = getelementptr inbounds i8, ptr %0, i64 85
  %189 = load i8, ptr %188, align 1, !tbaa !59
  %190 = icmp eq i8 %189, 0
  br i1 %190, label %191, label %.thread208

191:                                              ; preds = %.thread216
  store ptr %13, ptr %6, align 8, !tbaa !5
  br label %197

.thread208.sink.split:                            ; preds = %70, %140
  %storemerge = phi ptr [ %142, %140 ], [ %72, %70 ]
  store ptr %storemerge, ptr %8, align 8, !tbaa !5
  call void @sqlite3BtreeLeaveAll(ptr noundef %0) #4
  br label %.thread208

.thread208:                                       ; preds = %.thread208.sink.split, %.thread216
  %.0156214 = phi ptr [ %.0156220, %.thread216 ], [ %15, %.thread208.sink.split ]
  %.3163212 = phi i32 [ 0, %.thread216 ], [ 1, %.thread208.sink.split ]
  br i1 %.not, label %196, label %.thread221

.thread221:                                       ; preds = %.thread208.thread, %186, %.thread208
  %.3163212226 = phi i32 [ %.3163212, %.thread208 ], [ %.3163, %186 ], [ 1, %.thread208.thread ]
  %.0156214224 = phi ptr [ %.0156214, %.thread208 ], [ %15, %186 ], [ %15, %.thread208.thread ]
  %192 = getelementptr inbounds i8, ptr %13, i64 24
  %193 = load ptr, ptr %192, align 8, !tbaa !55
  %.not189 = icmp eq ptr %193, null
  br i1 %.not189, label %196, label %194

194:                                              ; preds = %.thread221
  %195 = call i32 @sqlite3VdbeFinalize(ptr noundef nonnull %193) #4
  br label %196

196:                                              ; preds = %194, %.thread221, %.thread208
  %.3163212227 = phi i32 [ %.3163212226, %194 ], [ %.3163212226, %.thread221 ], [ %.3163212, %.thread208 ]
  %.0156214225 = phi ptr [ %.0156214224, %194 ], [ %.0156214224, %.thread221 ], [ %.0156214, %.thread208 ]
  call void @sqlite3DbFree(ptr noundef %0, ptr noundef %13) #4
  br label %197

197:                                              ; preds = %196, %191
  %.0156213 = phi ptr [ %.0156214225, %196 ], [ %.0156220, %191 ]
  %.3163211 = phi i32 [ %.3163212227, %196 ], [ 0, %191 ]
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %.not190 = icmp eq ptr %198, null
  %199 = select i1 %.not190, ptr null, ptr @.str.7
  call void (ptr, i32, ptr, ...) @sqlite3ErrorWithMsg(ptr noundef %0, i32 noundef %.3163211, ptr noundef %199, ptr noundef %198) #4
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %0, ptr noundef %200) #4
  call void @sqlite3ParserReset(ptr noundef %.0156213) #4
  call void @sqlite3DbFree(ptr noundef %0, ptr noundef %.0156213) #4
  %201 = call i32 @sqlite3ApiExit(ptr noundef %0, i32 noundef %.3163211) #4
  %202 = load ptr, ptr %11, align 8, !tbaa !9
  call void @sqlite3_mutex_leave(ptr noundef %202) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  ret i32 %201
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

declare void @sqlite3_mutex_enter(ptr noundef) local_unnamed_addr #2

declare ptr @sqlite3DbMallocZero(ptr noundef, i64 noundef) local_unnamed_addr #2

declare ptr @sqlite3DbMallocRaw(ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @sqlite3DbFree(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @sqlite3BtreeEnterAll(ptr noundef) local_unnamed_addr #2

declare ptr @sqlite3LocateTable(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @sqlite3ErrorMsg(ptr noundef, ptr noundef, ...) local_unnamed_addr #2

declare void @sqlite3BtreeLeaveAll(ptr noundef) local_unnamed_addr #2

declare i32 @sqlite3SchemaToIndex(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @sqlite3StrICmp(ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @sqlite3MPrintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare ptr @sqlite3VdbeCreate(ptr noundef) local_unnamed_addr #2

declare i32 @sqlite3VdbeAddOp4Int(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @sqlite3VdbeChangeP5(ptr noundef, i16 noundef zeroext) local_unnamed_addr #2

declare ptr @sqlite3VdbeAddOpList(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @sqlite3VdbeUsesBtree(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @sqlite3VdbeChangeP4(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @sqlite3VdbeMakeReady(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @blobSeekToRow(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare i32 @sqlite3VdbeFinalize(ptr noundef) local_unnamed_addr #2

declare void @sqlite3ErrorWithMsg(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2

declare void @sqlite3ParserReset(ptr noundef) local_unnamed_addr #2

declare i32 @sqlite3ApiExit(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @sqlite3_mutex_leave(ptr noundef) local_unnamed_addr #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 24}
!10 = !{!"sqlite3", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !12, i64 48, !12, i64 56, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !13, i64 80, !7, i64 82, !7, i64 83, !7, i64 84, !7, i64 85, !7, i64 86, !7, i64 87, !7, i64 88, !7, i64 89, !7, i64 90, !7, i64 91, !7, i64 92, !7, i64 93, !7, i64 94, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !7, i64 112, !11, i64 160, !14, i64 164, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !7, i64 336, !15, i64 344, !6, i64 400, !6, i64 408, !6, i64 416, !6, i64 424, !11, i64 432, !11, i64 436, !16, i64 440, !6, i64 464, !6, i64 472, !6, i64 480, !16, i64 488, !16, i64 512, !17, i64 536, !7, i64 560, !6, i64 624, !11, i64 632, !11, i64 636, !11, i64 640, !12, i64 648, !12, i64 656, !6, i64 664}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!"sqlite3InitInfo", !11, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7}
!15 = !{!"Lookaside", !11, i64 0, !13, i64 4, !7, i64 6, !11, i64 8, !11, i64 12, !7, i64 16, !6, i64 32, !6, i64 40, !6, i64 48}
!16 = !{!"Hash", !11, i64 0, !11, i64 4, !6, i64 8, !6, i64 16}
!17 = !{!"BusyHandler", !6, i64 0, !6, i64 8, !11, i64 16}
!18 = !{!19, !6, i64 0}
!19 = !{!"Parse", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !7, i64 28, !7, i64 29, !7, i64 30, !7, i64 31, !7, i64 32, !7, i64 33, !7, i64 34, !7, i64 35, !7, i64 36, !7, i64 37, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !6, i64 88, !6, i64 96, !20, i64 104, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !7, i64 192, !7, i64 193, !7, i64 194, !7, i64 196, !7, i64 396, !20, i64 432, !20, i64 448, !13, i64 464, !7, i64 466, !7, i64 467, !7, i64 468, !11, i64 472, !11, i64 476, !11, i64 480, !11, i64 484, !6, i64 488, !6, i64 496, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !20, i64 536, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584}
!20 = !{!"Token", !6, i64 0, !11, i64 8}
!21 = !{!22, !11, i64 84}
!22 = !{!"Table", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !13, i64 68, !13, i64 70, !13, i64 72, !13, i64 74, !7, i64 76, !11, i64 80, !11, i64 84, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120}
!23 = !{!22, !11, i64 64}
!24 = !{!22, !6, i64 24}
!25 = !{!19, !6, i64 8}
!26 = !{!27, !6, i64 48}
!27 = !{!"Incrblob", !11, i64 0, !11, i64 4, !13, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!28 = !{!10, !6, i64 32}
!29 = !{!22, !6, i64 112}
!30 = !{!31, !6, i64 0}
!31 = !{!"Db", !6, i64 0, !6, i64 8, !7, i64 16, !7, i64 17, !6, i64 24}
!32 = !{!27, !6, i64 40}
!33 = !{!22, !13, i64 70}
!34 = !{!22, !6, i64 8}
!35 = !{!36, !6, i64 0}
!36 = !{!"Column", !6, i64 0, !6, i64 8, !6, i64 16, !7, i64 24, !7, i64 25, !7, i64 26, !7, i64 27}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!10, !11, i64 44}
!40 = !{!41, !11, i64 40}
!41 = !{!"FKey", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !7, i64 44, !7, i64 45, !7, i64 48, !7, i64 64}
!42 = !{!43, !11, i64 0}
!43 = !{!"sColMap", !11, i64 0, !6, i64 8}
!44 = distinct !{!44, !38}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.unroll.disable"}
!47 = distinct !{!47, !38}
!48 = !{!49, !13, i64 94}
!49 = !{!"Index", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !13, i64 92, !13, i64 94, !13, i64 96, !7, i64 98, !11, i64 99, !11, i64 99, !11, i64 99, !11, i64 99, !11, i64 99, !11, i64 99, !11, i64 99}
!50 = !{!49, !6, i64 8}
!51 = !{!13, !13, i64 0}
!52 = distinct !{!52, !38}
!53 = distinct !{!53, !46}
!54 = distinct !{!54, !38}
!55 = !{!27, !6, i64 24}
!56 = !{!57, !11, i64 0}
!57 = !{!"Schema", !11, i64 0, !11, i64 4, !16, i64 8, !16, i64 32, !16, i64 56, !16, i64 80, !6, i64 104, !7, i64 112, !7, i64 113, !13, i64 114, !11, i64 116}
!58 = !{!57, !11, i64 4}
!59 = !{!10, !7, i64 85}
!60 = !{!61, !11, i64 4}
!61 = !{!"VdbeOp", !7, i64 0, !7, i64 1, !13, i64 2, !11, i64 4, !11, i64 8, !11, i64 12, !7, i64 16}
!62 = !{!22, !11, i64 56}
!63 = !{!61, !11, i64 8}
!64 = !{!61, !11, i64 12}
!65 = !{!22, !6, i64 0}
!66 = !{!61, !7, i64 0}
!67 = !{!61, !7, i64 1}
!68 = !{!7, !7, i64 0}
!69 = !{!19, !13, i64 464}
!70 = !{!19, !11, i64 56}
!71 = !{!19, !11, i64 52}
!72 = !{!27, !13, i64 8}
!73 = !{!27, !6, i64 32}
!74 = distinct !{!74, !38}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass