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

; 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._DHCP6_IA_CB = type { ptr, i32, i32, i32, i32 }
%struct.EFI_DHCP6_IA = type { %struct.EFI_DHCP6_IA_DESCRIPTOR, i32, ptr, i32, [1 x %struct.EFI_DHCP6_IA_ADDRESS] }
%struct.EFI_DHCP6_IA_DESCRIPTOR = type { i16, i32 }
%struct.EFI_DHCP6_IA_ADDRESS = type { %struct.EFI_IPv6_ADDRESS, i32, i32 }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }

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

declare zeroext i8 @DebugAssertEnabled() #1

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

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

6:                                                ; preds = %1
  %7 = call zeroext i8 @DebugAssertEnabled()
  %8 = icmp ne i8 %7, 0
  br i1 %8, label %9, label %18

9:                                                ; preds = %6
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %10, i32 0, i32 0
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %12, i32 0, i32 3
  %14 = load i32, ptr %13, align 8, !tbaa !12
  %15 = icmp ugt i32 %14, 0
  br i1 %15, label %17, label %16

16:                                               ; preds = %9
  call void @DebugAssert(ptr noundef @.str.1, i64 noundef 393, ptr noundef @.str.4)
  br label %17

17:                                               ; preds = %16, %9
  br label %18

18:                                               ; preds = %17, %6
  br label %19

19:                                               ; preds = %18
  br label %20

20:                                               ; preds = %19
  store i32 -1, ptr %3, align 4, !tbaa !16
  store i32 0, ptr %4, align 4, !tbaa !16
  store i64 0, ptr %5, align 8, !tbaa !17
  br label %21

21:                                               ; preds = %77, %20
  %22 = load i64, ptr %5, align 8, !tbaa !17
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %23, i32 0, i32 0
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %25, i32 0, i32 3
  %27 = load i32, ptr %26, align 8, !tbaa !12
  %28 = zext i32 %27 to i64
  %29 = icmp ult i64 %22, %28
  br i1 %29, label %30, label %80

30:                                               ; preds = %21
  %31 = load i32, ptr %3, align 4, !tbaa !16
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %34, i32 0, i32 4
  %36 = load i64, ptr %5, align 8, !tbaa !17
  %37 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %35, i64 0, i64 %36
  %38 = getelementptr inbounds %struct.EFI_DHCP6_IA_ADDRESS, ptr %37, i32 0, i32 2
  %39 = load i32, ptr %38, align 4, !tbaa !19
  %40 = icmp ult i32 %31, %39
  br i1 %40, label %41, label %43

41:                                               ; preds = %30
  %42 = load i32, ptr %3, align 4, !tbaa !16
  br label %52

43:                                               ; preds = %30
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %46, i32 0, i32 4
  %48 = load i64, ptr %5, align 8, !tbaa !17
  %49 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %47, i64 0, i64 %48
  %50 = getelementptr inbounds %struct.EFI_DHCP6_IA_ADDRESS, ptr %49, i32 0, i32 2
  %51 = load i32, ptr %50, align 4, !tbaa !19
  br label %52

52:                                               ; preds = %43, %41
  %53 = phi i32 [ %42, %41 ], [ %51, %43 ]
  store i32 %53, ptr %3, align 4, !tbaa !16
  %54 = load i32, ptr %3, align 4, !tbaa !16
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %55, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8, !tbaa !9
  %58 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %57, i32 0, i32 4
  %59 = load i64, ptr %5, align 8, !tbaa !17
  %60 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %58, i64 0, i64 %59
  %61 = getelementptr inbounds %struct.EFI_DHCP6_IA_ADDRESS, ptr %60, i32 0, i32 2
  %62 = load i32, ptr %61, align 4, !tbaa !19
  %63 = icmp ugt i32 %54, %62
  br i1 %63, label %64, label %66

64:                                               ; preds = %52
  %65 = load i32, ptr %3, align 4, !tbaa !16
  br label %75

66:                                               ; preds = %52
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %67, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  %70 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %69, i32 0, i32 4
  %71 = load i64, ptr %5, align 8, !tbaa !17
  %72 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %70, i64 0, i64 %71
  %73 = getelementptr inbounds %struct.EFI_DHCP6_IA_ADDRESS, ptr %72, i32 0, i32 2
  %74 = load i32, ptr %73, align 4, !tbaa !19
  br label %75

75:                                               ; preds = %66, %64
  %76 = phi i32 [ %65, %64 ], [ %74, %66 ]
  store i32 %76, ptr %4, align 4, !tbaa !16
  br label %77

77:                                               ; preds = %75
  %78 = load i64, ptr %5, align 8, !tbaa !17
  %79 = add i64 %78, 1
  store i64 %79, ptr %5, align 8, !tbaa !17
  br label %21, !llvm.loop !22

80:                                               ; preds = %21
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %81, i32 0, i32 1
  %83 = load i32, ptr %82, align 8, !tbaa !24
  %84 = icmp ne i32 %83, 0
  br i1 %84, label %85, label %89

85:                                               ; preds = %80
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %86, i32 0, i32 1
  %88 = load i32, ptr %87, align 8, !tbaa !24
  br label %93

89:                                               ; preds = %80
  %90 = load i32, ptr %3, align 4, !tbaa !16
  %91 = mul i32 %90, 5
  %92 = udiv i32 %91, 10
  br label %93

93:                                               ; preds = %89, %85
  %94 = phi i32 [ %88, %85 ], [ %92, %89 ]
  %95 = load ptr, ptr %2, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %95, i32 0, i32 1
  store i32 %94, ptr %96, align 8, !tbaa !24
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %97, i32 0, i32 2
  %99 = load i32, ptr %98, align 4, !tbaa !25
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %105

101:                                              ; preds = %93
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %102, i32 0, i32 2
  %104 = load i32, ptr %103, align 4, !tbaa !25
  br label %109

105:                                              ; preds = %93
  %106 = load i32, ptr %3, align 4, !tbaa !16
  %107 = mul i32 %106, 8
  %108 = udiv i32 %107, 10
  br label %109

109:                                              ; preds = %105, %101
  %110 = phi i32 [ %104, %101 ], [ %108, %105 ]
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %111, i32 0, i32 2
  store i32 %110, ptr %112, align 4, !tbaa !25
  %113 = load i32, ptr %4, align 4, !tbaa !16
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %114, i32 0, i32 3
  store i32 %113, ptr %115, align 8, !tbaa !26
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %116, i32 0, i32 4
  store i32 0, ptr %117, align 4, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret void
}

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, !6, i64 0}
!10 = !{!"_DHCP6_IA_CB", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 24}
!13 = !{!"", !14, i64 0, !11, i64 8, !6, i64 16, !11, i64 24, !7, i64 28}
!14 = !{!"", !15, i64 0, !11, i64 4}
!15 = !{!"short", !7, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long long", !7, i64 0}
!19 = !{!20, !11, i64 20}
!20 = !{!"", !21, i64 0, !11, i64 16, !11, i64 20}
!21 = !{!"", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!10, !11, i64 8}
!25 = !{!10, !11, i64 12}
!26 = !{!10, !11, i64 16}
!27 = !{!10, !11, i64 20}


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

@.str.1 = external hidden unnamed_addr constant [136 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [29 x i8], align 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
define dso_local void @Dhcp6CalculateLeaseTime(ptr nocapture noundef %0) local_unnamed_addr #1 {
  %2 = tail call zeroext i8 @DebugAssertEnabled() #3
  %.not = icmp eq i8 %2, 0
  %.pre40 = load ptr, ptr %0, align 8, !tbaa !5
  br i1 %.not, label %7, label %3

3:                                                ; preds = %1
  %4 = getelementptr inbounds i8, ptr %.pre40, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !11
  %.not33 = icmp eq i32 %5, 0
  br i1 %.not33, label %6, label %7

6:                                                ; preds = %3
  tail call void @DebugAssert(ptr noundef nonnull @.str.1, i64 noundef 393, ptr noundef nonnull @.str.4) #3
  %.pre = load ptr, ptr %0, align 8, !tbaa !5
  br label %7

7:                                                ; preds = %3, %6, %1
  %8 = phi ptr [ %.pre40, %3 ], [ %.pre, %6 ], [ %.pre40, %1 ]
  %9 = getelementptr inbounds i8, ptr %8, i64 24
  %10 = load i32, ptr %9, align 8, !tbaa !11
  %11 = zext i32 %10 to i64
  %.not39 = icmp eq i32 %10, 0
  br i1 %.not39, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %7
  %12 = getelementptr inbounds i8, ptr %8, i64 28
  %min.iters.check = icmp ult i32 %10, 9
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.mod.vf = and i64 %11, 7
  %13 = icmp eq i64 %n.mod.vf, 0
  %14 = select i1 %13, i64 8, i64 %n.mod.vf
  %n.vec = sub nsw i64 %11, %14
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ <i32 -1, i32 -1, i32 -1, i32 -1>, %vector.ph ], [ %46, %vector.body ]
  %vec.phi41 = phi <4 x i32> [ <i32 -1, i32 -1, i32 -1, i32 -1>, %vector.ph ], [ %47, %vector.body ]
  %15 = or disjoint i64 %index, 1
  %16 = or disjoint i64 %index, 2
  %17 = or disjoint i64 %index, 3
  %18 = or disjoint i64 %index, 4
  %19 = or disjoint i64 %index, 5
  %20 = or disjoint i64 %index, 6
  %21 = or disjoint i64 %index, 7
  %22 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %12, i64 0, i64 %index, i32 2
  %23 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %12, i64 0, i64 %15, i32 2
  %24 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %12, i64 0, i64 %16, i32 2
  %25 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %12, i64 0, i64 %17, i32 2
  %26 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %12, i64 0, i64 %18, i32 2
  %27 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %12, i64 0, i64 %19, i32 2
  %28 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %12, i64 0, i64 %20, i32 2
  %29 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %12, i64 0, i64 %21, i32 2
  %30 = load i32, ptr %22, align 4, !tbaa !15
  %31 = load i32, ptr %23, align 4, !tbaa !15
  %32 = load i32, ptr %24, align 4, !tbaa !15
  %33 = load i32, ptr %25, align 4, !tbaa !15
  %34 = insertelement <4 x i32> poison, i32 %30, i64 0
  %35 = insertelement <4 x i32> %34, i32 %31, i64 1
  %36 = insertelement <4 x i32> %35, i32 %32, i64 2
  %37 = insertelement <4 x i32> %36, i32 %33, i64 3
  %38 = load i32, ptr %26, align 4, !tbaa !15
  %39 = load i32, ptr %27, align 4, !tbaa !15
  %40 = load i32, ptr %28, align 4, !tbaa !15
  %41 = load i32, ptr %29, align 4, !tbaa !15
  %42 = insertelement <4 x i32> poison, i32 %38, i64 0
  %43 = insertelement <4 x i32> %42, i32 %39, i64 1
  %44 = insertelement <4 x i32> %43, i32 %40, i64 2
  %45 = insertelement <4 x i32> %44, i32 %41, i64 3
  %46 = tail call <4 x i32> @llvm.umin.v4i32(<4 x i32> %vec.phi, <4 x i32> %37)
  %47 = tail call <4 x i32> @llvm.umin.v4i32(<4 x i32> %vec.phi41, <4 x i32> %45)
  %index.next = add nuw i64 %index, 8
  %48 = icmp eq i64 %index.next, %n.vec
  br i1 %48, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  %rdx.minmax = tail call <4 x i32> @llvm.umin.v4i32(<4 x i32> %46, <4 x i32> %47)
  %49 = tail call i32 @llvm.vector.reduce.umin.v4i32(<4 x i32> %rdx.minmax)
  br label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %.037.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %.02736.ph = phi i32 [ -1, %.lr.ph ], [ %49, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %.037 = phi i64 [ %52, %scalar.ph ], [ %.037.ph, %scalar.ph.preheader ]
  %.02736 = phi i32 [ %.027., %scalar.ph ], [ %.02736.ph, %scalar.ph.preheader ]
  %50 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %12, i64 0, i64 %.037, i32 2
  %51 = load i32, ptr %50, align 4, !tbaa !15
  %.027. = tail call i32 @llvm.umin.i32(i32 %.02736, i32 %51)
  %52 = add nuw nsw i64 %.037, 1
  %exitcond.not = icmp eq i64 %52, %11
  br i1 %exitcond.not, label %._crit_edge, label %scalar.ph, !llvm.loop !22

._crit_edge:                                      ; preds = %scalar.ph, %7
  %.027.lcssa = phi i32 [ -1, %7 ], [ %.027., %scalar.ph ]
  %.026.lcssa = phi i32 [ 0, %7 ], [ %51, %scalar.ph ]
  %53 = getelementptr inbounds i8, ptr %0, i64 8
  %54 = load i32, ptr %53, align 8, !tbaa !23
  %.not34 = icmp eq i32 %54, 0
  br i1 %.not34, label %55, label %58

55:                                               ; preds = %._crit_edge
  %56 = mul i32 %.027.lcssa, 5
  %57 = udiv i32 %56, 10
  br label %58

58:                                               ; preds = %._crit_edge, %55
  %59 = phi i32 [ %57, %55 ], [ %54, %._crit_edge ]
  store i32 %59, ptr %53, align 8, !tbaa !23
  %60 = getelementptr inbounds i8, ptr %0, i64 12
  %61 = load i32, ptr %60, align 4, !tbaa !24
  %.not35 = icmp eq i32 %61, 0
  br i1 %.not35, label %62, label %65

62:                                               ; preds = %58
  %63 = shl i32 %.027.lcssa, 3
  %64 = udiv i32 %63, 10
  br label %65

65:                                               ; preds = %58, %62
  %66 = phi i32 [ %64, %62 ], [ %61, %58 ]
  store i32 %66, ptr %60, align 4, !tbaa !24
  %67 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %.026.lcssa, ptr %67, align 8, !tbaa !25
  %68 = getelementptr inbounds i8, ptr %0, i64 20
  store i32 0, ptr %68, align 4, !tbaa !26
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i32> @llvm.umin.v4i32(<4 x i32>, <4 x i32>) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.umin.v4i32(<4 x i32>) #2

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 0}
!6 = !{!"_DHCP6_IA_CB", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 24}
!12 = !{!"", !13, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !8, i64 28}
!13 = !{!"", !14, i64 0, !10, i64 4}
!14 = !{!"short", !8, i64 0}
!15 = !{!16, !10, i64 20}
!16 = !{!"", !17, i64 0, !10, i64 16, !10, i64 20}
!17 = !{!"", !8, i64 0}
!18 = distinct !{!18, !19, !20, !21}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = distinct !{!22, !19, !21, !20}
!23 = !{!6, !10, i64 8}
!24 = !{!6, !10, i64 12}
!25 = !{!6, !10, i64 16}
!26 = !{!6, !10, i64 20}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass