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

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

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @interp_from_dif(double noundef %0, double noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10, i32 noundef %11) #3 {
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca ptr, align 8
  %16 = alloca double, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca [5 x double], align 16
  %29 = alloca [5 x double], align 16
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  store double %0, ptr %13, align 8, !tbaa !5
  store double %1, ptr %14, align 8, !tbaa !5
  store ptr %2, ptr %15, align 8, !tbaa !9
  store double %3, ptr %16, align 8, !tbaa !5
  store ptr %4, ptr %17, align 8, !tbaa !9
  store i32 %5, ptr %18, align 4, !tbaa !11
  store ptr %6, ptr %19, align 8, !tbaa !9
  store ptr %7, ptr %20, align 8, !tbaa !9
  store ptr %8, ptr %21, align 8, !tbaa !9
  store ptr %9, ptr %22, align 8, !tbaa !9
  store i32 %10, ptr %23, align 4, !tbaa !11
  store i32 %11, ptr %24, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #4
  call void @llvm.memset.p0.i64(ptr align 16 %28, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %29) #4
  call void @llvm.memset.p0.i64(ptr align 16 %29, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  %35 = load double, ptr %13, align 8, !tbaa !5
  %36 = load double, ptr %14, align 8, !tbaa !5
  %37 = fsub double %35, %36
  %38 = load double, ptr %16, align 8, !tbaa !5
  %39 = fdiv double %37, %38
  store double %39, ptr %32, align 8, !tbaa !5
  store double 1.000000e+00, ptr %26, align 8, !tbaa !5
  store double 0.000000e+00, ptr %27, align 8, !tbaa !5
  store double 1.000000e+00, ptr %25, align 8, !tbaa !5
  store i32 0, ptr %30, align 4, !tbaa !11
  br label %40

40:                                               ; preds = %79, %12
  %41 = load i32, ptr %30, align 4, !tbaa !11
  %42 = load i32, ptr %18, align 4, !tbaa !11
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %44, label %82

44:                                               ; preds = %40
  %45 = load double, ptr %32, align 8, !tbaa !5
  %46 = load i32, ptr %30, align 4, !tbaa !11
  %47 = sitofp i32 %46 to double
  %48 = fadd double %45, %47
  %49 = load double, ptr %26, align 8, !tbaa !5
  %50 = fmul double %49, %48
  store double %50, ptr %26, align 8, !tbaa !5
  %51 = load i32, ptr %30, align 4, !tbaa !11
  %52 = add nsw i32 %51, 1
  %53 = sitofp i32 %52 to double
  %54 = load double, ptr %25, align 8, !tbaa !5
  %55 = fmul double %54, %53
  store double %55, ptr %25, align 8, !tbaa !5
  %56 = load double, ptr %32, align 8, !tbaa !5
  %57 = load i32, ptr %30, align 4, !tbaa !11
  %58 = sitofp i32 %57 to double
  %59 = fadd double %56, %58
  %60 = fdiv double 1.000000e+00, %59
  %61 = load double, ptr %27, align 8, !tbaa !5
  %62 = fadd double %61, %60
  store double %62, ptr %27, align 8, !tbaa !5
  %63 = load double, ptr %26, align 8, !tbaa !5
  %64 = load double, ptr %25, align 8, !tbaa !5
  %65 = fdiv double %63, %64
  %66 = load i32, ptr %30, align 4, !tbaa !11
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [5 x double], ptr %28, i64 0, i64 %67
  store double %65, ptr %68, align 8, !tbaa !5
  %69 = load double, ptr %26, align 8, !tbaa !5
  %70 = load double, ptr %27, align 8, !tbaa !5
  %71 = fmul double %69, %70
  %72 = load double, ptr %16, align 8, !tbaa !5
  %73 = load double, ptr %25, align 8, !tbaa !5
  %74 = fmul double %72, %73
  %75 = fdiv double %71, %74
  %76 = load i32, ptr %30, align 4, !tbaa !11
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [5 x double], ptr %29, i64 0, i64 %77
  store double %75, ptr %78, align 8, !tbaa !5
  br label %79

79:                                               ; preds = %44
  %80 = load i32, ptr %30, align 4, !tbaa !11
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %30, align 4, !tbaa !11
  br label %40, !llvm.loop !13

82:                                               ; preds = %40
  store i32 1, ptr %31, align 4, !tbaa !11
  br label %83

83:                                               ; preds = %153, %82
  %84 = load i32, ptr %31, align 4, !tbaa !11
  %85 = load i32, ptr %23, align 4, !tbaa !11
  %86 = icmp sle i32 %84, %85
  br i1 %86, label %87, label %156

87:                                               ; preds = %83
  %88 = load ptr, ptr %22, align 8, !tbaa !9
  %89 = load i32, ptr %31, align 4, !tbaa !11
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds i32, ptr %88, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !11
  %93 = icmp eq i32 %92, 1
  br i1 %93, label %94, label %152

94:                                               ; preds = %87
  store double 0.000000e+00, ptr %33, align 8, !tbaa !5
  store double 0.000000e+00, ptr %34, align 8, !tbaa !5
  store i32 0, ptr %30, align 4, !tbaa !11
  br label %95

95:                                               ; preds = %132, %94
  %96 = load i32, ptr %30, align 4, !tbaa !11
  %97 = load i32, ptr %18, align 4, !tbaa !11
  %98 = icmp slt i32 %96, %97
  br i1 %98, label %99, label %135

99:                                               ; preds = %95
  %100 = load i32, ptr %30, align 4, !tbaa !11
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [5 x double], ptr %28, i64 0, i64 %101
  %103 = load double, ptr %102, align 8, !tbaa !5
  %104 = load ptr, ptr %17, align 8, !tbaa !9
  %105 = load i32, ptr %31, align 4, !tbaa !11
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %104, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !9
  %109 = load i32, ptr %30, align 4, !tbaa !11
  %110 = add nsw i32 %109, 1
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds double, ptr %108, i64 %111
  %113 = load double, ptr %112, align 8, !tbaa !5
  %114 = load double, ptr %33, align 8, !tbaa !5
  %115 = call double @llvm.fmuladd.f64(double %103, double %113, double %114)
  store double %115, ptr %33, align 8, !tbaa !5
  %116 = load i32, ptr %30, align 4, !tbaa !11
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [5 x double], ptr %29, i64 0, i64 %117
  %119 = load double, ptr %118, align 8, !tbaa !5
  %120 = load ptr, ptr %17, align 8, !tbaa !9
  %121 = load i32, ptr %31, align 4, !tbaa !11
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds ptr, ptr %120, i64 %122
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = load i32, ptr %30, align 4, !tbaa !11
  %126 = add nsw i32 %125, 1
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds double, ptr %124, i64 %127
  %129 = load double, ptr %128, align 8, !tbaa !5
  %130 = load double, ptr %34, align 8, !tbaa !5
  %131 = call double @llvm.fmuladd.f64(double %119, double %129, double %130)
  store double %131, ptr %34, align 8, !tbaa !5
  br label %132

132:                                              ; preds = %99
  %133 = load i32, ptr %30, align 4, !tbaa !11
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %30, align 4, !tbaa !11
  br label %95, !llvm.loop !15

135:                                              ; preds = %95
  %136 = load ptr, ptr %15, align 8, !tbaa !9
  %137 = load i32, ptr %31, align 4, !tbaa !11
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds double, ptr %136, i64 %138
  %140 = load double, ptr %139, align 8, !tbaa !5
  %141 = load double, ptr %33, align 8, !tbaa !5
  %142 = fadd double %140, %141
  %143 = load ptr, ptr %19, align 8, !tbaa !9
  %144 = load i32, ptr %31, align 4, !tbaa !11
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds double, ptr %143, i64 %145
  store double %142, ptr %146, align 8, !tbaa !5
  %147 = load double, ptr %34, align 8, !tbaa !5
  %148 = load ptr, ptr %20, align 8, !tbaa !9
  %149 = load i32, ptr %31, align 4, !tbaa !11
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds double, ptr %148, i64 %150
  store double %147, ptr %151, align 8, !tbaa !5
  br label %152

152:                                              ; preds = %135, %87
  br label %153

153:                                              ; preds = %152
  %154 = load i32, ptr %31, align 4, !tbaa !11
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %31, align 4, !tbaa !11
  br label %83, !llvm.loop !16

156:                                              ; preds = %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  ret i32 0
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { 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 = !{!"double", !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 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; 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 norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local noundef i32 @interp_from_dif(double noundef %0, double noundef %1, ptr nocapture noundef readonly %2, double noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5, ptr nocapture noundef writeonly %6, ptr nocapture noundef writeonly %7, ptr nocapture noundef readnone %8, ptr nocapture noundef readonly %9, i32 noundef %10, i32 noundef %11) local_unnamed_addr #2 {
  %13 = alloca [5 x double], align 16
  %14 = alloca [5 x double], align 16
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %13, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %14, i8 0, i64 40, i1 false)
  %15 = fsub double %0, %1
  %16 = fdiv double %15, %3
  %17 = icmp sgt i32 %5, 0
  br i1 %17, label %.lr.ph.preheader, label %.preheader54.thread

.lr.ph.preheader:                                 ; preds = %12
  %wide.trip.count = zext nneg i32 %5 to i64
  br label %.lr.ph

.preheader54:                                     ; preds = %.lr.ph
  %.not64 = icmp slt i32 %10, 1
  br i1 %.not64, label %._crit_edge67, label %.lr.ph66

.preheader54.thread:                              ; preds = %12
  %.not6486 = icmp slt i32 %10, 1
  br i1 %.not6486, label %._crit_edge67, label %.lr.ph66.split.preheader

.lr.ph66:                                         ; preds = %.preheader54
  br i1 %17, label %.lr.ph66.split.us.preheader, label %.lr.ph66.split.preheader

.lr.ph66.split.preheader:                         ; preds = %.preheader54.thread, %.lr.ph66
  %18 = add i32 %10, 1
  %wide.trip.count74 = zext i32 %18 to i64
  %19 = add nsw i64 %wide.trip.count74, -1
  %xtraiter = and i64 %19, 1
  %20 = icmp eq i32 %18, 2
  br i1 %20, label %._crit_edge67.loopexit91.unr-lcssa, label %.lr.ph66.split.preheader.new

.lr.ph66.split.preheader.new:                     ; preds = %.lr.ph66.split.preheader
  %unroll_iter = and i64 %19, -2
  br label %.lr.ph66.split

.lr.ph66.split.us.preheader:                      ; preds = %.lr.ph66
  %21 = add nuw i32 %10, 1
  %wide.trip.count84 = zext i32 %21 to i64
  %xtraiter92 = and i64 %wide.trip.count, 1
  %22 = icmp eq i32 %5, 1
  %unroll_iter95 = and i64 %wide.trip.count, 2147483646
  %lcmp.mod93.not = icmp eq i64 %xtraiter92, 0
  br label %.lr.ph66.split.us

.lr.ph66.split.us:                                ; preds = %.lr.ph66.split.us.preheader, %26
  %indvars.iv81 = phi i64 [ 1, %.lr.ph66.split.us.preheader ], [ %indvars.iv.next82, %26 ]
  %23 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv81
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = icmp eq i32 %24, 1
  br i1 %25, label %.preheader.us, label %26

26:                                               ; preds = %._crit_edge.us, %.lr.ph66.split.us
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %exitcond85.not = icmp eq i64 %indvars.iv.next82, %wide.trip.count84
  br i1 %exitcond85.not, label %._crit_edge67, label %.lr.ph66.split.us, !llvm.loop !9

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %indvars.iv76 = phi i64 [ %indvars.iv.next77.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %27 = phi <2 x double> [ %49, %.preheader.us.new ], [ zeroinitializer, %.preheader.us ]
  %niter96 = phi i64 [ %niter96.next.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %28 = getelementptr inbounds [5 x double], ptr %13, i64 0, i64 %indvars.iv76
  %29 = load double, ptr %28, align 16, !tbaa !11
  %indvars.iv.next77 = or disjoint i64 %indvars.iv76, 1
  %30 = getelementptr inbounds double, ptr %51, i64 %indvars.iv.next77
  %31 = load double, ptr %30, align 8, !tbaa !11
  %32 = getelementptr inbounds [5 x double], ptr %14, i64 0, i64 %indvars.iv76
  %33 = load double, ptr %32, align 16, !tbaa !11
  %34 = insertelement <2 x double> poison, double %33, i64 0
  %35 = insertelement <2 x double> %34, double %29, i64 1
  %36 = insertelement <2 x double> poison, double %31, i64 0
  %37 = shufflevector <2 x double> %36, <2 x double> poison, <2 x i32> zeroinitializer
  %38 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %35, <2 x double> %37, <2 x double> %27)
  %39 = getelementptr inbounds [5 x double], ptr %13, i64 0, i64 %indvars.iv.next77
  %40 = load double, ptr %39, align 8, !tbaa !11
  %indvars.iv.next77.1 = add nuw nsw i64 %indvars.iv76, 2
  %41 = getelementptr inbounds double, ptr %51, i64 %indvars.iv.next77.1
  %42 = load double, ptr %41, align 8, !tbaa !11
  %43 = getelementptr inbounds [5 x double], ptr %14, i64 0, i64 %indvars.iv.next77
  %44 = load double, ptr %43, align 8, !tbaa !11
  %45 = insertelement <2 x double> poison, double %44, i64 0
  %46 = insertelement <2 x double> %45, double %40, i64 1
  %47 = insertelement <2 x double> poison, double %42, i64 0
  %48 = shufflevector <2 x double> %47, <2 x double> poison, <2 x i32> zeroinitializer
  %49 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %46, <2 x double> %48, <2 x double> %38)
  %niter96.next.1 = add i64 %niter96, 2
  %niter96.ncmp.1 = icmp eq i64 %niter96.next.1, %unroll_iter95
  br i1 %niter96.ncmp.1, label %._crit_edge.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !13

.preheader.us:                                    ; preds = %.lr.ph66.split.us
  %50 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv81
  %51 = load ptr, ptr %50, align 8, !tbaa !14
  br i1 %22, label %._crit_edge.us.unr-lcssa, label %.preheader.us.new

._crit_edge.us.unr-lcssa:                         ; preds = %.preheader.us.new, %.preheader.us
  %.lcssa.ph = phi <2 x double> [ poison, %.preheader.us ], [ %49, %.preheader.us.new ]
  %indvars.iv76.unr = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next77.1, %.preheader.us.new ]
  %.unr = phi <2 x double> [ zeroinitializer, %.preheader.us ], [ %49, %.preheader.us.new ]
  br i1 %lcmp.mod93.not, label %._crit_edge.us, label %._crit_edge.us.epilog-lcssa

._crit_edge.us.epilog-lcssa:                      ; preds = %._crit_edge.us.unr-lcssa
  %52 = getelementptr inbounds [5 x double], ptr %13, i64 0, i64 %indvars.iv76.unr
  %53 = load double, ptr %52, align 8, !tbaa !11
  %54 = getelementptr double, ptr %51, i64 %indvars.iv76.unr
  %55 = getelementptr i8, ptr %54, i64 8
  %56 = load double, ptr %55, align 8, !tbaa !11
  %57 = getelementptr inbounds [5 x double], ptr %14, i64 0, i64 %indvars.iv76.unr
  %58 = load double, ptr %57, align 8, !tbaa !11
  %59 = insertelement <2 x double> poison, double %58, i64 0
  %60 = insertelement <2 x double> %59, double %53, i64 1
  %61 = insertelement <2 x double> poison, double %56, i64 0
  %62 = shufflevector <2 x double> %61, <2 x double> poison, <2 x i32> zeroinitializer
  %63 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %60, <2 x double> %62, <2 x double> %.unr)
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %._crit_edge.us.unr-lcssa, %._crit_edge.us.epilog-lcssa
  %.lcssa = phi <2 x double> [ %.lcssa.ph, %._crit_edge.us.unr-lcssa ], [ %63, %._crit_edge.us.epilog-lcssa ]
  %64 = getelementptr inbounds double, ptr %2, i64 %indvars.iv81
  %65 = load double, ptr %64, align 8, !tbaa !11
  %66 = extractelement <2 x double> %.lcssa, i64 1
  %67 = fadd double %66, %65
  %68 = getelementptr inbounds double, ptr %6, i64 %indvars.iv81
  store double %67, ptr %68, align 8, !tbaa !11
  %69 = getelementptr inbounds double, ptr %7, i64 %indvars.iv81
  %70 = extractelement <2 x double> %.lcssa, i64 0
  store double %70, ptr %69, align 8, !tbaa !11
  br label %26

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.04858 = phi double [ 1.000000e+00, %.lr.ph.preheader ], [ %77, %.lr.ph ]
  %.05156 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %79, %.lr.ph ]
  %.05255 = phi double [ 1.000000e+00, %.lr.ph.preheader ], [ %74, %.lr.ph ]
  %71 = trunc nuw nsw i64 %indvars.iv to i32
  %72 = uitofp nneg i32 %71 to double
  %73 = fadd double %16, %72
  %74 = fmul double %.05255, %73
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %75 = trunc nuw nsw i64 %indvars.iv.next to i32
  %76 = uitofp nneg i32 %75 to double
  %77 = fmul double %.04858, %76
  %78 = fdiv double 1.000000e+00, %73
  %79 = fadd double %.05156, %78
  %80 = fdiv double %74, %77
  %81 = getelementptr inbounds [5 x double], ptr %13, i64 0, i64 %indvars.iv
  store double %80, ptr %81, align 8, !tbaa !11
  %82 = fmul double %74, %79
  %83 = fmul double %77, %3
  %84 = fdiv double %82, %83
  %85 = getelementptr inbounds [5 x double], ptr %14, i64 0, i64 %indvars.iv
  store double %84, ptr %85, align 8, !tbaa !11
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader54, label %.lr.ph, !llvm.loop !16

.lr.ph66.split:                                   ; preds = %102, %.lr.ph66.split.preheader.new
  %indvars.iv71 = phi i64 [ 1, %.lr.ph66.split.preheader.new ], [ %indvars.iv.next72.1, %102 ]
  %niter = phi i64 [ 0, %.lr.ph66.split.preheader.new ], [ %niter.next.1, %102 ]
  %86 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv71
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = icmp eq i32 %87, 1
  br i1 %88, label %.preheader, label %.lr.ph66.split.1

.preheader:                                       ; preds = %.lr.ph66.split
  %89 = getelementptr inbounds double, ptr %2, i64 %indvars.iv71
  %90 = load double, ptr %89, align 8, !tbaa !11
  %91 = fadd double %90, 0.000000e+00
  %92 = getelementptr inbounds double, ptr %6, i64 %indvars.iv71
  store double %91, ptr %92, align 8, !tbaa !11
  %93 = getelementptr inbounds double, ptr %7, i64 %indvars.iv71
  store double 0.000000e+00, ptr %93, align 8, !tbaa !11
  br label %.lr.ph66.split.1

.lr.ph66.split.1:                                 ; preds = %.lr.ph66.split, %.preheader
  %indvars.iv.next72 = add nuw nsw i64 %indvars.iv71, 1
  %94 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv.next72
  %95 = load i32, ptr %94, align 4, !tbaa !5
  %96 = icmp eq i32 %95, 1
  br i1 %96, label %.preheader.1, label %102

.preheader.1:                                     ; preds = %.lr.ph66.split.1
  %97 = getelementptr inbounds double, ptr %2, i64 %indvars.iv.next72
  %98 = load double, ptr %97, align 8, !tbaa !11
  %99 = fadd double %98, 0.000000e+00
  %100 = getelementptr inbounds double, ptr %6, i64 %indvars.iv.next72
  store double %99, ptr %100, align 8, !tbaa !11
  %101 = getelementptr inbounds double, ptr %7, i64 %indvars.iv.next72
  store double 0.000000e+00, ptr %101, align 8, !tbaa !11
  br label %102

102:                                              ; preds = %.preheader.1, %.lr.ph66.split.1
  %indvars.iv.next72.1 = add nuw nsw i64 %indvars.iv71, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge67.loopexit91.unr-lcssa, label %.lr.ph66.split, !llvm.loop !9

._crit_edge67.loopexit91.unr-lcssa:               ; preds = %102, %.lr.ph66.split.preheader
  %indvars.iv71.unr = phi i64 [ 1, %.lr.ph66.split.preheader ], [ %indvars.iv.next72.1, %102 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge67, label %.lr.ph66.split.epil

.lr.ph66.split.epil:                              ; preds = %._crit_edge67.loopexit91.unr-lcssa
  %103 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv71.unr
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = icmp eq i32 %104, 1
  br i1 %105, label %.preheader.epil, label %._crit_edge67

.preheader.epil:                                  ; preds = %.lr.ph66.split.epil
  %106 = getelementptr inbounds double, ptr %2, i64 %indvars.iv71.unr
  %107 = load double, ptr %106, align 8, !tbaa !11
  %108 = fadd double %107, 0.000000e+00
  %109 = getelementptr inbounds double, ptr %6, i64 %indvars.iv71.unr
  store double %108, ptr %109, align 8, !tbaa !11
  %110 = getelementptr inbounds double, ptr %7, i64 %indvars.iv71.unr
  store double 0.000000e+00, ptr %110, align 8, !tbaa !11
  br label %._crit_edge67

._crit_edge67:                                    ; preds = %._crit_edge67.loopexit91.unr-lcssa, %.preheader.epil, %.lr.ph66.split.epil, %26, %.preheader54.thread, %.preheader54
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #4
  ret i32 0
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = distinct !{!16, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass