; LLVM IR from pantor/ruckig :: src/ruckig/brake.ll (ZN6ruckig12BrakeProfile14velocity_brakeEddddddd)

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

%"class.ruckig::BrakeProfile" = type { double, %"struct.std::array", %"struct.std::array", %"struct.std::array", %"struct.std::array", %"struct.std::array" }
%"struct.std::array" = type { [2 x double] }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN6ruckig6v_at_tEdddd(double noundef, double noundef, double noundef, double noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ruckig12BrakeProfile14velocity_brakeEddddddd(ptr noundef nonnull align 8 dereferenceable(88) %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7) #3 align 2 {
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store double %1, ptr %10, align 8, !tbaa !9
  store double %2, ptr %11, align 8, !tbaa !9
  store double %3, ptr %12, align 8, !tbaa !9
  store double %4, ptr %13, align 8, !tbaa !9
  store double %5, ptr %14, align 8, !tbaa !9
  store double %6, ptr %15, align 8, !tbaa !9
  store double %7, ptr %16, align 8, !tbaa !9
  %29 = load ptr, ptr %9, align 8
  %30 = load double, ptr %16, align 8, !tbaa !9
  %31 = fneg double %30
  %32 = getelementptr inbounds %"class.ruckig::BrakeProfile", ptr %29, i32 0, i32 2
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %32, i64 noundef 0) #6
  store double %31, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %34 = load double, ptr %11, align 8, !tbaa !9
  %35 = load double, ptr %15, align 8, !tbaa !9
  %36 = fsub double %34, %35
  %37 = load double, ptr %16, align 8, !tbaa !9
  %38 = fdiv double %36, %37
  store double %38, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %39 = load double, ptr %11, align 8, !tbaa !9
  %40 = load double, ptr %16, align 8, !tbaa !9
  %41 = fdiv double %39, %40
  %42 = load double, ptr %11, align 8, !tbaa !9
  %43 = load double, ptr %11, align 8, !tbaa !9
  %44 = load double, ptr %16, align 8, !tbaa !9
  %45 = fmul double 2.000000e+00, %44
  %46 = load double, ptr %10, align 8, !tbaa !9
  %47 = load double, ptr %12, align 8, !tbaa !9
  %48 = fsub double %46, %47
  %49 = fmul double %45, %48
  %50 = call double @llvm.fmuladd.f64(double %42, double %43, double %49)
  %51 = call double @sqrt(double noundef %50) #6
  %52 = load double, ptr %16, align 8, !tbaa !9
  %53 = call noundef double @_ZSt3absd(double noundef %52)
  %54 = fdiv double %51, %53
  %55 = fadd double %41, %54
  store double %55, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %56 = load double, ptr %11, align 8, !tbaa !9
  %57 = load double, ptr %16, align 8, !tbaa !9
  %58 = fdiv double %56, %57
  %59 = load double, ptr %11, align 8, !tbaa !9
  %60 = load double, ptr %11, align 8, !tbaa !9
  %61 = fmul double %59, %60
  %62 = fdiv double %61, 2.000000e+00
  %63 = load double, ptr %16, align 8, !tbaa !9
  %64 = load double, ptr %10, align 8, !tbaa !9
  %65 = load double, ptr %13, align 8, !tbaa !9
  %66 = fsub double %64, %65
  %67 = call double @llvm.fmuladd.f64(double %63, double %66, double %62)
  %68 = call double @sqrt(double noundef %67) #6
  %69 = load double, ptr %16, align 8, !tbaa !9
  %70 = call noundef double @_ZSt3absd(double noundef %69)
  %71 = fdiv double %68, %70
  %72 = fadd double %58, %71
  store double %72, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %74 = load double, ptr %73, align 8, !tbaa !9
  store double %74, ptr %20, align 8, !tbaa !9
  %75 = load double, ptr %17, align 8, !tbaa !9
  %76 = load double, ptr %20, align 8, !tbaa !9
  %77 = fcmp olt double %75, %76
  br i1 %77, label %78, label %112

78:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %79 = load double, ptr %10, align 8, !tbaa !9
  %80 = load double, ptr %11, align 8, !tbaa !9
  %81 = load double, ptr %16, align 8, !tbaa !9
  %82 = fneg double %81
  %83 = load double, ptr %17, align 8, !tbaa !9
  %84 = call noundef double @_ZN6ruckig6v_at_tEdddd(double noundef %79, double noundef %80, double noundef %82, double noundef %83)
  store double %84, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %85 = load double, ptr %21, align 8, !tbaa !9
  %86 = load double, ptr %12, align 8, !tbaa !9
  %87 = fsub double %85, %86
  %88 = fneg double %87
  %89 = load double, ptr %15, align 8, !tbaa !9
  %90 = fdiv double %88, %89
  store double %90, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %91 = load double, ptr %15, align 8, !tbaa !9
  %92 = load double, ptr %16, align 8, !tbaa !9
  %93 = fmul double 2.000000e+00, %92
  %94 = fdiv double %91, %93
  %95 = load double, ptr %21, align 8, !tbaa !9
  %96 = load double, ptr %13, align 8, !tbaa !9
  %97 = fsub double %95, %96
  %98 = load double, ptr %15, align 8, !tbaa !9
  %99 = fdiv double %97, %98
  %100 = fsub double %94, %99
  store double %100, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %101 = load double, ptr %17, align 8, !tbaa !9
  %102 = fsub double %101, 2.200000e-14
  store double %102, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  store double 0.000000e+00, ptr %25, align 8, !tbaa !9
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25)
  %104 = load double, ptr %103, align 8, !tbaa !9
  %105 = getelementptr inbounds %"class.ruckig::BrakeProfile", ptr %29, i32 0, i32 1
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %105, i64 noundef 0) #6
  store double %104, ptr %106, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store double 0.000000e+00, ptr %26, align 8, !tbaa !9
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %109 = load double, ptr %108, align 8, !tbaa !9
  %110 = getelementptr inbounds %"class.ruckig::BrakeProfile", ptr %29, i32 0, i32 1
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %110, i64 noundef 1) #6
  store double %109, ptr %111, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %119

112:                                              ; preds = %8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %113 = load double, ptr %20, align 8, !tbaa !9
  %114 = fsub double %113, 2.200000e-14
  store double %114, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  store double 0.000000e+00, ptr %28, align 8, !tbaa !9
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28)
  %116 = load double, ptr %115, align 8, !tbaa !9
  %117 = getelementptr inbounds %"class.ruckig::BrakeProfile", ptr %29, i32 0, i32 1
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %117, i64 noundef 0) #6
  store double %116, ptr %118, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %119

119:                                              ; preds = %112, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #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
declare double @sqrt(double noundef) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #2

attributes #0 = { mustprogress 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 = { inlinehint mustprogress 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 = { mustprogress 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 "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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}


; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN6ruckig6v_at_tEdddd(double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN6ruckig12BrakeProfile14velocity_brakeEddddddd(ptr noundef nonnull align 8 dereferenceable(88) %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7) local_unnamed_addr #0 align 2 {
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = fneg double %7
  %19 = getelementptr inbounds i8, ptr %0, i64 24
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %19, i64 noundef 0) #5
  store double %18, ptr %20, align 8, !tbaa !5
  %21 = fsub double %2, %6
  %22 = fdiv double %21, %7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %23 = fmul double %7, 2.000000e+00
  %24 = fsub double %1, %3
  %25 = fmul double %24, %23
  %26 = tail call double @llvm.fmuladd.f64(double %2, double %2, double %25)
  %27 = tail call double @sqrt(double noundef %26) #5
  %28 = tail call noundef double @_ZSt3absd(double noundef %7)
  %29 = insertelement <2 x double> poison, double %2, i64 0
  %30 = insertelement <2 x double> %29, double %27, i64 1
  %31 = insertelement <2 x double> poison, double %7, i64 0
  %32 = insertelement <2 x double> %31, double %28, i64 1
  %33 = fdiv <2 x double> %30, %32
  %34 = extractelement <2 x double> %33, i64 0
  %shift = shufflevector <2 x double> %33, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %35 = fadd <2 x double> %33, %shift
  %36 = extractelement <2 x double> %35, i64 0
  store double %36, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %37 = fmul double %2, %2
  %38 = fmul double %37, 5.000000e-01
  %39 = fsub double %1, %4
  %40 = tail call double @llvm.fmuladd.f64(double %7, double %39, double %38)
  %41 = tail call double @sqrt(double noundef %40) #5
  %42 = tail call noundef double @_ZSt3absd(double noundef %7)
  %43 = fdiv double %41, %42
  %44 = fadd double %34, %43
  store double %44, ptr %10, align 8, !tbaa !5
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %46 = load double, ptr %45, align 8, !tbaa !5
  %47 = fcmp olt double %22, %46
  br i1 %47, label %48, label %70

48:                                               ; preds = %8
  %49 = call noundef double @_ZN6ruckig6v_at_tEdddd(double noundef %1, double noundef %2, double noundef %18, double noundef %22)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %50 = fsub double %49, %3
  %51 = fneg double %50
  %52 = fdiv double %51, %6
  store double %52, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %53 = fsub double %49, %4
  %54 = insertelement <2 x double> poison, double %6, i64 0
  %55 = insertelement <2 x double> %54, double %53, i64 1
  %56 = insertelement <2 x double> poison, double %23, i64 0
  %57 = insertelement <2 x double> %56, double %6, i64 1
  %58 = fdiv <2 x double> %55, %57
  %shift38 = shufflevector <2 x double> %58, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %59 = fsub <2 x double> %58, %shift38
  %60 = extractelement <2 x double> %59, i64 0
  store double %60, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %61 = fadd double %22, -2.200000e-14
  store double %61, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  store double 0.000000e+00, ptr %14, align 8, !tbaa !5
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %63 = load double, ptr %62, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %0, i64 8
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %64, i64 noundef 0) #5
  store double %63, ptr %65, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  store double 0.000000e+00, ptr %15, align 8, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %68 = load double, ptr %67, align 8, !tbaa !5
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %64, i64 noundef 1) #5
  store double %68, ptr %69, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %76

70:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %71 = fadd double %46, -2.200000e-14
  store double %71, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  store double 0.000000e+00, ptr %17, align 8, !tbaa !5
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %73 = load double, ptr %72, align 8, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %0, i64 8
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %74, i64 noundef 0) #5
  store double %73, ptr %75, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  br label %76

76:                                               ; preds = %70, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #2

attributes #0 = { mustprogress 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress 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 = { mustprogress nofree nounwind willreturn memory(write) "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,TailCallElimPass,VectorCombinePass