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

; 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_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 }

@.str.2 = external hidden unnamed_addr constant [148 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@gBS = external global ptr, align 8

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

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

declare zeroext i8 @DebugAssertEnabled() #2

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

; 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 @SnpUndi32NvData(ptr noundef %0, i8 noundef zeroext %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %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 i64, align 8
  %15 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i8 %1, ptr %8, align 1, !tbaa !9
  store i64 %2, ptr %9, align 8, !tbaa !10
  store i64 %3, ptr %10, align 8, !tbaa !10
  store ptr %4, ptr %11, align 8, !tbaa !5
  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 8, ptr %14) #3
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = icmp eq ptr %16, null
  br i1 %17, label %18, label %19

18:                                               ; preds = %5
  store i64 -9223372036854775806, ptr %6, align 8
  store i32 1, ptr %15, align 4
  br label %123

19:                                               ; preds = %5
  %20 = call zeroext i8 @DebugAssertEnabled()
  %21 = zext i8 %20 to i32
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %33

23:                                               ; preds = %19
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = ptrtoint ptr %24 to i64
  %26 = sub i64 %25, ptrtoint (ptr getelementptr inbounds (%struct.SNP_DRIVER, ptr null, i32 0, i32 3) to i64)
  %27 = inttoptr i64 %26 to ptr
  %28 = getelementptr inbounds %struct.SNP_DRIVER, ptr %27, i32 0, i32 0
  %29 = load i32, ptr %28, align 8, !tbaa !12
  %30 = icmp ne i32 %29, 1935961715
  br i1 %30, label %31, label %33

31:                                               ; preds = %23
  call void @DebugAssert(ptr noundef @.str.2, i64 noundef 171, ptr noundef @.str.4)
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  br label %38

33:                                               ; preds = %23, %19
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = ptrtoint ptr %34 to i64
  %36 = sub i64 %35, ptrtoint (ptr getelementptr inbounds (%struct.SNP_DRIVER, ptr null, i32 0, i32 3) to i64)
  %37 = inttoptr i64 %36 to ptr
  br label %38

38:                                               ; preds = %33, %31
  %39 = phi ptr [ %32, %31 ], [ %37, %33 ]
  store ptr %39, ptr %12, align 8, !tbaa !5
  %40 = load ptr, ptr @gBS, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %40, i32 0, i32 1
  %42 = load ptr, ptr %41, align 8, !tbaa !22
  %43 = call i64 %42(i64 noundef 8)
  store i64 %43, ptr %13, align 8, !tbaa !10
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.SNP_DRIVER, ptr %44, i32 0, i32 4
  %46 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %45, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !25
  switch i32 %47, label %49 [
    i32 2, label %50
    i32 0, label %48
  ]

48:                                               ; preds = %38
  store i64 -9223372036854775789, ptr %14, align 8, !tbaa !10
  br label %117

49:                                               ; preds = %38
  store i64 -9223372036854775801, ptr %14, align 8, !tbaa !10
  br label %117

50:                                               ; preds = %38
  %51 = load ptr, ptr %12, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.SNP_DRIVER, ptr %51, i32 0, i32 4
  %53 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %52, i32 0, i32 4
  %54 = load i32, ptr %53, align 8, !tbaa !26
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %62, label %56

56:                                               ; preds = %50
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.SNP_DRIVER, ptr %57, i32 0, i32 4
  %59 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %58, i32 0, i32 5
  %60 = load i32, ptr %59, align 4, !tbaa !27
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %62, label %63

62:                                               ; preds = %56, %50
  store i64 -9223372036854775805, ptr %14, align 8, !tbaa !10
  br label %117

63:                                               ; preds = %56
  %64 = load i64, ptr %10, align 8, !tbaa !10
  %65 = icmp eq i64 %64, 0
  br i1 %65, label %105, label %66

66:                                               ; preds = %63
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = icmp eq ptr %67, null
  br i1 %68, label %105, label %69

69:                                               ; preds = %66
  %70 = load i64, ptr %9, align 8, !tbaa !10
  %71 = load ptr, ptr %12, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.SNP_DRIVER, ptr %71, i32 0, i32 4
  %73 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %72, i32 0, i32 4
  %74 = load i32, ptr %73, align 8, !tbaa !26
  %75 = zext i32 %74 to i64
  %76 = icmp uge i64 %70, %75
  br i1 %76, label %105, label %77

77:                                               ; preds = %69
  %78 = load i64, ptr %9, align 8, !tbaa !10
  %79 = load i64, ptr %10, align 8, !tbaa !10
  %80 = add i64 %78, %79
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.SNP_DRIVER, ptr %81, i32 0, i32 4
  %83 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %82, i32 0, i32 4
  %84 = load i32, ptr %83, align 8, !tbaa !26
  %85 = zext i32 %84 to i64
  %86 = icmp ugt i64 %80, %85
  br i1 %86, label %105, label %87

87:                                               ; preds = %77
  %88 = load i64, ptr %10, align 8, !tbaa !10
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.SNP_DRIVER, ptr %89, i32 0, i32 4
  %91 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %90, i32 0, i32 5
  %92 = load i32, ptr %91, align 4, !tbaa !27
  %93 = zext i32 %92 to i64
  %94 = urem i64 %88, %93
  %95 = icmp ne i64 %94, 0
  br i1 %95, label %105, label %96

96:                                               ; preds = %87
  %97 = load i64, ptr %9, align 8, !tbaa !10
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.SNP_DRIVER, ptr %98, i32 0, i32 4
  %100 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %99, i32 0, i32 5
  %101 = load i32, ptr %100, align 4, !tbaa !27
  %102 = zext i32 %101 to i64
  %103 = urem i64 %97, %102
  %104 = icmp ne i64 %103, 0
  br i1 %104, label %105, label %106

105:                                              ; preds = %96, %87, %77, %69, %66, %63
  store i64 -9223372036854775806, ptr %14, align 8, !tbaa !10
  br label %117

106:                                              ; preds = %96
  %107 = load i8, ptr %8, align 1, !tbaa !9
  %108 = icmp ne i8 %107, 0
  br i1 %108, label %110, label %109

109:                                              ; preds = %106
  store i64 -9223372036854775805, ptr %14, align 8, !tbaa !10
  br label %116

110:                                              ; preds = %106
  %111 = load ptr, ptr %12, align 8, !tbaa !5
  %112 = load i64, ptr %9, align 8, !tbaa !10
  %113 = load i64, ptr %10, align 8, !tbaa !10
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = call i64 @PxeNvDataRead(ptr noundef %111, i64 noundef %112, i64 noundef %113, ptr noundef %114)
  store i64 %115, ptr %14, align 8, !tbaa !10
  br label %116

116:                                              ; preds = %110, %109
  br label %117

117:                                              ; preds = %116, %105, %62, %49, %48
  %118 = load ptr, ptr @gBS, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %118, i32 0, i32 2
  %120 = load ptr, ptr %119, align 8, !tbaa !28
  %121 = load i64, ptr %13, align 8, !tbaa !10
  call void %120(i64 noundef %121)
  %122 = load i64, ptr %14, align 8, !tbaa !10
  store i64 %122, ptr %6, align 8
  store i32 1, ptr %15, align 4
  br label %123

123:                                              ; preds = %117, %18
  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 8, ptr %12) #3
  %124 = load i64, ptr %6, align 8
  ret i64 %124
}

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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long long", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"", !14, i64 0, !15, i64 8, !16, i64 32, !17, i64 160, !6, i64 816, !6, i64 824, !6, i64 832, !7, i64 840, !19, i64 842, !14, i64 844, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !7, i64 896, !7, i64 897, !20, i64 898, !6, i64 936, !6, i64 944, !6, i64 952, !21, i64 960, !6, i64 1008, !7, i64 1016, !6, i64 2616, !7, i64 2624}
!14 = !{!"int", !7, i64 0}
!15 = !{!"", !11, i64 0, !11, i64 8, !14, i64 16}
!16 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !11, i64 0, !6, i64 8, !6, i64 16, !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}
!17 = !{!"", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !7, i64 40, !18, i64 552, !18, i64 584, !18, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!18 = !{!"", !7, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!"s_pxe_cdb", !19, i64 0, !19, i64 2, !19, i64 4, !19, i64 6, !11, i64 8, !11, i64 16, !19, i64 24, !19, i64 26, !19, i64 28, !19, i64 30}
!21 = !{!"s_pxe_db_get_init_info", !14, i64 0, !14, i64 4, !7, i64 8, !14, i64 24, !19, i64 28, !19, i64 30, !19, i64 32, !19, i64 34, !19, i64 36, !19, i64 38, !19, i64 40, !19, i64 42, !7, i64 44, !7, i64 45, !7, i64 46}
!22 = !{!23, !6, i64 24}
!23 = !{!"", !24, 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}
!24 = !{!"", !11, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20}
!25 = !{!13, !14, i64 160}
!26 = !{!13, !14, i64 176}
!27 = !{!13, !14, i64 180}
!28 = !{!23, !6, i64 32}


; 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.2 = external hidden unnamed_addr constant [148 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@gBS = external local_unnamed_addr global ptr, align 8

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local i64 @SnpUndi32NvData(ptr noundef %0, i8 noundef zeroext %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = icmp eq ptr %0, null
  br i1 %6, label %47, label %7

7:                                                ; preds = %5
  %8 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not = icmp eq i8 %8, 0
  %.pre = ptrtoint ptr %0 to i64
  %.pre41 = add i64 %.pre, -32
  %.pre43 = inttoptr i64 %.pre41 to ptr
  br i1 %.not, label %._crit_edge, label %9

9:                                                ; preds = %7
  %10 = load i32, ptr %.pre43, align 8, !tbaa !5
  %.not34 = icmp eq i32 %10, 1935961715
  br i1 %.not34, label %._crit_edge, label %11

11:                                               ; preds = %9
  tail call void @DebugAssert(ptr noundef nonnull @.str.2, i64 noundef 171, ptr noundef nonnull @.str.4) #2
  br label %._crit_edge

._crit_edge:                                      ; preds = %7, %9, %11
  %12 = phi ptr [ %0, %11 ], [ %.pre43, %9 ], [ %.pre43, %7 ]
  %13 = load ptr, ptr @gBS, align 8, !tbaa !19
  %14 = getelementptr inbounds i8, ptr %13, i64 24
  %15 = load ptr, ptr %14, align 8, !tbaa !20
  %16 = tail call i64 %15(i64 noundef 8) #2
  %17 = getelementptr inbounds i8, ptr %12, i64 160
  %18 = load i32, ptr %17, align 8, !tbaa !23
  switch i32 %18, label %19 [
    i32 2, label %20
    i32 0, label %43
  ]

19:                                               ; preds = %._crit_edge
  br label %43

20:                                               ; preds = %._crit_edge
  %21 = getelementptr inbounds i8, ptr %12, i64 176
  %22 = load i32, ptr %21, align 8, !tbaa !24
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %43, label %24

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %12, i64 180
  %26 = load i32, ptr %25, align 4, !tbaa !25
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %43, label %28

28:                                               ; preds = %24
  %29 = icmp eq i64 %3, 0
  %30 = icmp eq ptr %4, null
  %or.cond = or i1 %29, %30
  br i1 %or.cond, label %43, label %31

31:                                               ; preds = %28
  %32 = zext i32 %22 to i64
  %.not35 = icmp ule i64 %32, %2
  %33 = add i64 %3, %2
  %34 = icmp ugt i64 %33, %32
  %or.cond40 = or i1 %.not35, %34
  br i1 %or.cond40, label %43, label %35

35:                                               ; preds = %31
  %36 = zext i32 %26 to i64
  %37 = urem i64 %3, %36
  %.not36 = icmp eq i64 %37, 0
  br i1 %.not36, label %38, label %43

38:                                               ; preds = %35
  %.lhs.trunc = trunc i64 %2 to i32
  %39 = urem i32 %.lhs.trunc, %26
  %.not37 = icmp eq i32 %39, 0
  br i1 %.not37, label %40, label %43

40:                                               ; preds = %38
  %.not38 = icmp eq i8 %1, 0
  br i1 %.not38, label %43, label %41

41:                                               ; preds = %40
  %42 = tail call i64 @PxeNvDataRead(ptr noundef nonnull %12, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %4)
  br label %43

43:                                               ; preds = %40, %28, %31, %35, %38, %20, %24, %._crit_edge, %41, %19
  %.0 = phi i64 [ -9223372036854775801, %19 ], [ %42, %41 ], [ -9223372036854775789, %._crit_edge ], [ -9223372036854775805, %24 ], [ -9223372036854775805, %20 ], [ -9223372036854775806, %38 ], [ -9223372036854775806, %35 ], [ -9223372036854775806, %31 ], [ -9223372036854775806, %28 ], [ -9223372036854775805, %40 ]
  %44 = load ptr, ptr @gBS, align 8, !tbaa !19
  %45 = getelementptr inbounds i8, ptr %44, i64 32
  %46 = load ptr, ptr %45, align 8, !tbaa !26
  tail call void %46(i64 noundef %16) #2
  br label %47

47:                                               ; preds = %5, %43
  %.026 = phi i64 [ %.0, %43 ], [ -9223372036854775806, %5 ]
  ret i64 %.026
}

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, !7, i64 0}
!6 = !{!"", !7, i64 0, !10, i64 8, !12, i64 32, !14, i64 160, !13, i64 816, !13, i64 824, !13, i64 832, !8, i64 840, !16, i64 842, !7, i64 844, !13, i64 848, !13, i64 856, !13, i64 864, !13, i64 872, !13, i64 880, !13, i64 888, !8, i64 896, !8, i64 897, !17, i64 898, !13, i64 936, !13, i64 944, !13, i64 952, !18, i64 960, !13, i64 1008, !8, i64 1016, !13, i64 2616, !8, i64 2624}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !11, i64 8, !7, i64 16}
!11 = !{!"long long", !8, i64 0}
!12 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !11, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !8, i64 40, !15, i64 552, !15, i64 584, !15, i64 616, !8, i64 648, !8, i64 649, !8, i64 650, !8, i64 651, !8, i64 652}
!15 = !{!"", !8, i64 0}
!16 = !{!"short", !8, i64 0}
!17 = !{!"s_pxe_cdb", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !11, i64 8, !11, i64 16, !16, i64 24, !16, i64 26, !16, i64 28, !16, i64 30}
!18 = !{!"s_pxe_db_get_init_info", !7, i64 0, !7, i64 4, !8, i64 8, !7, i64 24, !16, i64 28, !16, i64 30, !16, i64 32, !16, i64 34, !16, i64 36, !16, i64 38, !16, i64 40, !16, i64 42, !8, i64 44, !8, i64 45, !8, i64 46}
!19 = !{!13, !13, i64 0}
!20 = !{!21, !13, i64 24}
!21 = !{!"", !22, i64 0, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !13, i64 360, !13, i64 368}
!22 = !{!"", !11, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!23 = !{!6, !7, i64 160}
!24 = !{!6, !7, i64 176}
!25 = !{!6, !7, i64 180}
!26 = !{!21, !13, i64 32}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass