; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci (NvmeRead)

; 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._NVME_DEVICE_PRIVATE_DATA = type { i32, ptr, ptr, ptr, ptr, ptr, i32, i64, %struct.EFI_BLOCK_IO_MEDIA, %struct._EFI_BLOCK_IO_PROTOCOL, %struct._EFI_DISK_INFO_PROTOCOL, i64, [80 x i16], %struct.NVME_ADMIN_NAMESPACE_DATA, ptr }
%struct.EFI_BLOCK_IO_MEDIA = type { i32, i8, i8, i8, i8, i8, i32, i32, i64, i64, i32, i32 }
%struct._EFI_BLOCK_IO_PROTOCOL = type { i64, ptr, ptr, ptr, ptr, ptr }
%struct._EFI_DISK_INFO_PROTOCOL = type { %struct.GUID, ptr, ptr, ptr, ptr }
%struct.GUID = type { i32, i16, i16, [8 x i8] }
%struct.NVME_ADMIN_NAMESPACE_DATA = type { i64, i64, i64, i8, i8, i8, i8, i8, i8, i8, i8, [88 x i8], i64, [16 x %struct.NVME_LBAFORMAT], [192 x i8], [3712 x i8] }
%struct.NVME_LBAFORMAT = type { i16, i8, i8 }
%struct._NVME_CONTROLLER_PRIVATE_DATA = type { i32, ptr, ptr, ptr, ptr, i64, ptr, %struct.NVM_EXPRESS_PASS_THRU_MODE, %struct._NVM_EXPRESS_PASS_THRU_PROTOCOL, ptr, ptr, ptr, [2 x ptr], [2 x ptr], [2 x ptr], [2 x ptr], [2 x %struct.NVME_SQTDBL], [2 x %struct.NVME_CQHDBL], [2 x i8], [2 x i16], %struct.NVME_CAP, ptr }
%struct.NVM_EXPRESS_PASS_THRU_MODE = type { i32, i32, i32, i32, i64, i32 }
%struct._NVM_EXPRESS_PASS_THRU_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr }
%struct.NVME_SQTDBL = type { i16, i16 }
%struct.NVME_CQHDBL = type { i16, i16 }
%struct.NVME_CAP = type { i16, i8, i8, i16, i8, i8 }
%struct.NVME_ADMIN_CONTROLLER_DATA = type { i16, i16, [20 x i8], [40 x i8], [8 x i8], i8, [3 x i8], i8, i8, [2 x i8], [176 x i8], i16, i8, i8, i8, i8, i8, i8, i8, i8, [246 x i8], i8, i8, i16, i32, i16, i16, i8, i8, i16, i16, i8, i8, i16, i16, i32, [164 x i8], [1344 x i8], [32 x %struct.NVME_PSDESCRIPTOR], [1024 x i8] }
%struct.NVME_PSDESCRIPTOR = type { i16, i8, i8, i32, i32, i32, [16 x i8] }

@.str = external hidden unnamed_addr constant [95 x i8], align 1

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

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

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

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

29:                                               ; preds = %4
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct._NVME_CONTROLLER_PRIVATE_DATA, ptr %30, i32 0, i32 9
  %32 = load ptr, ptr %31, align 8, !tbaa !22
  %33 = getelementptr inbounds %struct.NVME_ADMIN_CONTROLLER_DATA, ptr %32, i32 0, i32 8
  %34 = load i8, ptr %33, align 1, !tbaa !27
  %35 = zext i8 %34 to i32
  %36 = shl i32 1, %35
  %37 = load ptr, ptr %11, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct._NVME_CONTROLLER_PRIVATE_DATA, ptr %37, i32 0, i32 20
  %39 = getelementptr inbounds %struct.NVME_CAP, ptr %38, i32 0, i32 4
  %40 = load i8, ptr %39, align 2
  %41 = and i8 %40, 15
  %42 = zext i8 %41 to i32
  %43 = add nsw i32 %42, 12
  %44 = shl i32 1, %43
  %45 = mul nsw i32 %36, %44
  %46 = load i32, ptr %10, align 4, !tbaa !21
  %47 = udiv i32 %45, %46
  store i32 %47, ptr %12, align 4, !tbaa !21
  br label %49

48:                                               ; preds = %4
  store i32 1024, ptr %12, align 4, !tbaa !21
  br label %49

49:                                               ; preds = %48, %29
  br label %50

50:                                               ; preds = %93, %49
  %51 = load i64, ptr %8, align 8, !tbaa !9
  %52 = icmp ugt i64 %51, 0
  br i1 %52, label %53, label %94

53:                                               ; preds = %50
  %54 = load i64, ptr %8, align 8, !tbaa !9
  %55 = load i32, ptr %12, align 4, !tbaa !21
  %56 = zext i32 %55 to i64
  %57 = icmp ugt i64 %54, %56
  br i1 %57, label %58, label %81

58:                                               ; preds = %53
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = ptrtoint ptr %60 to i64
  %62 = load i64, ptr %7, align 8, !tbaa !9
  %63 = load i32, ptr %12, align 4, !tbaa !21
  %64 = call i64 @ReadSectors(ptr noundef %59, i64 noundef %61, i64 noundef %62, i32 noundef %63)
  store i64 %64, ptr %9, align 8, !tbaa !9
  %65 = load i32, ptr %12, align 4, !tbaa !21
  %66 = zext i32 %65 to i64
  %67 = load i64, ptr %8, align 8, !tbaa !9
  %68 = sub i64 %67, %66
  store i64 %68, ptr %8, align 8, !tbaa !9
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = ptrtoint ptr %69 to i64
  %71 = load i32, ptr %12, align 4, !tbaa !21
  %72 = load i32, ptr %10, align 4, !tbaa !21
  %73 = mul i32 %71, %72
  %74 = zext i32 %73 to i64
  %75 = add i64 %70, %74
  %76 = inttoptr i64 %75 to ptr
  store ptr %76, ptr %6, align 8, !tbaa !5
  %77 = load i32, ptr %12, align 4, !tbaa !21
  %78 = zext i32 %77 to i64
  %79 = load i64, ptr %7, align 8, !tbaa !9
  %80 = add i64 %79, %78
  store i64 %80, ptr %7, align 8, !tbaa !9
  br label %89

81:                                               ; preds = %53
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = ptrtoint ptr %83 to i64
  %85 = load i64, ptr %7, align 8, !tbaa !9
  %86 = load i64, ptr %8, align 8, !tbaa !9
  %87 = trunc i64 %86 to i32
  %88 = call i64 @ReadSectors(ptr noundef %82, i64 noundef %84, i64 noundef %85, i32 noundef %87)
  store i64 %88, ptr %9, align 8, !tbaa !9
  store i64 0, ptr %8, align 8, !tbaa !9
  br label %89

89:                                               ; preds = %81, %58
  %90 = load i64, ptr %9, align 8, !tbaa !9
  %91 = icmp slt i64 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %89
  br label %94

93:                                               ; preds = %89
  br label %50, !llvm.loop !29

94:                                               ; preds = %92, %50
  br label %95

95:                                               ; preds = %94
  %96 = call zeroext i8 @DebugPrintEnabled()
  %97 = icmp ne i8 %96, 0
  br i1 %97, label %98, label %111

98:                                               ; preds = %95
  br label %99

99:                                               ; preds = %98
  %100 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 64)
  %101 = icmp ne i8 %100, 0
  br i1 %101, label %102, label %108

102:                                              ; preds = %99
  %103 = load i64, ptr %7, align 8, !tbaa !9
  %104 = load i64, ptr %13, align 8, !tbaa !9
  %105 = load i64, ptr %8, align 8, !tbaa !9
  %106 = load i32, ptr %10, align 4, !tbaa !21
  %107 = load i64, ptr %9, align 8, !tbaa !9
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 64, ptr noundef @.str, i64 noundef %103, i64 noundef %104, i64 noundef %105, i32 noundef %106, i64 noundef %107)
  br label %108

108:                                              ; preds = %102, %99
  br label %109

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110, %95
  br label %112

112:                                              ; preds = %111
  br label %113

113:                                              ; preds = %112
  %114 = load i64, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret i64 %114
}

declare zeroext i8 @DebugPrintEnabled() #2

declare zeroext i8 @DebugPrintLevelEnabled(i64 noundef) #2

declare void @DebugPrint(i64 noundef, 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 = { 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, !6, i64 4472}
!12 = !{!"_NVME_DEVICE_PRIVATE_DATA", !13, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !13, i64 48, !10, i64 56, !14, i64 64, !15, i64 112, !16, i64 160, !10, i64 208, !7, i64 216, !19, i64 376, !6, i64 4472}
!13 = !{!"int", !7, i64 0}
!14 = !{!"", !13, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !13, i64 12, !13, i64 16, !10, i64 24, !10, i64 32, !13, i64 40, !13, i64 44}
!15 = !{!"_EFI_BLOCK_IO_PROTOCOL", !10, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!16 = !{!"_EFI_DISK_INFO_PROTOCOL", !17, i64 0, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!17 = !{!"", !13, i64 0, !18, i64 4, !18, i64 6, !7, i64 8}
!18 = !{!"short", !7, i64 0}
!19 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 25, !7, i64 26, !7, i64 27, !7, i64 28, !7, i64 29, !7, i64 30, !7, i64 31, !7, i64 32, !10, i64 120, !7, i64 128, !7, i64 192, !7, i64 384}
!20 = !{!12, !13, i64 76}
!21 = !{!13, !13, i64 0}
!22 = !{!23, !6, i64 128}
!23 = !{!"_NVME_CONTROLLER_PRIVATE_DATA", !13, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !6, i64 48, !24, i64 56, !25, i64 88, !6, i64 128, !6, i64 136, !6, i64 144, !7, i64 152, !7, i64 168, !7, i64 184, !7, i64 200, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 234, !26, i64 238, !6, i64 248}
!24 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !10, i64 16, !13, i64 24}
!25 = !{!"_NVM_EXPRESS_PASS_THRU_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!26 = !{!"", !18, i64 0, !7, i64 2, !7, i64 2, !7, i64 2, !7, i64 3, !18, i64 4, !18, i64 4, !18, i64 4, !18, i64 5, !7, i64 6, !7, i64 6, !7, i64 7}
!27 = !{!28, !7, i64 77}
!28 = !{!"", !18, i64 0, !18, i64 2, !7, i64 4, !7, i64 24, !7, i64 64, !7, i64 72, !7, i64 73, !7, i64 76, !7, i64 77, !7, i64 78, !7, i64 80, !18, i64 256, !7, i64 258, !7, i64 259, !7, i64 260, !7, i64 261, !7, i64 262, !7, i64 263, !7, i64 264, !7, i64 265, !7, i64 266, !7, i64 512, !7, i64 513, !18, i64 514, !13, i64 516, !18, i64 520, !18, i64 522, !7, i64 524, !7, i64 525, !18, i64 526, !18, i64 528, !7, i64 530, !7, i64 531, !18, i64 532, !18, i64 534, !13, i64 536, !7, i64 540, !7, i64 704, !7, i64 2048, !7, i64 3072}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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

@.str = external hidden unnamed_addr constant [95 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local i64 @NvmeRead(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %0, i64 4472
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 76
  %8 = load i32, ptr %7, align 4, !tbaa !18
  %9 = getelementptr inbounds i8, ptr %6, i64 128
  %10 = load ptr, ptr %9, align 8, !tbaa !19
  %11 = getelementptr inbounds i8, ptr %10, i64 77
  %12 = load i8, ptr %11, align 1, !tbaa !24
  %.not = icmp eq i8 %12, 0
  br i1 %.not, label %22, label %13

13:                                               ; preds = %4
  %14 = zext nneg i8 %12 to i32
  %15 = shl nuw i32 1, %14
  %16 = getelementptr inbounds i8, ptr %6, i64 244
  %17 = load i8, ptr %16, align 2
  %18 = and i8 %17, 15
  %narrow = add nuw nsw i8 %18, 12
  %19 = zext nneg i8 %narrow to i32
  %20 = shl nsw i32 %15, %19
  %21 = udiv i32 %20, %8
  br label %22

22:                                               ; preds = %4, %13
  %.033 = phi i32 [ %21, %13 ], [ 1024, %4 ]
  %.old1.not = icmp eq i64 %3, 0
  br i1 %.old1.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %22
  %23 = zext i32 %.033 to i64
  %24 = mul i32 %.033, %8
  %25 = zext i32 %24 to i64
  %26 = ptrtoint ptr %1 to i64
  br label %27

27:                                               ; preds = %.preheader, %31
  %.036 = phi i64 [ %33, %31 ], [ %3, %.preheader ]
  %.034 = phi i64 [ %35, %31 ], [ %2, %.preheader ]
  %.0 = phi i64 [ %34, %31 ], [ %26, %.preheader ]
  %28 = icmp ugt i64 %.036, %23
  br i1 %28, label %31, label %.thread

.thread:                                          ; preds = %27
  %29 = trunc nuw i64 %.036 to i32
  %30 = tail call i64 @ReadSectors(ptr noundef %0, i64 noundef %.0, i64 noundef %.034, i32 noundef %29)
  br label %.loopexit

31:                                               ; preds = %27
  %32 = tail call i64 @ReadSectors(ptr noundef %0, i64 noundef %.0, i64 noundef %.034, i32 noundef %.033)
  %33 = sub i64 %.036, %23
  %34 = add i64 %.0, %25
  %35 = add i64 %.034, %23
  %36 = icmp sgt i64 %32, -1
  %37 = icmp ne i64 %33, 0
  %or.cond = and i1 %37, %36
  br i1 %or.cond, label %27, label %.loopexit, !llvm.loop !26

.loopexit:                                        ; preds = %31, %.thread, %22
  %.140 = phi i64 [ 0, %22 ], [ %30, %.thread ], [ %32, %31 ]
  %.238 = phi i64 [ 0, %22 ], [ 0, %.thread ], [ %33, %31 ]
  %.2 = phi i64 [ %2, %22 ], [ %.034, %.thread ], [ %35, %31 ]
  %38 = tail call zeroext i8 @DebugPrintEnabled() #2
  %.not45 = icmp eq i8 %38, 0
  br i1 %.not45, label %42, label %39

39:                                               ; preds = %.loopexit
  %40 = tail call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 64) #2
  %.not46 = icmp eq i8 %40, 0
  br i1 %.not46, label %42, label %41

41:                                               ; preds = %39
  tail call void (i64, ptr, ...) @DebugPrint(i64 noundef 64, ptr noundef nonnull @.str, i64 noundef %.2, i64 noundef %3, i64 noundef %.238, i32 noundef %8, i64 noundef %.140) #2
  br label %42

42:                                               ; preds = %39, %41, %.loopexit
  ret i64 %.140
}

declare zeroext i8 @DebugPrintEnabled() local_unnamed_addr #1

declare zeroext i8 @DebugPrintLevelEnabled(i64 noundef) local_unnamed_addr #1

declare void @DebugPrint(i64 noundef, 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, !10, i64 4472}
!6 = !{!"_NVME_DEVICE_PRIVATE_DATA", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !7, i64 48, !11, i64 56, !12, i64 64, !13, i64 112, !14, i64 160, !11, i64 208, !8, i64 216, !17, i64 376, !10, i64 4472}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long long", !8, i64 0}
!12 = !{!"", !7, i64 0, !8, i64 4, !8, i64 5, !8, i64 6, !8, i64 7, !8, i64 8, !7, i64 12, !7, i64 16, !11, i64 24, !11, i64 32, !7, i64 40, !7, i64 44}
!13 = !{!"_EFI_BLOCK_IO_PROTOCOL", !11, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!14 = !{!"_EFI_DISK_INFO_PROTOCOL", !15, i64 0, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!15 = !{!"", !7, i64 0, !16, i64 4, !16, i64 6, !8, i64 8}
!16 = !{!"short", !8, i64 0}
!17 = !{!"", !11, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 25, !8, i64 26, !8, i64 27, !8, i64 28, !8, i64 29, !8, i64 30, !8, i64 31, !8, i64 32, !11, i64 120, !8, i64 128, !8, i64 192, !8, i64 384}
!18 = !{!6, !7, i64 76}
!19 = !{!20, !10, i64 128}
!20 = !{!"_NVME_CONTROLLER_PRIVATE_DATA", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40, !10, i64 48, !21, i64 56, !22, i64 88, !10, i64 128, !10, i64 136, !10, i64 144, !8, i64 152, !8, i64 168, !8, i64 184, !8, i64 200, !8, i64 216, !8, i64 224, !8, i64 232, !8, i64 234, !23, i64 238, !10, i64 248}
!21 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !11, i64 16, !7, i64 24}
!22 = !{!"_NVM_EXPRESS_PASS_THRU_PROTOCOL", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!23 = !{!"", !16, i64 0, !8, i64 2, !8, i64 2, !8, i64 2, !8, i64 3, !16, i64 4, !16, i64 4, !16, i64 4, !16, i64 5, !8, i64 6, !8, i64 6, !8, i64 7}
!24 = !{!25, !8, i64 77}
!25 = !{!"", !16, i64 0, !16, i64 2, !8, i64 4, !8, i64 24, !8, i64 64, !8, i64 72, !8, i64 73, !8, i64 76, !8, i64 77, !8, i64 78, !8, i64 80, !16, i64 256, !8, i64 258, !8, i64 259, !8, i64 260, !8, i64 261, !8, i64 262, !8, i64 263, !8, i64 264, !8, i64 265, !8, i64 266, !8, i64 512, !8, i64 513, !16, i64 514, !7, i64 516, !16, i64 520, !16, i64 522, !8, i64 524, !8, i64 525, !16, i64 526, !16, i64 528, !8, i64 530, !8, i64 531, !16, i64 532, !16, i64 534, !7, i64 536, !8, i64 540, !8, i64 704, !8, i64 2048, !8, i64 3072}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass