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

; 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.Pager = type { ptr, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i64, i64, ptr, ptr, i32, i32, [16 x i8], i32, i64, ptr, i16, i16, i32, i32, i32, i32, i64, ptr, ptr, ptr, ptr, [3 x i32], ptr, ptr, ptr, ptr, ptr, ptr }
%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.sqlite3_file = type { ptr }

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

; 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
declare hidden void @pager_reset(ptr noundef) #1

declare void @sqlite3PageFree(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3PagerClose(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %6 = load ptr, ptr %3, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.Pager, ptr %6, i32 0, i32 58
  %8 = load ptr, ptr %7, align 8, !tbaa !9
  store ptr %8, ptr %5, align 8, !tbaa !5
  call void @sqlite3BeginBenignMalloc()
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  call void @pagerFreeMapHdrs(ptr noundef %9)
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.Pager, ptr %10, i32 0, i32 1
  store i8 0, ptr %11, align 8, !tbaa !14
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.Pager, ptr %12, i32 0, i32 60
  %14 = load ptr, ptr %13, align 8, !tbaa !15
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.Pager, ptr %16, i32 0, i32 7
  %18 = load i8, ptr %17, align 2, !tbaa !16
  %19 = zext i8 %18 to i32
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.Pager, ptr %20, i32 0, i32 48
  %22 = load i32, ptr %21, align 4, !tbaa !17
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %32

25:                                               ; preds = %2
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.sqlite3, ptr %26, i32 0, i32 6
  %28 = load i32, ptr %27, align 4, !tbaa !18
  %29 = and i32 %28, -2147483648
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %32

31:                                               ; preds = %25
  br label %34

32:                                               ; preds = %25, %2
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  br label %34

34:                                               ; preds = %32, %31
  %35 = phi ptr [ null, %31 ], [ %33, %32 ]
  %36 = call i32 @sqlite3WalClose(ptr noundef %14, ptr noundef %15, i32 noundef %19, i32 noundef %22, ptr noundef %35)
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.Pager, ptr %37, i32 0, i32 60
  store ptr null, ptr %38, align 8, !tbaa !15
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  call void @pager_reset(ptr noundef %39)
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.Pager, ptr %40, i32 0, i32 13
  %42 = load i8, ptr %41, align 4, !tbaa !24
  %43 = icmp ne i8 %42, 0
  br i1 %43, label %44, label %46

44:                                               ; preds = %34
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  call void @pager_unlock(ptr noundef %45)
  br label %60

46:                                               ; preds = %34
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.Pager, ptr %47, i32 0, i32 32
  %49 = load ptr, ptr %48, align 8, !tbaa !25
  %50 = getelementptr inbounds %struct.sqlite3_file, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !26
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %58

53:                                               ; preds = %46
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = call i32 @pagerSyncHotJournal(ptr noundef %55)
  %57 = call i32 @pager_error(ptr noundef %54, i32 noundef %56)
  br label %58

58:                                               ; preds = %53, %46
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  call void @pagerUnlockAndRollback(ptr noundef %59)
  br label %60

60:                                               ; preds = %58, %44
  call void @sqlite3EndBenignMalloc()
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.Pager, ptr %61, i32 0, i32 32
  %63 = load ptr, ptr %62, align 8, !tbaa !25
  call void @sqlite3OsClose(ptr noundef %63)
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.Pager, ptr %64, i32 0, i32 31
  %66 = load ptr, ptr %65, align 8, !tbaa !28
  call void @sqlite3OsClose(ptr noundef %66)
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  call void @sqlite3PageFree(ptr noundef %67)
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.Pager, ptr %68, i32 0, i32 59
  %70 = load ptr, ptr %69, align 8, !tbaa !29
  call void @sqlite3PcacheClose(ptr noundef %70)
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  call void @sqlite3_free(ptr noundef %71)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret i32 0
}

declare void @sqlite3BeginBenignMalloc() #2

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

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

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

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

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

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

declare void @sqlite3EndBenignMalloc() #2

declare void @sqlite3OsClose(ptr noundef) #2

declare void @sqlite3PcacheClose(ptr noundef) #2

declare void @sqlite3_free(ptr noundef) #2

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 = { "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 = { 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 272}
!10 = !{!"Pager", !6, i64 0, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !7, i64 27, !7, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !12, i64 96, !12, i64 104, !6, i64 112, !6, i64 120, !11, i64 128, !11, i64 132, !7, i64 136, !11, i64 152, !12, i64 160, !6, i64 168, !13, i64 176, !13, i64 178, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !12, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !7, i64 240, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!10, !7, i64 8}
!15 = !{!10, !6, i64 288}
!16 = !{!10, !7, i64 14}
!17 = !{!10, !11, i64 188}
!18 = !{!19, !11, i64 44}
!19 = !{!"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, !20, 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, !21, i64 344, !6, i64 400, !6, i64 408, !6, i64 416, !6, i64 424, !11, i64 432, !11, i64 436, !22, i64 440, !6, i64 464, !6, i64 472, !6, i64 480, !22, i64 488, !22, i64 512, !23, 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}
!20 = !{!"sqlite3InitInfo", !11, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7}
!21 = !{!"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}
!22 = !{!"Hash", !11, i64 0, !11, i64 4, !6, i64 8, !6, i64 16}
!23 = !{!"BusyHandler", !6, i64 0, !6, i64 8, !11, i64 16}
!24 = !{!10, !7, i64 20}
!25 = !{!10, !6, i64 80}
!26 = !{!27, !6, i64 0}
!27 = !{!"sqlite3_file", !6, i64 0}
!28 = !{!10, !6, i64 72}
!29 = !{!10, !6, i64 280}


; 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"

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

declare void @sqlite3PageFree(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @sqlite3PagerClose(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %0, i64 272
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  tail call void @sqlite3BeginBenignMalloc() #2
  tail call void @pagerFreeMapHdrs(ptr noundef %0)
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  store i8 0, ptr %5, align 8, !tbaa !13
  %6 = getelementptr inbounds i8, ptr %0, i64 288
  %7 = load ptr, ptr %6, align 8, !tbaa !14
  %8 = getelementptr inbounds i8, ptr %0, i64 14
  %9 = load i8, ptr %8, align 2, !tbaa !15
  %10 = zext i8 %9 to i32
  %11 = getelementptr inbounds i8, ptr %0, i64 188
  %12 = load i32, ptr %11, align 4, !tbaa !16
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %16, label %13

13:                                               ; preds = %2
  %14 = getelementptr inbounds i8, ptr %1, i64 44
  %15 = load i32, ptr %14, align 4, !tbaa !17
  %.not23 = icmp sgt i32 %15, -1
  br i1 %.not23, label %16, label %17

16:                                               ; preds = %13, %2
  br label %17

17:                                               ; preds = %13, %16
  %18 = phi ptr [ %4, %16 ], [ null, %13 ]
  %19 = tail call i32 @sqlite3WalClose(ptr noundef %7, ptr noundef %1, i32 noundef %10, i32 noundef %12, ptr noundef %18) #2
  store ptr null, ptr %6, align 8, !tbaa !14
  tail call void @pager_reset(ptr noundef nonnull %0)
  %20 = getelementptr inbounds i8, ptr %0, i64 20
  %21 = load i8, ptr %20, align 4, !tbaa !23
  %.not24 = icmp eq i8 %21, 0
  br i1 %.not24, label %23, label %22

22:                                               ; preds = %17
  tail call void @pager_unlock(ptr noundef nonnull %0)
  br label %31

23:                                               ; preds = %17
  %24 = getelementptr inbounds i8, ptr %0, i64 80
  %25 = load ptr, ptr %24, align 8, !tbaa !24
  %26 = load ptr, ptr %25, align 8, !tbaa !25
  %.not25 = icmp eq ptr %26, null
  br i1 %.not25, label %30, label %27

27:                                               ; preds = %23
  %28 = tail call i32 @pagerSyncHotJournal(ptr noundef nonnull %0)
  %29 = tail call i32 @pager_error(ptr noundef nonnull %0, i32 noundef %28)
  br label %30

30:                                               ; preds = %27, %23
  tail call void @pagerUnlockAndRollback(ptr noundef nonnull %0)
  br label %31

31:                                               ; preds = %30, %22
  tail call void @sqlite3EndBenignMalloc() #2
  %32 = getelementptr inbounds i8, ptr %0, i64 80
  %33 = load ptr, ptr %32, align 8, !tbaa !24
  tail call void @sqlite3OsClose(ptr noundef %33) #2
  %34 = getelementptr inbounds i8, ptr %0, i64 72
  %35 = load ptr, ptr %34, align 8, !tbaa !27
  tail call void @sqlite3OsClose(ptr noundef %35) #2
  tail call void @sqlite3PageFree(ptr noundef %4) #2
  %36 = getelementptr inbounds i8, ptr %0, i64 280
  %37 = load ptr, ptr %36, align 8, !tbaa !28
  tail call void @sqlite3PcacheClose(ptr noundef %37) #2
  tail call void @sqlite3_free(ptr noundef nonnull %0) #2
  ret i32 0
}

declare void @sqlite3BeginBenignMalloc() local_unnamed_addr #1

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

declare i32 @sqlite3WalClose(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

declare void @sqlite3EndBenignMalloc() local_unnamed_addr #1

declare void @sqlite3OsClose(ptr noundef) local_unnamed_addr #1

declare void @sqlite3PcacheClose(ptr noundef) local_unnamed_addr #1

declare void @sqlite3_free(ptr noundef) local_unnamed_addr #1

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 = { "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 272}
!6 = !{!"Pager", !7, i64 0, !8, i64 8, !8, i64 9, !8, i64 10, !8, i64 11, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 17, !8, i64 18, !8, i64 19, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !8, i64 27, !8, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !11, i64 96, !11, i64 104, !7, i64 112, !7, i64 120, !10, i64 128, !10, i64 132, !8, i64 136, !10, i64 152, !11, i64 160, !7, i64 168, !12, i64 176, !12, i64 178, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !11, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !8, i64 240, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !7, i64 296}
!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 = !{!6, !8, i64 8}
!14 = !{!6, !7, i64 288}
!15 = !{!6, !8, i64 14}
!16 = !{!6, !10, i64 188}
!17 = !{!18, !10, i64 44}
!18 = !{!"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, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !12, i64 80, !8, i64 82, !8, i64 83, !8, i64 84, !8, i64 85, !8, i64 86, !8, i64 87, !8, i64 88, !8, i64 89, !8, i64 90, !8, i64 91, !8, i64 92, !8, i64 93, !8, i64 94, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !8, i64 112, !10, i64 160, !19, i64 164, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !7, i64 200, !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, !8, i64 336, !20, i64 344, !7, i64 400, !7, i64 408, !7, i64 416, !7, i64 424, !10, i64 432, !10, i64 436, !21, i64 440, !7, i64 464, !7, i64 472, !7, i64 480, !21, i64 488, !21, i64 512, !22, i64 536, !8, i64 560, !7, i64 624, !10, i64 632, !10, i64 636, !10, i64 640, !11, i64 648, !11, i64 656, !7, i64 664}
!19 = !{!"sqlite3InitInfo", !10, i64 0, !8, i64 4, !8, i64 5, !8, i64 6, !8, i64 7}
!20 = !{!"Lookaside", !10, i64 0, !12, i64 4, !8, i64 6, !10, i64 8, !10, i64 12, !8, i64 16, !7, i64 32, !7, i64 40, !7, i64 48}
!21 = !{!"Hash", !10, i64 0, !10, i64 4, !7, i64 8, !7, i64 16}
!22 = !{!"BusyHandler", !7, i64 0, !7, i64 8, !10, i64 16}
!23 = !{!6, !8, i64 20}
!24 = !{!6, !7, i64 80}
!25 = !{!26, !7, i64 0}
!26 = !{!"sqlite3_file", !7, i64 0}
!27 = !{!6, !7, i64 72}
!28 = !{!6, !7, i64 280}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass