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

; 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.NIC_IP4_CONFIG_INFO = type { %struct.NIC_ADDR, i32, i8, %struct.EFI_IP4_IPCONFIG_DATA }
%struct.NIC_ADDR = type { i16, i8, %struct.EFI_MAC_ADDRESS }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct.EFI_IP4_IPCONFIG_DATA = type { %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i32, ptr }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }
%struct._IP4_CONFIG_INSTANCE = type { i32, ptr, ptr, ptr, %struct._EFI_IP4_CONFIG_PROTOCOL, %struct._EFI_HII_CONFIG_ACCESS_PROTOCOL, ptr, ptr, ptr, %struct._IP4CONFIG_CALLBACK_INFO, i64, ptr, ptr, ptr, ptr, i64, %struct.NIC_ADDR, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8 }
%struct._EFI_IP4_CONFIG_PROTOCOL = type { ptr, ptr, ptr }
%struct._EFI_HII_CONFIG_ACCESS_PROTOCOL = type { ptr, ptr, ptr }
%struct._IP4CONFIG_CALLBACK_INFO = type { i8, i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS }
%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 }

@gBS = external global ptr, align 8

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

declare zeroext i8 @Ip4ConfigIsValid(ptr noundef) #1

declare i64 @Ip4ConfigWriteVariable(ptr noundef, ptr noundef) #1

; 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 i64 @EfiNicIp4ConfigSetInfo(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #2 {
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i8 %2, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %10 = load ptr, ptr %5, align 8, !tbaa !5
  %11 = icmp eq ptr %10, null
  br i1 %11, label %12, label %13

12:                                               ; preds = %3
  store i64 -9223372036854775806, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %131

13:                                               ; preds = %3
  %14 = load ptr, ptr %6, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %16, label %59

16:                                               ; preds = %13
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = call zeroext i8 @Ip4ConfigIsValid(ptr noundef %17)
  %19 = icmp ne i8 %18, 0
  br i1 %19, label %20, label %58

20:                                               ; preds = %16
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.NIC_IP4_CONFIG_INFO, ptr %21, i32 0, i32 0
  %23 = getelementptr inbounds %struct.NIC_ADDR, ptr %22, i32 0, i32 0
  %24 = load i16, ptr %23, align 8, !tbaa !10
  %25 = zext i16 %24 to i32
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %26, i32 0, i32 16
  %28 = getelementptr inbounds %struct.NIC_ADDR, ptr %27, i32 0, i32 0
  %29 = load i16, ptr %28, align 8, !tbaa !17
  %30 = zext i16 %29 to i32
  %31 = icmp eq i32 %25, %30
  br i1 %31, label %32, label %58

32:                                               ; preds = %20
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.NIC_IP4_CONFIG_INFO, ptr %33, i32 0, i32 0
  %35 = getelementptr inbounds %struct.NIC_ADDR, ptr %34, i32 0, i32 1
  %36 = load i8, ptr %35, align 2, !tbaa !23
  %37 = zext i8 %36 to i32
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %38, i32 0, i32 16
  %40 = getelementptr inbounds %struct.NIC_ADDR, ptr %39, i32 0, i32 1
  %41 = load i8, ptr %40, align 2, !tbaa !24
  %42 = zext i8 %41 to i32
  %43 = icmp eq i32 %37, %42
  br i1 %43, label %44, label %58

44:                                               ; preds = %32
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.NIC_IP4_CONFIG_INFO, ptr %45, i32 0, i32 0
  %47 = getelementptr inbounds %struct.NIC_ADDR, ptr %46, i32 0, i32 2
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %48, i32 0, i32 16
  %50 = getelementptr inbounds %struct.NIC_ADDR, ptr %49, i32 0, i32 2
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.NIC_IP4_CONFIG_INFO, ptr %51, i32 0, i32 0
  %53 = getelementptr inbounds %struct.NIC_ADDR, ptr %52, i32 0, i32 1
  %54 = load i8, ptr %53, align 2, !tbaa !23
  %55 = zext i8 %54 to i64
  %56 = call i64 @CompareMem(ptr noundef %47, ptr noundef %50, i64 noundef %55)
  %57 = icmp eq i64 %56, 0
  br i1 %57, label %59, label %58

58:                                               ; preds = %44, %32, %20, %16
  store i64 -9223372036854775806, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %131

59:                                               ; preds = %44, %13
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %60, i32 0, i32 10
  %62 = load i64, ptr %61, align 8, !tbaa !25
  %63 = icmp eq i64 %62, 1
  br i1 %63, label %64, label %65

64:                                               ; preds = %59
  store i64 -9223372036854775788, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %131

65:                                               ; preds = %59
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = call i64 @Ip4ConfigWriteVariable(ptr noundef %66, ptr noundef %67)
  store i64 %68, ptr %8, align 8, !tbaa !26
  %69 = load i64, ptr %8, align 8, !tbaa !26
  %70 = icmp slt i64 %69, 0
  br i1 %70, label %71, label %73

71:                                               ; preds = %65
  %72 = load i64, ptr %8, align 8, !tbaa !26
  store i64 %72, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %131

73:                                               ; preds = %65
  %74 = load i8, ptr %7, align 1, !tbaa !9
  %75 = zext i8 %74 to i32
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %97

77:                                               ; preds = %73
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %78, i32 0, i32 14
  %80 = load ptr, ptr %79, align 8, !tbaa !27
  %81 = icmp ne ptr %80, null
  br i1 %81, label %82, label %97

82:                                               ; preds = %77
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = icmp eq ptr %83, null
  br i1 %84, label %85, label %88

85:                                               ; preds = %82
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %86, i32 0, i32 24
  store i8 1, ptr %87, align 1, !tbaa !28
  br label %88

88:                                               ; preds = %85, %82
  %89 = load ptr, ptr @gBS, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %89, i32 0, i32 11
  %91 = load ptr, ptr %90, align 8, !tbaa !29
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %92, i32 0, i32 14
  %94 = load ptr, ptr %93, align 8, !tbaa !27
  %95 = call i64 %91(ptr noundef %94)
  store i64 %95, ptr %8, align 8, !tbaa !26
  %96 = call i64 @DispatchDpc()
  br label %97

97:                                               ; preds = %88, %77, %73
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = icmp eq ptr %98, null
  br i1 %99, label %100, label %102

100:                                              ; preds = %97
  %101 = load i64, ptr %8, align 8, !tbaa !26
  store i64 %101, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %131

102:                                              ; preds = %97
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.NIC_IP4_CONFIG_INFO, ptr %103, i32 0, i32 1
  %105 = load i32, ptr %104, align 4, !tbaa !32
  %106 = icmp eq i32 %105, 0
  br i1 %106, label %107, label %115

107:                                              ; preds = %102
  %108 = load ptr, ptr @gBS, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %108, i32 0, i32 9
  %110 = load ptr, ptr %109, align 8, !tbaa !33
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %111, i32 0, i32 22
  %113 = load ptr, ptr %112, align 8, !tbaa !34
  %114 = call i64 %110(ptr noundef %113, i32 noundef 1, i64 noundef 10000000)
  br label %129

115:                                              ; preds = %102
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.NIC_IP4_CONFIG_INFO, ptr %116, i32 0, i32 1
  %118 = load i32, ptr %117, align 4, !tbaa !32
  %119 = icmp eq i32 %118, 1
  br i1 %119, label %120, label %128

120:                                              ; preds = %115
  %121 = load ptr, ptr @gBS, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %121, i32 0, i32 9
  %123 = load ptr, ptr %122, align 8, !tbaa !33
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %124, i32 0, i32 22
  %126 = load ptr, ptr %125, align 8, !tbaa !34
  %127 = call i64 %123(ptr noundef %126, i32 noundef 0, i64 noundef 0)
  br label %128

128:                                              ; preds = %120, %115
  br label %129

129:                                              ; preds = %128, %107
  %130 = load i64, ptr %8, align 8, !tbaa !26
  store i64 %130, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %131

131:                                              ; preds = %129, %100, %71, %64, %58, %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %132 = load i64, ptr %4, align 8
  ret i64 %132
}

declare i64 @CompareMem(ptr noundef, ptr noundef, i64 noundef) #1

declare i64 @DispatchDpc() #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #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, !13, i64 0}
!11 = !{!"", !12, i64 0, !15, i64 36, !7, i64 40, !16, i64 48}
!12 = !{!"", !13, i64 0, !7, i64 2, !14, i64 3}
!13 = !{!"short", !7, i64 0}
!14 = !{!"", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"", !14, i64 0, !14, i64 4, !15, i64 8, !6, i64 16}
!17 = !{!18, !13, i64 168}
!18 = !{!"_IP4_CONFIG_INSTANCE", !15, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !19, i64 32, !20, i64 56, !6, i64 80, !6, i64 88, !6, i64 96, !21, i64 104, !22, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !22, i64 160, !12, i64 168, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !7, i64 256, !7, i64 257}
!19 = !{!"_EFI_IP4_CONFIG_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_IP4CONFIG_CALLBACK_INFO", !7, i64 0, !7, i64 1, !14, i64 2, !14, i64 6, !14, i64 10}
!22 = !{!"long long", !7, i64 0}
!23 = !{!11, !7, i64 2}
!24 = !{!18, !7, i64 170}
!25 = !{!18, !22, i64 120}
!26 = !{!22, !22, i64 0}
!27 = !{!18, !6, i64 152}
!28 = !{!18, !7, i64 257}
!29 = !{!30, !6, i64 104}
!30 = !{!"", !31, 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}
!31 = !{!"", !22, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20}
!32 = !{!11, !15, i64 36}
!33 = !{!30, !6, i64 88}
!34 = !{!18, !6, i64 248}


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

@gBS = external local_unnamed_addr global ptr, align 8

declare zeroext i8 @Ip4ConfigIsValid(ptr noundef) local_unnamed_addr #0

declare i64 @Ip4ConfigWriteVariable(ptr noundef, ptr noundef) local_unnamed_addr #0

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

5:                                                ; preds = %3
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %25, label %6

6:                                                ; preds = %5
  %7 = tail call zeroext i8 @Ip4ConfigIsValid(ptr noundef nonnull %1) #2
  %.not33 = icmp eq i8 %7, 0
  br i1 %.not33, label %63, label %8

8:                                                ; preds = %6
  %9 = load i16, ptr %1, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 168
  %11 = load i16, ptr %10, align 8, !tbaa !15
  %12 = icmp eq i16 %9, %11
  br i1 %12, label %13, label %63

13:                                               ; preds = %8
  %14 = getelementptr inbounds i8, ptr %1, i64 2
  %15 = load i8, ptr %14, align 2, !tbaa !21
  %16 = getelementptr inbounds i8, ptr %0, i64 170
  %17 = load i8, ptr %16, align 2, !tbaa !22
  %18 = icmp eq i8 %15, %17
  br i1 %18, label %19, label %63

19:                                               ; preds = %13
  %20 = getelementptr inbounds i8, ptr %1, i64 3
  %21 = getelementptr inbounds i8, ptr %0, i64 171
  %22 = zext i8 %15 to i64
  %23 = tail call i64 @CompareMem(ptr noundef nonnull %20, ptr noundef nonnull %21, i64 noundef %22) #2
  %24 = icmp eq i64 %23, 0
  br i1 %24, label %25, label %63

25:                                               ; preds = %19, %5
  %26 = getelementptr inbounds i8, ptr %0, i64 120
  %27 = load i64, ptr %26, align 8, !tbaa !23
  %28 = icmp eq i64 %27, 1
  br i1 %28, label %63, label %29

29:                                               ; preds = %25
  %30 = tail call i64 @Ip4ConfigWriteVariable(ptr noundef nonnull %0, ptr noundef %1) #2
  %31 = icmp slt i64 %30, 0
  br i1 %31, label %63, label %32

32:                                               ; preds = %29
  %.not34 = icmp eq i8 %2, 0
  br i1 %.not34, label %45, label %33

33:                                               ; preds = %32
  %34 = getelementptr inbounds i8, ptr %0, i64 152
  %35 = load ptr, ptr %34, align 8, !tbaa !24
  %.not35 = icmp eq ptr %35, null
  br i1 %.not35, label %45, label %36

36:                                               ; preds = %33
  br i1 %.not, label %37, label %39

37:                                               ; preds = %36
  %38 = getelementptr inbounds i8, ptr %0, i64 257
  store i8 1, ptr %38, align 1, !tbaa !25
  br label %39

39:                                               ; preds = %37, %36
  %40 = load ptr, ptr @gBS, align 8, !tbaa !26
  %41 = getelementptr inbounds i8, ptr %40, i64 104
  %42 = load ptr, ptr %41, align 8, !tbaa !27
  %43 = tail call i64 %42(ptr noundef nonnull %35) #2
  %44 = tail call i64 @DispatchDpc() #2
  br label %45

45:                                               ; preds = %39, %33, %32
  %.0 = phi i64 [ %43, %39 ], [ %30, %33 ], [ %30, %32 ]
  br i1 %.not, label %63, label %46

46:                                               ; preds = %45
  %47 = getelementptr inbounds i8, ptr %1, i64 36
  %48 = load i32, ptr %47, align 4, !tbaa !30
  switch i32 %48, label %63 [
    i32 0, label %49
    i32 1, label %56
  ]

49:                                               ; preds = %46
  %50 = load ptr, ptr @gBS, align 8, !tbaa !26
  %51 = getelementptr inbounds i8, ptr %50, i64 88
  %52 = load ptr, ptr %51, align 8, !tbaa !31
  %53 = getelementptr inbounds i8, ptr %0, i64 248
  %54 = load ptr, ptr %53, align 8, !tbaa !32
  %55 = tail call i64 %52(ptr noundef %54, i32 noundef 1, i64 noundef 10000000) #2
  br label %63

56:                                               ; preds = %46
  %57 = load ptr, ptr @gBS, align 8, !tbaa !26
  %58 = getelementptr inbounds i8, ptr %57, i64 88
  %59 = load ptr, ptr %58, align 8, !tbaa !31
  %60 = getelementptr inbounds i8, ptr %0, i64 248
  %61 = load ptr, ptr %60, align 8, !tbaa !32
  %62 = tail call i64 %59(ptr noundef %61, i32 noundef 0, i64 noundef 0) #2
  br label %63

63:                                               ; preds = %49, %56, %46, %45, %29, %25, %6, %8, %13, %19, %3
  %.027 = phi i64 [ -9223372036854775806, %3 ], [ -9223372036854775806, %19 ], [ -9223372036854775806, %13 ], [ -9223372036854775806, %8 ], [ -9223372036854775806, %6 ], [ -9223372036854775788, %25 ], [ %30, %29 ], [ %.0, %45 ], [ %.0, %46 ], [ %.0, %56 ], [ %.0, %49 ]
  ret i64 %.027
}

declare i64 @CompareMem(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

declare i64 @DispatchDpc() local_unnamed_addr #0

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 = { 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, !8, i64 0}
!6 = !{!"", !7, i64 0, !12, i64 36, !9, i64 40, !13, i64 48}
!7 = !{!"", !8, i64 0, !9, i64 2, !11, i64 3}
!8 = !{!"short", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"", !11, i64 0, !11, i64 4, !12, i64 8, !14, i64 16}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !8, i64 168}
!16 = !{!"_IP4_CONFIG_INSTANCE", !12, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !17, i64 32, !18, i64 56, !14, i64 80, !14, i64 88, !14, i64 96, !19, i64 104, !20, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !20, i64 160, !7, i64 168, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !14, i64 240, !14, i64 248, !9, i64 256, !9, i64 257}
!17 = !{!"_EFI_IP4_CONFIG_PROTOCOL", !14, i64 0, !14, i64 8, !14, i64 16}
!18 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !14, i64 0, !14, i64 8, !14, i64 16}
!19 = !{!"_IP4CONFIG_CALLBACK_INFO", !9, i64 0, !9, i64 1, !11, i64 2, !11, i64 6, !11, i64 10}
!20 = !{!"long long", !9, i64 0}
!21 = !{!6, !9, i64 2}
!22 = !{!16, !9, i64 170}
!23 = !{!16, !20, i64 120}
!24 = !{!16, !14, i64 152}
!25 = !{!16, !9, i64 257}
!26 = !{!14, !14, i64 0}
!27 = !{!28, !14, i64 104}
!28 = !{!"", !29, i64 0, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !14, i64 264, !14, i64 272, !14, i64 280, !14, i64 288, !14, i64 296, !14, i64 304, !14, i64 312, !14, i64 320, !14, i64 328, !14, i64 336, !14, i64 344, !14, i64 352, !14, i64 360, !14, i64 368}
!29 = !{!"", !20, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20}
!30 = !{!6, !12, i64 36}
!31 = !{!28, !14, i64 88}
!32 = !{!16, !14, i64 248}


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