; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/SecurityPkg (LoadDeferredImage)

; 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.GUID = type { i32, i16, i16, [8 x i8] }
%struct.EFI_BOOT_SERVICES = type { %struct.EFI_TABLE_HEADER, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_TABLE_HEADER = type { i64, i32, i32, i32, i32 }
%struct._EFI_DEFERRED_IMAGE_LOAD_PROTOCOL = type { ptr }

@gBS = external global ptr, align 8
@gEfiDeferredImageLoadProtocolGuid = external global %struct.GUID, align 4
@mDeferredImageHandle = external dso_local global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local void @LoadDeferredImage(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i8, align 1
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  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
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  store i64 0, ptr %7, align 8, !tbaa !9
  store ptr null, ptr %8, align 8, !tbaa !5
  %19 = load ptr, ptr @gBS, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %19, i32 0, i32 37
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = call i64 %21(i32 noundef 2, ptr noundef @gEfiDeferredImageLoadProtocolGuid, ptr noundef null, ptr noundef %7, ptr noundef %8)
  store i64 %22, ptr %5, align 8, !tbaa !9
  %23 = load i64, ptr %5, align 8, !tbaa !9
  %24 = icmp slt i64 %23, 0
  br i1 %24, label %25, label %26

25:                                               ; preds = %2
  store i32 1, ptr %18, align 4
  br label %88

26:                                               ; preds = %2
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %27

27:                                               ; preds = %83, %26
  %28 = load i64, ptr %9, align 8, !tbaa !9
  %29 = load i64, ptr %7, align 8, !tbaa !9
  %30 = icmp ult i64 %28, %29
  br i1 %30, label %31, label %86

31:                                               ; preds = %27
  %32 = load ptr, ptr @gBS, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %32, i32 0, i32 17
  %34 = load ptr, ptr %33, align 8, !tbaa !15
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = load i64, ptr %9, align 8, !tbaa !9
  %37 = getelementptr inbounds ptr, ptr %35, i64 %36
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = call i64 %34(ptr noundef %38, ptr noundef @gEfiDeferredImageLoadProtocolGuid, ptr noundef %6)
  store i64 %39, ptr %5, align 8, !tbaa !9
  %40 = load i64, ptr %5, align 8, !tbaa !9
  %41 = icmp slt i64 %40, 0
  br i1 %41, label %42, label %43

42:                                               ; preds = %31
  br label %83

43:                                               ; preds = %31
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %44

44:                                               ; preds = %81, %43
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct._EFI_DEFERRED_IMAGE_LOAD_PROTOCOL, ptr %45, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8, !tbaa !16
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load i64, ptr %10, align 8, !tbaa !9
  %50 = call i64 %47(ptr noundef %48, i64 noundef %49, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
  store i64 %50, ptr %5, align 8, !tbaa !9
  %51 = load i64, ptr %5, align 8, !tbaa !9
  %52 = icmp slt i64 %51, 0
  br i1 %52, label %53, label %54

53:                                               ; preds = %44
  br label %82

54:                                               ; preds = %44
  %55 = load ptr, ptr @gBS, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %55, i32 0, i32 23
  %57 = load ptr, ptr %56, align 8, !tbaa !18
  %58 = load i8, ptr %14, align 1, !tbaa !19
  %59 = load ptr, ptr @mDeferredImageHandle, align 8, !tbaa !5
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = call i64 %57(i8 noundef zeroext %58, ptr noundef %59, ptr noundef %60, ptr noundef null, i64 noundef 0, ptr noundef %15)
  store i64 %61, ptr %5, align 8, !tbaa !9
  %62 = load i64, ptr %5, align 8, !tbaa !9
  %63 = icmp slt i64 %62, 0
  br i1 %63, label %78, label %64

64:                                               ; preds = %54
  %65 = load ptr, ptr @gBS, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %65, i32 0, i32 30
  %67 = load ptr, ptr %66, align 8, !tbaa !20
  %68 = call i64 %67(i64 noundef 300, i64 noundef 0, i64 noundef 0, ptr noundef null)
  %69 = load ptr, ptr @gBS, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %69, i32 0, i32 24
  %71 = load ptr, ptr %70, align 8, !tbaa !21
  %72 = load ptr, ptr %15, align 8, !tbaa !5
  %73 = call i64 %71(ptr noundef %72, ptr noundef %16, ptr noundef %17)
  store i64 %73, ptr %5, align 8, !tbaa !9
  %74 = load ptr, ptr @gBS, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %74, i32 0, i32 30
  %76 = load ptr, ptr %75, align 8, !tbaa !20
  %77 = call i64 %76(i64 noundef 0, i64 noundef 0, i64 noundef 0, ptr noundef null)
  br label %78

78:                                               ; preds = %64, %54
  %79 = load i64, ptr %10, align 8, !tbaa !9
  %80 = add i64 %79, 1
  store i64 %80, ptr %10, align 8, !tbaa !9
  br label %81

81:                                               ; preds = %78
  br i1 true, label %44, label %82

82:                                               ; preds = %81, %53
  br label %83

83:                                               ; preds = %82, %42
  %84 = load i64, ptr %9, align 8, !tbaa !9
  %85 = add i64 %84, 1
  store i64 %85, ptr %9, align 8, !tbaa !9
  br label %27, !llvm.loop !22

86:                                               ; preds = %27
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  call void @FreePool(ptr noundef %87)
  store i32 0, ptr %18, align 4
  br label %88

88:                                               ; preds = %86, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  %89 = load i32, ptr %18, align 4
  switch i32 %89, label %91 [
    i32 0, label %90
    i32 1, label %90
  ]

90:                                               ; preds = %88, %88
  ret void

91:                                               ; preds = %88
  unreachable
}

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

declare void @FreePool(ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { 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 312}
!12 = !{!"", !13, i64 0, !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, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, 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, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368}
!13 = !{!"", !10, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20}
!14 = !{!"int", !7, i64 0}
!15 = !{!12, !6, i64 152}
!16 = !{!17, !6, i64 0}
!17 = !{!"_EFI_DEFERRED_IMAGE_LOAD_PROTOCOL", !6, i64 0}
!18 = !{!12, !6, i64 200}
!19 = !{!7, !7, i64 0}
!20 = !{!12, !6, i64 256}
!21 = !{!12, !6, i64 208}
!22 = distinct !{!22, !23}
!23 = !{!"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"

%struct.GUID = type { i32, i16, i16, [8 x i8] }

@gBS = external local_unnamed_addr global ptr, align 8
@gEfiDeferredImageLoadProtocolGuid = external global %struct.GUID, align 4
@mDeferredImageHandle = external dso_local local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local void @LoadDeferredImage(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 8, 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
  store i64 0, ptr %4, align 8, !tbaa !5
  store ptr null, ptr %5, align 8, !tbaa !9
  %13 = load ptr, ptr @gBS, align 8, !tbaa !9
  %14 = getelementptr inbounds i8, ptr %13, i64 312
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  %16 = call i64 %15(i32 noundef 2, ptr noundef nonnull @gEfiDeferredImageLoadProtocolGuid, ptr noundef null, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
  %17 = icmp slt i64 %16, 0
  br i1 %17, label %63, label %.preheader10

.preheader10:                                     ; preds = %2
  %18 = load i64, ptr %4, align 8, !tbaa !5
  %.not = icmp eq i64 %18, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph13

.lr.ph13:                                         ; preds = %.preheader10, %.loopexit
  %.0912 = phi i64 [ %59, %.loopexit ], [ 0, %.preheader10 ]
  %19 = load ptr, ptr @gBS, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %19, i64 152
  %21 = load ptr, ptr %20, align 8, !tbaa !15
  %22 = load ptr, ptr %5, align 8, !tbaa !9
  %23 = getelementptr inbounds ptr, ptr %22, i64 %.0912
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = call i64 %21(ptr noundef %24, ptr noundef nonnull @gEfiDeferredImageLoadProtocolGuid, ptr noundef nonnull %3) #3
  %26 = icmp slt i64 %25, 0
  br i1 %26, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.lr.ph13
  %27 = load ptr, ptr %3, align 8, !tbaa !9
  %28 = load ptr, ptr %27, align 8, !tbaa !16
  %29 = call i64 %28(ptr noundef nonnull %27, i64 noundef 0, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #3
  %30 = icmp slt i64 %29, 0
  br i1 %30, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %53
  %.011 = phi i64 [ %54, %53 ], [ 0, %.preheader ]
  %31 = load ptr, ptr @gBS, align 8, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %31, i64 200
  %33 = load ptr, ptr %32, align 8, !tbaa !18
  %34 = load i8, ptr %9, align 1, !tbaa !19
  %35 = load ptr, ptr @mDeferredImageHandle, align 8, !tbaa !9
  %36 = load ptr, ptr %6, align 8, !tbaa !9
  %37 = call i64 %33(i8 noundef zeroext %34, ptr noundef %35, ptr noundef %36, ptr noundef null, i64 noundef 0, ptr noundef nonnull %10) #3
  %38 = icmp slt i64 %37, 0
  br i1 %38, label %53, label %39

39:                                               ; preds = %.lr.ph
  %40 = load ptr, ptr @gBS, align 8, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %40, i64 256
  %42 = load ptr, ptr %41, align 8, !tbaa !20
  %43 = call i64 %42(i64 noundef 300, i64 noundef 0, i64 noundef 0, ptr noundef null) #3
  %44 = load ptr, ptr @gBS, align 8, !tbaa !9
  %45 = getelementptr inbounds i8, ptr %44, i64 208
  %46 = load ptr, ptr %45, align 8, !tbaa !21
  %47 = load ptr, ptr %10, align 8, !tbaa !9
  %48 = call i64 %46(ptr noundef %47, ptr noundef nonnull %11, ptr noundef nonnull %12) #3
  %49 = load ptr, ptr @gBS, align 8, !tbaa !9
  %50 = getelementptr inbounds i8, ptr %49, i64 256
  %51 = load ptr, ptr %50, align 8, !tbaa !20
  %52 = call i64 %51(i64 noundef 0, i64 noundef 0, i64 noundef 0, ptr noundef null) #3
  br label %53

53:                                               ; preds = %39, %.lr.ph
  %54 = add i64 %.011, 1
  %55 = load ptr, ptr %3, align 8, !tbaa !9
  %56 = load ptr, ptr %55, align 8, !tbaa !16
  %57 = call i64 %56(ptr noundef nonnull %55, i64 noundef %54, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #3
  %58 = icmp slt i64 %57, 0
  br i1 %58, label %.loopexit, label %.lr.ph

.loopexit:                                        ; preds = %53, %.preheader, %.lr.ph13
  %59 = add nuw i64 %.0912, 1
  %60 = load i64, ptr %4, align 8, !tbaa !5
  %61 = icmp ult i64 %59, %60
  br i1 %61, label %.lr.ph13, label %._crit_edge, !llvm.loop !22

._crit_edge:                                      ; preds = %.loopexit, %.preheader10
  %62 = load ptr, ptr %5, align 8, !tbaa !9
  call void @FreePool(ptr noundef %62) #3
  br label %63

63:                                               ; preds = %2, %._crit_edge
  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 8, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  ret void
}

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

declare void @FreePool(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { mustprogress 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 312}
!12 = !{!"", !13, i64 0, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20}
!14 = !{!"int", !7, i64 0}
!15 = !{!12, !10, i64 152}
!16 = !{!17, !10, i64 0}
!17 = !{!"_EFI_DEFERRED_IMAGE_LOAD_PROTOCOL", !10, i64 0}
!18 = !{!12, !10, i64 200}
!19 = !{!7, !7, i64 0}
!20 = !{!12, !10, i64 256}
!21 = !{!12, !10, i64 208}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass