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

; 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.s_pxe_cpb_station_address = type { [32 x i8] }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [36 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i64 @PxeGetStnAddr(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 @DebugPrintEnabled() #2

declare zeroext i8 @DebugPrintLevelEnabled(i64 noundef) #2

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

declare ptr @CopyMem(ptr noundef, ptr noundef, i64 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 @PxeSetStnAddr(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.SNP_DRIVER, ptr %9, i32 0, i32 22
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  store ptr %11, ptr %6, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.SNP_DRIVER, ptr %12, i32 0, i32 24
  %14 = load ptr, ptr %13, align 8, !tbaa !20
  store ptr %14, ptr %7, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.SNP_DRIVER, ptr %15, i32 0, i32 20
  %17 = getelementptr inbounds %struct.s_pxe_cdb, ptr %16, i32 0, i32 0
  store i16 10, ptr %17, align 2, !tbaa !21
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = icmp eq ptr %18, null
  br i1 %19, label %20, label %30

20:                                               ; preds = %2
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.SNP_DRIVER, ptr %21, i32 0, i32 20
  %23 = getelementptr inbounds %struct.s_pxe_cdb, ptr %22, i32 0, i32 1
  store i16 1, ptr %23, align 2, !tbaa !22
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.SNP_DRIVER, ptr %24, i32 0, i32 20
  %26 = getelementptr inbounds %struct.s_pxe_cdb, ptr %25, i32 0, i32 2
  store i16 0, ptr %26, align 2, !tbaa !23
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.SNP_DRIVER, ptr %27, i32 0, i32 20
  %29 = getelementptr inbounds %struct.s_pxe_cdb, ptr %28, i32 0, i32 4
  store i64 0, ptr %29, align 2, !tbaa !24
  br label %51

30:                                               ; preds = %2
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.SNP_DRIVER, ptr %31, i32 0, i32 20
  %33 = getelementptr inbounds %struct.s_pxe_cdb, ptr %32, i32 0, i32 1
  store i16 0, ptr %33, align 2, !tbaa !22
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.s_pxe_cpb_station_address, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.SNP_DRIVER, ptr %37, i32 0, i32 4
  %39 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 4, !tbaa !25
  %41 = zext i32 %40 to i64
  %42 = call ptr @CopyMem(ptr noundef %35, ptr noundef %36, i64 noundef %41)
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.SNP_DRIVER, ptr %43, i32 0, i32 20
  %45 = getelementptr inbounds %struct.s_pxe_cdb, ptr %44, i32 0, i32 2
  store i16 32, ptr %45, align 2, !tbaa !23
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = ptrtoint ptr %46 to i64
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.SNP_DRIVER, ptr %48, i32 0, i32 20
  %50 = getelementptr inbounds %struct.s_pxe_cdb, ptr %49, i32 0, i32 4
  store i64 %47, ptr %50, align 2, !tbaa !24
  br label %51

51:                                               ; preds = %30, %20
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.SNP_DRIVER, ptr %52, i32 0, i32 20
  %54 = getelementptr inbounds %struct.s_pxe_cdb, ptr %53, i32 0, i32 3
  store i16 96, ptr %54, align 2, !tbaa !26
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = ptrtoint ptr %55 to i64
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.SNP_DRIVER, ptr %57, i32 0, i32 20
  %59 = getelementptr inbounds %struct.s_pxe_cdb, ptr %58, i32 0, i32 5
  store i64 %56, ptr %59, align 2, !tbaa !27
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.SNP_DRIVER, ptr %60, i32 0, i32 20
  %62 = getelementptr inbounds %struct.s_pxe_cdb, ptr %61, i32 0, i32 6
  store i16 0, ptr %62, align 2, !tbaa !28
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.SNP_DRIVER, ptr %63, i32 0, i32 20
  %65 = getelementptr inbounds %struct.s_pxe_cdb, ptr %64, i32 0, i32 7
  store i16 0, ptr %65, align 2, !tbaa !29
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.SNP_DRIVER, ptr %66, i32 0, i32 10
  %68 = load i16, ptr %67, align 2, !tbaa !30
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.SNP_DRIVER, ptr %69, i32 0, i32 20
  %71 = getelementptr inbounds %struct.s_pxe_cdb, ptr %70, i32 0, i32 8
  store i16 %68, ptr %71, align 2, !tbaa !31
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.SNP_DRIVER, ptr %72, i32 0, i32 20
  %74 = getelementptr inbounds %struct.s_pxe_cdb, ptr %73, i32 0, i32 9
  store i16 0, ptr %74, align 2, !tbaa !32
  br label %75

75:                                               ; preds = %51
  %76 = call zeroext i8 @DebugPrintEnabled()
  %77 = icmp ne i8 %76, 0
  br i1 %77, label %78, label %86

78:                                               ; preds = %75
  br label %79

79:                                               ; preds = %78
  %80 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 16384)
  %81 = icmp ne i8 %80, 0
  br i1 %81, label %82, label %83

82:                                               ; preds = %79
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 16384, ptr noundef @.str)
  br label %83

83:                                               ; preds = %82, %79
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85, %75
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.SNP_DRIVER, ptr %89, i32 0, i32 7
  %91 = load ptr, ptr %90, align 8, !tbaa !33
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.SNP_DRIVER, ptr %92, i32 0, i32 20
  %94 = ptrtoint ptr %93 to i64
  %95 = call i64 %91(i64 noundef %94)
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.SNP_DRIVER, ptr %96, i32 0, i32 20
  %98 = getelementptr inbounds %struct.s_pxe_cdb, ptr %97, i32 0, i32 6
  %99 = load i16, ptr %98, align 2, !tbaa !28
  %100 = zext i16 %99 to i32
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %127

102:                                              ; preds = %88
  br label %103

103:                                              ; preds = %102
  %104 = call zeroext i8 @DebugPrintEnabled()
  %105 = icmp ne i8 %104, 0
  br i1 %105, label %106, label %124

106:                                              ; preds = %103
  br label %107

107:                                              ; preds = %106
  %108 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2147483648)
  %109 = icmp ne i8 %108, 0
  br i1 %109, label %110, label %121

110:                                              ; preds = %107
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.SNP_DRIVER, ptr %111, i32 0, i32 20
  %113 = getelementptr inbounds %struct.s_pxe_cdb, ptr %112, i32 0, i32 7
  %114 = load i16, ptr %113, align 2, !tbaa !29
  %115 = zext i16 %114 to i32
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.SNP_DRIVER, ptr %116, i32 0, i32 20
  %118 = getelementptr inbounds %struct.s_pxe_cdb, ptr %117, i32 0, i32 6
  %119 = load i16, ptr %118, align 2, !tbaa !28
  %120 = zext i16 %119 to i32
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 2147483648, ptr noundef @.str.1, i32 noundef %115, i32 noundef %120)
  br label %121

121:                                              ; preds = %110, %107
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123, %103
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  store i64 -9223372036854775801, ptr %3, align 8
  store i32 1, ptr %8, align 4
  br label %130

127:                                              ; preds = %88
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = call i64 @PxeGetStnAddr(ptr noundef %128)
  store i64 0, ptr %3, align 8
  store i32 1, ptr %8, align 4
  br label %130

130:                                              ; preds = %127, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  %131 = load i64, ptr %3, align 8
  ret i64 %131
}

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, !6, i64 936}
!10 = !{!"", !11, i64 0, !12, i64 8, !14, i64 32, !15, i64 160, !6, i64 816, !6, i64 824, !6, i64 832, !7, i64 840, !17, i64 842, !11, 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, !18, i64 898, !6, i64 936, !6, i64 944, !6, i64 952, !19, i64 960, !6, i64 1008, !7, i64 1016, !6, i64 2616, !7, i64 2624}
!11 = !{!"int", !7, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 8, !11, i64 16}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !13, 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}
!15 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !7, i64 40, !16, i64 552, !16, i64 584, !16, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!16 = !{!"", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"s_pxe_cdb", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !13, i64 8, !13, i64 16, !17, i64 24, !17, i64 26, !17, i64 28, !17, i64 30}
!19 = !{!"s_pxe_db_get_init_info", !11, i64 0, !11, i64 4, !7, i64 8, !11, i64 24, !17, i64 28, !17, i64 30, !17, i64 32, !17, i64 34, !17, i64 36, !17, i64 38, !17, i64 40, !17, i64 42, !7, i64 44, !7, i64 45, !7, i64 46}
!20 = !{!10, !6, i64 952}
!21 = !{!10, !17, i64 898}
!22 = !{!10, !17, i64 900}
!23 = !{!10, !17, i64 902}
!24 = !{!10, !13, i64 906}
!25 = !{!10, !11, i64 164}
!26 = !{!10, !17, i64 904}
!27 = !{!10, !13, i64 914}
!28 = !{!10, !17, i64 922}
!29 = !{!10, !17, i64 924}
!30 = !{!10, !17, i64 842}
!31 = !{!10, !17, i64 926}
!32 = !{!10, !17, i64 928}
!33 = !{!10, !6, i64 832}


; 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 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [36 x i8], align 1

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

declare zeroext i8 @DebugPrintEnabled() local_unnamed_addr #1

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

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

declare ptr @CopyMem(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775801, 1) i64 @PxeSetStnAddr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %0, i64 936
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 952
  %6 = load ptr, ptr %5, align 8, !tbaa !19
  %7 = getelementptr inbounds i8, ptr %0, i64 898
  store i16 10, ptr %7, align 2, !tbaa !20
  %8 = icmp eq ptr %1, null
  %9 = getelementptr inbounds i8, ptr %0, i64 900
  br i1 %8, label %10, label %11

10:                                               ; preds = %2
  store i16 1, ptr %9, align 2, !tbaa !21
  br label %17

11:                                               ; preds = %2
  store i16 0, ptr %9, align 2, !tbaa !21
  %12 = getelementptr inbounds i8, ptr %0, i64 164
  %13 = load i32, ptr %12, align 4, !tbaa !22
  %14 = zext i32 %13 to i64
  %15 = tail call ptr @CopyMem(ptr noundef %4, ptr noundef nonnull %1, i64 noundef %14) #2
  %16 = ptrtoint ptr %4 to i64
  br label %17

17:                                               ; preds = %11, %10
  %.sink33 = phi i16 [ 0, %10 ], [ 32, %11 ]
  %.sink = phi i64 [ 0, %10 ], [ %16, %11 ]
  %18 = getelementptr inbounds i8, ptr %0, i64 902
  store i16 %.sink33, ptr %18, align 2
  %19 = getelementptr inbounds i8, ptr %0, i64 906
  store i64 %.sink, ptr %19, align 2
  %20 = getelementptr inbounds i8, ptr %0, i64 904
  store i16 96, ptr %20, align 2, !tbaa !23
  %21 = ptrtoint ptr %6 to i64
  %22 = getelementptr inbounds i8, ptr %0, i64 914
  store i64 %21, ptr %22, align 2, !tbaa !24
  %23 = getelementptr inbounds i8, ptr %0, i64 922
  store i16 0, ptr %23, align 2, !tbaa !25
  %24 = getelementptr inbounds i8, ptr %0, i64 924
  store i16 0, ptr %24, align 2, !tbaa !26
  %25 = getelementptr inbounds i8, ptr %0, i64 842
  %26 = load i16, ptr %25, align 2, !tbaa !27
  %27 = getelementptr inbounds i8, ptr %0, i64 926
  store i16 %26, ptr %27, align 2, !tbaa !28
  %28 = getelementptr inbounds i8, ptr %0, i64 928
  store i16 0, ptr %28, align 2, !tbaa !29
  %29 = tail call zeroext i8 @DebugPrintEnabled() #2
  %.not = icmp eq i8 %29, 0
  br i1 %.not, label %33, label %30

30:                                               ; preds = %17
  %31 = tail call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 16384) #2
  %.not29 = icmp eq i8 %31, 0
  br i1 %.not29, label %33, label %32

32:                                               ; preds = %30
  tail call void (i64, ptr, ...) @DebugPrint(i64 noundef 16384, ptr noundef nonnull @.str) #2
  br label %33

33:                                               ; preds = %30, %32, %17
  %34 = getelementptr inbounds i8, ptr %0, i64 832
  %35 = load ptr, ptr %34, align 8, !tbaa !30
  %36 = ptrtoint ptr %7 to i64
  %37 = tail call i64 %35(i64 noundef %36) #2
  %38 = load i16, ptr %23, align 2, !tbaa !25
  %.not30 = icmp eq i16 %38, 0
  br i1 %.not30, label %48, label %39

39:                                               ; preds = %33
  %40 = tail call zeroext i8 @DebugPrintEnabled() #2
  %.not31 = icmp eq i8 %40, 0
  br i1 %.not31, label %50, label %41

41:                                               ; preds = %39
  %42 = tail call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2147483648) #2
  %.not32 = icmp eq i8 %42, 0
  br i1 %.not32, label %50, label %43

43:                                               ; preds = %41
  %44 = load i16, ptr %24, align 2, !tbaa !26
  %45 = zext i16 %44 to i32
  %46 = load i16, ptr %23, align 2, !tbaa !25
  %47 = zext i16 %46 to i32
  tail call void (i64, ptr, ...) @DebugPrint(i64 noundef 2147483648, ptr noundef nonnull @.str.1, i32 noundef %45, i32 noundef %47) #2
  br label %50

48:                                               ; preds = %33
  %49 = tail call i64 @PxeGetStnAddr(ptr noundef nonnull %0)
  br label %50

50:                                               ; preds = %39, %43, %41, %48
  %.0 = phi i64 [ 0, %48 ], [ -9223372036854775801, %41 ], [ -9223372036854775801, %43 ], [ -9223372036854775801, %39 ]
  ret i64 %.0
}

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, !13, i64 936}
!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 = !{!6, !13, i64 952}
!20 = !{!6, !16, i64 898}
!21 = !{!6, !16, i64 900}
!22 = !{!6, !7, i64 164}
!23 = !{!6, !16, i64 904}
!24 = !{!6, !11, i64 914}
!25 = !{!6, !16, i64 922}
!26 = !{!6, !16, i64 924}
!27 = !{!6, !16, i64 842}
!28 = !{!6, !16, i64 926}
!29 = !{!6, !16, i64 928}
!30 = !{!6, !13, i64 832}


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