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

; 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_INTERFACE = type { i32, %struct._LIST_ENTRY, i64, %struct._LIST_ENTRY, i32, i8, ptr, ptr, ptr, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i32, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i8 }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct._IP6_DAD_ENTRY = type { i32, %struct._LIST_ENTRY, i32, i32, i32, i32, ptr, %struct.EFI_IPv6_ADDRESS, ptr, ptr }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }

@.str = external hidden unnamed_addr constant [127 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @Ip6CancelInstanceFrame(ptr noundef, ptr noundef) #0

; 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

declare void @FreePool(ptr noundef) #2

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

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

8:                                                ; preds = %2
  %9 = call zeroext i8 @DebugAssertEnabled()
  %10 = icmp ne i8 %9, 0
  br i1 %10, label %11, label %21

11:                                               ; preds = %8
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %14, label %19

14:                                               ; preds = %11
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %15, i32 0, i32 0
  %17 = load i32, ptr %16, align 8, !tbaa !9
  %18 = icmp eq i32 %17, 1228296265
  br i1 %18, label %20, label %19

19:                                               ; preds = %14, %11
  call void @DebugAssert(ptr noundef @.str, i64 noundef 304, ptr noundef @.str.1)
  br label %20

20:                                               ; preds = %19, %14
  br label %21

21:                                               ; preds = %20, %8
  br label %22

22:                                               ; preds = %21
  br label %23

23:                                               ; preds = %22
  br label %24

24:                                               ; preds = %23
  %25 = call zeroext i8 @DebugAssertEnabled()
  %26 = icmp ne i8 %25, 0
  br i1 %26, label %27, label %34

27:                                               ; preds = %24
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %28, i32 0, i32 2
  %30 = load i64, ptr %29, align 8, !tbaa !14
  %31 = icmp sgt i64 %30, 0
  br i1 %31, label %33, label %32

32:                                               ; preds = %27
  call void @DebugAssert(ptr noundef @.str, i64 noundef 305, ptr noundef @.str.4)
  br label %33

33:                                               ; preds = %32, %27
  br label %34

34:                                               ; preds = %33, %24
  br label %35

35:                                               ; preds = %34
  br label %36

36:                                               ; preds = %35
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  call void @Ip6CancelFrames(ptr noundef %37, i64 noundef -9223372036854775787, ptr noundef @Ip6CancelInstanceFrame, ptr noundef %38)
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %39, i32 0, i32 2
  %41 = load i64, ptr %40, align 8, !tbaa !14
  %42 = add nsw i64 %41, -1
  store i64 %42, ptr %40, align 8, !tbaa !14
  %43 = icmp sgt i64 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %36
  store i32 1, ptr %7, align 4
  br label %136

45:                                               ; preds = %36
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Ip6CancelFrames(ptr noundef %46, i64 noundef -9223372036854775787, ptr noundef @Ip6CancelInstanceFrame, ptr noundef null)
  br label %47

47:                                               ; preds = %45
  %48 = call zeroext i8 @DebugAssertEnabled()
  %49 = icmp ne i8 %48, 0
  br i1 %49, label %50, label %57

50:                                               ; preds = %47
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %51, i32 0, i32 14
  %53 = call zeroext i8 @IsListEmpty(ptr noundef %52)
  %54 = icmp ne i8 %53, 0
  br i1 %54, label %56, label %55

55:                                               ; preds = %50
  call void @DebugAssert(ptr noundef @.str, i64 noundef 323, ptr noundef @.str.5)
  br label %56

56:                                               ; preds = %55, %50
  br label %57

57:                                               ; preds = %56, %47
  br label %58

58:                                               ; preds = %57
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  %61 = call zeroext i8 @DebugAssertEnabled()
  %62 = icmp ne i8 %61, 0
  br i1 %62, label %63, label %70

63:                                               ; preds = %60
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %64, i32 0, i32 9
  %66 = call zeroext i8 @IsListEmpty(ptr noundef %65)
  %67 = icmp ne i8 %66, 0
  br i1 %67, label %69, label %68

68:                                               ; preds = %63
  call void @DebugAssert(ptr noundef @.str, i64 noundef 324, ptr noundef @.str.6)
  br label %69

69:                                               ; preds = %68, %63
  br label %70

70:                                               ; preds = %69, %60
  br label %71

71:                                               ; preds = %70
  br label %72

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %72
  %74 = call zeroext i8 @DebugAssertEnabled()
  %75 = icmp ne i8 %74, 0
  br i1 %75, label %76, label %83

76:                                               ; preds = %73
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %77, i32 0, i32 10
  %79 = call zeroext i8 @IsListEmpty(ptr noundef %78)
  %80 = icmp ne i8 %79, 0
  br i1 %80, label %82, label %81

81:                                               ; preds = %76
  call void @DebugAssert(ptr noundef @.str, i64 noundef 325, ptr noundef @.str.7)
  br label %82

82:                                               ; preds = %81, %76
  br label %83

83:                                               ; preds = %82, %73
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %92, %85
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %87, i32 0, i32 12
  %89 = call zeroext i8 @IsListEmpty(ptr noundef %88)
  %90 = icmp ne i8 %89, 0
  %91 = xor i1 %90, true
  br i1 %91, label %92, label %104

92:                                               ; preds = %86
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %93, i32 0, i32 12
  %95 = getelementptr inbounds %struct._LIST_ENTRY, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8, !tbaa !15
  %97 = ptrtoint ptr %96 to i64
  %98 = sub i64 %97, ptrtoint (ptr getelementptr inbounds (%struct._IP6_DAD_ENTRY, ptr null, i32 0, i32 1) to i64)
  %99 = inttoptr i64 %98 to ptr
  store ptr %99, ptr %5, align 8, !tbaa !5
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %100, i32 0, i32 12
  %102 = call ptr @NetListRemoveHead(ptr noundef %101)
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  call void @FreePool(ptr noundef %103)
  br label %86, !llvm.loop !16

104:                                              ; preds = %86
  br label %105

105:                                              ; preds = %111, %104
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %106, i32 0, i32 13
  %108 = call zeroext i8 @IsListEmpty(ptr noundef %107)
  %109 = icmp ne i8 %108, 0
  %110 = xor i1 %109, true
  br i1 %110, label %111, label %123

111:                                              ; preds = %105
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %112, i32 0, i32 13
  %114 = getelementptr inbounds %struct._LIST_ENTRY, ptr %113, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8, !tbaa !18
  %116 = ptrtoint ptr %115 to i64
  %117 = sub i64 %116, 0
  %118 = inttoptr i64 %117 to ptr
  store ptr %118, ptr %6, align 8, !tbaa !5
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %119, i32 0, i32 13
  %121 = call ptr @NetListRemoveHead(ptr noundef %120)
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  call void @FreePool(ptr noundef %122)
  br label %105, !llvm.loop !19

123:                                              ; preds = %105
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %124, i32 0, i32 6
  %126 = load ptr, ptr %125, align 8, !tbaa !20
  %127 = load ptr, ptr %3, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %127, i32 0, i32 3
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %129, i32 0, i32 4
  %131 = call i64 @Ip6RemoveAddr(ptr noundef %126, ptr noundef %128, ptr noundef %130, ptr noundef null, i8 noundef zeroext 0)
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %132, i32 0, i32 1
  %134 = call ptr @RemoveEntryList(ptr noundef %133)
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  call void @FreePool(ptr noundef %135)
  store i32 0, ptr %7, align 4
  br label %136

136:                                              ; preds = %123, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  %137 = load i32, ptr %7, align 4
  switch i32 %137, label %139 [
    i32 0, label %138
    i32 1, label %138
  ]

138:                                              ; preds = %136, %136
  ret void

139:                                              ; preds = %136
  unreachable
}

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

declare zeroext i8 @IsListEmpty(ptr noundef) #2

declare ptr @NetListRemoveHead(ptr noundef) #2

declare i64 @Ip6RemoveAddr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext) #2

declare ptr @RemoveEntryList(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 = !{!10, !11, i64 0}
!10 = !{!"_IP6_INTERFACE", !11, i64 0, !12, i64 8, !13, i64 24, !12, i64 32, !11, i64 48, !7, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !12, i64 80, !12, i64 96, !11, i64 112, !12, i64 120, !12, i64 136, !12, i64 152, !7, i64 168}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!13 = !{!"long long", !7, i64 0}
!14 = !{!10, !13, i64 24}
!15 = !{!10, !6, i64 120}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!10, !6, i64 136}
!19 = distinct !{!19, !17}
!20 = !{!10, !6, i64 56}


; 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 [127 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @Ip6CancelInstanceFrame(ptr noundef, ptr noundef) #0

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

declare void @FreePool(ptr noundef) local_unnamed_addr #1

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

4:                                                ; preds = %2
  %.not23 = icmp eq ptr %0, null
  br i1 %.not23, label %8, label %5

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

8:                                                ; preds = %5, %4
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 304, ptr noundef nonnull @.str.1) #2
  br label %9

9:                                                ; preds = %2, %8, %5
  %10 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not24 = icmp eq i8 %10, 0
  br i1 %.not24, label %16, label %11

11:                                               ; preds = %9
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  %13 = load i64, ptr %12, align 8, !tbaa !13
  %14 = icmp sgt i64 %13, 0
  br i1 %14, label %16, label %15

15:                                               ; preds = %11
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 305, ptr noundef nonnull @.str.4) #2
  br label %16

16:                                               ; preds = %11, %15, %9
  tail call void @Ip6CancelFrames(ptr noundef %0, i64 noundef -9223372036854775787, ptr noundef nonnull @Ip6CancelInstanceFrame, ptr noundef %1) #2
  %17 = getelementptr inbounds i8, ptr %0, i64 24
  %18 = load i64, ptr %17, align 8, !tbaa !13
  %19 = add nsw i64 %18, -1
  store i64 %19, ptr %17, align 8, !tbaa !13
  %20 = icmp sgt i64 %18, 1
  br i1 %20, label %60, label %21

21:                                               ; preds = %16
  tail call void @Ip6CancelFrames(ptr noundef nonnull %0, i64 noundef -9223372036854775787, ptr noundef nonnull @Ip6CancelInstanceFrame, ptr noundef null) #2
  %22 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not25 = icmp eq i8 %22, 0
  br i1 %.not25, label %27, label %23

23:                                               ; preds = %21
  %24 = getelementptr inbounds i8, ptr %0, i64 152
  %25 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %24) #2
  %.not26 = icmp eq i8 %25, 0
  br i1 %.not26, label %26, label %27

26:                                               ; preds = %23
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 323, ptr noundef nonnull @.str.5) #2
  br label %27

27:                                               ; preds = %21, %26, %23
  %28 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not27 = icmp eq i8 %28, 0
  br i1 %.not27, label %33, label %29

29:                                               ; preds = %27
  %30 = getelementptr inbounds i8, ptr %0, i64 80
  %31 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %30) #2
  %.not28 = icmp eq i8 %31, 0
  br i1 %.not28, label %32, label %33

32:                                               ; preds = %29
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 324, ptr noundef nonnull @.str.6) #2
  br label %33

33:                                               ; preds = %27, %32, %29
  %34 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not29 = icmp eq i8 %34, 0
  br i1 %.not29, label %39, label %35

35:                                               ; preds = %33
  %36 = getelementptr inbounds i8, ptr %0, i64 96
  %37 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %36) #2
  %.not30 = icmp eq i8 %37, 0
  br i1 %.not30, label %38, label %39

38:                                               ; preds = %35
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 325, ptr noundef nonnull @.str.7) #2
  br label %39

39:                                               ; preds = %35, %38, %33
  %40 = getelementptr inbounds i8, ptr %0, i64 120
  %41 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %40) #2
  %.not3133 = icmp eq i8 %41, 0
  br i1 %.not3133, label %.lr.ph, label %.preheader

.preheader:                                       ; preds = %.lr.ph, %39
  %42 = getelementptr inbounds i8, ptr %0, i64 136
  %43 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %42) #2
  %.not3234 = icmp eq i8 %43, 0
  br i1 %.not3234, label %.lr.ph35, label %._crit_edge

.lr.ph:                                           ; preds = %39, %.lr.ph
  %44 = load ptr, ptr %40, align 8, !tbaa !14
  %45 = ptrtoint ptr %44 to i64
  %46 = add i64 %45, -8
  %47 = inttoptr i64 %46 to ptr
  %48 = tail call ptr @NetListRemoveHead(ptr noundef nonnull %40) #2
  tail call void @FreePool(ptr noundef %47) #2
  %49 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %40) #2
  %.not31 = icmp eq i8 %49, 0
  br i1 %.not31, label %.lr.ph, label %.preheader, !llvm.loop !15

.lr.ph35:                                         ; preds = %.preheader, %.lr.ph35
  %50 = load ptr, ptr %42, align 8, !tbaa !17
  %51 = tail call ptr @NetListRemoveHead(ptr noundef nonnull %42) #2
  tail call void @FreePool(ptr noundef %50) #2
  %52 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %42) #2
  %.not32 = icmp eq i8 %52, 0
  br i1 %.not32, label %.lr.ph35, label %._crit_edge, !llvm.loop !18

._crit_edge:                                      ; preds = %.lr.ph35, %.preheader
  %53 = getelementptr inbounds i8, ptr %0, i64 56
  %54 = load ptr, ptr %53, align 8, !tbaa !19
  %55 = getelementptr inbounds i8, ptr %0, i64 32
  %56 = getelementptr inbounds i8, ptr %0, i64 48
  %57 = tail call i64 @Ip6RemoveAddr(ptr noundef %54, ptr noundef nonnull %55, ptr noundef nonnull %56, ptr noundef null, i8 noundef zeroext 0) #2
  %58 = getelementptr inbounds i8, ptr %0, i64 8
  %59 = tail call ptr @RemoveEntryList(ptr noundef nonnull %58) #2
  tail call void @FreePool(ptr noundef nonnull %0) #2
  br label %60

60:                                               ; preds = %16, %._crit_edge
  ret void
}

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

declare zeroext i8 @IsListEmpty(ptr noundef) local_unnamed_addr #1

declare ptr @NetListRemoveHead(ptr noundef) local_unnamed_addr #1

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

declare ptr @RemoveEntryList(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, !7, i64 0}
!6 = !{!"_IP6_INTERFACE", !7, i64 0, !10, i64 8, !12, i64 24, !10, i64 32, !7, i64 48, !8, i64 52, !11, i64 56, !11, i64 64, !11, i64 72, !10, i64 80, !10, i64 96, !7, i64 112, !10, i64 120, !10, i64 136, !10, i64 152, !8, i64 168}
!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 = !{!"long long", !8, i64 0}
!13 = !{!6, !12, i64 24}
!14 = !{!6, !11, i64 120}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!6, !11, i64 136}
!18 = distinct !{!18, !16}
!19 = !{!6, !11, i64 56}


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