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

; 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._IP6_ROUTE_TABLE = type { i64, i32, [129 x %struct._LIST_ENTRY], %struct.IP6_ROUTE_CACHE }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct.IP6_ROUTE_CACHE = type { [31 x %struct._LIST_ENTRY], [31 x i8] }
%struct.IP6_ROUTE_ENTRY = type { %struct._LIST_ENTRY, i64, i32, i8, %struct.EFI_IPv6_ADDRESS, %struct.EFI_IPv6_ADDRESS }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }

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

; 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 @Ip6FreeRouteEntry(ptr noundef) #1

declare zeroext i8 @DebugAssertEnabled() #2

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

declare zeroext i8 @NetIp6IsNetEqual(ptr noundef, ptr noundef, i8 noundef zeroext) #2

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

declare ptr @RemoveEntryList(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i64 @Ip6DelRoute(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2, ptr noundef %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = 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
  store ptr %3, ptr %8, align 8, !tbaa !5
  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
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._IP6_ROUTE_TABLE, ptr %14, i32 0, i32 2
  %16 = load i8, ptr %7, align 1, !tbaa !9
  %17 = zext i8 %16 to i64
  %18 = getelementptr inbounds [129 x %struct._LIST_ENTRY], ptr %15, i64 0, i64 %17
  store ptr %18, ptr %9, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct._IP6_ROUTE_TABLE, ptr %19, i32 0, i32 1
  %21 = load i32, ptr %20, align 8, !tbaa !10
  store i32 %21, ptr %13, align 4, !tbaa !15
  %22 = load ptr, ptr %9, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct._LIST_ENTRY, ptr %22, i32 0, i32 0
  %24 = load ptr, ptr %23, align 8, !tbaa !16
  store ptr %24, ptr %10, align 8, !tbaa !5
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct._LIST_ENTRY, ptr %25, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  store ptr %27, ptr %11, align 8, !tbaa !5
  br label %28

28:                                               ; preds = %82, %4
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = icmp ne ptr %29, %30
  br i1 %31, label %32, label %87

32:                                               ; preds = %28
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = ptrtoint ptr %33 to i64
  %35 = sub i64 %34, 0
  %36 = inttoptr i64 %35 to ptr
  store ptr %36, ptr %12, align 8, !tbaa !5
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %47

39:                                               ; preds = %32
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = load ptr, ptr %12, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.IP6_ROUTE_ENTRY, ptr %41, i32 0, i32 4
  %43 = load i8, ptr %7, align 1, !tbaa !9
  %44 = call zeroext i8 @NetIp6IsNetEqual(ptr noundef %40, ptr noundef %42, i8 noundef zeroext %43)
  %45 = icmp ne i8 %44, 0
  br i1 %45, label %47, label %46

46:                                               ; preds = %39
  br label %82

47:                                               ; preds = %39, %32
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = icmp ne ptr %48, null
  br i1 %49, label %50, label %57

50:                                               ; preds = %47
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.IP6_ROUTE_ENTRY, ptr %52, i32 0, i32 5
  %54 = call i64 @CompareMem(ptr noundef %51, ptr noundef %53, i64 noundef 16)
  %55 = icmp eq i64 %54, 0
  br i1 %55, label %57, label %56

56:                                               ; preds = %50
  br label %82

57:                                               ; preds = %50, %47
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct._IP6_ROUTE_TABLE, ptr %58, i32 0, i32 3
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = ptrtoint ptr %60 to i64
  call void @Ip6PurgeRouteCache(ptr noundef %59, i64 noundef %61)
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = call ptr @RemoveEntryList(ptr noundef %62)
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  call void @Ip6FreeRouteEntry(ptr noundef %64)
  br label %65

65:                                               ; preds = %57
  %66 = call zeroext i8 @DebugAssertEnabled()
  %67 = icmp ne i8 %66, 0
  br i1 %67, label %68, label %75

68:                                               ; preds = %65
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._IP6_ROUTE_TABLE, ptr %69, i32 0, i32 1
  %71 = load i32, ptr %70, align 8, !tbaa !10
  %72 = icmp ugt i32 %71, 0
  br i1 %72, label %74, label %73

73:                                               ; preds = %68
  call void @DebugAssert(ptr noundef @.str, i64 noundef 544, ptr noundef @.str.7)
  br label %74

74:                                               ; preds = %73, %68
  br label %75

75:                                               ; preds = %74, %65
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct._IP6_ROUTE_TABLE, ptr %78, i32 0, i32 1
  %80 = load i32, ptr %79, align 8, !tbaa !10
  %81 = add i32 %80, -1
  store i32 %81, ptr %79, align 8, !tbaa !10
  br label %82

82:                                               ; preds = %77, %56, %46
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %83, ptr %10, align 8, !tbaa !5
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct._LIST_ENTRY, ptr %84, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8, !tbaa !16
  store ptr %86, ptr %11, align 8, !tbaa !5
  br label %28, !llvm.loop !18

87:                                               ; preds = %28
  %88 = load i32, ptr %13, align 4, !tbaa !15
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct._IP6_ROUTE_TABLE, ptr %89, i32 0, i32 1
  %91 = load i32, ptr %90, align 8, !tbaa !10
  %92 = icmp eq i32 %88, %91
  %93 = zext i1 %92 to i64
  %94 = select i1 %92, i64 -9223372036854775794, i64 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  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
  ret i64 %94
}

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 = !{!7, !7, i64 0}
!10 = !{!11, !13, i64 8}
!11 = !{!"_IP6_ROUTE_TABLE", !12, i64 0, !13, i64 8, !7, i64 16, !14, i64 2080}
!12 = !{!"long long", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"", !7, i64 0, !7, i64 496}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"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._LIST_ENTRY = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [130 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

declare zeroext i8 @NetIp6IsNetEqual(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1

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

declare ptr @RemoveEntryList(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775794, 1) i64 @Ip6DelRoute(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  %6 = zext i8 %2 to i64
  %7 = getelementptr inbounds [129 x %struct._LIST_ENTRY], ptr %5, i64 0, i64 %6
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  %9 = load i32, ptr %8, align 8, !tbaa !5
  %10 = load ptr, ptr %7, align 8, !tbaa !12
  %.02432 = load ptr, ptr %10, align 8, !tbaa !12
  %.not33 = icmp eq ptr %10, %7
  br i1 %.not33, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %4
  %.not27 = icmp eq ptr %1, null
  %.not29 = icmp eq ptr %3, null
  %11 = getelementptr inbounds i8, ptr %0, i64 2080
  br i1 %.not27, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph
  br i1 %.not29, label %.lr.ph.split.us.split.us, label %.lr.ph.split.us.split

.lr.ph.split.us.split.us:                         ; preds = %.lr.ph.split.us, %16
  %.02435.us.us = phi ptr [ %.024.us.us, %16 ], [ %.02432, %.lr.ph.split.us ]
  %.034.us.us = phi ptr [ %.02435.us.us, %16 ], [ %10, %.lr.ph.split.us ]
  %12 = ptrtoint ptr %.034.us.us to i64
  tail call void @Ip6PurgeRouteCache(ptr noundef nonnull %11, i64 noundef %12)
  %13 = tail call ptr @RemoveEntryList(ptr noundef nonnull %.034.us.us) #2
  tail call void @Ip6FreeRouteEntry(ptr noundef nonnull %.034.us.us)
  %14 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not30.us.us = icmp ne i8 %14, 0
  %.pre51 = load i32, ptr %8, align 8, !tbaa !5
  %.not31.us.us = icmp eq i32 %.pre51, 0
  %or.cond = select i1 %.not30.us.us, i1 %.not31.us.us, i1 false
  br i1 %or.cond, label %15, label %16

15:                                               ; preds = %.lr.ph.split.us.split.us
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 544, ptr noundef nonnull @.str.7) #2
  %.pre50 = load i32, ptr %8, align 8, !tbaa !5
  br label %16

16:                                               ; preds = %15, %.lr.ph.split.us.split.us
  %17 = phi i32 [ %.pre50, %15 ], [ %.pre51, %.lr.ph.split.us.split.us ]
  %18 = add i32 %17, -1
  store i32 %18, ptr %8, align 8, !tbaa !5
  %.024.us.us = load ptr, ptr %.02435.us.us, align 8, !tbaa !12
  %.not.us.us = icmp eq ptr %.02435.us.us, %7
  br i1 %.not.us.us, label %._crit_edge, label %.lr.ph.split.us.split.us, !llvm.loop !15

.lr.ph.split.us.split:                            ; preds = %.lr.ph.split.us, %30
  %.02435.us = phi ptr [ %.024.us, %30 ], [ %.02432, %.lr.ph.split.us ]
  %.034.us = phi ptr [ %.02435.us, %30 ], [ %10, %.lr.ph.split.us ]
  %19 = getelementptr inbounds i8, ptr %.034.us, i64 45
  %20 = tail call i64 @CompareMem(ptr noundef nonnull %3, ptr noundef nonnull %19, i64 noundef 16) #2
  %21 = icmp eq i64 %20, 0
  br i1 %21, label %22, label %30

22:                                               ; preds = %.lr.ph.split.us.split
  %23 = ptrtoint ptr %.034.us to i64
  tail call void @Ip6PurgeRouteCache(ptr noundef nonnull %11, i64 noundef %23)
  %24 = tail call ptr @RemoveEntryList(ptr noundef nonnull %.034.us) #2
  tail call void @Ip6FreeRouteEntry(ptr noundef nonnull %.034.us)
  %25 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not30.us = icmp ne i8 %25, 0
  %.pre49 = load i32, ptr %8, align 8, !tbaa !5
  %.not31.us = icmp eq i32 %.pre49, 0
  %or.cond55 = select i1 %.not30.us, i1 %.not31.us, i1 false
  br i1 %or.cond55, label %26, label %27

26:                                               ; preds = %22
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 544, ptr noundef nonnull @.str.7) #2
  %.pre48 = load i32, ptr %8, align 8, !tbaa !5
  br label %27

27:                                               ; preds = %26, %22
  %28 = phi i32 [ %.pre48, %26 ], [ %.pre49, %22 ]
  %29 = add i32 %28, -1
  store i32 %29, ptr %8, align 8, !tbaa !5
  br label %30

30:                                               ; preds = %27, %.lr.ph.split.us.split
  %.024.us = load ptr, ptr %.02435.us, align 8, !tbaa !12
  %.not.us = icmp eq ptr %.02435.us, %7
  br i1 %.not.us, label %._crit_edge, label %.lr.ph.split.us.split, !llvm.loop !15

.lr.ph.split:                                     ; preds = %.lr.ph
  br i1 %.not29, label %.lr.ph.split.split.us, label %.lr.ph.split.split

.lr.ph.split.split.us:                            ; preds = %.lr.ph.split, %41
  %.02435.us36 = phi ptr [ %.024.us40, %41 ], [ %.02432, %.lr.ph.split ]
  %.034.us37 = phi ptr [ %.02435.us36, %41 ], [ %10, %.lr.ph.split ]
  %31 = getelementptr inbounds i8, ptr %.034.us37, i64 29
  %32 = tail call zeroext i8 @NetIp6IsNetEqual(ptr noundef nonnull %1, ptr noundef nonnull %31, i8 noundef zeroext %2) #2
  %.not28.us = icmp eq i8 %32, 0
  br i1 %.not28.us, label %41, label %33

33:                                               ; preds = %.lr.ph.split.split.us
  %34 = ptrtoint ptr %.034.us37 to i64
  tail call void @Ip6PurgeRouteCache(ptr noundef nonnull %11, i64 noundef %34)
  %35 = tail call ptr @RemoveEntryList(ptr noundef nonnull %.034.us37) #2
  tail call void @Ip6FreeRouteEntry(ptr noundef nonnull %.034.us37)
  %36 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not30.us38 = icmp ne i8 %36, 0
  %.pre47 = load i32, ptr %8, align 8, !tbaa !5
  %.not31.us39 = icmp eq i32 %.pre47, 0
  %or.cond56 = select i1 %.not30.us38, i1 %.not31.us39, i1 false
  br i1 %or.cond56, label %37, label %38

37:                                               ; preds = %33
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 544, ptr noundef nonnull @.str.7) #2
  %.pre46 = load i32, ptr %8, align 8, !tbaa !5
  br label %38

38:                                               ; preds = %37, %33
  %39 = phi i32 [ %.pre46, %37 ], [ %.pre47, %33 ]
  %40 = add i32 %39, -1
  store i32 %40, ptr %8, align 8, !tbaa !5
  br label %41

41:                                               ; preds = %38, %.lr.ph.split.split.us
  %.024.us40 = load ptr, ptr %.02435.us36, align 8, !tbaa !12
  %.not.us41 = icmp eq ptr %.02435.us36, %7
  br i1 %.not.us41, label %._crit_edge, label %.lr.ph.split.split.us, !llvm.loop !15

.lr.ph.split.split:                               ; preds = %.lr.ph.split, %56
  %.02435 = phi ptr [ %.024, %56 ], [ %.02432, %.lr.ph.split ]
  %.034 = phi ptr [ %.02435, %56 ], [ %10, %.lr.ph.split ]
  %42 = ptrtoint ptr %.034 to i64
  %43 = getelementptr inbounds i8, ptr %.034, i64 29
  %44 = tail call zeroext i8 @NetIp6IsNetEqual(ptr noundef nonnull %1, ptr noundef nonnull %43, i8 noundef zeroext %2) #2
  %.not28 = icmp eq i8 %44, 0
  br i1 %.not28, label %56, label %45

45:                                               ; preds = %.lr.ph.split.split
  %46 = getelementptr inbounds i8, ptr %.034, i64 45
  %47 = tail call i64 @CompareMem(ptr noundef nonnull %3, ptr noundef nonnull %46, i64 noundef 16) #2
  %48 = icmp eq i64 %47, 0
  br i1 %48, label %49, label %56

49:                                               ; preds = %45
  tail call void @Ip6PurgeRouteCache(ptr noundef nonnull %11, i64 noundef %42)
  %50 = tail call ptr @RemoveEntryList(ptr noundef nonnull %.034) #2
  tail call void @Ip6FreeRouteEntry(ptr noundef nonnull %.034)
  %51 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not30 = icmp ne i8 %51, 0
  %.pre45 = load i32, ptr %8, align 8, !tbaa !5
  %.not31 = icmp eq i32 %.pre45, 0
  %or.cond57 = select i1 %.not30, i1 %.not31, i1 false
  br i1 %or.cond57, label %52, label %53

52:                                               ; preds = %49
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 544, ptr noundef nonnull @.str.7) #2
  %.pre = load i32, ptr %8, align 8, !tbaa !5
  br label %53

53:                                               ; preds = %52, %49
  %54 = phi i32 [ %.pre, %52 ], [ %.pre45, %49 ]
  %55 = add i32 %54, -1
  store i32 %55, ptr %8, align 8, !tbaa !5
  br label %56

56:                                               ; preds = %45, %.lr.ph.split.split, %53
  %.024 = load ptr, ptr %.02435, align 8, !tbaa !12
  %.not = icmp eq ptr %.02435, %7
  br i1 %.not, label %._crit_edge, label %.lr.ph.split.split, !llvm.loop !15

._crit_edge:                                      ; preds = %56, %41, %30, %16, %4
  %57 = load i32, ptr %8, align 8, !tbaa !5
  %58 = icmp eq i32 %9, %57
  %59 = select i1 %58, i64 -9223372036854775794, i64 0
  ret i64 %59
}

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, !10, i64 8}
!6 = !{!"_IP6_ROUTE_TABLE", !7, i64 0, !10, i64 8, !8, i64 16, !11, i64 2080}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !8, i64 0, !8, i64 496}
!12 = !{!13, !14, i64 0}
!13 = !{!"_LIST_ENTRY", !14, i64 0, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


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