; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library (ScsiReadCapacity16Command)

; 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.EFI_SCSI_IO_SCSI_REQUEST_PACKET = type { i64, ptr, ptr, ptr, ptr, i32, i32, i8, i8, i8, i8, i8 }
%struct._EFI_SCSI_IO_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, i32 }

@.str = external hidden unnamed_addr constant [142 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [27 x i8], align 1

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

declare zeroext i8 @DebugAssertEnabled() #1

declare void @DebugAssert(ptr noundef, i64 noundef, ptr noundef) #1

declare ptr @ZeroMem(ptr noundef, i64 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 i64 @ScsiReadCapacity16Command(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i8 noundef zeroext %8) #2 {
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i8, align 1
  %19 = alloca %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca [16 x i8], align 16
  %23 = alloca i64, align 8
  %24 = alloca [16 x i8], align 16
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i64 %1, ptr %11, align 8, !tbaa !9
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store i8 %8, ptr %18, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 56, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #3
  br label %25

25:                                               ; preds = %9
  %26 = call zeroext i8 @DebugAssertEnabled()
  %27 = icmp ne i8 %26, 0
  br i1 %27, label %28, label %33

28:                                               ; preds = %25
  %29 = load ptr, ptr %13, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  call void @DebugAssert(ptr noundef @.str, i64 noundef 806, ptr noundef @.str.1)
  br label %32

32:                                               ; preds = %31, %28
  br label %33

33:                                               ; preds = %32, %25
  br label %34

34:                                               ; preds = %33
  br label %35

35:                                               ; preds = %34
  br label %36

36:                                               ; preds = %35
  %37 = call zeroext i8 @DebugAssertEnabled()
  %38 = icmp ne i8 %37, 0
  br i1 %38, label %39, label %44

39:                                               ; preds = %36
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  %41 = icmp ne ptr %40, null
  br i1 %41, label %43, label %42

42:                                               ; preds = %39
  call void @DebugAssert(ptr noundef @.str, i64 noundef 807, ptr noundef @.str.2)
  br label %43

43:                                               ; preds = %42, %39
  br label %44

44:                                               ; preds = %43, %36
  br label %45

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  %48 = call zeroext i8 @DebugAssertEnabled()
  %49 = icmp ne i8 %48, 0
  br i1 %49, label %50, label %55

50:                                               ; preds = %47
  %51 = load ptr, ptr %15, align 8, !tbaa !5
  %52 = icmp ne ptr %51, null
  br i1 %52, label %54, label %53

53:                                               ; preds = %50
  call void @DebugAssert(ptr noundef @.str, i64 noundef 808, ptr noundef @.str.3)
  br label %54

54:                                               ; preds = %53, %50
  br label %55

55:                                               ; preds = %54, %47
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57
  %59 = call zeroext i8 @DebugAssertEnabled()
  %60 = icmp ne i8 %59, 0
  br i1 %60, label %61, label %66

61:                                               ; preds = %58
  %62 = load ptr, ptr %17, align 8, !tbaa !5
  %63 = icmp ne ptr %62, null
  br i1 %63, label %65, label %64

64:                                               ; preds = %61
  call void @DebugAssert(ptr noundef @.str, i64 noundef 809, ptr noundef @.str.6)
  br label %65

65:                                               ; preds = %64, %61
  br label %66

66:                                               ; preds = %65, %58
  br label %67

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68
  %70 = call zeroext i8 @DebugAssertEnabled()
  %71 = icmp ne i8 %70, 0
  br i1 %71, label %72, label %77

72:                                               ; preds = %69
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = icmp ne ptr %73, null
  br i1 %74, label %76, label %75

75:                                               ; preds = %72
  call void @DebugAssert(ptr noundef @.str, i64 noundef 810, ptr noundef @.str.4)
  br label %76

76:                                               ; preds = %75, %72
  br label %77

77:                                               ; preds = %76, %69
  br label %78

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78
  %80 = call ptr @ZeroMem(ptr noundef %19, i64 noundef 56)
  %81 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 0
  %82 = call ptr @ZeroMem(ptr noundef %81, i64 noundef 16)
  %83 = load i64, ptr %11, align 8, !tbaa !9
  %84 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 0
  store i64 %83, ptr %84, align 8, !tbaa !12
  %85 = load ptr, ptr %16, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 1
  store ptr %85, ptr %86, align 8, !tbaa !15
  %87 = load ptr, ptr %12, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 3
  store ptr %87, ptr %88, align 8, !tbaa !16
  %89 = load ptr, ptr %17, align 8, !tbaa !5
  %90 = load i32, ptr %89, align 4, !tbaa !17
  %91 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 5
  store i32 %90, ptr %91, align 8, !tbaa !18
  %92 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 0
  %93 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 4
  store ptr %92, ptr %93, align 8, !tbaa !19
  %94 = getelementptr inbounds [16 x i8], ptr %22, i64 0, i64 0
  store ptr %94, ptr %21, align 8, !tbaa !5
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._EFI_SCSI_IO_PROTOCOL, ptr %95, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8, !tbaa !20
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = call i64 %97(ptr noundef %98, ptr noundef %21, ptr noundef %20)
  %100 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 0
  store i8 -98, ptr %100, align 16, !tbaa !11
  %101 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 1
  store i8 16, ptr %101, align 1, !tbaa !11
  %102 = load i8, ptr %18, align 1, !tbaa !11
  %103 = icmp ne i8 %102, 0
  br i1 %103, label %108, label %104

104:                                              ; preds = %79
  %105 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 0
  %106 = getelementptr inbounds i8, ptr %105, i64 2
  %107 = call ptr @ZeroMem(ptr noundef %106, i64 noundef 8)
  br label %114

108:                                              ; preds = %79
  %109 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 14
  %110 = load i8, ptr %109, align 2, !tbaa !11
  %111 = zext i8 %110 to i32
  %112 = or i32 %111, 1
  %113 = trunc i32 %112 to i8
  store i8 %113, ptr %109, align 2, !tbaa !11
  br label %114

114:                                              ; preds = %108, %104
  %115 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 13
  store i8 32, ptr %115, align 1, !tbaa !11
  %116 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 7
  store i8 16, ptr %116, align 8, !tbaa !22
  %117 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 8
  store i8 0, ptr %117, align 1, !tbaa !23
  %118 = load ptr, ptr %13, align 8, !tbaa !5
  %119 = load i8, ptr %118, align 1, !tbaa !11
  %120 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 11
  store i8 %119, ptr %120, align 4, !tbaa !24
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct._EFI_SCSI_IO_PROTOCOL, ptr %121, i32 0, i32 4
  %123 = load ptr, ptr %122, align 8, !tbaa !25
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = call i64 %123(ptr noundef %124, ptr noundef %19, ptr noundef null)
  store i64 %125, ptr %23, align 8, !tbaa !9
  %126 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 9
  %127 = load i8, ptr %126, align 2, !tbaa !26
  %128 = load ptr, ptr %14, align 8, !tbaa !5
  store i8 %127, ptr %128, align 1, !tbaa !11
  %129 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 10
  %130 = load i8, ptr %129, align 1, !tbaa !27
  %131 = load ptr, ptr %15, align 8, !tbaa !5
  store i8 %130, ptr %131, align 1, !tbaa !11
  %132 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 11
  %133 = load i8, ptr %132, align 4, !tbaa !24
  %134 = load ptr, ptr %13, align 8, !tbaa !5
  store i8 %133, ptr %134, align 1, !tbaa !11
  %135 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %19, i32 0, i32 5
  %136 = load i32, ptr %135, align 8, !tbaa !18
  %137 = load ptr, ptr %17, align 8, !tbaa !5
  store i32 %136, ptr %137, align 4, !tbaa !17
  %138 = load i64, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 56, ptr %19) #3
  ret i64 %138
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #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 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"", !10, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !14, i64 40, !14, i64 44, !7, i64 48, !7, i64 49, !7, i64 50, !7, i64 51, !7, i64 52}
!14 = !{!"int", !7, i64 0}
!15 = !{!13, !6, i64 8}
!16 = !{!13, !6, i64 24}
!17 = !{!14, !14, i64 0}
!18 = !{!13, !14, i64 40}
!19 = !{!13, !6, i64 32}
!20 = !{!21, !6, i64 8}
!21 = !{!"_EFI_SCSI_IO_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !14, i64 40}
!22 = !{!13, !7, i64 48}
!23 = !{!13, !7, i64 49}
!24 = !{!13, !7, i64 52}
!25 = !{!21, !6, i64 32}
!26 = !{!13, !7, i64 50}
!27 = !{!13, !7, i64 51}


; 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.EFI_SCSI_IO_SCSI_REQUEST_PACKET = type { i64, ptr, ptr, ptr, ptr, i32, i32, i8, i8, i8, i8, i8 }

@.str = external hidden unnamed_addr constant [142 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [27 x i8], align 1

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

declare void @DebugAssert(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare ptr @ZeroMem(ptr noundef, i64 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 i64 @ScsiReadCapacity16Command(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef writeonly %4, ptr noundef writeonly %5, ptr noundef %6, ptr noundef %7, i8 noundef zeroext %8) local_unnamed_addr #2 {
  %10 = alloca %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca [16 x i8], align 16
  %14 = alloca [16 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #3
  %15 = tail call zeroext i8 @DebugAssertEnabled() #3
  %16 = icmp eq i8 %15, 0
  %17 = icmp ne ptr %3, null
  %or.cond = or i1 %17, %16
  br i1 %or.cond, label %19, label %18

18:                                               ; preds = %9
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 806, ptr noundef nonnull @.str.1) #3
  br label %19

19:                                               ; preds = %9, %18
  %20 = tail call zeroext i8 @DebugAssertEnabled() #3
  %21 = icmp eq i8 %20, 0
  %22 = icmp ne ptr %4, null
  %or.cond3 = or i1 %22, %21
  br i1 %or.cond3, label %24, label %23

23:                                               ; preds = %19
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 807, ptr noundef nonnull @.str.2) #3
  br label %24

24:                                               ; preds = %19, %23
  %25 = tail call zeroext i8 @DebugAssertEnabled() #3
  %26 = icmp eq i8 %25, 0
  %27 = icmp ne ptr %5, null
  %or.cond5 = or i1 %27, %26
  br i1 %or.cond5, label %29, label %28

28:                                               ; preds = %24
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 808, ptr noundef nonnull @.str.3) #3
  br label %29

29:                                               ; preds = %24, %28
  %30 = tail call zeroext i8 @DebugAssertEnabled() #3
  %31 = icmp eq i8 %30, 0
  %32 = icmp ne ptr %7, null
  %or.cond7 = or i1 %32, %31
  br i1 %or.cond7, label %34, label %33

33:                                               ; preds = %29
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 809, ptr noundef nonnull @.str.6) #3
  br label %34

34:                                               ; preds = %29, %33
  %35 = tail call zeroext i8 @DebugAssertEnabled() #3
  %36 = icmp eq i8 %35, 0
  %37 = icmp ne ptr %0, null
  %or.cond9 = or i1 %37, %36
  br i1 %or.cond9, label %39, label %38

38:                                               ; preds = %34
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 810, ptr noundef nonnull @.str.4) #3
  br label %39

39:                                               ; preds = %38, %34
  %40 = call ptr @ZeroMem(ptr noundef nonnull %10, i64 noundef 56) #3
  %41 = call ptr @ZeroMem(ptr noundef nonnull %14, i64 noundef 16) #3
  store i64 %1, ptr %10, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %6, ptr %42, align 8, !tbaa !12
  %43 = getelementptr inbounds i8, ptr %10, i64 24
  store ptr %2, ptr %43, align 8, !tbaa !13
  %44 = load i32, ptr %7, align 4, !tbaa !14
  %45 = getelementptr inbounds i8, ptr %10, i64 40
  store i32 %44, ptr %45, align 8, !tbaa !15
  %46 = getelementptr inbounds i8, ptr %10, i64 32
  store ptr %14, ptr %46, align 8, !tbaa !16
  store ptr %13, ptr %12, align 8, !tbaa !17
  %47 = getelementptr inbounds i8, ptr %0, i64 8
  %48 = load ptr, ptr %47, align 8, !tbaa !18
  %49 = call i64 %48(ptr noundef %0, ptr noundef nonnull %12, ptr noundef nonnull %11) #3
  store i8 -98, ptr %14, align 16, !tbaa !20
  %50 = getelementptr inbounds i8, ptr %14, i64 1
  store i8 16, ptr %50, align 1, !tbaa !20
  %.not = icmp eq i8 %8, 0
  br i1 %.not, label %51, label %54

51:                                               ; preds = %39
  %52 = getelementptr inbounds i8, ptr %14, i64 2
  %53 = call ptr @ZeroMem(ptr noundef nonnull %52, i64 noundef 8) #3
  br label %58

54:                                               ; preds = %39
  %55 = getelementptr inbounds i8, ptr %14, i64 14
  %56 = load i8, ptr %55, align 2, !tbaa !20
  %57 = or i8 %56, 1
  store i8 %57, ptr %55, align 2, !tbaa !20
  br label %58

58:                                               ; preds = %54, %51
  %59 = getelementptr inbounds i8, ptr %14, i64 13
  store i8 32, ptr %59, align 1, !tbaa !20
  %60 = getelementptr inbounds i8, ptr %10, i64 48
  store i8 16, ptr %60, align 8, !tbaa !21
  %61 = getelementptr inbounds i8, ptr %10, i64 49
  store i8 0, ptr %61, align 1, !tbaa !22
  %62 = load i8, ptr %3, align 1, !tbaa !20
  %63 = getelementptr inbounds i8, ptr %10, i64 52
  store i8 %62, ptr %63, align 4, !tbaa !23
  %64 = getelementptr inbounds i8, ptr %0, i64 32
  %65 = load ptr, ptr %64, align 8, !tbaa !24
  %66 = call i64 %65(ptr noundef nonnull %0, ptr noundef nonnull %10, ptr noundef null) #3
  %67 = getelementptr inbounds i8, ptr %10, i64 50
  %68 = load i8, ptr %67, align 2, !tbaa !25
  store i8 %68, ptr %4, align 1, !tbaa !20
  %69 = getelementptr inbounds i8, ptr %10, i64 51
  %70 = load i8, ptr %69, align 1, !tbaa !26
  store i8 %70, ptr %5, align 1, !tbaa !20
  %71 = load i8, ptr %63, align 4, !tbaa !23
  store i8 %71, ptr %3, align 1, !tbaa !20
  %72 = load i32, ptr %45, align 8, !tbaa !15
  store i32 %72, ptr %7, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #3
  ret i64 %66
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #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, !7, i64 0}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40, !11, i64 44, !8, i64 48, !8, i64 49, !8, i64 50, !8, i64 51, !8, i64 52}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !10, i64 24}
!14 = !{!11, !11, i64 0}
!15 = !{!6, !11, i64 40}
!16 = !{!6, !10, i64 32}
!17 = !{!10, !10, i64 0}
!18 = !{!19, !10, i64 8}
!19 = !{!"_EFI_SCSI_IO_PROTOCOL", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40}
!20 = !{!8, !8, i64 0}
!21 = !{!6, !8, i64 48}
!22 = !{!6, !8, i64 49}
!23 = !{!6, !8, i64 52}
!24 = !{!19, !10, i64 32}
!25 = !{!6, !8, i64 50}
!26 = !{!6, !8, i64 51}


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