; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Udp6Dxe (Udp6Groups)

; 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_IPv6_ADDRESS = type { [16 x i8] }
%struct._UDP6_INSTANCE_DATA = type { i32, %struct._LIST_ENTRY, ptr, %struct._EFI_UDP6_PROTOCOL, %struct.EFI_UDP6_CONFIG_DATA, ptr, i8, i8, %struct.NET_MAP, %struct.NET_MAP, %struct.NET_MAP, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i16, i64, ptr, i8 }
%struct._EFI_UDP6_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_UDP6_CONFIG_DATA = type { i8, i8, i8, i8, i8, i32, i32, %struct.EFI_IPv6_ADDRESS, i16, %struct.EFI_IPv6_ADDRESS, i16 }
%struct.NET_MAP = type { %struct._LIST_ENTRY, %struct._LIST_ENTRY, i64 }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct._IP_IO_IP_INFO = type { %union.EFI_IP_ADDRESS, %union.IP_IO_IP_MASK, %struct._LIST_ENTRY, ptr, %union.IP_IO_IP_PROTOCOL, %union.IP_IO_IP_COMPLETION_TOKEN, i64, i8 }
%union.EFI_IP_ADDRESS = type { [4 x i32] }
%union.IP_IO_IP_MASK = type { i32 }
%union.IP_IO_IP_PROTOCOL = type { ptr }
%union.IP_IO_IP_COMPLETION_TOKEN = type { %struct.EFI_IP4_COMPLETION_TOKEN }
%struct.EFI_IP4_COMPLETION_TOKEN = type { ptr, i64, %union.anon }
%union.anon = type { ptr }
%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 }
%struct._EFI_IP6_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [131 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@gBS = external global ptr, align 8

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

16:                                               ; preds = %3
  %17 = load i8, ptr %6, align 1, !tbaa !9
  %18 = zext i8 %17 to i32
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %20, label %24

20:                                               ; preds = %16
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = icmp eq ptr %21, null
  br i1 %22, label %23, label %24

23:                                               ; preds = %20, %3
  store i64 -9223372036854775806, ptr %4, align 8
  store i32 1, ptr %13, align 4
  br label %117

24:                                               ; preds = %20, %16
  store ptr null, ptr %12, align 8, !tbaa !5
  %25 = load i8, ptr %6, align 1, !tbaa !9
  %26 = icmp ne i8 %25, 0
  br i1 %26, label %27, label %42

27:                                               ; preds = %24
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.EFI_IPv6_ADDRESS, ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds [16 x i8], ptr %29, i64 0, i64 0
  %31 = load i8, ptr %30, align 1, !tbaa !9
  %32 = zext i8 %31 to i32
  %33 = icmp eq i32 %32, 255
  br i1 %33, label %35, label %34

34:                                               ; preds = %27
  store i64 -9223372036854775806, ptr %4, align 8
  store i32 1, ptr %13, align 4
  br label %117

35:                                               ; preds = %27
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = call ptr @AllocateCopyPool(i64 noundef 16, ptr noundef %36)
  store ptr %37, ptr %12, align 8, !tbaa !5
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = icmp eq ptr %38, null
  br i1 %39, label %40, label %41

40:                                               ; preds = %35
  store i64 -9223372036854775799, ptr %4, align 8
  store i32 1, ptr %13, align 4
  br label %117

41:                                               ; preds = %35
  br label %42

42:                                               ; preds = %41, %24
  %43 = call zeroext i8 @DebugAssertEnabled()
  %44 = zext i8 %43 to i32
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %56

46:                                               ; preds = %42
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = ptrtoint ptr %47 to i64
  %49 = sub i64 %48, ptrtoint (ptr getelementptr inbounds (%struct._UDP6_INSTANCE_DATA, ptr null, i32 0, i32 3) to i64)
  %50 = inttoptr i64 %49 to ptr
  %51 = getelementptr inbounds %struct._UDP6_INSTANCE_DATA, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !10
  %53 = icmp ne i32 %52, 1399874645
  br i1 %53, label %54, label %56

54:                                               ; preds = %46
  call void @DebugAssert(ptr noundef @.str, i64 noundef 352, ptr noundef @.str.1)
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  br label %61

56:                                               ; preds = %46, %42
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = ptrtoint ptr %57 to i64
  %59 = sub i64 %58, ptrtoint (ptr getelementptr inbounds (%struct._UDP6_INSTANCE_DATA, ptr null, i32 0, i32 3) to i64)
  %60 = inttoptr i64 %59 to ptr
  br label %61

61:                                               ; preds = %56, %54
  %62 = phi ptr [ %55, %54 ], [ %60, %56 ]
  store ptr %62, ptr %9, align 8, !tbaa !5
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._UDP6_INSTANCE_DATA, ptr %63, i32 0, i32 6
  %65 = load i8, ptr %64, align 8, !tbaa !20
  %66 = icmp ne i8 %65, 0
  br i1 %66, label %68, label %67

67:                                               ; preds = %61
  store i64 -9223372036854775789, ptr %4, align 8
  store i32 1, ptr %13, align 4
  br label %117

68:                                               ; preds = %61
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._UDP6_INSTANCE_DATA, ptr %69, i32 0, i32 15
  %71 = load ptr, ptr %70, align 8, !tbaa !21
  %72 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %71, i32 0, i32 4
  %73 = load ptr, ptr %72, align 8, !tbaa !9
  store ptr %73, ptr %10, align 8, !tbaa !5
  %74 = load ptr, ptr @gBS, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %74, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !22
  %77 = call i64 %76(i64 noundef 8)
  store i64 %77, ptr %11, align 8, !tbaa !25
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct._EFI_IP6_PROTOCOL, ptr %78, i32 0, i32 2
  %80 = load ptr, ptr %79, align 8, !tbaa !26
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = load i8, ptr %6, align 1, !tbaa !9
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = call i64 %80(ptr noundef %81, i8 noundef zeroext %82, ptr noundef %83)
  store i64 %84, ptr %8, align 8, !tbaa !25
  %85 = load i64, ptr %8, align 8, !tbaa !25
  %86 = icmp slt i64 %85, 0
  br i1 %86, label %87, label %88

87:                                               ; preds = %68
  br label %102

88:                                               ; preds = %68
  %89 = load i8, ptr %6, align 1, !tbaa !9
  %90 = icmp ne i8 %89, 0
  br i1 %90, label %91, label %96

91:                                               ; preds = %88
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct._UDP6_INSTANCE_DATA, ptr %92, i32 0, i32 10
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = call i64 @NetMapInsertTail(ptr noundef %93, ptr noundef %94, ptr noundef null)
  store i64 %95, ptr %8, align 8, !tbaa !25
  br label %101

96:                                               ; preds = %88
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct._UDP6_INSTANCE_DATA, ptr %97, i32 0, i32 10
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = call i64 @NetMapIterate(ptr noundef %98, ptr noundef @Udp6LeaveGroup, ptr noundef %99)
  br label %101

101:                                              ; preds = %96, %91
  br label %102

102:                                              ; preds = %101, %87
  %103 = load ptr, ptr @gBS, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %103, i32 0, i32 2
  %105 = load ptr, ptr %104, align 8, !tbaa !28
  %106 = load i64, ptr %11, align 8, !tbaa !25
  call void %105(i64 noundef %106)
  %107 = load i64, ptr %8, align 8, !tbaa !25
  %108 = icmp slt i64 %107, 0
  br i1 %108, label %109, label %115

109:                                              ; preds = %102
  %110 = load ptr, ptr %12, align 8, !tbaa !5
  %111 = icmp ne ptr %110, null
  br i1 %111, label %112, label %114

112:                                              ; preds = %109
  %113 = load ptr, ptr %12, align 8, !tbaa !5
  call void @FreePool(ptr noundef %113)
  br label %114

114:                                              ; preds = %112, %109
  br label %115

115:                                              ; preds = %114, %102
  %116 = load i64, ptr %8, align 8, !tbaa !25
  store i64 %116, ptr %4, align 8
  store i32 1, ptr %13, align 4
  br label %117

117:                                              ; preds = %115, %67, %40, %34, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %8) #3
  %118 = load i64, ptr %4, align 8
  ret i64 %118
}

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

declare zeroext i8 @DebugAssertEnabled() #2

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

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

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

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

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

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

declare void @FreePool(ptr noundef) #2

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 = !{!7, !7, i64 0}
!10 = !{!11, !12, i64 0}
!11 = !{!"_UDP6_INSTANCE_DATA", !12, i64 0, !13, i64 8, !6, i64 24, !14, i64 32, !15, i64 88, !6, i64 144, !7, i64 152, !7, i64 153, !18, i64 160, !18, i64 200, !18, i64 240, !13, i64 280, !13, i64 296, !17, i64 312, !19, i64 320, !6, i64 328, !7, i64 336}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!14 = !{!"_EFI_UDP6_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!15 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !12, i64 8, !12, i64 12, !16, i64 16, !17, i64 32, !16, i64 34, !17, i64 50}
!16 = !{!"", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"", !13, i64 0, !13, i64 16, !19, i64 32}
!19 = !{!"long long", !7, i64 0}
!20 = !{!11, !7, i64 152}
!21 = !{!11, !6, i64 328}
!22 = !{!23, !6, i64 24}
!23 = !{!"", !24, 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}
!24 = !{!"", !19, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20}
!25 = !{!19, !19, i64 0}
!26 = !{!27, !6, i64 16}
!27 = !{!"_EFI_IP6_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, !6, i64 64}
!28 = !{!23, !6, i64 32}


; 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 [131 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@gBS = external local_unnamed_addr global ptr, align 8

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

5:                                                ; preds = %3
  %6 = icmp ne i8 %1, 0
  %7 = icmp eq ptr %2, null
  %or.cond = and i1 %6, %7
  br i1 %or.cond, label %49, label %8

8:                                                ; preds = %5
  %.not = icmp eq i8 %1, 0
  br i1 %.not, label %15, label %9

9:                                                ; preds = %8
  %10 = load i8, ptr %2, align 1, !tbaa !5
  %11 = icmp eq i8 %10, -1
  br i1 %11, label %12, label %49

12:                                               ; preds = %9
  %13 = tail call ptr @AllocateCopyPool(i64 noundef 16, ptr noundef nonnull %2) #2
  %14 = icmp eq ptr %13, null
  br i1 %14, label %49, label %15

15:                                               ; preds = %12, %8
  %.0 = phi ptr [ %13, %12 ], [ null, %8 ]
  %16 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not35 = icmp eq i8 %16, 0
  %.pre = ptrtoint ptr %0 to i64
  %.pre38 = add i64 %.pre, -32
  %.pre40 = inttoptr i64 %.pre38 to ptr
  br i1 %.not35, label %._crit_edge, label %17

17:                                               ; preds = %15
  %18 = load i32, ptr %.pre40, align 8, !tbaa !8
  %.not36 = icmp eq i32 %18, 1399874645
  br i1 %.not36, label %._crit_edge, label %19

19:                                               ; preds = %17
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 352, ptr noundef nonnull @.str.1) #2
  br label %._crit_edge

._crit_edge:                                      ; preds = %15, %17, %19
  %20 = phi ptr [ %0, %19 ], [ %.pre40, %17 ], [ %.pre40, %15 ]
  %21 = getelementptr inbounds i8, ptr %20, i64 152
  %22 = load i8, ptr %21, align 8, !tbaa !19
  %.not37 = icmp eq i8 %22, 0
  br i1 %.not37, label %49, label %23

23:                                               ; preds = %._crit_edge
  %24 = getelementptr inbounds i8, ptr %20, i64 328
  %25 = load ptr, ptr %24, align 8, !tbaa !20
  %26 = getelementptr inbounds i8, ptr %25, i64 48
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  %28 = load ptr, ptr @gBS, align 8, !tbaa !21
  %29 = getelementptr inbounds i8, ptr %28, i64 24
  %30 = load ptr, ptr %29, align 8, !tbaa !22
  %31 = tail call i64 %30(i64 noundef 8) #2
  %32 = getelementptr inbounds i8, ptr %27, i64 16
  %33 = load ptr, ptr %32, align 8, !tbaa !25
  %34 = tail call i64 %33(ptr noundef %27, i8 noundef zeroext %1, ptr noundef %2) #2
  %35 = icmp slt i64 %34, 0
  br i1 %35, label %42, label %36

36:                                               ; preds = %23
  %37 = getelementptr inbounds i8, ptr %20, i64 240
  br i1 %.not, label %40, label %38

38:                                               ; preds = %36
  %39 = tail call i64 @NetMapInsertTail(ptr noundef nonnull %37, ptr noundef %.0, ptr noundef null) #2
  br label %42

40:                                               ; preds = %36
  %41 = tail call i64 @NetMapIterate(ptr noundef nonnull %37, ptr noundef nonnull @Udp6LeaveGroup, ptr noundef %2) #2
  br label %42

42:                                               ; preds = %38, %40, %23
  %.031 = phi i64 [ %34, %23 ], [ %39, %38 ], [ %34, %40 ]
  %43 = load ptr, ptr @gBS, align 8, !tbaa !21
  %44 = getelementptr inbounds i8, ptr %43, i64 32
  %45 = load ptr, ptr %44, align 8, !tbaa !27
  tail call void %45(i64 noundef %31) #2
  %46 = icmp slt i64 %.031, 0
  %47 = icmp ne ptr %.0, null
  %or.cond3 = and i1 %47, %46
  br i1 %or.cond3, label %48, label %49

48:                                               ; preds = %42
  tail call void @FreePool(ptr noundef nonnull %.0) #2
  br label %49

49:                                               ; preds = %42, %48, %._crit_edge, %12, %9, %3, %5
  %.030 = phi i64 [ -9223372036854775806, %5 ], [ -9223372036854775806, %3 ], [ -9223372036854775806, %9 ], [ -9223372036854775799, %12 ], [ -9223372036854775789, %._crit_edge ], [ %.031, %48 ], [ %.031, %42 ]
  ret i64 %.030
}

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

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

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

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

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

declare void @FreePool(ptr noundef) local_unnamed_addr #1

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


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass