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

; 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

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

29:                                               ; preds = %11
  %30 = call zeroext i8 @DebugAssertEnabled()
  %31 = icmp ne i8 %30, 0
  br i1 %31, label %32, label %37

32:                                               ; preds = %29
  %33 = load ptr, ptr %15, align 8, !tbaa !5
  %34 = icmp ne ptr %33, null
  br i1 %34, label %36, label %35

35:                                               ; preds = %32
  call void @DebugAssert(ptr noundef @.str, i64 noundef 519, ptr noundef @.str.1)
  br label %36

36:                                               ; preds = %35, %32
  br label %37

37:                                               ; preds = %36, %29
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39
  %41 = call zeroext i8 @DebugAssertEnabled()
  %42 = icmp ne i8 %41, 0
  br i1 %42, label %43, label %48

43:                                               ; preds = %40
  %44 = load ptr, ptr %16, align 8, !tbaa !5
  %45 = icmp ne ptr %44, null
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  call void @DebugAssert(ptr noundef @.str, i64 noundef 520, ptr noundef @.str.2)
  br label %47

47:                                               ; preds = %46, %43
  br label %48

48:                                               ; preds = %47, %40
  br label %49

49:                                               ; preds = %48
  br label %50

50:                                               ; preds = %49
  br label %51

51:                                               ; preds = %50
  %52 = call zeroext i8 @DebugAssertEnabled()
  %53 = icmp ne i8 %52, 0
  br i1 %53, label %54, label %59

54:                                               ; preds = %51
  %55 = load ptr, ptr %17, align 8, !tbaa !5
  %56 = icmp ne ptr %55, null
  br i1 %56, label %58, label %57

57:                                               ; preds = %54
  call void @DebugAssert(ptr noundef @.str, i64 noundef 521, ptr noundef @.str.3)
  br label %58

58:                                               ; preds = %57, %54
  br label %59

59:                                               ; preds = %58, %51
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  %63 = call zeroext i8 @DebugAssertEnabled()
  %64 = icmp ne i8 %63, 0
  br i1 %64, label %65, label %70

65:                                               ; preds = %62
  %66 = load ptr, ptr %19, align 8, !tbaa !5
  %67 = icmp ne ptr %66, null
  br i1 %67, label %69, label %68

68:                                               ; preds = %65
  call void @DebugAssert(ptr noundef @.str, i64 noundef 522, ptr noundef @.str.6)
  br label %69

69:                                               ; preds = %68, %65
  br label %70

70:                                               ; preds = %69, %62
  br label %71

71:                                               ; preds = %70
  br label %72

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %72
  %74 = call zeroext i8 @DebugAssertEnabled()
  %75 = icmp ne i8 %74, 0
  br i1 %75, label %76, label %81

76:                                               ; preds = %73
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = icmp ne ptr %77, null
  br i1 %78, label %80, label %79

79:                                               ; preds = %76
  call void @DebugAssert(ptr noundef @.str, i64 noundef 523, ptr noundef @.str.4)
  br label %80

80:                                               ; preds = %79, %76
  br label %81

81:                                               ; preds = %80, %73
  br label %82

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82
  %84 = call ptr @ZeroMem(ptr noundef %23, i64 noundef 56)
  %85 = getelementptr inbounds [10 x i8], ptr %28, i64 0, i64 0
  %86 = call ptr @ZeroMem(ptr noundef %85, i64 noundef 10)
  %87 = load i64, ptr %13, align 8, !tbaa !9
  %88 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 0
  store i64 %87, ptr %88, align 8, !tbaa !12
  %89 = load ptr, ptr %18, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 1
  store ptr %89, ptr %90, align 8, !tbaa !15
  %91 = load ptr, ptr %14, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 3
  store ptr %91, ptr %92, align 8, !tbaa !16
  %93 = load ptr, ptr %19, align 8, !tbaa !5
  %94 = load i32, ptr %93, align 4, !tbaa !17
  %95 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 5
  store i32 %94, ptr %95, align 8, !tbaa !18
  %96 = getelementptr inbounds [10 x i8], ptr %28, i64 0, i64 0
  %97 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 4
  store ptr %96, ptr %97, align 8, !tbaa !19
  %98 = getelementptr inbounds [16 x i8], ptr %26, i64 0, i64 0
  store ptr %98, ptr %25, align 8, !tbaa !5
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct._EFI_SCSI_IO_PROTOCOL, ptr %99, i32 0, i32 1
  %101 = load ptr, ptr %100, align 8, !tbaa !20
  %102 = load ptr, ptr %12, align 8, !tbaa !5
  %103 = call i64 %101(ptr noundef %102, ptr noundef %25, ptr noundef %24)
  %104 = getelementptr inbounds [10 x i8], ptr %28, i64 0, i64 0
  store i8 90, ptr %104, align 1, !tbaa !11
  %105 = load i64, ptr %24, align 8, !tbaa !9
  %106 = call i64 @LShiftU64(i64 noundef %105, i64 noundef 5)
  %107 = and i64 %106, 224
  %108 = load i8, ptr %20, align 1, !tbaa !11
  %109 = zext i8 %108 to i32
  %110 = shl i32 %109, 3
  %111 = and i32 %110, 8
  %112 = sext i32 %111 to i64
  %113 = add i64 %107, %112
  %114 = trunc i64 %113 to i8
  %115 = getelementptr inbounds [10 x i8], ptr %28, i64 0, i64 1
  store i8 %114, ptr %115, align 1, !tbaa !11
  %116 = load i8, ptr %21, align 1, !tbaa !11
  %117 = zext i8 %116 to i32
  %118 = shl i32 %117, 6
  %119 = and i32 %118, 192
  %120 = load i8, ptr %22, align 1, !tbaa !11
  %121 = zext i8 %120 to i32
  %122 = and i32 %121, 63
  %123 = or i32 %119, %122
  %124 = trunc i32 %123 to i8
  %125 = getelementptr inbounds [10 x i8], ptr %28, i64 0, i64 2
  store i8 %124, ptr %125, align 1, !tbaa !11
  %126 = load ptr, ptr %19, align 8, !tbaa !5
  %127 = load i32, ptr %126, align 4, !tbaa !17
  %128 = lshr i32 %127, 8
  %129 = trunc i32 %128 to i8
  %130 = getelementptr inbounds [10 x i8], ptr %28, i64 0, i64 7
  store i8 %129, ptr %130, align 1, !tbaa !11
  %131 = load ptr, ptr %19, align 8, !tbaa !5
  %132 = load i32, ptr %131, align 4, !tbaa !17
  %133 = trunc i32 %132 to i8
  %134 = getelementptr inbounds [10 x i8], ptr %28, i64 0, i64 8
  store i8 %133, ptr %134, align 1, !tbaa !11
  %135 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 7
  store i8 10, ptr %135, align 8, !tbaa !22
  %136 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 8
  store i8 0, ptr %136, align 1, !tbaa !23
  %137 = load ptr, ptr %15, align 8, !tbaa !5
  %138 = load i8, ptr %137, align 1, !tbaa !11
  %139 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 11
  store i8 %138, ptr %139, align 4, !tbaa !24
  %140 = load ptr, ptr %12, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct._EFI_SCSI_IO_PROTOCOL, ptr %140, i32 0, i32 4
  %142 = load ptr, ptr %141, align 8, !tbaa !25
  %143 = load ptr, ptr %12, align 8, !tbaa !5
  %144 = call i64 %142(ptr noundef %143, ptr noundef %23, ptr noundef null)
  store i64 %144, ptr %27, align 8, !tbaa !9
  %145 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 9
  %146 = load i8, ptr %145, align 2, !tbaa !26
  %147 = load ptr, ptr %16, align 8, !tbaa !5
  store i8 %146, ptr %147, align 1, !tbaa !11
  %148 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 10
  %149 = load i8, ptr %148, align 1, !tbaa !27
  %150 = load ptr, ptr %17, align 8, !tbaa !5
  store i8 %149, ptr %150, align 1, !tbaa !11
  %151 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 11
  %152 = load i8, ptr %151, align 4, !tbaa !24
  %153 = load ptr, ptr %15, align 8, !tbaa !5
  store i8 %152, ptr %153, align 1, !tbaa !11
  %154 = getelementptr inbounds %struct.EFI_SCSI_IO_SCSI_REQUEST_PACKET, ptr %23, i32 0, i32 5
  %155 = load i32, ptr %154, align 8, !tbaa !18
  %156 = load ptr, ptr %19, align 8, !tbaa !5
  store i32 %155, ptr %156, align 4, !tbaa !17
  %157 = load i64, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 10, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 56, ptr %23) #3
  ret i64 %157
}

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

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

20:                                               ; preds = %11
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 519, ptr noundef nonnull @.str.1) #3
  br label %21

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

25:                                               ; preds = %21
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 520, ptr noundef nonnull @.str.2) #3
  br label %26

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

30:                                               ; preds = %26
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 521, ptr noundef nonnull @.str.3) #3
  br label %31

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

35:                                               ; preds = %31
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 522, ptr noundef nonnull @.str.6) #3
  br label %36

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

40:                                               ; preds = %36
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 523, ptr noundef nonnull @.str.4) #3
  br label %41

41:                                               ; preds = %40, %36
  %42 = call ptr @ZeroMem(ptr noundef nonnull %12, i64 noundef 56) #3
  %43 = call ptr @ZeroMem(ptr noundef nonnull %16, i64 noundef 10) #3
  store i64 %1, ptr %12, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %6, ptr %44, align 8, !tbaa !12
  %45 = getelementptr inbounds i8, ptr %12, i64 24
  store ptr %2, ptr %45, align 8, !tbaa !13
  %46 = load i32, ptr %7, align 4, !tbaa !14
  %47 = getelementptr inbounds i8, ptr %12, i64 40
  store i32 %46, ptr %47, align 8, !tbaa !15
  %48 = getelementptr inbounds i8, ptr %12, i64 32
  store ptr %16, ptr %48, align 8, !tbaa !16
  store ptr %15, ptr %14, align 8, !tbaa !17
  %49 = getelementptr inbounds i8, ptr %0, i64 8
  %50 = load ptr, ptr %49, align 8, !tbaa !18
  %51 = call i64 %50(ptr noundef %0, ptr noundef nonnull %14, ptr noundef nonnull %13) #3
  store i8 90, ptr %16, align 1, !tbaa !20
  %52 = load i64, ptr %13, align 8, !tbaa !21
  %53 = call i64 @LShiftU64(i64 noundef %52, i64 noundef 5) #3
  %54 = and i64 %53, 224
  %55 = zext i8 %8 to i64
  %56 = shl nuw nsw i64 %55, 3
  %57 = and i64 %56, 8
  %58 = or disjoint i64 %54, %57
  %59 = trunc nuw i64 %58 to i8
  %60 = getelementptr inbounds i8, ptr %16, i64 1
  store i8 %59, ptr %60, align 1, !tbaa !20
  %61 = shl i8 %9, 6
  %62 = and i8 %10, 63
  %63 = or disjoint i8 %62, %61
  %64 = getelementptr inbounds i8, ptr %16, i64 2
  store i8 %63, ptr %64, align 1, !tbaa !20
  %65 = load i32, ptr %7, align 4, !tbaa !14
  %66 = lshr i32 %65, 8
  %67 = trunc i32 %66 to i8
  %68 = getelementptr inbounds i8, ptr %16, i64 7
  store i8 %67, ptr %68, align 1, !tbaa !20
  %69 = trunc i32 %65 to i8
  %70 = getelementptr inbounds i8, ptr %16, i64 8
  store i8 %69, ptr %70, align 1, !tbaa !20
  %71 = getelementptr inbounds i8, ptr %12, i64 48
  store i8 10, ptr %71, align 8, !tbaa !22
  %72 = getelementptr inbounds i8, ptr %12, i64 49
  store i8 0, ptr %72, align 1, !tbaa !23
  %73 = load i8, ptr %3, align 1, !tbaa !20
  %74 = getelementptr inbounds i8, ptr %12, i64 52
  store i8 %73, ptr %74, align 4, !tbaa !24
  %75 = getelementptr inbounds i8, ptr %0, i64 32
  %76 = load ptr, ptr %75, align 8, !tbaa !25
  %77 = call i64 %76(ptr noundef %0, ptr noundef nonnull %12, ptr noundef null) #3
  %78 = getelementptr inbounds i8, ptr %12, i64 50
  %79 = load i8, ptr %78, align 2, !tbaa !26
  store i8 %79, ptr %4, align 1, !tbaa !20
  %80 = getelementptr inbounds i8, ptr %12, i64 51
  %81 = load i8, ptr %80, align 1, !tbaa !27
  store i8 %81, ptr %5, align 1, !tbaa !20
  %82 = load i8, ptr %74, align 4, !tbaa !24
  store i8 %82, ptr %3, align 1, !tbaa !20
  %83 = load i32, ptr %47, align 8, !tbaa !15
  store i32 %83, ptr %7, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #3
  ret i64 %77
}

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 = !{!7, !7, i64 0}
!22 = !{!6, !8, i64 48}
!23 = !{!6, !8, i64 49}
!24 = !{!6, !8, i64 52}
!25 = !{!19, !10, i64 32}
!26 = !{!6, !8, i64 50}
!27 = !{!6, !8, i64 51}


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