; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode (juce_audio_basics)

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef) #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef, <4 x float> noundef) #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef, <4 x float> noundef) #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef) #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4juce21FloatVectorOperations8subtractEPfPKfi(ptr noundef %0, ptr noundef %1, i32 noundef %2) #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca <4 x float>, align 16
  %10 = alloca <4 x float>, align 16
  %11 = alloca i32, align 4
  %12 = alloca <4 x float>, align 16
  %13 = alloca <4 x float>, align 16
  %14 = alloca i32, align 4
  %15 = alloca <4 x float>, align 16
  %16 = alloca <4 x float>, align 16
  %17 = alloca i32, align 4
  %18 = alloca <4 x float>, align 16
  %19 = alloca <4 x float>, align 16
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %22 = load i32, ptr %6, align 4, !tbaa !9
  %23 = sdiv i32 %22, 4
  store i32 %23, ptr %7, align 4, !tbaa !9
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %24) #4
  br i1 %25, label %26, label %76

26:                                               ; preds = %3
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %27) #4
  br i1 %28, label %29, label %52

29:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %48, %29
  %31 = load i32, ptr %8, align 4, !tbaa !9
  %32 = load i32, ptr %7, align 4, !tbaa !9
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %51

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %36) #4
  store <4 x float> %37, ptr %9, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %38) #4
  store <4 x float> %39, ptr %10, align 16, !tbaa !11
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = load <4 x float>, ptr %9, align 16, !tbaa !11
  %42 = load <4 x float>, ptr %10, align 16, !tbaa !11
  %43 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323subEDv4_fS2_(<4 x float> noundef %41, <4 x float> noundef %42) #4
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %40, <4 x float> noundef %43) #4
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds float, ptr %44, i64 4
  store ptr %45, ptr %4, align 8, !tbaa !5
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds float, ptr %46, i64 4
  store ptr %47, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #4
  br label %48

48:                                               ; preds = %35
  %49 = load i32, ptr %8, align 4, !tbaa !9
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %8, align 4, !tbaa !9
  br label %30, !llvm.loop !12

51:                                               ; preds = %34
  br label %75

52:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %71, %52
  %54 = load i32, ptr %11, align 4, !tbaa !9
  %55 = load i32, ptr %7, align 4, !tbaa !9
  %56 = icmp slt i32 %54, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %74

58:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %59) #4
  store <4 x float> %60, ptr %12, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #4
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %61) #4
  store <4 x float> %62, ptr %13, align 16, !tbaa !11
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = load <4 x float>, ptr %12, align 16, !tbaa !11
  %65 = load <4 x float>, ptr %13, align 16, !tbaa !11
  %66 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323subEDv4_fS2_(<4 x float> noundef %64, <4 x float> noundef %65) #4
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %63, <4 x float> noundef %66) #4
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds float, ptr %67, i64 4
  store ptr %68, ptr %4, align 8, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds float, ptr %69, i64 4
  store ptr %70, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  br label %71

71:                                               ; preds = %58
  %72 = load i32, ptr %11, align 4, !tbaa !9
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %11, align 4, !tbaa !9
  br label %53, !llvm.loop !14

74:                                               ; preds = %57
  br label %75

75:                                               ; preds = %74, %51
  br label %126

76:                                               ; preds = %3
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %77) #4
  br i1 %78, label %79, label %102

79:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %98, %79
  %81 = load i32, ptr %14, align 4, !tbaa !9
  %82 = load i32, ptr %7, align 4, !tbaa !9
  %83 = icmp slt i32 %81, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %101

85:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #4
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %86) #4
  store <4 x float> %87, ptr %15, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %88) #4
  store <4 x float> %89, ptr %16, align 16, !tbaa !11
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = load <4 x float>, ptr %15, align 16, !tbaa !11
  %92 = load <4 x float>, ptr %16, align 16, !tbaa !11
  %93 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323subEDv4_fS2_(<4 x float> noundef %91, <4 x float> noundef %92) #4
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %90, <4 x float> noundef %93) #4
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds float, ptr %94, i64 4
  store ptr %95, ptr %4, align 8, !tbaa !5
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds float, ptr %96, i64 4
  store ptr %97, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #4
  br label %98

98:                                               ; preds = %85
  %99 = load i32, ptr %14, align 4, !tbaa !9
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %14, align 4, !tbaa !9
  br label %80, !llvm.loop !15

101:                                              ; preds = %84
  br label %125

102:                                              ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %103

103:                                              ; preds = %121, %102
  %104 = load i32, ptr %17, align 4, !tbaa !9
  %105 = load i32, ptr %7, align 4, !tbaa !9
  %106 = icmp slt i32 %104, %105
  br i1 %106, label %108, label %107

107:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %124

108:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #4
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %109) #4
  store <4 x float> %110, ptr %18, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #4
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %111) #4
  store <4 x float> %112, ptr %19, align 16, !tbaa !11
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = load <4 x float>, ptr %18, align 16, !tbaa !11
  %115 = load <4 x float>, ptr %19, align 16, !tbaa !11
  %116 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323subEDv4_fS2_(<4 x float> noundef %114, <4 x float> noundef %115) #4
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %113, <4 x float> noundef %116) #4
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds float, ptr %117, i64 4
  store ptr %118, ptr %4, align 8, !tbaa !5
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds float, ptr %119, i64 4
  store ptr %120, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  br label %121

121:                                              ; preds = %108
  %122 = load i32, ptr %17, align 4, !tbaa !9
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %17, align 4, !tbaa !9
  br label %103, !llvm.loop !16

124:                                              ; preds = %107
  br label %125

125:                                              ; preds = %124, %101
  br label %126

126:                                              ; preds = %125, %75
  %127 = load i32, ptr %6, align 4, !tbaa !9
  %128 = and i32 %127, 3
  store i32 %128, ptr %6, align 4, !tbaa !9
  %129 = load i32, ptr %6, align 4, !tbaa !9
  %130 = icmp eq i32 %129, 0
  br i1 %130, label %131, label %132

131:                                              ; preds = %126
  store i32 1, ptr %20, align 4
  br label %133

132:                                              ; preds = %126
  store i32 0, ptr %20, align 4
  br label %133

133:                                              ; preds = %132, %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %134 = load i32, ptr %20, align 4
  switch i32 %134, label %157 [
    i32 0, label %135
    i32 1, label %156
  ]

135:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %136

136:                                              ; preds = %153, %135
  %137 = load i32, ptr %21, align 4, !tbaa !9
  %138 = load i32, ptr %6, align 4, !tbaa !9
  %139 = icmp slt i32 %137, %138
  br i1 %139, label %141, label %140

140:                                              ; preds = %136
  store i32 14, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %156

141:                                              ; preds = %136
  %142 = load ptr, ptr %5, align 8, !tbaa !5
  %143 = load i32, ptr %21, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds float, ptr %142, i64 %144
  %146 = load float, ptr %145, align 4, !tbaa !17
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = load i32, ptr %21, align 4, !tbaa !9
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds float, ptr %147, i64 %149
  %151 = load float, ptr %150, align 4, !tbaa !17
  %152 = fsub float %151, %146
  store float %152, ptr %150, align 4, !tbaa !17
  br label %153

153:                                              ; preds = %141
  %154 = load i32, ptr %21, align 4, !tbaa !9
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %21, align 4, !tbaa !9
  br label %136, !llvm.loop !19

156:                                              ; preds = %140, %133
  ret void

157:                                              ; preds = %133
  unreachable
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323subEDv4_fS2_(<4 x float> noundef, <4 x float> noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 nounwind uwtable "min-legal-vector-width"="128" "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = distinct !{!19, !13}


; 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: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef) local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef, <4 x float> noundef) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef, <4 x float> noundef) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4juce21FloatVectorOperations8subtractEPfPKfi(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #2 align 2 {
  %4 = sdiv i32 %2, 4
  %5 = tail call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %0) #3
  %6 = tail call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %1) #3
  %7 = icmp sgt i32 %2, 3
  br i1 %5, label %8, label %21

8:                                                ; preds = %3
  br i1 %6, label %.preheader64, label %.preheader66

.preheader66:                                     ; preds = %8
  br i1 %7, label %.lr.ph85, label %.loopexit65

.preheader64:                                     ; preds = %8
  br i1 %7, label %.lr.ph91, label %.loopexit65

.lr.ph91:                                         ; preds = %.preheader64, %.lr.ph91
  %.05490 = phi ptr [ %12, %.lr.ph91 ], [ %0, %.preheader64 ]
  %.05589 = phi ptr [ %13, %.lr.ph91 ], [ %1, %.preheader64 ]
  %.06188 = phi i32 [ %14, %.lr.ph91 ], [ 0, %.preheader64 ]
  %9 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %.05490) #3
  %10 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %.05589) #3
  %11 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323subEDv4_fS2_(<4 x float> noundef %9, <4 x float> noundef %10) #3
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %.05490, <4 x float> noundef %11) #3
  %12 = getelementptr inbounds i8, ptr %.05490, i64 16
  %13 = getelementptr inbounds i8, ptr %.05589, i64 16
  %14 = add nuw nsw i32 %.06188, 1
  %exitcond107.not = icmp eq i32 %14, %4
  br i1 %exitcond107.not, label %.loopexit65, label %.lr.ph91, !llvm.loop !5

.lr.ph85:                                         ; preds = %.preheader66, %.lr.ph85
  %.184 = phi ptr [ %18, %.lr.ph85 ], [ %0, %.preheader66 ]
  %.15683 = phi ptr [ %19, %.lr.ph85 ], [ %1, %.preheader66 ]
  %.06382 = phi i32 [ %20, %.lr.ph85 ], [ 0, %.preheader66 ]
  %15 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %.184) #3
  %16 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %.15683) #3
  %17 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323subEDv4_fS2_(<4 x float> noundef %15, <4 x float> noundef %16) #3
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %.184, <4 x float> noundef %17) #3
  %18 = getelementptr inbounds i8, ptr %.184, i64 16
  %19 = getelementptr inbounds i8, ptr %.15683, i64 16
  %20 = add nuw nsw i32 %.06382, 1
  %exitcond106.not = icmp eq i32 %20, %4
  br i1 %exitcond106.not, label %.loopexit65, label %.lr.ph85, !llvm.loop !7

21:                                               ; preds = %3
  br i1 %6, label %.preheader68, label %.preheader70

.preheader70:                                     ; preds = %21
  br i1 %7, label %.lr.ph, label %.loopexit65

.preheader68:                                     ; preds = %21
  br i1 %7, label %.lr.ph79, label %.loopexit65

.lr.ph79:                                         ; preds = %.preheader68, %.lr.ph79
  %.278 = phi ptr [ %25, %.lr.ph79 ], [ %0, %.preheader68 ]
  %.25777 = phi ptr [ %26, %.lr.ph79 ], [ %1, %.preheader68 ]
  %.06276 = phi i32 [ %27, %.lr.ph79 ], [ 0, %.preheader68 ]
  %22 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %.278) #3
  %23 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %.25777) #3
  %24 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323subEDv4_fS2_(<4 x float> noundef %22, <4 x float> noundef %23) #3
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %.278, <4 x float> noundef %24) #3
  %25 = getelementptr inbounds i8, ptr %.278, i64 16
  %26 = getelementptr inbounds i8, ptr %.25777, i64 16
  %27 = add nuw nsw i32 %.06276, 1
  %exitcond105.not = icmp eq i32 %27, %4
  br i1 %exitcond105.not, label %.loopexit65, label %.lr.ph79, !llvm.loop !8

.lr.ph:                                           ; preds = %.preheader70, %.lr.ph
  %.374 = phi ptr [ %31, %.lr.ph ], [ %0, %.preheader70 ]
  %.35873 = phi ptr [ %32, %.lr.ph ], [ %1, %.preheader70 ]
  %.06072 = phi i32 [ %33, %.lr.ph ], [ 0, %.preheader70 ]
  %28 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %.374) #3
  %29 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %.35873) #3
  %30 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323subEDv4_fS2_(<4 x float> noundef %28, <4 x float> noundef %29) #3
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %.374, <4 x float> noundef %30) #3
  %31 = getelementptr inbounds i8, ptr %.374, i64 16
  %32 = getelementptr inbounds i8, ptr %.35873, i64 16
  %33 = add nuw nsw i32 %.06072, 1
  %exitcond.not = icmp eq i32 %33, %4
  br i1 %exitcond.not, label %.loopexit65, label %.lr.ph, !llvm.loop !9

.loopexit65:                                      ; preds = %.lr.ph, %.lr.ph79, %.lr.ph85, %.lr.ph91, %.preheader70, %.preheader68, %.preheader66, %.preheader64
  %.459 = phi ptr [ %1, %.preheader64 ], [ %1, %.preheader66 ], [ %1, %.preheader68 ], [ %1, %.preheader70 ], [ %13, %.lr.ph91 ], [ %19, %.lr.ph85 ], [ %26, %.lr.ph79 ], [ %32, %.lr.ph ]
  %.4 = phi ptr [ %0, %.preheader64 ], [ %0, %.preheader66 ], [ %0, %.preheader68 ], [ %0, %.preheader70 ], [ %12, %.lr.ph91 ], [ %18, %.lr.ph85 ], [ %25, %.lr.ph79 ], [ %31, %.lr.ph ]
  %34 = and i32 %2, 3
  %.not = icmp eq i32 %34, 0
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.loopexit65
  %35 = load float, ptr %.459, align 4, !tbaa !10
  %36 = load float, ptr %.4, align 4, !tbaa !10
  %37 = fsub float %36, %35
  store float %37, ptr %.4, align 4, !tbaa !10
  %exitcond109.not = icmp eq i32 %34, 1
  br i1 %exitcond109.not, label %.loopexit, label %.preheader.1, !llvm.loop !14

.preheader.1:                                     ; preds = %.preheader
  %38 = getelementptr inbounds i8, ptr %.459, i64 4
  %39 = load float, ptr %38, align 4, !tbaa !10
  %40 = getelementptr inbounds i8, ptr %.4, i64 4
  %41 = load float, ptr %40, align 4, !tbaa !10
  %42 = fsub float %41, %39
  store float %42, ptr %40, align 4, !tbaa !10
  %exitcond109.not.1 = icmp eq i32 %34, 2
  br i1 %exitcond109.not.1, label %.loopexit, label %.preheader.2, !llvm.loop !14

.preheader.2:                                     ; preds = %.preheader.1
  %43 = getelementptr inbounds i8, ptr %.459, i64 8
  %44 = load float, ptr %43, align 4, !tbaa !10
  %45 = getelementptr inbounds i8, ptr %.4, i64 8
  %46 = load float, ptr %45, align 4, !tbaa !10
  %47 = fsub float %46, %44
  store float %47, ptr %45, align 4, !tbaa !10
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader, %.preheader.1, %.preheader.2, %.loopexit65
  ret void
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323subEDv4_fS2_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #1 align 2

attributes #0 = { 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 #1 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 = { mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = distinct !{!9, !6}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = distinct !{!14, !6}


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