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

; 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.EFI_UDP4_CONFIG_DATA = type { i8, i8, i8, i8, i8, i8, i8, i32, i32, i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i16, %struct.EFI_IPv4_ADDRESS, i16 }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }
%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._UDP_IO = type { i32, %struct._LIST_ENTRY, i64, i8, ptr, ptr, ptr, %struct.EFI_SIMPLE_NETWORK_MODE, %struct._LIST_ENTRY, ptr, %union.anon, %union.anon.0 }
%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 }
%union.anon = type { ptr }
%union.anon.0 = type { %struct.EFI_UDP6_CONFIG_DATA }
%struct.EFI_UDP6_CONFIG_DATA = type { i8, i8, i8, i8, i8, i32, i32, %struct.EFI_IPv6_ADDRESS, i16, %struct.EFI_IPv6_ADDRESS, i16 }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }
%struct._EFI_UDP4_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.DHCP_PARAMETER = type { i32, i32, i8, i8, i32, i32, i32, i32 }

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

; 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 @DhcpConfigLeaseIoPort(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.EFI_UDP4_CONFIG_DATA, align 4
  %7 = alloca %struct.EFI_IPv4_ADDRESS, align 1
  %8 = alloca %struct.EFI_IPv4_ADDRESS, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = 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 36, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %13, ptr %9, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 0
  store i8 0, ptr %14, align 4, !tbaa !9
  %15 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 1
  store i8 0, ptr %15, align 1, !tbaa !14
  %16 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 2
  store i8 0, ptr %16, align 2, !tbaa !15
  %17 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 3
  store i8 1, ptr %17, align 1, !tbaa !16
  %18 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 4
  store i8 0, ptr %18, align 4, !tbaa !17
  %19 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 5
  store i8 64, ptr %19, align 1, !tbaa !18
  %20 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 6
  store i8 0, ptr %20, align 2, !tbaa !19
  %21 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 7
  store i32 1, ptr %21, align 4, !tbaa !20
  %22 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 8
  store i32 0, ptr %22, align 4, !tbaa !21
  %23 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 9
  store i8 0, ptr %23, align 4, !tbaa !22
  %24 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 12
  store i16 68, ptr %24, align 2, !tbaa !23
  %25 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 14
  store i16 67, ptr %25, align 4, !tbaa !24
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %26, i32 0, i32 10
  %28 = load i32, ptr %27, align 4, !tbaa !25
  %29 = call i32 @SwapBytes32(i32 noundef %28)
  store i32 %29, ptr %11, align 4, !tbaa !31
  %30 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 10
  %31 = call ptr @CopyMem(ptr noundef %30, ptr noundef %11, i64 noundef 4)
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %32, i32 0, i32 11
  %34 = load i32, ptr %33, align 8, !tbaa !32
  %35 = call i32 @SwapBytes32(i32 noundef %34)
  store i32 %35, ptr %11, align 4, !tbaa !31
  %36 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 11
  %37 = call ptr @CopyMem(ptr noundef %36, ptr noundef %11, i64 noundef 4)
  %38 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %6, i32 0, i32 13
  %39 = call ptr @ZeroMem(ptr noundef %38, i64 noundef 4)
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct._UDP_IO, ptr %40, i32 0, i32 10
  %42 = load ptr, ptr %41, align 8, !tbaa !33
  %43 = getelementptr inbounds %struct._EFI_UDP4_PROTOCOL, ptr %42, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !34
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct._UDP_IO, ptr %45, i32 0, i32 10
  %47 = load ptr, ptr %46, align 8, !tbaa !33
  %48 = call i64 %44(ptr noundef %47, ptr noundef %6)
  store i64 %48, ptr %10, align 8, !tbaa !36
  %49 = load i64, ptr %10, align 8, !tbaa !36
  %50 = icmp slt i64 %49, 0
  br i1 %50, label %51, label %53

51:                                               ; preds = %2
  %52 = load i64, ptr %10, align 8, !tbaa !36
  store i64 %52, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %84

53:                                               ; preds = %2
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %54, i32 0, i32 15
  %56 = load ptr, ptr %55, align 8, !tbaa !37
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %83

58:                                               ; preds = %53
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %59, i32 0, i32 15
  %61 = load ptr, ptr %60, align 8, !tbaa !37
  %62 = getelementptr inbounds %struct.DHCP_PARAMETER, ptr %61, i32 0, i32 1
  %63 = load i32, ptr %62, align 4, !tbaa !38
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %83

65:                                               ; preds = %58
  %66 = call ptr @ZeroMem(ptr noundef %7, i64 noundef 4)
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct._DHCP_SERVICE, ptr %67, i32 0, i32 15
  %69 = load ptr, ptr %68, align 8, !tbaa !37
  %70 = getelementptr inbounds %struct.DHCP_PARAMETER, ptr %69, i32 0, i32 1
  %71 = load i32, ptr %70, align 4, !tbaa !38
  %72 = call i32 @SwapBytes32(i32 noundef %71)
  store i32 %72, ptr %11, align 4, !tbaa !31
  %73 = call ptr @CopyMem(ptr noundef %8, ptr noundef %11, i64 noundef 4)
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct._UDP_IO, ptr %74, i32 0, i32 10
  %76 = load ptr, ptr %75, align 8, !tbaa !33
  %77 = getelementptr inbounds %struct._EFI_UDP4_PROTOCOL, ptr %76, i32 0, i32 3
  %78 = load ptr, ptr %77, align 8, !tbaa !40
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._UDP_IO, ptr %79, i32 0, i32 10
  %81 = load ptr, ptr %80, align 8, !tbaa !33
  %82 = call i64 %78(ptr noundef %81, i8 noundef zeroext 0, ptr noundef %7, ptr noundef %7, ptr noundef %8)
  br label %83

83:                                               ; preds = %65, %58, %53
  store i64 0, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %84

84:                                               ; preds = %83, %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 36, ptr %6) #3
  %85 = load i64, ptr %3, align 8
  ret i64 %85
}

declare i32 @SwapBytes32(i32 noundef) #2

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

declare ptr @ZeroMem(ptr noundef, i64 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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, !7, i64 0}
!10 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !11, i64 8, !11, i64 12, !7, i64 16, !12, i64 17, !12, i64 21, !13, i64 26, !12, i64 28, !13, i64 32}
!11 = !{!"int", !7, i64 0}
!12 = !{!"", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!10, !7, i64 1}
!15 = !{!10, !7, i64 2}
!16 = !{!10, !7, i64 3}
!17 = !{!10, !7, i64 4}
!18 = !{!10, !7, i64 5}
!19 = !{!10, !7, i64 6}
!20 = !{!10, !11, i64 8}
!21 = !{!10, !11, i64 12}
!22 = !{!10, !7, i64 16}
!23 = !{!10, !13, i64 26}
!24 = !{!10, !13, i64 32}
!25 = !{!26, !11, i64 92}
!26 = !{!"_DHCP_SERVICE", !11, i64 0, !27, i64 8, !28, i64 24, !6, i64 32, !6, i64 40, !29, i64 48, !28, i64 64, !28, i64 72, !28, 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, !28, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !12, i64 176, !7, i64 208, !7, i64 209, !7, i64 210, !6, i64 232, !30, i64 240, !11, i64 312, !6, i64 320, !11, i64 328, !11, i64 332, !28, i64 336, !28, i64 344, !11, i64 352}
!27 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!28 = !{!"long long", !7, i64 0}
!29 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!30 = !{!"", !11, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !12, i64 32, !6, i64 40, !6, i64 48, !11, i64 56, !6, i64 64}
!31 = !{!11, !11, i64 0}
!32 = !{!26, !11, i64 96}
!33 = !{!7, !7, i64 0}
!34 = !{!35, !6, i64 8}
!35 = !{!"_EFI_UDP4_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!36 = !{!28, !28, i64 0}
!37 = !{!26, !6, i64 120}
!38 = !{!39, !11, i64 4}
!39 = !{!"", !11, i64 0, !11, i64 4, !7, i64 8, !7, i64 9, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24}
!40 = !{!35, !6, i64 24}


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

%struct.EFI_UDP4_CONFIG_DATA = type { i8, i8, i8, i8, i8, i8, i8, i32, i32, i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i16, %struct.EFI_IPv4_ADDRESS, i16 }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }

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

; 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
define dso_local range(i64 -9223372036854775808, 1) i64 @DhcpConfigLeaseIoPort(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #1 {
  %3 = alloca %struct.EFI_UDP4_CONFIG_DATA, align 4
  %4 = alloca %struct.EFI_IPv4_ADDRESS, align 1
  %5 = alloca %struct.EFI_IPv4_ADDRESS, align 1
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  store <4 x i8> <i8 0, i8 0, i8 0, i8 1>, ptr %3, align 4, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %3, i64 4
  store i8 0, ptr %7, align 4, !tbaa !8
  %8 = getelementptr inbounds i8, ptr %3, i64 5
  store i8 64, ptr %8, align 1, !tbaa !13
  %9 = getelementptr inbounds i8, ptr %3, i64 6
  store i8 0, ptr %9, align 2, !tbaa !14
  %10 = getelementptr inbounds i8, ptr %3, i64 8
  store i32 1, ptr %10, align 4, !tbaa !15
  %11 = getelementptr inbounds i8, ptr %3, i64 12
  store i32 0, ptr %11, align 4, !tbaa !16
  %12 = getelementptr inbounds i8, ptr %3, i64 16
  store i8 0, ptr %12, align 4, !tbaa !17
  %13 = getelementptr inbounds i8, ptr %3, i64 26
  store i16 68, ptr %13, align 2, !tbaa !18
  %14 = getelementptr inbounds i8, ptr %3, i64 32
  store i16 67, ptr %14, align 4, !tbaa !19
  %15 = getelementptr inbounds i8, ptr %1, i64 92
  %16 = load i32, ptr %15, align 4, !tbaa !20
  %17 = tail call i32 @SwapBytes32(i32 noundef %16) #3
  store i32 %17, ptr %6, align 4, !tbaa !27
  %18 = getelementptr inbounds i8, ptr %3, i64 17
  %19 = call ptr @CopyMem(ptr noundef nonnull %18, ptr noundef nonnull %6, i64 noundef 4) #3
  %20 = getelementptr inbounds i8, ptr %1, i64 96
  %21 = load i32, ptr %20, align 8, !tbaa !28
  %22 = call i32 @SwapBytes32(i32 noundef %21) #3
  store i32 %22, ptr %6, align 4, !tbaa !27
  %23 = getelementptr inbounds i8, ptr %3, i64 21
  %24 = call ptr @CopyMem(ptr noundef nonnull %23, ptr noundef nonnull %6, i64 noundef 4) #3
  %25 = getelementptr inbounds i8, ptr %3, i64 28
  %26 = call ptr @ZeroMem(ptr noundef nonnull %25, i64 noundef 4) #3
  %27 = getelementptr inbounds i8, ptr %0, i64 744
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !29
  %31 = call i64 %30(ptr noundef %28, ptr noundef nonnull %3) #3
  %32 = icmp slt i64 %31, 0
  br i1 %32, label %50, label %33

33:                                               ; preds = %2
  %34 = getelementptr inbounds i8, ptr %1, i64 120
  %35 = load ptr, ptr %34, align 8, !tbaa !31
  %.not = icmp eq ptr %35, null
  br i1 %.not, label %50, label %36

36:                                               ; preds = %33
  %37 = getelementptr inbounds i8, ptr %35, i64 4
  %38 = load i32, ptr %37, align 4, !tbaa !32
  %.not14 = icmp eq i32 %38, 0
  br i1 %.not14, label %50, label %39

39:                                               ; preds = %36
  %40 = call ptr @ZeroMem(ptr noundef nonnull %4, i64 noundef 4) #3
  %41 = load ptr, ptr %34, align 8, !tbaa !31
  %42 = getelementptr inbounds i8, ptr %41, i64 4
  %43 = load i32, ptr %42, align 4, !tbaa !32
  %44 = call i32 @SwapBytes32(i32 noundef %43) #3
  store i32 %44, ptr %6, align 4, !tbaa !27
  %45 = call ptr @CopyMem(ptr noundef nonnull %5, ptr noundef nonnull %6, i64 noundef 4) #3
  %46 = load ptr, ptr %27, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 24
  %48 = load ptr, ptr %47, align 8, !tbaa !34
  %49 = call i64 %48(ptr noundef %46, i8 noundef zeroext 0, ptr noundef nonnull %4, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
  br label %50

50:                                               ; preds = %33, %36, %39, %2
  %.0 = phi i64 [ %31, %2 ], [ 0, %39 ], [ 0, %36 ], [ 0, %33 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %3) #3
  ret i64 %.0
}

declare i32 @SwapBytes32(i32 noundef) local_unnamed_addr #2

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

declare ptr @ZeroMem(ptr noundef, i64 noundef) local_unnamed_addr #2

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass