; LLVM IR from flomar/sqlmemdb :: sqlite (sqlite3)

; 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.Sqlite3Config = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.sqlite3_mem_methods, %struct.sqlite3_mutex_methods, %struct.sqlite3_pcache_methods2, ptr, i32, i32, i32, i64, i64, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32 }
%struct.sqlite3_mem_methods = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.sqlite3_mutex_methods = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.sqlite3_pcache_methods2 = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.sqlite3 = type { ptr, ptr, ptr, ptr, ptr, i32, i32, i64, i64, i64, i32, 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 }
%union.anon = type { double }
%struct.Lookaside = type { i32, i16, i8, i32, [3 x i32], ptr, ptr, ptr, ptr }
%struct.Hash = type { i32, i32, ptr, ptr }
%struct.BusyHandler = type { ptr, ptr, i32, i8 }
%struct.Db = type { ptr, ptr, i8, i8, ptr }
%struct.LookasideSlot = type { ptr }
%struct.Schema = type { i32, i32, %struct.Hash, %struct.Hash, %struct.Hash, %struct.Hash, ptr, i8, i8, i16, i32 }
%struct.HashElem = type { ptr, ptr, ptr, ptr }
%struct.Vdbe = type <{ ptr, ptr, ptr, ptr, i16, [2 x i8], i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, i64, i16, i8, i8, i8, i16, i8, i32, i32, [7 x i32], [4 x i8], ptr, ptr, ptr, ptr, i32, i32, ptr, ptr }>

@sqlite3Config = external hidden global %struct.Sqlite3Config, align 8

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

; Function Attrs: nounwind uwtable
declare dso_local void @sqlite3_mutex_enter(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @sqlite3_mutex_leave(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_db_status(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #2
  store i32 0, ptr %11, align 4, !tbaa !9
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.sqlite3, ptr %27, i32 0, i32 3
  %29 = load ptr, ptr %28, align 8, !tbaa !11
  call void @sqlite3_mutex_enter(ptr noundef %29)
  %30 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %30, label %345 [
    i32 0, label %31
    i32 4, label %74
    i32 5, label %74
    i32 6, label %74
    i32 11, label %96
    i32 1, label %96
    i32 2, label %140
    i32 3, label %267
    i32 12, label %291
    i32 7, label %292
    i32 8, label %292
    i32 9, label %292
    i32 10, label %330
  ]

31:                                               ; preds = %5
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  %34 = call i32 @sqlite3LookasideUsed(ptr noundef %32, ptr noundef %33)
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %34, ptr %35, align 4, !tbaa !9
  %36 = load i32, ptr %10, align 4, !tbaa !9
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %73

38:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #2
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.sqlite3, ptr %39, i32 0, i32 60
  %41 = getelementptr inbounds %struct.Lookaside, ptr %40, i32 0, i32 6
  %42 = load ptr, ptr %41, align 8, !tbaa !19
  store ptr %42, ptr %12, align 8, !tbaa !5
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %72

45:                                               ; preds = %38
  br label %46

46:                                               ; preds = %51, %45
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.LookasideSlot, ptr %47, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8, !tbaa !20
  %50 = icmp ne ptr %49, null
  br i1 %50, label %51, label %55

51:                                               ; preds = %46
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.LookasideSlot, ptr %52, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !20
  store ptr %54, ptr %12, align 8, !tbaa !5
  br label %46, !llvm.loop !22

55:                                               ; preds = %46
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.sqlite3, ptr %56, i32 0, i32 60
  %58 = getelementptr inbounds %struct.Lookaside, ptr %57, i32 0, i32 5
  %59 = load ptr, ptr %58, align 8, !tbaa !24
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.LookasideSlot, ptr %60, i32 0, i32 0
  store ptr %59, ptr %61, align 8, !tbaa !20
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.sqlite3, ptr %62, i32 0, i32 60
  %64 = getelementptr inbounds %struct.Lookaside, ptr %63, i32 0, i32 6
  %65 = load ptr, ptr %64, align 8, !tbaa !19
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.sqlite3, ptr %66, i32 0, i32 60
  %68 = getelementptr inbounds %struct.Lookaside, ptr %67, i32 0, i32 5
  store ptr %65, ptr %68, align 8, !tbaa !24
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.sqlite3, ptr %69, i32 0, i32 60
  %71 = getelementptr inbounds %struct.Lookaside, ptr %70, i32 0, i32 6
  store ptr null, ptr %71, align 8, !tbaa !19
  br label %72

72:                                               ; preds = %55, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  br label %73

73:                                               ; preds = %72, %31
  br label %346

74:                                               ; preds = %5, %5, %5
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 0, ptr %75, align 4, !tbaa !9
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.sqlite3, ptr %76, i32 0, i32 60
  %78 = getelementptr inbounds %struct.Lookaside, ptr %77, i32 0, i32 4
  %79 = load i32, ptr %7, align 4, !tbaa !9
  %80 = sub nsw i32 %79, 4
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [3 x i32], ptr %78, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 %83, ptr %84, align 4, !tbaa !9
  %85 = load i32, ptr %10, align 4, !tbaa !9
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %95

87:                                               ; preds = %74
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.sqlite3, ptr %88, i32 0, i32 60
  %90 = getelementptr inbounds %struct.Lookaside, ptr %89, i32 0, i32 4
  %91 = load i32, ptr %7, align 4, !tbaa !9
  %92 = sub nsw i32 %91, 4
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [3 x i32], ptr %90, i64 0, i64 %93
  store i32 0, ptr %94, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %87, %74
  br label %346

96:                                               ; preds = %5, %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #2
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #2
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  call void @sqlite3BtreeEnterAll(ptr noundef %97)
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %98

98:                                               ; preds = %132, %96
  %99 = load i32, ptr %14, align 4, !tbaa !9
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.sqlite3, ptr %100, i32 0, i32 5
  %102 = load i32, ptr %101, align 8, !tbaa !25
  %103 = icmp slt i32 %99, %102
  br i1 %103, label %104, label %135

104:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #2
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.sqlite3, ptr %105, i32 0, i32 4
  %107 = load ptr, ptr %106, align 8, !tbaa !26
  %108 = load i32, ptr %14, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds %struct.Db, ptr %107, i64 %109
  %111 = getelementptr inbounds %struct.Db, ptr %110, i32 0, i32 1
  %112 = load ptr, ptr %111, align 8, !tbaa !27
  store ptr %112, ptr %15, align 8, !tbaa !5
  %113 = load ptr, ptr %15, align 8, !tbaa !5
  %114 = icmp ne ptr %113, null
  br i1 %114, label %115, label %131

115:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #2
  %116 = load ptr, ptr %15, align 8, !tbaa !5
  %117 = call ptr @sqlite3BtreePager(ptr noundef %116)
  store ptr %117, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #2
  %118 = load ptr, ptr %16, align 8, !tbaa !5
  %119 = call i32 @sqlite3PagerMemUsed(ptr noundef %118)
  store i32 %119, ptr %17, align 4, !tbaa !9
  %120 = load i32, ptr %7, align 4, !tbaa !9
  %121 = icmp eq i32 %120, 11
  br i1 %121, label %122, label %127

122:                                              ; preds = %115
  %123 = load i32, ptr %17, align 4, !tbaa !9
  %124 = load ptr, ptr %15, align 8, !tbaa !5
  %125 = call i32 @sqlite3BtreeConnectionCount(ptr noundef %124)
  %126 = sdiv i32 %123, %125
  store i32 %126, ptr %17, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %122, %115
  %128 = load i32, ptr %17, align 4, !tbaa !9
  %129 = load i32, ptr %13, align 4, !tbaa !9
  %130 = add nsw i32 %129, %128
  store i32 %130, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #2
  br label %131

131:                                              ; preds = %127, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #2
  br label %132

132:                                              ; preds = %131
  %133 = load i32, ptr %14, align 4, !tbaa !9
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %14, align 4, !tbaa !9
  br label %98, !llvm.loop !29

135:                                              ; preds = %98
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  call void @sqlite3BtreeLeaveAll(ptr noundef %136)
  %137 = load i32, ptr %13, align 4, !tbaa !9
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %137, ptr %138, align 4, !tbaa !9
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 0, ptr %139, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #2
  br label %346

140:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #2
  store i32 0, ptr %19, align 4, !tbaa !9
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  call void @sqlite3BtreeEnterAll(ptr noundef %141)
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.sqlite3, ptr %142, i32 0, i32 81
  store ptr %19, ptr %143, align 8, !tbaa !30
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %144

144:                                              ; preds = %257, %140
  %145 = load i32, ptr %18, align 4, !tbaa !9
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.sqlite3, ptr %146, i32 0, i32 5
  %148 = load i32, ptr %147, align 8, !tbaa !25
  %149 = icmp slt i32 %145, %148
  br i1 %149, label %150, label %260

150:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #2
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.sqlite3, ptr %151, i32 0, i32 4
  %153 = load ptr, ptr %152, align 8, !tbaa !26
  %154 = load i32, ptr %18, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds %struct.Db, ptr %153, i64 %155
  %157 = getelementptr inbounds %struct.Db, ptr %156, i32 0, i32 4
  %158 = load ptr, ptr %157, align 8, !tbaa !31
  store ptr %158, ptr %20, align 8, !tbaa !5
  %159 = load ptr, ptr %20, align 8, !tbaa !5
  %160 = icmp ne ptr %159, null
  br i1 %160, label %161, label %256

161:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #2
  %162 = load ptr, ptr getelementptr inbounds (%struct.sqlite3_mem_methods, ptr getelementptr inbounds (%struct.Sqlite3Config, ptr @sqlite3Config, i32 0, i32 11), i32 0, i32 4), align 8, !tbaa !32
  %163 = call i32 %162(i32 noundef 32)
  %164 = load ptr, ptr %20, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.Schema, ptr %164, i32 0, i32 2
  %166 = getelementptr inbounds %struct.Hash, ptr %165, i32 0, i32 1
  %167 = load i32, ptr %166, align 4, !tbaa !37
  %168 = load ptr, ptr %20, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.Schema, ptr %168, i32 0, i32 4
  %170 = getelementptr inbounds %struct.Hash, ptr %169, i32 0, i32 1
  %171 = load i32, ptr %170, align 4, !tbaa !39
  %172 = add i32 %167, %171
  %173 = load ptr, ptr %20, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.Schema, ptr %173, i32 0, i32 3
  %175 = getelementptr inbounds %struct.Hash, ptr %174, i32 0, i32 1
  %176 = load i32, ptr %175, align 4, !tbaa !40
  %177 = add i32 %172, %176
  %178 = load ptr, ptr %20, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.Schema, ptr %178, i32 0, i32 5
  %180 = getelementptr inbounds %struct.Hash, ptr %179, i32 0, i32 1
  %181 = load i32, ptr %180, align 4, !tbaa !41
  %182 = add i32 %177, %181
  %183 = mul i32 %163, %182
  %184 = load i32, ptr %19, align 4, !tbaa !9
  %185 = add i32 %184, %183
  store i32 %185, ptr %19, align 4, !tbaa !9
  %186 = load ptr, ptr %20, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.Schema, ptr %186, i32 0, i32 2
  %188 = getelementptr inbounds %struct.Hash, ptr %187, i32 0, i32 3
  %189 = load ptr, ptr %188, align 8, !tbaa !42
  %190 = call i64 @sqlite3_msize(ptr noundef %189)
  %191 = load i32, ptr %19, align 4, !tbaa !9
  %192 = sext i32 %191 to i64
  %193 = add i64 %192, %190
  %194 = trunc i64 %193 to i32
  store i32 %194, ptr %19, align 4, !tbaa !9
  %195 = load ptr, ptr %20, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.Schema, ptr %195, i32 0, i32 4
  %197 = getelementptr inbounds %struct.Hash, ptr %196, i32 0, i32 3
  %198 = load ptr, ptr %197, align 8, !tbaa !43
  %199 = call i64 @sqlite3_msize(ptr noundef %198)
  %200 = load i32, ptr %19, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = add i64 %201, %199
  %203 = trunc i64 %202 to i32
  store i32 %203, ptr %19, align 4, !tbaa !9
  %204 = load ptr, ptr %20, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.Schema, ptr %204, i32 0, i32 3
  %206 = getelementptr inbounds %struct.Hash, ptr %205, i32 0, i32 3
  %207 = load ptr, ptr %206, align 8, !tbaa !44
  %208 = call i64 @sqlite3_msize(ptr noundef %207)
  %209 = load i32, ptr %19, align 4, !tbaa !9
  %210 = sext i32 %209 to i64
  %211 = add i64 %210, %208
  %212 = trunc i64 %211 to i32
  store i32 %212, ptr %19, align 4, !tbaa !9
  %213 = load ptr, ptr %20, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.Schema, ptr %213, i32 0, i32 5
  %215 = getelementptr inbounds %struct.Hash, ptr %214, i32 0, i32 3
  %216 = load ptr, ptr %215, align 8, !tbaa !45
  %217 = call i64 @sqlite3_msize(ptr noundef %216)
  %218 = load i32, ptr %19, align 4, !tbaa !9
  %219 = sext i32 %218 to i64
  %220 = add i64 %219, %217
  %221 = trunc i64 %220 to i32
  store i32 %221, ptr %19, align 4, !tbaa !9
  %222 = load ptr, ptr %20, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.Schema, ptr %222, i32 0, i32 4
  %224 = getelementptr inbounds %struct.Hash, ptr %223, i32 0, i32 2
  %225 = load ptr, ptr %224, align 8, !tbaa !46
  store ptr %225, ptr %21, align 8, !tbaa !5
  br label %226

226:                                              ; preds = %234, %161
  %227 = load ptr, ptr %21, align 8, !tbaa !5
  %228 = icmp ne ptr %227, null
  br i1 %228, label %229, label %238

229:                                              ; preds = %226
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = load ptr, ptr %21, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.HashElem, ptr %231, i32 0, i32 2
  %233 = load ptr, ptr %232, align 8, !tbaa !47
  call void @sqlite3DeleteTrigger(ptr noundef %230, ptr noundef %233)
  br label %234

234:                                              ; preds = %229
  %235 = load ptr, ptr %21, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.HashElem, ptr %235, i32 0, i32 0
  %237 = load ptr, ptr %236, align 8, !tbaa !49
  store ptr %237, ptr %21, align 8, !tbaa !5
  br label %226, !llvm.loop !50

238:                                              ; preds = %226
  %239 = load ptr, ptr %20, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.Schema, ptr %239, i32 0, i32 2
  %241 = getelementptr inbounds %struct.Hash, ptr %240, i32 0, i32 2
  %242 = load ptr, ptr %241, align 8, !tbaa !51
  store ptr %242, ptr %21, align 8, !tbaa !5
  br label %243

243:                                              ; preds = %251, %238
  %244 = load ptr, ptr %21, align 8, !tbaa !5
  %245 = icmp ne ptr %244, null
  br i1 %245, label %246, label %255

246:                                              ; preds = %243
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = load ptr, ptr %21, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.HashElem, ptr %248, i32 0, i32 2
  %250 = load ptr, ptr %249, align 8, !tbaa !47
  call void @sqlite3DeleteTable(ptr noundef %247, ptr noundef %250)
  br label %251

251:                                              ; preds = %246
  %252 = load ptr, ptr %21, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.HashElem, ptr %252, i32 0, i32 0
  %254 = load ptr, ptr %253, align 8, !tbaa !49
  store ptr %254, ptr %21, align 8, !tbaa !5
  br label %243, !llvm.loop !52

255:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #2
  br label %256

256:                                              ; preds = %255, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #2
  br label %257

257:                                              ; preds = %256
  %258 = load i32, ptr %18, align 4, !tbaa !9
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %18, align 4, !tbaa !9
  br label %144, !llvm.loop !53

260:                                              ; preds = %144
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.sqlite3, ptr %261, i32 0, i32 81
  store ptr null, ptr %262, align 8, !tbaa !30
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  call void @sqlite3BtreeLeaveAll(ptr noundef %263)
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 0, ptr %264, align 4, !tbaa !9
  %265 = load i32, ptr %19, align 4, !tbaa !9
  %266 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %265, ptr %266, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #2
  br label %346

267:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #2
  store i32 0, ptr %23, align 4, !tbaa !9
  %268 = load ptr, ptr %6, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.sqlite3, ptr %268, i32 0, i32 81
  store ptr %23, ptr %269, align 8, !tbaa !30
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.sqlite3, ptr %270, i32 0, i32 1
  %272 = load ptr, ptr %271, align 8, !tbaa !54
  store ptr %272, ptr %22, align 8, !tbaa !5
  br label %273

273:                                              ; preds = %281, %267
  %274 = load ptr, ptr %22, align 8, !tbaa !5
  %275 = icmp ne ptr %274, null
  br i1 %275, label %276, label %285

276:                                              ; preds = %273
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = load ptr, ptr %22, align 8, !tbaa !5
  call void @sqlite3VdbeClearObject(ptr noundef %277, ptr noundef %278)
  %279 = load ptr, ptr %6, align 8, !tbaa !5
  %280 = load ptr, ptr %22, align 8, !tbaa !5
  call void @sqlite3DbFree(ptr noundef %279, ptr noundef %280)
  br label %281

281:                                              ; preds = %276
  %282 = load ptr, ptr %22, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.Vdbe, ptr %282, i32 0, i32 2
  %284 = load ptr, ptr %283, align 8, !tbaa !55
  store ptr %284, ptr %22, align 8, !tbaa !5
  br label %273, !llvm.loop !57

285:                                              ; preds = %273
  %286 = load ptr, ptr %6, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.sqlite3, ptr %286, i32 0, i32 81
  store ptr null, ptr %287, align 8, !tbaa !30
  %288 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 0, ptr %288, align 4, !tbaa !9
  %289 = load i32, ptr %23, align 4, !tbaa !9
  %290 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %289, ptr %290, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #2
  br label %346

291:                                              ; preds = %5
  store i32 10, ptr %7, align 4, !tbaa !9
  br label %292

292:                                              ; preds = %291, %5, %5, %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #2
  store i32 0, ptr %25, align 4, !tbaa !9
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %293

293:                                              ; preds = %323, %292
  %294 = load i32, ptr %24, align 4, !tbaa !9
  %295 = load ptr, ptr %6, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.sqlite3, ptr %295, i32 0, i32 5
  %297 = load i32, ptr %296, align 8, !tbaa !25
  %298 = icmp slt i32 %294, %297
  br i1 %298, label %299, label %326

299:                                              ; preds = %293
  %300 = load ptr, ptr %6, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.sqlite3, ptr %300, i32 0, i32 4
  %302 = load ptr, ptr %301, align 8, !tbaa !26
  %303 = load i32, ptr %24, align 4, !tbaa !9
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds %struct.Db, ptr %302, i64 %304
  %306 = getelementptr inbounds %struct.Db, ptr %305, i32 0, i32 1
  %307 = load ptr, ptr %306, align 8, !tbaa !27
  %308 = icmp ne ptr %307, null
  br i1 %308, label %309, label %322

309:                                              ; preds = %299
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #2
  %310 = load ptr, ptr %6, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.sqlite3, ptr %310, i32 0, i32 4
  %312 = load ptr, ptr %311, align 8, !tbaa !26
  %313 = load i32, ptr %24, align 4, !tbaa !9
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds %struct.Db, ptr %312, i64 %314
  %316 = getelementptr inbounds %struct.Db, ptr %315, i32 0, i32 1
  %317 = load ptr, ptr %316, align 8, !tbaa !27
  %318 = call ptr @sqlite3BtreePager(ptr noundef %317)
  store ptr %318, ptr %26, align 8, !tbaa !5
  %319 = load ptr, ptr %26, align 8, !tbaa !5
  %320 = load i32, ptr %7, align 4, !tbaa !9
  %321 = load i32, ptr %10, align 4, !tbaa !9
  call void @sqlite3PagerCacheStat(ptr noundef %319, i32 noundef %320, i32 noundef %321, ptr noundef %25)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #2
  br label %322

322:                                              ; preds = %309, %299
  br label %323

323:                                              ; preds = %322
  %324 = load i32, ptr %24, align 4, !tbaa !9
  %325 = add nsw i32 %324, 1
  store i32 %325, ptr %24, align 4, !tbaa !9
  br label %293, !llvm.loop !58

326:                                              ; preds = %293
  %327 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 0, ptr %327, align 4, !tbaa !9
  %328 = load i32, ptr %25, align 4, !tbaa !9
  %329 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %328, ptr %329, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #2
  br label %346

330:                                              ; preds = %5
  %331 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 0, ptr %331, align 4, !tbaa !9
  %332 = load ptr, ptr %6, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.sqlite3, ptr %332, i32 0, i32 80
  %334 = load i64, ptr %333, align 8, !tbaa !59
  %335 = icmp sgt i64 %334, 0
  br i1 %335, label %341, label %336

336:                                              ; preds = %330
  %337 = load ptr, ptr %6, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.sqlite3, ptr %337, i32 0, i32 79
  %339 = load i64, ptr %338, align 8, !tbaa !60
  %340 = icmp sgt i64 %339, 0
  br label %341

341:                                              ; preds = %336, %330
  %342 = phi i1 [ true, %330 ], [ %340, %336 ]
  %343 = zext i1 %342 to i32
  %344 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %343, ptr %344, align 4, !tbaa !9
  br label %346

345:                                              ; preds = %5
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %346

346:                                              ; preds = %345, %341, %326, %285, %260, %135, %95, %73
  %347 = load ptr, ptr %6, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.sqlite3, ptr %347, i32 0, i32 3
  %349 = load ptr, ptr %348, align 8, !tbaa !11
  call void @sqlite3_mutex_leave(ptr noundef %349)
  %350 = load i32, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #2
  ret i32 %350
}

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3LookasideUsed(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3BtreeEnterAll(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden ptr @sqlite3BtreePager(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3PagerMemUsed(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3BtreeConnectionCount(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3BtreeLeaveAll(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i64 @sqlite3_msize(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3DeleteTrigger(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3DeleteTable(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3VdbeClearObject(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3DbFree(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3PagerCacheStat(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"sqlite3", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !13, i64 48, !13, i64 56, !13, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !14, i64 92, !7, i64 94, !7, i64 95, !7, i64 96, !7, i64 97, !7, i64 98, !7, i64 99, !7, i64 100, !7, i64 101, !7, i64 102, !7, i64 103, !7, i64 104, !7, i64 105, !7, i64 106, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !7, i64 124, !10, i64 172, !15, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !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, !6, i64 336, !7, i64 344, !16, i64 352, !6, i64 408, !6, i64 416, !6, i64 424, !6, i64 432, !10, i64 440, !10, i64 444, !17, i64 448, !6, i64 472, !6, i64 480, !6, i64 488, !17, i64 496, !17, i64 520, !18, i64 544, !7, i64 568, !6, i64 632, !10, i64 640, !10, i64 644, !10, i64 648, !13, i64 656, !13, i64 664, !6, i64 672}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!"sqlite3InitInfo", !10, i64 0, !7, i64 4, !7, i64 5, !10, i64 6, !10, i64 6, !10, i64 6}
!16 = !{!"Lookaside", !10, i64 0, !14, i64 4, !7, i64 6, !10, i64 8, !7, i64 12, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!17 = !{!"Hash", !10, i64 0, !10, i64 4, !6, i64 8, !6, i64 16}
!18 = !{!"BusyHandler", !6, i64 0, !6, i64 8, !10, i64 16, !7, i64 20}
!19 = !{!12, !6, i64 384}
!20 = !{!21, !6, i64 0}
!21 = !{!"LookasideSlot", !6, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!12, !6, i64 376}
!25 = !{!12, !10, i64 40}
!26 = !{!12, !6, i64 32}
!27 = !{!28, !6, i64 8}
!28 = !{!"Db", !6, i64 0, !6, i64 8, !7, i64 16, !7, i64 17, !6, i64 24}
!29 = distinct !{!29, !23}
!30 = !{!12, !6, i64 672}
!31 = !{!28, !6, i64 24}
!32 = !{!33, !6, i64 80}
!33 = !{!"Sqlite3Config", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !34, i64 48, !35, i64 112, !36, i64 184, !6, i64 288, !10, i64 296, !10, i64 300, !10, i64 304, !13, i64 312, !13, i64 320, !6, i64 328, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428}
!34 = !{!"sqlite3_mem_methods", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!35 = !{!"sqlite3_mutex_methods", !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}
!36 = !{!"sqlite3_pcache_methods2", !10, 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, !6, i64 88, !6, i64 96}
!37 = !{!38, !10, i64 12}
!38 = !{!"Schema", !10, i64 0, !10, i64 4, !17, i64 8, !17, i64 32, !17, i64 56, !17, i64 80, !6, i64 104, !7, i64 112, !7, i64 113, !14, i64 114, !10, i64 116}
!39 = !{!38, !10, i64 60}
!40 = !{!38, !10, i64 36}
!41 = !{!38, !10, i64 84}
!42 = !{!38, !6, i64 24}
!43 = !{!38, !6, i64 72}
!44 = !{!38, !6, i64 48}
!45 = !{!38, !6, i64 96}
!46 = !{!38, !6, i64 64}
!47 = !{!48, !6, i64 16}
!48 = !{!"HashElem", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!49 = !{!48, !6, i64 0}
!50 = distinct !{!50, !23}
!51 = !{!38, !6, i64 16}
!52 = distinct !{!52, !23}
!53 = distinct !{!53, !23}
!54 = !{!12, !6, i64 8}
!55 = !{!56, !6, i64 16}
!56 = !{!"Vdbe", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !14, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !10, i64 144, !10, i64 148, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !13, i64 184, !14, i64 192, !7, i64 194, !7, i64 195, !7, i64 196, !10, i64 197, !10, i64 197, !10, i64 197, !10, i64 197, !10, i64 197, !10, i64 197, !10, i64 198, !10, i64 198, !10, i64 200, !10, i64 204, !7, i64 208, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !10, i64 272, !10, i64 276, !6, i64 280, !6, i64 288}
!57 = distinct !{!57, !23}
!58 = distinct !{!58, !23}
!59 = !{!12, !13, i64 664}
!60 = !{!12, !13, i64 656}


; 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.Sqlite3Config = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.sqlite3_mem_methods, %struct.sqlite3_mutex_methods, %struct.sqlite3_pcache_methods2, ptr, i32, i32, i32, i64, i64, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32 }
%struct.sqlite3_mem_methods = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.sqlite3_mutex_methods = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.sqlite3_pcache_methods2 = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.Db = type { ptr, ptr, i8, i8, ptr }

@sqlite3Config = external hidden local_unnamed_addr global %struct.Sqlite3Config, align 8

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

; Function Attrs: nounwind uwtable
declare dso_local void @sqlite3_mutex_enter(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @sqlite3_mutex_leave(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @sqlite3_db_status(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #1 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  tail call void @sqlite3_mutex_enter(ptr noundef %10)
  switch i32 %1, label %154 [
    i32 0, label %11
    i32 4, label %20
    i32 5, label %20
    i32 6, label %20
    i32 11, label %27
    i32 1, label %27
    i32 2, label %59
    i32 3, label %120
    i32 12, label %125
    i32 7, label %126
    i32 8, label %126
    i32 9, label %126
    i32 10, label %143
  ]

11:                                               ; preds = %5
  %12 = tail call i32 @sqlite3LookasideUsed(ptr noundef nonnull %0, ptr noundef %3)
  store i32 %12, ptr %2, align 4, !tbaa !17
  %.not119 = icmp eq i32 %4, 0
  br i1 %.not119, label %154, label %13

13:                                               ; preds = %11
  %14 = getelementptr inbounds i8, ptr %0, i64 384
  %15 = load ptr, ptr %14, align 8, !tbaa !18
  %.not120 = icmp eq ptr %15, null
  br i1 %.not120, label %154, label %.preheader

.preheader:                                       ; preds = %13, %.preheader
  %.0104 = phi ptr [ %16, %.preheader ], [ %15, %13 ]
  %16 = load ptr, ptr %.0104, align 8, !tbaa !19
  %.not121 = icmp eq ptr %16, null
  br i1 %.not121, label %17, label %.preheader, !llvm.loop !21

17:                                               ; preds = %.preheader
  %18 = getelementptr inbounds i8, ptr %0, i64 376
  %19 = load ptr, ptr %18, align 8, !tbaa !23
  store ptr %19, ptr %.0104, align 8, !tbaa !19
  store ptr %15, ptr %18, align 8, !tbaa !23
  store ptr null, ptr %14, align 8, !tbaa !18
  br label %154

20:                                               ; preds = %5, %5, %5
  store i32 0, ptr %2, align 4, !tbaa !17
  %21 = getelementptr inbounds i8, ptr %0, i64 364
  %22 = add nsw i32 %1, -4
  %23 = zext nneg i32 %22 to i64
  %24 = getelementptr inbounds [3 x i32], ptr %21, i64 0, i64 %23
  %25 = load i32, ptr %24, align 4, !tbaa !17
  store i32 %25, ptr %3, align 4, !tbaa !17
  %.not118 = icmp eq i32 %4, 0
  br i1 %.not118, label %154, label %26

26:                                               ; preds = %20
  store i32 0, ptr %24, align 4, !tbaa !17
  br label %154

27:                                               ; preds = %5, %5
  tail call void @sqlite3BtreeEnterAll(ptr noundef nonnull %0)
  %28 = getelementptr inbounds i8, ptr %0, i64 40
  %29 = load i32, ptr %28, align 8, !tbaa !24
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.lr.ph147, label %._crit_edge148

.lr.ph147:                                        ; preds = %27
  %31 = getelementptr inbounds i8, ptr %0, i64 32
  %32 = icmp eq i32 %1, 11
  br i1 %32, label %.lr.ph147.split.us, label %.lr.ph147.split

.lr.ph147.split.us:                               ; preds = %.lr.ph147, %43
  %33 = phi i32 [ %44, %43 ], [ %29, %.lr.ph147 ]
  %indvars.iv157 = phi i64 [ %indvars.iv.next158, %43 ], [ 0, %.lr.ph147 ]
  %.0105145.us = phi i32 [ %.1106.us, %43 ], [ 0, %.lr.ph147 ]
  %34 = load ptr, ptr %31, align 8, !tbaa !25
  %35 = getelementptr inbounds %struct.Db, ptr %34, i64 %indvars.iv157, i32 1
  %36 = load ptr, ptr %35, align 8, !tbaa !26
  %.not117.us = icmp eq ptr %36, null
  br i1 %.not117.us, label %43, label %37

37:                                               ; preds = %.lr.ph147.split.us
  %38 = tail call ptr @sqlite3BtreePager(ptr noundef nonnull %36)
  %39 = tail call i32 @sqlite3PagerMemUsed(ptr noundef %38)
  %40 = tail call i32 @sqlite3BtreeConnectionCount(ptr noundef nonnull %36)
  %41 = sdiv i32 %39, %40
  %42 = add nsw i32 %41, %.0105145.us
  %.pre163 = load i32, ptr %28, align 8, !tbaa !24
  br label %43

43:                                               ; preds = %37, %.lr.ph147.split.us
  %44 = phi i32 [ %.pre163, %37 ], [ %33, %.lr.ph147.split.us ]
  %.1106.us = phi i32 [ %42, %37 ], [ %.0105145.us, %.lr.ph147.split.us ]
  %indvars.iv.next158 = add nuw nsw i64 %indvars.iv157, 1
  %45 = sext i32 %44 to i64
  %46 = icmp slt i64 %indvars.iv.next158, %45
  br i1 %46, label %.lr.ph147.split.us, label %._crit_edge148, !llvm.loop !28

.lr.ph147.split:                                  ; preds = %.lr.ph147, %55
  %47 = phi i32 [ %56, %55 ], [ %29, %.lr.ph147 ]
  %indvars.iv154 = phi i64 [ %indvars.iv.next155, %55 ], [ 0, %.lr.ph147 ]
  %.0105145 = phi i32 [ %.1106, %55 ], [ 0, %.lr.ph147 ]
  %48 = load ptr, ptr %31, align 8, !tbaa !25
  %49 = getelementptr inbounds %struct.Db, ptr %48, i64 %indvars.iv154, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !26
  %.not117 = icmp eq ptr %50, null
  br i1 %.not117, label %55, label %51

51:                                               ; preds = %.lr.ph147.split
  %52 = tail call ptr @sqlite3BtreePager(ptr noundef nonnull %50)
  %53 = tail call i32 @sqlite3PagerMemUsed(ptr noundef %52)
  %54 = add nsw i32 %53, %.0105145
  %.pre162 = load i32, ptr %28, align 8, !tbaa !24
  br label %55

55:                                               ; preds = %51, %.lr.ph147.split
  %56 = phi i32 [ %.pre162, %51 ], [ %47, %.lr.ph147.split ]
  %.1106 = phi i32 [ %54, %51 ], [ %.0105145, %.lr.ph147.split ]
  %indvars.iv.next155 = add nuw nsw i64 %indvars.iv154, 1
  %57 = sext i32 %56 to i64
  %58 = icmp slt i64 %indvars.iv.next155, %57
  br i1 %58, label %.lr.ph147.split, label %._crit_edge148, !llvm.loop !28

._crit_edge148:                                   ; preds = %55, %43, %27
  %.0105.lcssa = phi i32 [ 0, %27 ], [ %.1106.us, %43 ], [ %.1106, %55 ]
  tail call void @sqlite3BtreeLeaveAll(ptr noundef nonnull %0)
  store i32 %.0105.lcssa, ptr %2, align 4, !tbaa !17
  store i32 0, ptr %3, align 4, !tbaa !17
  br label %154

59:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #2
  store i32 0, ptr %6, align 4, !tbaa !17
  tail call void @sqlite3BtreeEnterAll(ptr noundef nonnull %0)
  %60 = getelementptr inbounds i8, ptr %0, i64 672
  store ptr %6, ptr %60, align 8, !tbaa !29
  %61 = getelementptr inbounds i8, ptr %0, i64 40
  %62 = load i32, ptr %61, align 8, !tbaa !24
  %63 = icmp sgt i32 %62, 0
  br i1 %63, label %.lr.ph142, label %._crit_edge143

.lr.ph142:                                        ; preds = %59
  %64 = getelementptr inbounds i8, ptr %0, i64 32
  br label %65

65:                                               ; preds = %.lr.ph142, %.loopexit
  %indvars.iv151 = phi i64 [ 0, %.lr.ph142 ], [ %indvars.iv.next152, %.loopexit ]
  %66 = load ptr, ptr %64, align 8, !tbaa !25
  %67 = getelementptr inbounds %struct.Db, ptr %66, i64 %indvars.iv151, i32 4
  %68 = load ptr, ptr %67, align 8, !tbaa !30
  %.not114 = icmp eq ptr %68, null
  br i1 %.not114, label %.loopexit, label %69

69:                                               ; preds = %65
  %70 = load ptr, ptr getelementptr inbounds (i8, ptr @sqlite3Config, i64 80), align 8, !tbaa !31
  %71 = call i32 %70(i32 noundef 32) #2
  %72 = getelementptr inbounds i8, ptr %68, i64 12
  %73 = load i32, ptr %72, align 4, !tbaa !36
  %74 = getelementptr inbounds i8, ptr %68, i64 60
  %75 = load i32, ptr %74, align 4, !tbaa !38
  %76 = add i32 %75, %73
  %77 = getelementptr inbounds i8, ptr %68, i64 36
  %78 = load i32, ptr %77, align 4, !tbaa !39
  %79 = add i32 %76, %78
  %80 = getelementptr inbounds i8, ptr %68, i64 84
  %81 = load i32, ptr %80, align 4, !tbaa !40
  %82 = add i32 %79, %81
  %83 = mul i32 %82, %71
  %84 = load i32, ptr %6, align 4, !tbaa !17
  %85 = add i32 %83, %84
  store i32 %85, ptr %6, align 4, !tbaa !17
  %86 = getelementptr inbounds i8, ptr %68, i64 24
  %87 = load ptr, ptr %86, align 8, !tbaa !41
  %88 = call i64 @sqlite3_msize(ptr noundef %87)
  %89 = load i32, ptr %6, align 4, !tbaa !17
  %90 = trunc i64 %88 to i32
  %91 = add i32 %89, %90
  store i32 %91, ptr %6, align 4, !tbaa !17
  %92 = getelementptr inbounds i8, ptr %68, i64 72
  %93 = load ptr, ptr %92, align 8, !tbaa !42
  %94 = call i64 @sqlite3_msize(ptr noundef %93)
  %95 = load i32, ptr %6, align 4, !tbaa !17
  %96 = trunc i64 %94 to i32
  %97 = add i32 %95, %96
  store i32 %97, ptr %6, align 4, !tbaa !17
  %98 = getelementptr inbounds i8, ptr %68, i64 48
  %99 = load ptr, ptr %98, align 8, !tbaa !43
  %100 = call i64 @sqlite3_msize(ptr noundef %99)
  %101 = load i32, ptr %6, align 4, !tbaa !17
  %102 = trunc i64 %100 to i32
  %103 = add i32 %101, %102
  store i32 %103, ptr %6, align 4, !tbaa !17
  %104 = getelementptr inbounds i8, ptr %68, i64 96
  %105 = load ptr, ptr %104, align 8, !tbaa !44
  %106 = call i64 @sqlite3_msize(ptr noundef %105)
  %107 = load i32, ptr %6, align 4, !tbaa !17
  %108 = trunc i64 %106 to i32
  %109 = add i32 %107, %108
  store i32 %109, ptr %6, align 4, !tbaa !17
  %110 = getelementptr inbounds i8, ptr %68, i64 64
  %.0100129 = load ptr, ptr %110, align 8, !tbaa !45
  %.not115130 = icmp eq ptr %.0100129, null
  br i1 %.not115130, label %._crit_edge134, label %.lr.ph133

.lr.ph133:                                        ; preds = %69, %.lr.ph133
  %.0100131 = phi ptr [ %.0100, %.lr.ph133 ], [ %.0100129, %69 ]
  %111 = getelementptr inbounds i8, ptr %.0100131, i64 16
  %112 = load ptr, ptr %111, align 8, !tbaa !46
  call void @sqlite3DeleteTrigger(ptr noundef %0, ptr noundef %112)
  %.0100 = load ptr, ptr %.0100131, align 8, !tbaa !45
  %.not115 = icmp eq ptr %.0100, null
  br i1 %.not115, label %._crit_edge134, label %.lr.ph133, !llvm.loop !48

._crit_edge134:                                   ; preds = %.lr.ph133, %69
  %113 = getelementptr inbounds i8, ptr %68, i64 16
  %.1135 = load ptr, ptr %113, align 8, !tbaa !45
  %.not116136 = icmp eq ptr %.1135, null
  br i1 %.not116136, label %.loopexit, label %.lr.ph139

.lr.ph139:                                        ; preds = %._crit_edge134, %.lr.ph139
  %.1137 = phi ptr [ %.1, %.lr.ph139 ], [ %.1135, %._crit_edge134 ]
  %114 = getelementptr inbounds i8, ptr %.1137, i64 16
  %115 = load ptr, ptr %114, align 8, !tbaa !46
  call void @sqlite3DeleteTable(ptr noundef %0, ptr noundef %115)
  %.1 = load ptr, ptr %.1137, align 8, !tbaa !45
  %.not116 = icmp eq ptr %.1, null
  br i1 %.not116, label %.loopexit, label %.lr.ph139, !llvm.loop !49

.loopexit:                                        ; preds = %.lr.ph139, %._crit_edge134, %65
  %indvars.iv.next152 = add nuw nsw i64 %indvars.iv151, 1
  %116 = load i32, ptr %61, align 8, !tbaa !24
  %117 = sext i32 %116 to i64
  %118 = icmp slt i64 %indvars.iv.next152, %117
  br i1 %118, label %65, label %._crit_edge143, !llvm.loop !50

._crit_edge143:                                   ; preds = %.loopexit, %59
  store ptr null, ptr %60, align 8, !tbaa !29
  call void @sqlite3BtreeLeaveAll(ptr noundef nonnull %0)
  store i32 0, ptr %3, align 4, !tbaa !17
  %119 = load i32, ptr %6, align 4, !tbaa !17
  store i32 %119, ptr %2, align 4, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #2
  br label %154

120:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #2
  store i32 0, ptr %7, align 4, !tbaa !17
  %121 = getelementptr inbounds i8, ptr %0, i64 672
  store ptr %7, ptr %121, align 8, !tbaa !29
  %122 = getelementptr inbounds i8, ptr %0, i64 8
  %.099123 = load ptr, ptr %122, align 8, !tbaa !45
  %.not113124 = icmp eq ptr %.099123, null
  br i1 %.not113124, label %._crit_edge128, label %.lr.ph127

.lr.ph127:                                        ; preds = %120, %.lr.ph127
  %.099125 = phi ptr [ %.099, %.lr.ph127 ], [ %.099123, %120 ]
  call void @sqlite3VdbeClearObject(ptr noundef %0, ptr noundef nonnull %.099125)
  call void @sqlite3DbFree(ptr noundef %0, ptr noundef nonnull %.099125)
  %123 = getelementptr inbounds i8, ptr %.099125, i64 16
  %.099 = load ptr, ptr %123, align 8, !tbaa !45
  %.not113 = icmp eq ptr %.099, null
  br i1 %.not113, label %._crit_edge128.loopexit, label %.lr.ph127, !llvm.loop !51

._crit_edge128.loopexit:                          ; preds = %.lr.ph127
  %.pre161 = load i32, ptr %7, align 4, !tbaa !17
  br label %._crit_edge128

._crit_edge128:                                   ; preds = %._crit_edge128.loopexit, %120
  %124 = phi i32 [ %.pre161, %._crit_edge128.loopexit ], [ 0, %120 ]
  store ptr null, ptr %121, align 8, !tbaa !29
  store i32 0, ptr %3, align 4, !tbaa !17
  store i32 %124, ptr %2, align 4, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #2
  br label %154

125:                                              ; preds = %5
  br label %126

126:                                              ; preds = %125, %5, %5, %5
  %.0 = phi i32 [ %1, %5 ], [ %1, %5 ], [ %1, %5 ], [ 10, %125 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #2
  store i32 0, ptr %8, align 4, !tbaa !17
  %127 = getelementptr inbounds i8, ptr %0, i64 40
  %128 = load i32, ptr %127, align 8, !tbaa !24
  %129 = icmp sgt i32 %128, 0
  br i1 %129, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %126
  %130 = getelementptr inbounds i8, ptr %0, i64 32
  br label %131

131:                                              ; preds = %.lr.ph, %138
  %132 = phi i32 [ %128, %.lr.ph ], [ %139, %138 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %138 ]
  %133 = load ptr, ptr %130, align 8, !tbaa !25
  %134 = getelementptr inbounds %struct.Db, ptr %133, i64 %indvars.iv, i32 1
  %135 = load ptr, ptr %134, align 8, !tbaa !26
  %.not = icmp eq ptr %135, null
  br i1 %.not, label %138, label %136

136:                                              ; preds = %131
  %137 = call ptr @sqlite3BtreePager(ptr noundef nonnull %135)
  call void @sqlite3PagerCacheStat(ptr noundef %137, i32 noundef %.0, i32 noundef %4, ptr noundef nonnull %8)
  %.pre = load i32, ptr %127, align 8, !tbaa !24
  br label %138

138:                                              ; preds = %131, %136
  %139 = phi i32 [ %132, %131 ], [ %.pre, %136 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %140 = sext i32 %139 to i64
  %141 = icmp slt i64 %indvars.iv.next, %140
  br i1 %141, label %131, label %._crit_edge.loopexit, !llvm.loop !52

._crit_edge.loopexit:                             ; preds = %138
  %.pre160 = load i32, ptr %8, align 4, !tbaa !17
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %126
  %142 = phi i32 [ %.pre160, %._crit_edge.loopexit ], [ 0, %126 ]
  store i32 0, ptr %3, align 4, !tbaa !17
  store i32 %142, ptr %2, align 4, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #2
  br label %154

143:                                              ; preds = %5
  store i32 0, ptr %3, align 4, !tbaa !17
  %144 = getelementptr inbounds i8, ptr %0, i64 664
  %145 = load i64, ptr %144, align 8, !tbaa !53
  %146 = icmp sgt i64 %145, 0
  br i1 %146, label %152, label %147

147:                                              ; preds = %143
  %148 = getelementptr inbounds i8, ptr %0, i64 656
  %149 = load i64, ptr %148, align 8, !tbaa !54
  %150 = icmp sgt i64 %149, 0
  %151 = zext i1 %150 to i32
  br label %152

152:                                              ; preds = %147, %143
  %153 = phi i32 [ 1, %143 ], [ %151, %147 ]
  store i32 %153, ptr %2, align 4, !tbaa !17
  br label %154

154:                                              ; preds = %5, %13, %17, %20, %26, %11, %152, %._crit_edge, %._crit_edge128, %._crit_edge143, %._crit_edge148
  %.0101 = phi i32 [ 0, %152 ], [ 0, %._crit_edge ], [ 0, %._crit_edge128 ], [ 0, %._crit_edge143 ], [ 0, %._crit_edge148 ], [ 0, %26 ], [ 0, %20 ], [ 0, %11 ], [ 0, %17 ], [ 0, %13 ], [ 1, %5 ]
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  call void @sqlite3_mutex_leave(ptr noundef %155)
  ret i32 %.0101
}

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3LookasideUsed(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3BtreeEnterAll(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden ptr @sqlite3BtreePager(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3PagerMemUsed(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3BtreeConnectionCount(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3BtreeLeaveAll(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i64 @sqlite3_msize(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3DeleteTrigger(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3DeleteTable(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3VdbeClearObject(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3DbFree(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @sqlite3PagerCacheStat(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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, !7, i64 24}
!6 = !{!"sqlite3", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !10, i64 44, !11, i64 48, !11, i64 56, !11, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !12, i64 92, !8, i64 94, !8, i64 95, !8, i64 96, !8, i64 97, !8, i64 98, !8, i64 99, !8, i64 100, !8, i64 101, !8, i64 102, !8, i64 103, !8, i64 104, !8, i64 105, !8, i64 106, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !8, i64 124, !10, i64 172, !13, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312, !7, i64 320, !7, i64 328, !7, i64 336, !8, i64 344, !14, i64 352, !7, i64 408, !7, i64 416, !7, i64 424, !7, i64 432, !10, i64 440, !10, i64 444, !15, i64 448, !7, i64 472, !7, i64 480, !7, i64 488, !15, i64 496, !15, i64 520, !16, i64 544, !8, i64 568, !7, i64 632, !10, i64 640, !10, i64 644, !10, i64 648, !11, i64 656, !11, i64 664, !7, i64 672}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long long", !8, i64 0}
!12 = !{!"short", !8, i64 0}
!13 = !{!"sqlite3InitInfo", !10, i64 0, !8, i64 4, !8, i64 5, !10, i64 6, !10, i64 6, !10, i64 6}
!14 = !{!"Lookaside", !10, i64 0, !12, i64 4, !8, i64 6, !10, i64 8, !8, i64 12, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}
!15 = !{!"Hash", !10, i64 0, !10, i64 4, !7, i64 8, !7, i64 16}
!16 = !{!"BusyHandler", !7, i64 0, !7, i64 8, !10, i64 16, !8, i64 20}
!17 = !{!10, !10, i64 0}
!18 = !{!6, !7, i64 384}
!19 = !{!20, !7, i64 0}
!20 = !{!"LookasideSlot", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!6, !7, i64 376}
!24 = !{!6, !10, i64 40}
!25 = !{!6, !7, i64 32}
!26 = !{!27, !7, i64 8}
!27 = !{!"Db", !7, i64 0, !7, i64 8, !8, i64 16, !8, i64 17, !7, i64 24}
!28 = distinct !{!28, !22}
!29 = !{!6, !7, i64 672}
!30 = !{!27, !7, i64 24}
!31 = !{!32, !7, i64 80}
!32 = !{!"Sqlite3Config", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !33, i64 48, !34, i64 112, !35, i64 184, !7, i64 288, !10, i64 296, !10, i64 300, !10, i64 304, !11, i64 312, !11, i64 320, !7, i64 328, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !7, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428}
!33 = !{!"sqlite3_mem_methods", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!34 = !{!"sqlite3_mutex_methods", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64}
!35 = !{!"sqlite3_pcache_methods2", !10, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96}
!36 = !{!37, !10, i64 12}
!37 = !{!"Schema", !10, i64 0, !10, i64 4, !15, i64 8, !15, i64 32, !15, i64 56, !15, i64 80, !7, i64 104, !8, i64 112, !8, i64 113, !12, i64 114, !10, i64 116}
!38 = !{!37, !10, i64 60}
!39 = !{!37, !10, i64 36}
!40 = !{!37, !10, i64 84}
!41 = !{!37, !7, i64 24}
!42 = !{!37, !7, i64 72}
!43 = !{!37, !7, i64 48}
!44 = !{!37, !7, i64 96}
!45 = !{!7, !7, i64 0}
!46 = !{!47, !7, i64 16}
!47 = !{!"HashElem", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!48 = distinct !{!48, !22}
!49 = distinct !{!49, !22}
!50 = distinct !{!50, !22}
!51 = distinct !{!51, !22}
!52 = distinct !{!52, !22}
!53 = !{!6, !11, i64 664}
!54 = !{!6, !11, i64 656}


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