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

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

@.str = external hidden unnamed_addr constant [31 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [39 x i8], align 1

declare zeroext i8 @DebugPrintEnabled() #0

declare zeroext i8 @DebugPrintLevelEnabled(i64 noundef) #0

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

; Function Attrs: nounwind uwtable
define dso_local i64 @PxeRecvFilterDisable(ptr noundef %0, i32 noundef %1, i8 noundef zeroext %2) #1 {
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i8 %2, ptr %7, align 1, !tbaa !11
  %8 = load ptr, ptr %5, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.SNP_DRIVER, ptr %8, i32 0, i32 20
  %10 = getelementptr inbounds %struct.s_pxe_cdb, ptr %9, i32 0, i32 0
  store i16 9, ptr %10, align 2, !tbaa !12
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.SNP_DRIVER, ptr %11, i32 0, i32 20
  %13 = getelementptr inbounds %struct.s_pxe_cdb, ptr %12, i32 0, i32 2
  store i16 0, ptr %13, align 2, !tbaa !22
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.SNP_DRIVER, ptr %14, i32 0, i32 20
  %16 = getelementptr inbounds %struct.s_pxe_cdb, ptr %15, i32 0, i32 3
  store i16 0, ptr %16, align 2, !tbaa !23
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.SNP_DRIVER, ptr %17, i32 0, i32 20
  %19 = getelementptr inbounds %struct.s_pxe_cdb, ptr %18, i32 0, i32 4
  store i64 0, ptr %19, align 2, !tbaa !24
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.SNP_DRIVER, ptr %20, i32 0, i32 20
  %22 = getelementptr inbounds %struct.s_pxe_cdb, ptr %21, i32 0, i32 5
  store i64 0, ptr %22, align 2, !tbaa !25
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.SNP_DRIVER, ptr %23, i32 0, i32 20
  %25 = getelementptr inbounds %struct.s_pxe_cdb, ptr %24, i32 0, i32 6
  store i16 0, ptr %25, align 2, !tbaa !26
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.SNP_DRIVER, ptr %26, i32 0, i32 20
  %28 = getelementptr inbounds %struct.s_pxe_cdb, ptr %27, i32 0, i32 7
  store i16 0, ptr %28, align 2, !tbaa !27
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.SNP_DRIVER, ptr %29, i32 0, i32 10
  %31 = load i16, ptr %30, align 2, !tbaa !28
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.SNP_DRIVER, ptr %32, i32 0, i32 20
  %34 = getelementptr inbounds %struct.s_pxe_cdb, ptr %33, i32 0, i32 8
  store i16 %31, ptr %34, align 2, !tbaa !29
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.SNP_DRIVER, ptr %35, i32 0, i32 20
  %37 = getelementptr inbounds %struct.s_pxe_cdb, ptr %36, i32 0, i32 9
  store i16 0, ptr %37, align 2, !tbaa !30
  %38 = load i32, ptr %6, align 4, !tbaa !9
  %39 = icmp ne i32 %38, 0
  %40 = zext i1 %39 to i64
  %41 = select i1 %39, i32 16384, i32 0
  %42 = trunc i32 %41 to i16
  %43 = load ptr, ptr %5, 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 1
  store i16 %42, ptr %45, align 2, !tbaa !31
  %46 = load i8, ptr %7, align 1, !tbaa !11
  %47 = icmp ne i8 %46, 0
  br i1 %47, label %48, label %56

48:                                               ; preds = %3
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.SNP_DRIVER, ptr %49, i32 0, i32 20
  %51 = getelementptr inbounds %struct.s_pxe_cdb, ptr %50, i32 0, i32 1
  %52 = load i16, ptr %51, align 2, !tbaa !31
  %53 = zext i16 %52 to i32
  %54 = or i32 %53, 8192
  %55 = trunc i32 %54 to i16
  store i16 %55, ptr %51, align 2, !tbaa !31
  br label %56

56:                                               ; preds = %48, %3
  %57 = load i32, ptr %6, align 4, !tbaa !9
  %58 = and i32 %57, 1
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %68

60:                                               ; preds = %56
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.SNP_DRIVER, ptr %61, i32 0, i32 20
  %63 = getelementptr inbounds %struct.s_pxe_cdb, ptr %62, i32 0, i32 1
  %64 = load i16, ptr %63, align 2, !tbaa !31
  %65 = zext i16 %64 to i32
  %66 = or i32 %65, 1
  %67 = trunc i32 %66 to i16
  store i16 %67, ptr %63, align 2, !tbaa !31
  br label %68

68:                                               ; preds = %60, %56
  %69 = load i32, ptr %6, align 4, !tbaa !9
  %70 = and i32 %69, 4
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %80

72:                                               ; preds = %68
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.SNP_DRIVER, ptr %73, i32 0, i32 20
  %75 = getelementptr inbounds %struct.s_pxe_cdb, ptr %74, i32 0, i32 1
  %76 = load i16, ptr %75, align 2, !tbaa !31
  %77 = zext i16 %76 to i32
  %78 = or i32 %77, 2
  %79 = trunc i32 %78 to i16
  store i16 %79, ptr %75, align 2, !tbaa !31
  br label %80

80:                                               ; preds = %72, %68
  %81 = load i32, ptr %6, align 4, !tbaa !9
  %82 = and i32 %81, 8
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %92

84:                                               ; preds = %80
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.SNP_DRIVER, ptr %85, i32 0, i32 20
  %87 = getelementptr inbounds %struct.s_pxe_cdb, ptr %86, i32 0, i32 1
  %88 = load i16, ptr %87, align 2, !tbaa !31
  %89 = zext i16 %88 to i32
  %90 = or i32 %89, 8
  %91 = trunc i32 %90 to i16
  store i16 %91, ptr %87, align 2, !tbaa !31
  br label %92

92:                                               ; preds = %84, %80
  %93 = load i32, ptr %6, align 4, !tbaa !9
  %94 = and i32 %93, 16
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %104

96:                                               ; preds = %92
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.SNP_DRIVER, ptr %97, i32 0, i32 20
  %99 = getelementptr inbounds %struct.s_pxe_cdb, ptr %98, i32 0, i32 1
  %100 = load i16, ptr %99, align 2, !tbaa !31
  %101 = zext i16 %100 to i32
  %102 = or i32 %101, 16
  %103 = trunc i32 %102 to i16
  store i16 %103, ptr %99, align 2, !tbaa !31
  br label %104

104:                                              ; preds = %96, %92
  %105 = load i32, ptr %6, align 4, !tbaa !9
  %106 = and i32 %105, 2
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %116

108:                                              ; preds = %104
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.SNP_DRIVER, ptr %109, i32 0, i32 20
  %111 = getelementptr inbounds %struct.s_pxe_cdb, ptr %110, i32 0, i32 1
  %112 = load i16, ptr %111, align 2, !tbaa !31
  %113 = zext i16 %112 to i32
  %114 = or i32 %113, 4
  %115 = trunc i32 %114 to i16
  store i16 %115, ptr %111, align 2, !tbaa !31
  br label %116

116:                                              ; preds = %108, %104
  br label %117

117:                                              ; preds = %116
  %118 = call zeroext i8 @DebugPrintEnabled()
  %119 = icmp ne i8 %118, 0
  br i1 %119, label %120, label %127

120:                                              ; preds = %117
  br label %121

121:                                              ; preds = %120
  %122 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 16384)
  %123 = icmp ne i8 %122, 0
  br i1 %123, label %124, label %125

124:                                              ; preds = %121
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 16384, ptr noundef @.str)
  br label %125

125:                                              ; preds = %124, %121
  br label %126

126:                                              ; preds = %125
  br label %127

127:                                              ; preds = %126, %117
  br label %128

128:                                              ; preds = %127
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.SNP_DRIVER, ptr %129, i32 0, i32 7
  %131 = load ptr, ptr %130, align 8, !tbaa !32
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.SNP_DRIVER, ptr %132, i32 0, i32 20
  %134 = ptrtoint ptr %133 to i64
  %135 = call i64 %131(i64 noundef %134)
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.SNP_DRIVER, ptr %136, i32 0, i32 20
  %138 = getelementptr inbounds %struct.s_pxe_cdb, ptr %137, i32 0, i32 6
  %139 = load i16, ptr %138, align 2, !tbaa !26
  %140 = zext i16 %139 to i32
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %142, label %165

142:                                              ; preds = %128
  br label %143

143:                                              ; preds = %142
  %144 = call zeroext i8 @DebugPrintEnabled()
  %145 = icmp ne i8 %144, 0
  br i1 %145, label %146, label %163

146:                                              ; preds = %143
  br label %147

147:                                              ; preds = %146
  %148 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2147483648)
  %149 = icmp ne i8 %148, 0
  br i1 %149, label %150, label %161

150:                                              ; preds = %147
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.SNP_DRIVER, ptr %151, i32 0, i32 20
  %153 = getelementptr inbounds %struct.s_pxe_cdb, ptr %152, i32 0, i32 7
  %154 = load i16, ptr %153, align 2, !tbaa !27
  %155 = zext i16 %154 to i32
  %156 = load ptr, ptr %5, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.SNP_DRIVER, ptr %156, i32 0, i32 20
  %158 = getelementptr inbounds %struct.s_pxe_cdb, ptr %157, i32 0, i32 6
  %159 = load i16, ptr %158, align 2, !tbaa !26
  %160 = zext i16 %159 to i32
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 2147483648, ptr noundef @.str.1, i32 noundef %155, i32 noundef %160)
  br label %161

161:                                              ; preds = %150, %147
  br label %162

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162, %143
  br label %164

164:                                              ; preds = %163
  store i64 -9223372036854775801, ptr %4, align 8
  br label %166

165:                                              ; preds = %128
  store i64 0, ptr %4, align 8
  br label %166

166:                                              ; preds = %165, %164
  %167 = load i64, ptr %4, align 8
  ret i64 %167
}

attributes #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 = { 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" }

!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 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !19, i64 898}
!13 = !{!"", !10, i64 0, !14, i64 8, !16, i64 32, !17, i64 160, !6, i64 816, !6, i64 824, !6, i64 832, !7, i64 840, !19, i64 842, !10, 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 = !{!"", !15, i64 0, !15, i64 8, !10, i64 16}
!15 = !{!"long long", !7, i64 0}
!16 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !15, 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 = !{!"", !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, !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, !15, i64 8, !15, i64 16, !19, i64 24, !19, i64 26, !19, i64 28, !19, i64 30}
!21 = !{!"s_pxe_db_get_init_info", !10, i64 0, !10, i64 4, !7, i64 8, !10, 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 = !{!13, !19, i64 902}
!23 = !{!13, !19, i64 904}
!24 = !{!13, !15, i64 906}
!25 = !{!13, !15, i64 914}
!26 = !{!13, !19, i64 922}
!27 = !{!13, !19, i64 924}
!28 = !{!13, !19, i64 842}
!29 = !{!13, !19, i64 926}
!30 = !{!13, !19, i64 928}
!31 = !{!13, !19, i64 900}
!32 = !{!13, !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 [31 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [39 x i8], align 1

declare zeroext i8 @DebugPrintEnabled() local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775801, 1) i64 @PxeRecvFilterDisable(ptr noundef %0, i32 noundef %1, i8 noundef zeroext %2) local_unnamed_addr #1 {
  %4 = getelementptr inbounds i8, ptr %0, i64 898
  store i16 9, ptr %4, align 2, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 902
  %6 = getelementptr inbounds i8, ptr %0, i64 922
  %7 = getelementptr inbounds i8, ptr %0, i64 924
  %8 = getelementptr inbounds i8, ptr %0, i64 842
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 2 dereferenceable(24) %5, i8 0, i64 24, i1 false)
  %9 = load i16, ptr %8, align 2, !tbaa !19
  %10 = getelementptr inbounds i8, ptr %0, i64 926
  store i16 %9, ptr %10, align 2, !tbaa !20
  %11 = getelementptr inbounds i8, ptr %0, i64 928
  store i16 0, ptr %11, align 2, !tbaa !21
  %.not = icmp eq i32 %1, 0
  %12 = select i1 %.not, i16 0, i16 16384
  %13 = getelementptr inbounds i8, ptr %0, i64 900
  %.not29 = icmp eq i8 %2, 0
  %14 = or disjoint i16 %12, 8192
  %spec.select = select i1 %.not29, i16 %12, i16 %14
  %15 = trunc i32 %1 to i16
  %16 = and i16 %15, 1
  %spec.select40 = or disjoint i16 %spec.select, %16
  %17 = trunc i32 %1 to i16
  %18 = lshr i16 %17, 1
  %19 = and i16 %18, 2
  %spec.select41 = or disjoint i16 %spec.select40, %19
  %20 = trunc i32 %1 to i16
  %21 = and i16 %20, 8
  %22 = or disjoint i16 %spec.select41, %21
  %23 = trunc i32 %1 to i16
  %24 = and i16 %23, 16
  %25 = or i16 %22, %24
  %26 = trunc i32 %1 to i16
  %27 = shl i16 %26, 1
  %28 = and i16 %27, 4
  %storemerge = or i16 %25, %28
  store i16 %storemerge, ptr %13, align 2, !tbaa !22
  %29 = tail call zeroext i8 @DebugPrintEnabled() #3
  %.not35 = icmp eq i8 %29, 0
  br i1 %.not35, label %33, label %30

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

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

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

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

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

43:                                               ; preds = %41
  %44 = load i16, ptr %7, align 2, !tbaa !25
  %45 = zext i16 %44 to i32
  %46 = load i16, ptr %6, align 2, !tbaa !24
  %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) #3
  br label %48

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

attributes #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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !16, i64 898}
!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, !16, i64 842}
!20 = !{!6, !16, i64 926}
!21 = !{!6, !16, i64 928}
!22 = !{!6, !16, i64 900}
!23 = !{!6, !13, i64 832}
!24 = !{!6, !16, i64 922}
!25 = !{!6, !16, i64 924}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass