; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal (SnpUndi32CallbackMap)

; 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.SNP_DRIVER = type <{ i32, [4 x i8], %struct.EFI_LOCK, %struct._EFI_SIMPLE_NETWORK_PROTOCOL, %struct.EFI_SIMPLE_NETWORK_MODE, ptr, ptr, ptr, i8, i8, i16, i32, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, %struct.s_pxe_cdb, [6 x i8], ptr, ptr, ptr, %struct.s_pxe_db_get_init_info, i8, ptr, [100 x %struct.MAP_LIST], ptr, i8, [7 x i8] }>
%struct.EFI_LOCK = type { i64, i64, i32 }
%struct._EFI_SIMPLE_NETWORK_PROTOCOL = type { i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_SIMPLE_NETWORK_MODE = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [16 x %struct.EFI_MAC_ADDRESS], %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, i8, i8, i8, i8, i8 }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct.s_pxe_cdb = type { i16, i16, i16, i16, i64, i64, i16, i16, i16, i16 }
%struct.s_pxe_db_get_init_info = type <{ i32, i32, [4 x i32], i32, i16, i16, i16, i16, i16, i16, i16, i16, i8, i8, i8 }>
%struct.MAP_LIST = type { i64, ptr }
%struct._EFI_PCI_IO_PROTOCOL = type { ptr, ptr, %struct.EFI_PCI_IO_PROTOCOL_ACCESS, %struct.EFI_PCI_IO_PROTOCOL_ACCESS, %struct.EFI_PCI_IO_PROTOCOL_CONFIG_ACCESS, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, ptr }
%struct.EFI_PCI_IO_PROTOCOL_ACCESS = type { ptr, ptr }
%struct.EFI_PCI_IO_PROTOCOL_CONFIG_ACCESS = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [21 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

; 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 void @SnpUndi32CallbackMap(i64 noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #1 {
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  store i64 %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i64 %4, ptr %10, align 8, !tbaa !5
  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
  call void @llvm.lifetime.start.p0(i64 8, 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
  %18 = load i32, ptr %8, align 4, !tbaa !9
  %19 = zext i32 %18 to i64
  store i64 %19, ptr %13, align 8, !tbaa !5
  %20 = load i64, ptr %6, align 8, !tbaa !5
  %21 = inttoptr i64 %20 to ptr
  store ptr %21, ptr %14, align 8, !tbaa !11
  %22 = load i64, ptr %10, align 8, !tbaa !5
  %23 = inttoptr i64 %22 to ptr
  store ptr %23, ptr %11, align 8, !tbaa !11
  %24 = load i64, ptr %7, align 8, !tbaa !5
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %26, label %28

26:                                               ; preds = %5
  %27 = load ptr, ptr %11, align 8, !tbaa !11
  store i64 0, ptr %27, align 8, !tbaa !5
  store i32 1, ptr %17, align 4
  br label %106

28:                                               ; preds = %5
  %29 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %29, label %33 [
    i32 0, label %30
    i32 1, label %31
    i32 2, label %32
  ]

30:                                               ; preds = %28
  store i32 2, ptr %12, align 4, !tbaa !9
  br label %35

31:                                               ; preds = %28
  store i32 1, ptr %12, align 4, !tbaa !9
  br label %35

32:                                               ; preds = %28
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %35

33:                                               ; preds = %28
  %34 = load ptr, ptr %11, align 8, !tbaa !11
  store i64 0, ptr %34, align 8, !tbaa !5
  store i32 1, ptr %17, align 4
  br label %106

35:                                               ; preds = %32, %31, %30
  store i64 0, ptr %15, align 8, !tbaa !5
  br label %36

36:                                               ; preds = %49, %35
  %37 = load i64, ptr %15, align 8, !tbaa !5
  %38 = icmp ult i64 %37, 100
  br i1 %38, label %39, label %52

39:                                               ; preds = %36
  %40 = load ptr, ptr %14, align 8, !tbaa !11
  %41 = getelementptr inbounds %struct.SNP_DRIVER, ptr %40, i32 0, i32 28
  %42 = load i64, ptr %15, align 8, !tbaa !5
  %43 = getelementptr inbounds [100 x %struct.MAP_LIST], ptr %41, i64 0, i64 %42
  %44 = getelementptr inbounds %struct.MAP_LIST, ptr %43, i32 0, i32 0
  %45 = load i64, ptr %44, align 8, !tbaa !13
  %46 = icmp eq i64 %45, 0
  br i1 %46, label %47, label %48

47:                                               ; preds = %39
  br label %52

48:                                               ; preds = %39
  br label %49

49:                                               ; preds = %48
  %50 = load i64, ptr %15, align 8, !tbaa !5
  %51 = add i64 %50, 1
  store i64 %51, ptr %15, align 8, !tbaa !5
  br label %36, !llvm.loop !15

52:                                               ; preds = %47, %36
  %53 = load i64, ptr %15, align 8, !tbaa !5
  %54 = icmp uge i64 %53, 100
  br i1 %54, label %55, label %71

55:                                               ; preds = %52
  br label %56

56:                                               ; preds = %55
  %57 = call zeroext i8 @DebugPrintEnabled()
  %58 = icmp ne i8 %57, 0
  br i1 %58, label %59, label %67

59:                                               ; preds = %56
  br label %60

60:                                               ; preds = %59
  %61 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 64)
  %62 = icmp ne i8 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %60
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 64, ptr noundef @.str)
  br label %64

64:                                               ; preds = %63, %60
  br label %65

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66, %56
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68
  %70 = load ptr, ptr %11, align 8, !tbaa !11
  store i64 0, ptr %70, align 8, !tbaa !5
  store i32 1, ptr %17, align 4
  br label %106

71:                                               ; preds = %52
  %72 = load i64, ptr %7, align 8, !tbaa !5
  %73 = load ptr, ptr %14, align 8, !tbaa !11
  %74 = getelementptr inbounds %struct.SNP_DRIVER, ptr %73, i32 0, i32 28
  %75 = load i64, ptr %15, align 8, !tbaa !5
  %76 = getelementptr inbounds [100 x %struct.MAP_LIST], ptr %74, i64 0, i64 %75
  %77 = getelementptr inbounds %struct.MAP_LIST, ptr %76, i32 0, i32 0
  store i64 %72, ptr %77, align 8, !tbaa !13
  %78 = load ptr, ptr %14, align 8, !tbaa !11
  %79 = getelementptr inbounds %struct.SNP_DRIVER, ptr %78, i32 0, i32 17
  %80 = load ptr, ptr %79, align 8, !tbaa !17
  %81 = getelementptr inbounds %struct._EFI_PCI_IO_PROTOCOL, ptr %80, i32 0, i32 6
  %82 = load ptr, ptr %81, align 8, !tbaa !26
  %83 = load ptr, ptr %14, align 8, !tbaa !11
  %84 = getelementptr inbounds %struct.SNP_DRIVER, ptr %83, i32 0, i32 17
  %85 = load ptr, ptr %84, align 8, !tbaa !17
  %86 = load i32, ptr %12, align 4, !tbaa !9
  %87 = load i64, ptr %7, align 8, !tbaa !5
  %88 = inttoptr i64 %87 to ptr
  %89 = load ptr, ptr %11, align 8, !tbaa !11
  %90 = load ptr, ptr %14, align 8, !tbaa !11
  %91 = getelementptr inbounds %struct.SNP_DRIVER, ptr %90, i32 0, i32 28
  %92 = load i64, ptr %15, align 8, !tbaa !5
  %93 = getelementptr inbounds [100 x %struct.MAP_LIST], ptr %91, i64 0, i64 %92
  %94 = getelementptr inbounds %struct.MAP_LIST, ptr %93, i32 0, i32 1
  %95 = call i64 %82(ptr noundef %85, i32 noundef %86, ptr noundef %88, ptr noundef %13, ptr noundef %89, ptr noundef %94)
  store i64 %95, ptr %16, align 8, !tbaa !5
  %96 = load i64, ptr %16, align 8, !tbaa !5
  %97 = icmp ne i64 %96, 0
  br i1 %97, label %98, label %105

98:                                               ; preds = %71
  %99 = load ptr, ptr %11, align 8, !tbaa !11
  store i64 0, ptr %99, align 8, !tbaa !5
  %100 = load ptr, ptr %14, align 8, !tbaa !11
  %101 = getelementptr inbounds %struct.SNP_DRIVER, ptr %100, i32 0, i32 28
  %102 = load i64, ptr %15, align 8, !tbaa !5
  %103 = getelementptr inbounds [100 x %struct.MAP_LIST], ptr %101, i64 0, i64 %102
  %104 = getelementptr inbounds %struct.MAP_LIST, ptr %103, i32 0, i32 0
  store i64 0, ptr %104, align 8, !tbaa !13
  br label %105

105:                                              ; preds = %98, %71
  store i32 1, ptr %17, align 4
  br label %106

106:                                              ; preds = %105, %69, %33, %26
  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 8, ptr %14) #3
  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
  ret void
}

declare zeroext i8 @DebugPrintEnabled() #2

declare zeroext i8 @DebugPrintLevelEnabled(i64 noundef) #2

declare void @DebugPrint(i64 noundef, 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"MAP_LIST", !6, i64 0, !12, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !12, i64 888}
!18 = !{!"", !10, i64 0, !19, i64 8, !20, i64 32, !21, i64 160, !12, i64 816, !12, i64 824, !12, i64 832, !7, i64 840, !23, i64 842, !10, i64 844, !12, i64 848, !12, i64 856, !12, i64 864, !12, i64 872, !12, i64 880, !12, i64 888, !7, i64 896, !7, i64 897, !24, i64 898, !12, i64 936, !12, i64 944, !12, i64 952, !25, i64 960, !12, i64 1008, !7, i64 1016, !12, i64 2616, !7, i64 2624}
!19 = !{!"", !6, i64 0, !6, i64 8, !10, i64 16}
!20 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120}
!21 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !7, i64 40, !22, i64 552, !22, i64 584, !22, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!22 = !{!"", !7, i64 0}
!23 = !{!"short", !7, i64 0}
!24 = !{!"s_pxe_cdb", !23, i64 0, !23, i64 2, !23, i64 4, !23, i64 6, !6, i64 8, !6, i64 16, !23, i64 24, !23, i64 26, !23, i64 28, !23, i64 30}
!25 = !{!"s_pxe_db_get_init_info", !10, i64 0, !10, i64 4, !7, i64 8, !10, i64 24, !23, i64 28, !23, i64 30, !23, i64 32, !23, i64 34, !23, i64 36, !23, i64 38, !23, i64 40, !23, i64 42, !7, i64 44, !7, i64 45, !7, i64 46}
!26 = !{!27, !12, i64 72}
!27 = !{!"_EFI_PCI_IO_PROTOCOL", !12, i64 0, !12, i64 8, !28, i64 16, !28, i64 32, !28, i64 48, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !6, i64 144, !12, i64 152}
!28 = !{!"", !12, i64 0, !12, i64 8}


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

@.str = external hidden unnamed_addr constant [21 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

; 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 void @SnpUndi32CallbackMap(i64 noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) local_unnamed_addr #1 {
  %6 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %7 = zext i32 %2 to i64
  store i64 %7, ptr %6, align 8, !tbaa !5
  %8 = inttoptr i64 %0 to ptr
  %9 = inttoptr i64 %4 to ptr
  %10 = icmp ne i64 %1, 0
  %11 = icmp ult i32 %3, 3
  %or.cond = and i1 %10, %11
  br i1 %or.cond, label %switch.lookup, label %.sink.split

switch.lookup:                                    ; preds = %5
  %switch.offset = sub nsw i32 2, %3
  %12 = getelementptr inbounds i8, ptr %8, i64 1016
  br label %13

13:                                               ; preds = %37, %switch.lookup
  %.02631 = phi i64 [ 0, %switch.lookup ], [ %38, %37 ]
  %14 = getelementptr inbounds [100 x %struct.MAP_LIST], ptr %12, i64 0, i64 %.02631
  %15 = load i64, ptr %14, align 8, !tbaa !9
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %44, label %17

17:                                               ; preds = %13
  %18 = add nuw nsw i64 %.02631, 1
  %19 = getelementptr inbounds [100 x %struct.MAP_LIST], ptr %12, i64 0, i64 %18
  %20 = load i64, ptr %19, align 8, !tbaa !9
  %21 = icmp eq i64 %20, 0
  br i1 %21, label %44, label %22

22:                                               ; preds = %17
  %23 = add nuw nsw i64 %.02631, 2
  %24 = getelementptr inbounds [100 x %struct.MAP_LIST], ptr %12, i64 0, i64 %23
  %25 = load i64, ptr %24, align 8, !tbaa !9
  %26 = icmp eq i64 %25, 0
  br i1 %26, label %44, label %27

27:                                               ; preds = %22
  %28 = add nuw nsw i64 %.02631, 3
  %29 = getelementptr inbounds [100 x %struct.MAP_LIST], ptr %12, i64 0, i64 %28
  %30 = load i64, ptr %29, align 8, !tbaa !9
  %31 = icmp eq i64 %30, 0
  br i1 %31, label %44, label %32

32:                                               ; preds = %27
  %33 = add nuw nsw i64 %.02631, 4
  %34 = getelementptr inbounds [100 x %struct.MAP_LIST], ptr %12, i64 0, i64 %33
  %35 = load i64, ptr %34, align 8, !tbaa !9
  %36 = icmp eq i64 %35, 0
  br i1 %36, label %44, label %37

37:                                               ; preds = %32
  %38 = add nuw nsw i64 %.02631, 5
  %exitcond.not.4 = icmp eq i64 %38, 100
  br i1 %exitcond.not.4, label %39, label %13, !llvm.loop !12

39:                                               ; preds = %37
  %40 = tail call zeroext i8 @DebugPrintEnabled() #3
  %.not28 = icmp eq i8 %40, 0
  br i1 %.not28, label %.sink.split, label %41

41:                                               ; preds = %39
  %42 = tail call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 64) #3
  %.not29 = icmp eq i8 %42, 0
  br i1 %.not29, label %.sink.split, label %43

43:                                               ; preds = %41
  tail call void (i64, ptr, ...) @DebugPrint(i64 noundef 64, ptr noundef nonnull @.str) #3
  br label %.sink.split

44:                                               ; preds = %32, %27, %22, %17, %13
  %.lcssa = phi ptr [ %14, %13 ], [ %19, %17 ], [ %24, %22 ], [ %29, %27 ], [ %34, %32 ]
  store i64 %1, ptr %.lcssa, align 8, !tbaa !9
  %45 = getelementptr inbounds i8, ptr %8, i64 888
  %46 = load ptr, ptr %45, align 8, !tbaa !14
  %47 = getelementptr inbounds i8, ptr %46, i64 72
  %48 = load ptr, ptr %47, align 8, !tbaa !24
  %49 = inttoptr i64 %1 to ptr
  %50 = getelementptr inbounds i8, ptr %.lcssa, i64 8
  %51 = call i64 %48(ptr noundef %46, i32 noundef %switch.offset, ptr noundef nonnull %49, ptr noundef nonnull %6, ptr noundef %9, ptr noundef nonnull %50) #3
  %.not = icmp eq i64 %51, 0
  br i1 %.not, label %53, label %52

52:                                               ; preds = %44
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %.sink.split

.sink.split:                                      ; preds = %39, %43, %41, %5, %52
  %.lcssa.sink = phi ptr [ %.lcssa, %52 ], [ %9, %5 ], [ %9, %41 ], [ %9, %43 ], [ %9, %39 ]
  store i64 0, ptr %.lcssa.sink, align 8, !tbaa !5
  br label %53

53:                                               ; preds = %.sink.split, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  ret void
}

declare zeroext i8 @DebugPrintEnabled() local_unnamed_addr #2

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

declare void @DebugPrint(i64 noundef, ptr noundef, ...) local_unnamed_addr #2

attributes #0 = { mustprogress 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"MAP_LIST", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !11, i64 888}
!15 = !{!"", !16, i64 0, !17, i64 8, !18, i64 32, !19, i64 160, !11, i64 816, !11, i64 824, !11, i64 832, !7, i64 840, !21, i64 842, !16, i64 844, !11, i64 848, !11, i64 856, !11, i64 864, !11, i64 872, !11, i64 880, !11, i64 888, !7, i64 896, !7, i64 897, !22, i64 898, !11, i64 936, !11, i64 944, !11, i64 952, !23, i64 960, !11, i64 1008, !7, i64 1016, !11, i64 2616, !7, i64 2624}
!16 = !{!"int", !7, i64 0}
!17 = !{!"", !6, i64 0, !6, i64 8, !16, i64 16}
!18 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120}
!19 = !{!"", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !16, i64 32, !16, i64 36, !7, i64 40, !20, i64 552, !20, i64 584, !20, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!20 = !{!"", !7, i64 0}
!21 = !{!"short", !7, i64 0}
!22 = !{!"s_pxe_cdb", !21, i64 0, !21, i64 2, !21, i64 4, !21, i64 6, !6, i64 8, !6, i64 16, !21, i64 24, !21, i64 26, !21, i64 28, !21, i64 30}
!23 = !{!"s_pxe_db_get_init_info", !16, i64 0, !16, i64 4, !7, i64 8, !16, i64 24, !21, i64 28, !21, i64 30, !21, i64 32, !21, i64 34, !21, i64 36, !21, i64 38, !21, i64 40, !21, i64 42, !7, i64 44, !7, i64 45, !7, i64 46}
!24 = !{!25, !11, i64 72}
!25 = !{!"_EFI_PCI_IO_PROTOCOL", !11, i64 0, !11, i64 8, !26, i64 16, !26, i64 32, !26, i64 48, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !6, i64 144, !11, i64 152}
!26 = !{!"", !11, i64 0, !11, i64 8}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass