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

; 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._DHCP_SERVICE = type { i32, %struct._EFI_SERVICE_BINDING_PROTOCOL, i64, ptr, ptr, %struct._LIST_ENTRY, i64, i64, i64, i32, i32, i32, i32, ptr, ptr, ptr, i32, i32, i32, i64, ptr, ptr, ptr, %struct.EFI_MAC_ADDRESS, i8, i8, [16 x i8], ptr, %struct.EFI_DHCP4_CONFIG_DATA, i32, ptr, i32, i32, i64, i64, i32 }
%struct._EFI_SERVICE_BINDING_PROTOCOL = type { ptr, ptr }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct.EFI_DHCP4_CONFIG_DATA = type { i32, ptr, i32, ptr, %struct.EFI_IPv4_ADDRESS, ptr, ptr, i32, ptr }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }
%struct.EFI_DHCP4_PACKET = type <{ i32, i32, %struct.anon }>
%struct.anon = type <{ %struct.EFI_DHCP4_HEADER, i32, [1 x i8] }>
%struct.EFI_DHCP4_HEADER = type { i8, i8, i8, i8, i32, i16, i16, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, [16 x i8], [64 x i8], [128 x i8] }
%struct.DHCP_PARAMETER = type { i32, i32, i8, i8, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [151 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [34 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

declare zeroext i8 @DebugAssertEnabled() #1

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @DhcpSetState(ptr noundef, i64 noundef, i8 noundef zeroext) #2

; Function Attrs: nounwind uwtable
declare dso_local i64 @DhcpSendMessage(ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext, ptr noundef) #2

; 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
declare dso_local i64 @DhcpCallUser(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @DhcpNotifyUser(ptr noundef, i64 noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @DhcpLeaseAcquired(ptr noundef) #2

declare void @FreePool(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i64 @DhcpChooseOffer(ptr noundef %0) #2 {
  %2 = alloca i64, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  br label %9

9:                                                ; preds = %1
  %10 = call zeroext i8 @DebugAssertEnabled()
  %11 = icmp ne i8 %10, 0
  br i1 %11, label %12, label %19

12:                                               ; preds = %9
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %13, i32 0, i32 13
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = icmp ne ptr %15, null
  br i1 %16, label %18, label %17

17:                                               ; preds = %12
  call void @DebugAssert(ptr noundef @.str, i64 noundef 520, ptr noundef @.str.5)
  br label %18

18:                                               ; preds = %17, %12
  br label %19

19:                                               ; preds = %18, %9
  br label %20

20:                                               ; preds = %19
  br label %21

21:                                               ; preds = %20
  store ptr null, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %23, i32 0, i32 13
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  %26 = call i64 @DhcpCallUser(ptr noundef %22, i32 noundef 3, ptr noundef %25, ptr noundef %5)
  store i64 %26, ptr %7, align 8, !tbaa !17
  %27 = load i64, ptr %7, align 8, !tbaa !17
  %28 = icmp slt i64 %27, 0
  br i1 %28, label %29, label %31

29:                                               ; preds = %21
  %30 = load i64, ptr %7, align 8, !tbaa !17
  store i64 %30, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %109

31:                                               ; preds = %21
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %32, i32 0, i32 13
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  store ptr %34, ptr %4, align 8, !tbaa !5
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %60

37:                                               ; preds = %31
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = call i64 @DhcpValidateOptions(ptr noundef %38, ptr noundef null)
  %40 = icmp slt i64 %39, 0
  br i1 %40, label %60, label %41

41:                                               ; preds = %37
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.EFI_DHCP4_PACKET, ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 1, !tbaa !18
  %45 = zext i32 %44 to i64
  %46 = call ptr @AllocatePool(i64 noundef %45)
  store ptr %46, ptr %6, align 8, !tbaa !5
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %59

49:                                               ; preds = %41
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.EFI_DHCP4_PACKET, ptr %52, i32 0, i32 0
  %54 = load i32, ptr %53, align 1, !tbaa !18
  %55 = zext i32 %54 to i64
  %56 = call ptr @CopyMem(ptr noundef %50, ptr noundef %51, i64 noundef %55)
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  call void @FreePool(ptr noundef %57)
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %58, ptr %4, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %49, %41
  br label %60

60:                                               ; preds = %59, %37, %31
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %62, i32 0, i32 14
  store ptr %61, ptr %63, align 8, !tbaa !23
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %64, i32 0, i32 13
  store ptr null, ptr %65, align 8, !tbaa !9
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %66, i32 0, i32 15
  store ptr null, ptr %67, align 8, !tbaa !24
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %69, i32 0, i32 15
  %71 = call i64 @DhcpValidateOptions(ptr noundef %68, ptr noundef %70)
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %72, i32 0, i32 15
  %74 = load ptr, ptr %73, align 8, !tbaa !24
  %75 = icmp eq ptr %74, null
  br i1 %75, label %84, label %76

76:                                               ; preds = %60
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %77, i32 0, i32 15
  %79 = load ptr, ptr %78, align 8, !tbaa !24
  %80 = getelementptr inbounds %struct.DHCP_PARAMETER, ptr %79, i32 0, i32 2
  %81 = load i8, ptr %80, align 4, !tbaa !25
  %82 = zext i8 %81 to i32
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %95

84:                                               ; preds = %76, %60
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = call i64 @DhcpLeaseAcquired(ptr noundef %85)
  store i64 %86, ptr %7, align 8, !tbaa !17
  %87 = load i64, ptr %7, align 8, !tbaa !17
  %88 = icmp slt i64 %87, 0
  br i1 %88, label %89, label %91

89:                                               ; preds = %84
  %90 = load i64, ptr %7, align 8, !tbaa !17
  store i64 %90, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %109

91:                                               ; preds = %84
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %92, i32 0, i32 8
  store i64 0, ptr %93, align 8, !tbaa !27
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  call void @DhcpNotifyUser(ptr noundef %94, i64 noundef 3)
  store i64 0, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %109

95:                                               ; preds = %76
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = call i64 @DhcpSetState(ptr noundef %96, i64 noundef 3, i8 noundef zeroext 1)
  store i64 %97, ptr %7, align 8, !tbaa !17
  %98 = load i64, ptr %7, align 8, !tbaa !17
  %99 = icmp slt i64 %98, 0
  br i1 %99, label %100, label %102

100:                                              ; preds = %95
  %101 = load i64, ptr %7, align 8, !tbaa !17
  store i64 %101, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %109

102:                                              ; preds = %95
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %105, i32 0, i32 15
  %107 = load ptr, ptr %106, align 8, !tbaa !24
  %108 = call i64 @DhcpSendMessage(ptr noundef %103, ptr noundef %104, ptr noundef %107, i8 noundef zeroext 3, ptr noundef null)
  store i64 %108, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %109

109:                                              ; preds = %102, %100, %91, %89, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %110 = load i64, ptr %2, align 8
  ret i64 %110
}

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

declare ptr @AllocatePool(i64 noundef) #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 = !{!10, !6, i64 104}
!10 = !{!"_DHCP_SERVICE", !11, i64 0, !12, i64 8, !13, i64 24, !6, i64 32, !6, i64 40, !14, i64 48, !13, i64 64, !13, i64 72, !13, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !6, i64 104, !6, i64 112, !6, i64 120, !11, i64 128, !11, i64 132, !11, i64 136, !13, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !15, i64 176, !7, i64 208, !7, i64 209, !7, i64 210, !6, i64 232, !16, i64 240, !11, i64 312, !6, i64 320, !11, i64 328, !11, i64 332, !13, i64 336, !13, i64 344, !11, i64 352}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!15 = !{!"", !7, i64 0}
!16 = !{!"", !11, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !15, i64 32, !6, i64 40, !6, i64 48, !11, i64 56, !6, i64 64}
!17 = !{!13, !13, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"", !11, i64 0, !11, i64 4, !20, i64 8}
!20 = !{!"", !21, i64 0, !11, i64 236, !7, i64 240}
!21 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !11, i64 4, !22, i64 8, !22, i64 10, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !7, i64 28, !7, i64 44, !7, i64 108}
!22 = !{!"short", !7, i64 0}
!23 = !{!10, !6, i64 112}
!24 = !{!10, !6, i64 120}
!25 = !{!26, !7, i64 8}
!26 = !{!"", !11, i64 0, !11, i64 4, !7, i64 8, !7, i64 9, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24}
!27 = !{!10, !13, i64 80}


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

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
declare dso_local i64 @DhcpSetState(ptr noundef, i64 noundef, i8 noundef zeroext) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i64 @DhcpSendMessage(ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext, ptr noundef) local_unnamed_addr #2

; 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
declare dso_local i64 @DhcpCallUser(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @DhcpNotifyUser(ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

declare void @FreePool(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i64 @DhcpChooseOffer(ptr noundef %0) local_unnamed_addr #2 {
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  %3 = tail call zeroext i8 @DebugAssertEnabled() #3
  %.not = icmp eq i8 %3, 0
  br i1 %.not, label %8, label %4

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 104
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %.not36 = icmp eq ptr %6, null
  br i1 %.not36, label %7, label %8

7:                                                ; preds = %4
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 520, ptr noundef nonnull @.str.5) #3
  br label %8

8:                                                ; preds = %4, %7, %1
  store ptr null, ptr %2, align 8, !tbaa !16
  %9 = getelementptr inbounds i8, ptr %0, i64 104
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = call i64 @DhcpCallUser(ptr noundef %0, i32 noundef 3, ptr noundef %10, ptr noundef nonnull %2)
  %12 = icmp slt i64 %11, 0
  br i1 %12, label %50, label %13

13:                                               ; preds = %8
  %14 = load ptr, ptr %9, align 8, !tbaa !5
  %15 = load ptr, ptr %2, align 8, !tbaa !16
  %.not37 = icmp eq ptr %15, null
  br i1 %.not37, label %29, label %16

16:                                               ; preds = %13
  %17 = call i64 @DhcpValidateOptions(ptr noundef nonnull %15, ptr noundef null) #3
  %18 = icmp slt i64 %17, 0
  br i1 %18, label %29, label %19

19:                                               ; preds = %16
  %20 = load ptr, ptr %2, align 8, !tbaa !16
  %21 = load i32, ptr %20, align 1, !tbaa !17
  %22 = zext i32 %21 to i64
  %23 = call ptr @AllocatePool(i64 noundef %22) #3
  %.not38 = icmp eq ptr %23, null
  br i1 %.not38, label %29, label %24

24:                                               ; preds = %19
  %25 = load ptr, ptr %2, align 8, !tbaa !16
  %26 = load i32, ptr %25, align 1, !tbaa !17
  %27 = zext i32 %26 to i64
  %28 = call ptr @CopyMem(ptr noundef nonnull %23, ptr noundef nonnull %25, i64 noundef %27) #3
  call void @FreePool(ptr noundef %14) #3
  br label %29

29:                                               ; preds = %19, %24, %16, %13
  %.029 = phi ptr [ %14, %16 ], [ %23, %24 ], [ %14, %19 ], [ %14, %13 ]
  %30 = getelementptr inbounds i8, ptr %0, i64 112
  store ptr %.029, ptr %30, align 8, !tbaa !22
  store ptr null, ptr %9, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr null, ptr %31, align 8, !tbaa !23
  %32 = call i64 @DhcpValidateOptions(ptr noundef %.029, ptr noundef nonnull %31) #3
  %33 = load ptr, ptr %31, align 8, !tbaa !23
  %34 = icmp eq ptr %33, null
  br i1 %34, label %39, label %35

35:                                               ; preds = %29
  %36 = getelementptr inbounds i8, ptr %33, i64 8
  %37 = load i8, ptr %36, align 4, !tbaa !24
  %38 = icmp eq i8 %37, 0
  br i1 %38, label %39, label %44

39:                                               ; preds = %35, %29
  %40 = call i64 @DhcpLeaseAcquired(ptr noundef nonnull %0)
  %41 = icmp slt i64 %40, 0
  br i1 %41, label %50, label %42

42:                                               ; preds = %39
  %43 = getelementptr inbounds i8, ptr %0, i64 80
  store i64 0, ptr %43, align 8, !tbaa !26
  call void @DhcpNotifyUser(ptr noundef nonnull %0, i64 noundef 3)
  br label %50

44:                                               ; preds = %35
  %45 = call i64 @DhcpSetState(ptr noundef nonnull %0, i64 noundef 3, i8 noundef zeroext 1)
  %46 = icmp slt i64 %45, 0
  br i1 %46, label %50, label %47

47:                                               ; preds = %44
  %48 = load ptr, ptr %31, align 8, !tbaa !23
  %49 = call i64 @DhcpSendMessage(ptr noundef nonnull %0, ptr noundef %.029, ptr noundef %48, i8 noundef zeroext 3, ptr noundef null)
  br label %50

50:                                               ; preds = %44, %39, %8, %47, %42
  %.0 = phi i64 [ 0, %42 ], [ %49, %47 ], [ %11, %8 ], [ %40, %39 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  ret i64 %.0
}

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

declare ptr @AllocatePool(i64 noundef) local_unnamed_addr #1

attributes #0 = { mustprogress 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, !11, i64 104}
!6 = !{!"_DHCP_SERVICE", !7, i64 0, !10, i64 8, !12, i64 24, !11, i64 32, !11, i64 40, !13, i64 48, !12, i64 64, !12, i64 72, !12, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !11, i64 104, !11, i64 112, !11, i64 120, !7, i64 128, !7, i64 132, !7, i64 136, !12, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !14, i64 176, !8, i64 208, !8, i64 209, !8, i64 210, !11, i64 232, !15, i64 240, !7, i64 312, !11, i64 320, !7, i64 328, !7, i64 332, !12, i64 336, !12, i64 344, !7, i64 352}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"_LIST_ENTRY", !11, i64 0, !11, i64 8}
!14 = !{!"", !8, i64 0}
!15 = !{!"", !7, i64 0, !11, i64 8, !7, i64 16, !11, i64 24, !14, i64 32, !11, i64 40, !11, i64 48, !7, i64 56, !11, i64 64}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"", !7, i64 0, !7, i64 4, !19, i64 8}
!19 = !{!"", !20, i64 0, !7, i64 236, !8, i64 240}
!20 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !7, i64 4, !21, i64 8, !21, i64 10, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !8, i64 28, !8, i64 44, !8, i64 108}
!21 = !{!"short", !8, i64 0}
!22 = !{!6, !11, i64 112}
!23 = !{!6, !11, i64 120}
!24 = !{!25, !8, i64 8}
!25 = !{!"", !7, i64 0, !7, i64 4, !8, i64 8, !8, i64 9, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!26 = !{!6, !12, i64 80}


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