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

; 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_MAC_ADDRESS = type { [32 x i8] }
%struct.IP4_ARP_QUE = type { i32, %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr, ptr, i32, %struct.EFI_MAC_ADDRESS }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct._IP4_INTERFACE = type { i32, %struct._LIST_ENTRY, i64, i32, i32, i32, i32, i8, ptr, ptr, ptr, ptr, ptr, %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr, %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, i32, %struct._LIST_ENTRY, i8 }
%struct.IP4_LINK_TX_TOKEN = type { i32, %struct._LIST_ENTRY, ptr, ptr, ptr, ptr, ptr, %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, %struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN, %struct.EFI_MANAGED_NETWORK_TRANSMIT_DATA }
%struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN = type { ptr, i64, %union.anon }
%union.anon = type { ptr }
%struct.EFI_MANAGED_NETWORK_TRANSMIT_DATA = type { ptr, ptr, i16, i32, i16, i16, [1 x %struct.EFI_MANAGED_NETWORK_FRAGMENT_DATA] }
%struct.EFI_MANAGED_NETWORK_FRAGMENT_DATA = type { i32, ptr }
%struct._EFI_MANAGED_NETWORK_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@mZeroMacAddress = external dso_local global %struct.EFI_MAC_ADDRESS, align 1
@.str = external hidden unnamed_addr constant [147 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [111 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 ptr @CopyMem(ptr noundef, ptr noundef, i64 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
declare dso_local void @Ip4FreeLinkTxToken(ptr noundef) #2

declare zeroext i8 @DebugAssertEnabled() #1

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

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

declare ptr @RemoveEntryList(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @Ip4OnArpResolvedDpc(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  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
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %10, ptr %5, align 8, !tbaa !5
  br label %11

11:                                               ; preds = %1
  %12 = call zeroext i8 @DebugAssertEnabled()
  %13 = icmp ne i8 %12, 0
  br i1 %13, label %14, label %24

14:                                               ; preds = %11
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %22

17:                                               ; preds = %14
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.IP4_ARP_QUE, ptr %18, i32 0, i32 0
  %20 = load i32, ptr %19, align 8, !tbaa !9
  %21 = icmp eq i32 %20, 1095127113
  br i1 %21, label %23, label %22

22:                                               ; preds = %17, %14
  call void @DebugAssert(ptr noundef @.str, i64 noundef 808, ptr noundef @.str.2)
  br label %23

23:                                               ; preds = %22, %17
  br label %24

24:                                               ; preds = %23, %11
  br label %25

25:                                               ; preds = %24
  br label %26

26:                                               ; preds = %25
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.IP4_ARP_QUE, ptr %27, i32 0, i32 1
  %29 = call ptr @RemoveEntryList(ptr noundef %28)
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.IP4_ARP_QUE, ptr %30, i32 0, i32 6
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.IP4_ARP_QUE, ptr %32, i32 0, i32 3
  %34 = load ptr, ptr %33, align 8, !tbaa !14
  %35 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %34, i32 0, i32 18
  %36 = load i32, ptr %35, align 8, !tbaa !15
  %37 = zext i32 %36 to i64
  %38 = call i64 @CompareMem(ptr noundef %31, ptr noundef @mZeroMacAddress, i64 noundef %37)
  %39 = icmp eq i64 %38, 0
  br i1 %39, label %40, label %42

40:                                               ; preds = %26
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  call void @Ip4FreeArpQue(ptr noundef %41, i64 noundef -9223372036854775791)
  store i32 1, ptr %9, align 4
  br label %113

42:                                               ; preds = %26
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.IP4_ARP_QUE, ptr %43, i32 0, i32 3
  %45 = load ptr, ptr %44, align 8, !tbaa !14
  store ptr %45, ptr %6, align 8, !tbaa !5
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.IP4_ARP_QUE, ptr %46, i32 0, i32 2
  %48 = getelementptr inbounds %struct._LIST_ENTRY, ptr %47, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8, !tbaa !18
  store ptr %49, ptr %3, align 8, !tbaa !5
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct._LIST_ENTRY, ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  store ptr %52, ptr %4, align 8, !tbaa !5
  br label %53

53:                                               ; preds = %106, %42
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.IP4_ARP_QUE, ptr %55, i32 0, i32 2
  %57 = icmp ne ptr %54, %56
  br i1 %57, label %58, label %111

58:                                               ; preds = %53
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = call ptr @RemoveEntryList(ptr noundef %59)
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = ptrtoint ptr %61 to i64
  %63 = sub i64 %62, ptrtoint (ptr getelementptr inbounds (%struct.IP4_LINK_TX_TOKEN, ptr null, i32 0, i32 1) to i64)
  %64 = inttoptr i64 %63 to ptr
  store ptr %64, ptr %7, align 8, !tbaa !5
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.IP4_LINK_TX_TOKEN, ptr %65, i32 0, i32 7
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.IP4_ARP_QUE, ptr %67, i32 0, i32 6
  %69 = call ptr @CopyMem(ptr noundef %66, ptr noundef %68, i64 noundef 32)
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %70, i32 0, i32 14
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.IP4_LINK_TX_TOKEN, ptr %72, i32 0, i32 1
  %74 = call ptr @InsertTailList(ptr noundef %71, ptr noundef %73)
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %75, i32 0, i32 10
  %77 = load ptr, ptr %76, align 8, !tbaa !20
  %78 = getelementptr inbounds %struct._EFI_MANAGED_NETWORK_PROTOCOL, ptr %77, i32 0, i32 4
  %79 = load ptr, ptr %78, align 8, !tbaa !21
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %80, i32 0, i32 10
  %82 = load ptr, ptr %81, align 8, !tbaa !20
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.IP4_LINK_TX_TOKEN, ptr %83, i32 0, i32 9
  %85 = call i64 %79(ptr noundef %82, ptr noundef %84)
  store i64 %85, ptr %8, align 8, !tbaa !23
  %86 = load i64, ptr %8, align 8, !tbaa !23
  %87 = icmp slt i64 %86, 0
  br i1 %87, label %88, label %105

88:                                               ; preds = %58
  %89 = load ptr, ptr %3, align 8, !tbaa !5
  %90 = call ptr @RemoveEntryList(ptr noundef %89)
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.IP4_LINK_TX_TOKEN, ptr %91, i32 0, i32 4
  %93 = load ptr, ptr %92, align 8, !tbaa !24
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.IP4_LINK_TX_TOKEN, ptr %94, i32 0, i32 3
  %96 = load ptr, ptr %95, align 8, !tbaa !29
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.IP4_LINK_TX_TOKEN, ptr %97, i32 0, i32 5
  %99 = load ptr, ptr %98, align 8, !tbaa !30
  %100 = load i64, ptr %8, align 8, !tbaa !23
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.IP4_LINK_TX_TOKEN, ptr %101, i32 0, i32 6
  %103 = load ptr, ptr %102, align 8, !tbaa !31
  call void %93(ptr noundef %96, ptr noundef %99, i64 noundef %100, i32 noundef 0, ptr noundef %103)
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  call void @Ip4FreeLinkTxToken(ptr noundef %104)
  br label %106

105:                                              ; preds = %58
  br label %106

106:                                              ; preds = %105, %88
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %107, ptr %3, align 8, !tbaa !5
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct._LIST_ENTRY, ptr %108, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8, !tbaa !19
  store ptr %110, ptr %4, align 8, !tbaa !5
  br label %53, !llvm.loop !32

111:                                              ; preds = %53
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  call void @Ip4FreeArpQue(ptr noundef %112, i64 noundef 0)
  store i32 0, ptr %9, align 4
  br label %113

113:                                              ; preds = %111, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  %114 = load i32, ptr %9, align 4
  switch i32 %114, label %116 [
    i32 0, label %115
    i32 1, label %115
  ]

115:                                              ; preds = %113, %113
  ret void

116:                                              ; preds = %113
  unreachable
}

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

declare ptr @InsertTailList(ptr noundef, ptr 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, !11, i64 0}
!10 = !{!"", !11, i64 0, !12, i64 8, !12, i64 24, !6, i64 40, !6, i64 48, !11, i64 56, !13, i64 60}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!13 = !{!"", !7, i64 0}
!14 = !{!10, !6, i64 40}
!15 = !{!16, !11, i64 200}
!16 = !{!"_IP4_INTERFACE", !11, i64 0, !12, i64 8, !17, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !7, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !12, i64 96, !12, i64 112, !6, i64 128, !13, i64 136, !13, i64 168, !11, i64 200, !12, i64 208, !7, i64 224}
!17 = !{!"long long", !7, i64 0}
!18 = !{!10, !6, i64 24}
!19 = !{!12, !6, i64 0}
!20 = !{!16, !6, i64 72}
!21 = !{!22, !6, i64 32}
!22 = !{!"_EFI_MANAGED_NETWORK_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}
!23 = !{!17, !17, i64 0}
!24 = !{!25, !6, i64 40}
!25 = !{!"", !11, i64 0, !12, i64 8, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !13, i64 64, !13, i64 96, !26, i64 128, !27, i64 152}
!26 = !{!"", !6, i64 0, !17, i64 8, !7, i64 16}
!27 = !{!"", !6, i64 0, !6, i64 8, !28, i64 16, !11, i64 20, !28, i64 24, !28, i64 26, !7, i64 32}
!28 = !{!"short", !7, i64 0}
!29 = !{!25, !6, i64 32}
!30 = !{!25, !6, i64 48}
!31 = !{!25, !6, i64 56}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}


; 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_MAC_ADDRESS = type { [32 x i8] }

@mZeroMacAddress = external dso_local global %struct.EFI_MAC_ADDRESS, align 1
@.str = external hidden unnamed_addr constant [147 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [111 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local void @Ip4FreeLinkTxToken(ptr noundef) local_unnamed_addr #1

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #0

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

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

declare ptr @RemoveEntryList(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @Ip4OnArpResolvedDpc(ptr noundef %0) local_unnamed_addr #1 {
  %2 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not = icmp eq i8 %2, 0
  br i1 %.not, label %8, label %3

3:                                                ; preds = %1
  %.not34 = icmp eq ptr %0, null
  br i1 %.not34, label %7, label %4

4:                                                ; preds = %3
  %5 = load i32, ptr %0, align 8, !tbaa !5
  %6 = icmp eq i32 %5, 1095127113
  br i1 %6, label %8, label %7

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

8:                                                ; preds = %4, %7, %1
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = tail call ptr @RemoveEntryList(ptr noundef nonnull %9) #2
  %11 = getelementptr inbounds i8, ptr %0, i64 60
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = load ptr, ptr %12, align 8, !tbaa !13
  %14 = getelementptr inbounds i8, ptr %13, i64 200
  %15 = load i32, ptr %14, align 8, !tbaa !14
  %16 = zext i32 %15 to i64
  %17 = tail call i64 @CompareMem(ptr noundef nonnull %11, ptr noundef nonnull @mZeroMacAddress, i64 noundef %16) #2
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %19, label %20

19:                                               ; preds = %8
  tail call void @Ip4FreeArpQue(ptr noundef nonnull %0, i64 noundef -9223372036854775791)
  br label %52

20:                                               ; preds = %8
  %21 = getelementptr inbounds i8, ptr %0, i64 24
  %22 = load ptr, ptr %21, align 8, !tbaa !17
  %.not3537 = icmp eq ptr %22, %21
  br i1 %.not3537, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %20
  %23 = load ptr, ptr %12, align 8, !tbaa !13
  %24 = getelementptr inbounds i8, ptr %23, i64 112
  %25 = getelementptr inbounds i8, ptr %23, i64 72
  br label %26

26:                                               ; preds = %.lr.ph, %51
  %.038 = phi ptr [ %22, %.lr.ph ], [ %.03139, %51 ]
  %.03139 = load ptr, ptr %.038, align 8, !tbaa !18
  %27 = tail call ptr @RemoveEntryList(ptr noundef nonnull %.038) #2
  %28 = ptrtoint ptr %.038 to i64
  %29 = add i64 %28, -8
  %30 = inttoptr i64 %29 to ptr
  %31 = getelementptr inbounds i8, ptr %30, i64 64
  %32 = tail call ptr @CopyMem(ptr noundef nonnull %31, ptr noundef nonnull %11, i64 noundef 32) #2
  %33 = getelementptr inbounds i8, ptr %30, i64 8
  %34 = tail call ptr @InsertTailList(ptr noundef nonnull %24, ptr noundef nonnull %33) #2
  %35 = load ptr, ptr %25, align 8, !tbaa !19
  %36 = getelementptr inbounds i8, ptr %35, i64 32
  %37 = load ptr, ptr %36, align 8, !tbaa !20
  %38 = getelementptr inbounds i8, ptr %30, i64 128
  %39 = tail call i64 %37(ptr noundef %35, ptr noundef nonnull %38) #2
  %40 = icmp slt i64 %39, 0
  br i1 %40, label %41, label %51

41:                                               ; preds = %26
  %42 = tail call ptr @RemoveEntryList(ptr noundef nonnull %.038) #2
  %43 = getelementptr inbounds i8, ptr %30, i64 40
  %44 = load ptr, ptr %43, align 8, !tbaa !22
  %45 = getelementptr inbounds i8, ptr %30, i64 32
  %46 = load ptr, ptr %45, align 8, !tbaa !27
  %47 = getelementptr inbounds i8, ptr %30, i64 48
  %48 = load ptr, ptr %47, align 8, !tbaa !28
  %49 = getelementptr inbounds i8, ptr %30, i64 56
  %50 = load ptr, ptr %49, align 8, !tbaa !29
  tail call void %44(ptr noundef %46, ptr noundef %48, i64 noundef %39, i32 noundef 0, ptr noundef %50) #2
  tail call void @Ip4FreeLinkTxToken(ptr noundef %30)
  br label %51

51:                                               ; preds = %26, %41
  %.not35 = icmp eq ptr %.03139, %21
  br i1 %.not35, label %._crit_edge, label %26, !llvm.loop !30

._crit_edge:                                      ; preds = %51, %20
  tail call void @Ip4FreeArpQue(ptr noundef %0, i64 noundef 0)
  br label %52

52:                                               ; preds = %._crit_edge, %19
  ret void
}

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

declare ptr @InsertTailList(ptr noundef, ptr noundef) 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, !7, i64 0}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 24, !11, i64 40, !11, i64 48, !7, i64 56, !12, i64 60}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"_LIST_ENTRY", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"", !8, i64 0}
!13 = !{!6, !11, i64 40}
!14 = !{!15, !7, i64 200}
!15 = !{!"_IP4_INTERFACE", !7, i64 0, !10, i64 8, !16, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !8, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !10, i64 96, !10, i64 112, !11, i64 128, !12, i64 136, !12, i64 168, !7, i64 200, !10, i64 208, !8, i64 224}
!16 = !{!"long long", !8, i64 0}
!17 = !{!6, !11, i64 24}
!18 = !{!10, !11, i64 0}
!19 = !{!15, !11, i64 72}
!20 = !{!21, !11, i64 32}
!21 = !{!"_EFI_MANAGED_NETWORK_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56}
!22 = !{!23, !11, i64 40}
!23 = !{!"", !7, i64 0, !10, i64 8, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64, !12, i64 96, !24, i64 128, !25, i64 152}
!24 = !{!"", !11, i64 0, !16, i64 8, !8, i64 16}
!25 = !{!"", !11, i64 0, !11, i64 8, !26, i64 16, !7, i64 20, !26, i64 24, !26, i64 26, !8, i64 32}
!26 = !{!"short", !8, i64 0}
!27 = !{!23, !11, i64 32}
!28 = !{!23, !11, i64 48}
!29 = !{!23, !11, i64 56}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass