; LLVM IR from CLASS-SZ/class_sz :: class-sz/tools (r8lib)

; 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"

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [39 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
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
define dso_local void @r8r8r8vec_index_insert_unique(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, double noundef %7, double noundef %8, ptr noundef %9, ptr noundef %10) #2 {
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  store i32 %0, ptr %12, align 4, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !9
  store ptr %2, ptr %14, align 8, !tbaa !9
  store ptr %3, ptr %15, align 8, !tbaa !9
  store ptr %4, ptr %16, align 8, !tbaa !9
  store ptr %5, ptr %17, align 8, !tbaa !9
  store double %6, ptr %18, align 8, !tbaa !11
  store double %7, ptr %19, align 8, !tbaa !11
  store double %8, ptr %20, align 8, !tbaa !11
  store ptr %9, ptr %21, align 8, !tbaa !9
  store ptr %10, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  %28 = load ptr, ptr %22, align 8, !tbaa !9
  store i32 0, ptr %28, align 4, !tbaa !5
  %29 = load ptr, ptr %13, align 8, !tbaa !9
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = icmp sle i32 %30, 0
  br i1 %31, label %32, label %57

32:                                               ; preds = %11
  %33 = load i32, ptr %12, align 4, !tbaa !5
  %34 = icmp sle i32 %33, 0
  br i1 %34, label %35, label %43

35:                                               ; preds = %32
  %36 = load ptr, ptr %22, align 8, !tbaa !9
  store i32 1, ptr %36, align 4, !tbaa !5
  %37 = load ptr, ptr @stderr, align 8, !tbaa !9
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str) #3
  %39 = load ptr, ptr @stderr, align 8, !tbaa !9
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.154) #3
  %41 = load ptr, ptr @stderr, align 8, !tbaa !9
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.155) #3
  store i32 1, ptr %27, align 4
  br label %149

43:                                               ; preds = %32
  %44 = load ptr, ptr %13, align 8, !tbaa !9
  store i32 1, ptr %44, align 4, !tbaa !5
  %45 = load double, ptr %18, align 8, !tbaa !11
  %46 = load ptr, ptr %14, align 8, !tbaa !9
  %47 = getelementptr inbounds double, ptr %46, i64 0
  store double %45, ptr %47, align 8, !tbaa !11
  %48 = load double, ptr %19, align 8, !tbaa !11
  %49 = load ptr, ptr %15, align 8, !tbaa !9
  %50 = getelementptr inbounds double, ptr %49, i64 0
  store double %48, ptr %50, align 8, !tbaa !11
  %51 = load double, ptr %20, align 8, !tbaa !11
  %52 = load ptr, ptr %16, align 8, !tbaa !9
  %53 = getelementptr inbounds double, ptr %52, i64 0
  store double %51, ptr %53, align 8, !tbaa !11
  %54 = load ptr, ptr %17, align 8, !tbaa !9
  %55 = getelementptr inbounds i32, ptr %54, i64 0
  store i32 1, ptr %55, align 4, !tbaa !5
  %56 = load ptr, ptr %21, align 8, !tbaa !9
  store i32 1, ptr %56, align 4, !tbaa !5
  store i32 1, ptr %27, align 4
  br label %149

57:                                               ; preds = %11
  %58 = load ptr, ptr %13, align 8, !tbaa !9
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = load ptr, ptr %14, align 8, !tbaa !9
  %61 = load ptr, ptr %15, align 8, !tbaa !9
  %62 = load ptr, ptr %16, align 8, !tbaa !9
  %63 = load ptr, ptr %17, align 8, !tbaa !9
  %64 = load double, ptr %18, align 8, !tbaa !11
  %65 = load double, ptr %19, align 8, !tbaa !11
  %66 = load double, ptr %20, align 8, !tbaa !11
  call void @r8r8r8vec_index_search(i32 noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63, double noundef %64, double noundef %65, double noundef %66, ptr noundef %25, ptr noundef %23, ptr noundef %26)
  %67 = load i32, ptr %23, align 4, !tbaa !5
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %140

69:                                               ; preds = %57
  %70 = load i32, ptr %12, align 4, !tbaa !5
  %71 = load ptr, ptr %13, align 8, !tbaa !9
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = icmp sle i32 %70, %72
  br i1 %73, label %74, label %82

74:                                               ; preds = %69
  %75 = load ptr, ptr %22, align 8, !tbaa !9
  store i32 1, ptr %75, align 4, !tbaa !5
  %76 = load ptr, ptr @stderr, align 8, !tbaa !9
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str) #3
  %78 = load ptr, ptr @stderr, align 8, !tbaa !9
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.154) #3
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.155) #3
  store i32 1, ptr %27, align 4
  br label %149

82:                                               ; preds = %69
  %83 = load double, ptr %18, align 8, !tbaa !11
  %84 = load ptr, ptr %14, align 8, !tbaa !9
  %85 = load ptr, ptr %13, align 8, !tbaa !9
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds double, ptr %84, i64 %87
  store double %83, ptr %88, align 8, !tbaa !11
  %89 = load double, ptr %19, align 8, !tbaa !11
  %90 = load ptr, ptr %15, align 8, !tbaa !9
  %91 = load ptr, ptr %13, align 8, !tbaa !9
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds double, ptr %90, i64 %93
  store double %89, ptr %94, align 8, !tbaa !11
  %95 = load double, ptr %20, align 8, !tbaa !11
  %96 = load ptr, ptr %16, align 8, !tbaa !9
  %97 = load ptr, ptr %13, align 8, !tbaa !9
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds double, ptr %96, i64 %99
  store double %95, ptr %100, align 8, !tbaa !11
  %101 = load ptr, ptr %13, align 8, !tbaa !9
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = add nsw i32 %102, 1
  %104 = load ptr, ptr %21, align 8, !tbaa !9
  store i32 %103, ptr %104, align 4, !tbaa !5
  %105 = load ptr, ptr %13, align 8, !tbaa !9
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = sub nsw i32 %106, 1
  store i32 %107, ptr %24, align 4, !tbaa !5
  br label %108

108:                                              ; preds = %124, %82
  %109 = load i32, ptr %26, align 4, !tbaa !5
  %110 = sub nsw i32 %109, 1
  %111 = load i32, ptr %24, align 4, !tbaa !5
  %112 = icmp sle i32 %110, %111
  br i1 %112, label %113, label %127

113:                                              ; preds = %108
  %114 = load ptr, ptr %17, align 8, !tbaa !9
  %115 = load i32, ptr %24, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds i32, ptr %114, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = load ptr, ptr %17, align 8, !tbaa !9
  %120 = load i32, ptr %24, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds i32, ptr %119, i64 %122
  store i32 %118, ptr %123, align 4, !tbaa !5
  br label %124

124:                                              ; preds = %113
  %125 = load i32, ptr %24, align 4, !tbaa !5
  %126 = add nsw i32 %125, -1
  store i32 %126, ptr %24, align 4, !tbaa !5
  br label %108, !llvm.loop !13

127:                                              ; preds = %108
  %128 = load ptr, ptr %13, align 8, !tbaa !9
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = add nsw i32 %129, 1
  %131 = load ptr, ptr %17, align 8, !tbaa !9
  %132 = load i32, ptr %26, align 4, !tbaa !5
  %133 = sub nsw i32 %132, 1
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds i32, ptr %131, i64 %134
  store i32 %130, ptr %135, align 4, !tbaa !5
  %136 = load ptr, ptr %13, align 8, !tbaa !9
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = add nsw i32 %137, 1
  %139 = load ptr, ptr %13, align 8, !tbaa !9
  store i32 %138, ptr %139, align 4, !tbaa !5
  br label %148

140:                                              ; preds = %57
  %141 = load ptr, ptr %17, align 8, !tbaa !9
  %142 = load i32, ptr %23, align 4, !tbaa !5
  %143 = sub nsw i32 %142, 1
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds i32, ptr %141, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = load ptr, ptr %21, align 8, !tbaa !9
  store i32 %146, ptr %147, align 4, !tbaa !5
  br label %148

148:                                              ; preds = %140, %127
  store i32 1, ptr %27, align 4
  br label %149

149:                                              ; preds = %148, %74, %43, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @r8r8r8vec_index_search(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [39 x i8], align 1

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @r8r8r8vec_index_insert_unique(i32 noundef %0, ptr nocapture noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, double noundef %7, double noundef %8, ptr nocapture noundef writeonly %9, ptr nocapture noundef writeonly %10) local_unnamed_addr #2 {
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
  store i32 0, ptr %10, align 4, !tbaa !5
  %15 = load i32, ptr %1, align 4, !tbaa !5
  %16 = icmp slt i32 %15, 1
  br i1 %16, label %17, label %27

17:                                               ; preds = %11
  %18 = icmp slt i32 %0, 1
  br i1 %18, label %19, label %26

19:                                               ; preds = %17
  store i32 1, ptr %10, align 4, !tbaa !5
  %20 = load ptr, ptr @stderr, align 8, !tbaa !9
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str) #4
  %22 = load ptr, ptr @stderr, align 8, !tbaa !9
  %23 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str.154) #4
  %24 = load ptr, ptr @stderr, align 8, !tbaa !9
  %25 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.155) #4
  br label %72

26:                                               ; preds = %17
  store i32 1, ptr %1, align 4, !tbaa !5
  store double %6, ptr %2, align 8, !tbaa !11
  store double %7, ptr %3, align 8, !tbaa !11
  store double %8, ptr %4, align 8, !tbaa !11
  store i32 1, ptr %5, align 4, !tbaa !5
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %72

27:                                               ; preds = %11
  call void @r8r8r8vec_index_search(i32 noundef %15, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, double noundef %7, double noundef %8, ptr noundef nonnull %13, ptr noundef nonnull %12, ptr noundef nonnull %14)
  %28 = load i32, ptr %12, align 4, !tbaa !5
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %67

30:                                               ; preds = %27
  %31 = load i32, ptr %1, align 4, !tbaa !5
  %.not = icmp slt i32 %31, %0
  br i1 %.not, label %39, label %32

32:                                               ; preds = %30
  store i32 1, ptr %10, align 4, !tbaa !5
  %33 = load ptr, ptr @stderr, align 8, !tbaa !9
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str) #4
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.154) #4
  %37 = load ptr, ptr @stderr, align 8, !tbaa !9
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str.155) #4
  br label %72

39:                                               ; preds = %30
  %40 = sext i32 %31 to i64
  %41 = getelementptr inbounds double, ptr %2, i64 %40
  store double %6, ptr %41, align 8, !tbaa !11
  %42 = getelementptr inbounds double, ptr %3, i64 %40
  store double %7, ptr %42, align 8, !tbaa !11
  %43 = getelementptr inbounds double, ptr %4, i64 %40
  store double %8, ptr %43, align 8, !tbaa !11
  %44 = add nsw i32 %31, 1
  store i32 %44, ptr %9, align 4, !tbaa !5
  %45 = load i32, ptr %1, align 4, !tbaa !5
  %46 = load i32, ptr %14, align 4, !tbaa !5
  %.not5152 = icmp sgt i32 %46, %45
  br i1 %.not5152, label %.._crit_edge_crit_edge, label %.lr.ph.preheader

.._crit_edge_crit_edge:                           ; preds = %39
  %.pre56 = sext i32 %46 to i64
  br label %._crit_edge

.lr.ph.preheader:                                 ; preds = %39
  %47 = sext i32 %45 to i64
  %48 = sext i32 %46 to i64
  %49 = add nsw i64 %47, 1
  %50 = sub nsw i64 %49, %48
  %min.iters.check = icmp ult i64 %50, 8
  br i1 %min.iters.check, label %.lr.ph.preheader61, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %50, -8
  %ind.end = sub nsw i64 %47, %n.vec
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = sub i64 %47, %index
  %51 = getelementptr i32, ptr %5, i64 %offset.idx
  %52 = getelementptr i8, ptr %51, i64 -16
  %53 = getelementptr i8, ptr %51, i64 -32
  %wide.load = load <4 x i32>, ptr %52, align 4, !tbaa !5
  %wide.load57 = load <4 x i32>, ptr %53, align 4, !tbaa !5
  %54 = getelementptr inbounds i32, ptr %5, i64 %offset.idx
  %55 = getelementptr inbounds i8, ptr %54, i64 -12
  %56 = getelementptr inbounds i8, ptr %54, i64 -28
  store <4 x i32> %wide.load, ptr %55, align 4, !tbaa !5
  store <4 x i32> %wide.load57, ptr %56, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %57 = icmp eq i64 %index.next, %n.vec
  br i1 %57, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %50, %n.vec
  br i1 %cmp.n, label %._crit_edge.loopexit, label %.lr.ph.preheader61

.lr.ph.preheader61:                               ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ %47, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader61, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader61 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %58 = getelementptr inbounds i32, ptr %5, i64 %indvars.iv.next
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = getelementptr inbounds i32, ptr %5, i64 %indvars.iv
  store i32 %59, ptr %60, align 4, !tbaa !5
  %.not51.not = icmp sgt i64 %indvars.iv, %48
  br i1 %.not51.not, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !17

._crit_edge.loopexit:                             ; preds = %.lr.ph, %middle.block
  %.pre = load i32, ptr %1, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.._crit_edge_crit_edge, %._crit_edge.loopexit
  %.pre-phi = phi i64 [ %.pre56, %.._crit_edge_crit_edge ], [ %48, %._crit_edge.loopexit ]
  %61 = phi i32 [ %45, %.._crit_edge_crit_edge ], [ %.pre, %._crit_edge.loopexit ]
  %62 = add nsw i32 %61, 1
  %63 = getelementptr i32, ptr %5, i64 %.pre-phi
  %64 = getelementptr i8, ptr %63, i64 -4
  store i32 %62, ptr %64, align 4, !tbaa !5
  %65 = load i32, ptr %1, align 4, !tbaa !5
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %1, align 4, !tbaa !5
  br label %72

67:                                               ; preds = %27
  %68 = sext i32 %28 to i64
  %69 = getelementptr i32, ptr %5, i64 %68
  %70 = getelementptr i8, ptr %69, i64 -4
  %71 = load i32, ptr %70, align 4, !tbaa !5
  store i32 %71, ptr %9, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %._crit_edge, %67, %32, %26, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @r8r8r8vec_index_search(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nofree nounwind "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 }
attributes #4 = { cold 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !14, !16, !15}


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