; 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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

23:                                               ; preds = %4
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %24) #5
  br i1 %25, label %26, label %49

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

27:                                               ; preds = %45, %26
  %28 = load i32, ptr %11, align 4, !tbaa !11
  %29 = load i32, ptr %9, align 4, !tbaa !11
  %30 = icmp slt i32 %28, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %48

32:                                               ; preds = %27
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = load <4 x float>, ptr %10, align 16, !tbaa !13
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = invoke noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %35)
          to label %37 unwind label %155

37:                                               ; preds = %32
  %38 = invoke noundef <4 x float> @_ZL15_mm_cvtepi32_psDv2_x(<2 x i64> noundef %36)
          to label %39 unwind label %155

39:                                               ; preds = %37
  %40 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %34, <4 x float> noundef %38) #5
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %33, <4 x float> noundef %40) #5
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds float, ptr %41, i64 4
  store ptr %42, ptr %5, align 8, !tbaa !5
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds i32, ptr %43, i64 4
  store ptr %44, ptr %6, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %39
  %46 = load i32, ptr %11, align 4, !tbaa !11
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %11, align 4, !tbaa !11
  br label %27, !llvm.loop !14

48:                                               ; preds = %31
  br label %72

49:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %50

50:                                               ; preds = %68, %49
  %51 = load i32, ptr %12, align 4, !tbaa !11
  %52 = load i32, ptr %9, align 4, !tbaa !11
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %71

55:                                               ; preds = %50
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = load <4 x float>, ptr %10, align 16, !tbaa !13
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = invoke noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %58)
          to label %60 unwind label %155

60:                                               ; preds = %55
  %61 = invoke noundef <4 x float> @_ZL15_mm_cvtepi32_psDv2_x(<2 x i64> noundef %59)
          to label %62 unwind label %155

62:                                               ; preds = %60
  %63 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %57, <4 x float> noundef %61) #5
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %56, <4 x float> noundef %63) #5
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds float, ptr %64, i64 4
  store ptr %65, ptr %5, align 8, !tbaa !5
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds i32, ptr %66, i64 4
  store ptr %67, ptr %6, align 8, !tbaa !5
  br label %68

68:                                               ; preds = %62
  %69 = load i32, ptr %12, align 4, !tbaa !11
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %12, align 4, !tbaa !11
  br label %50, !llvm.loop !16

71:                                               ; preds = %54
  br label %72

72:                                               ; preds = %71, %48
  br label %123

73:                                               ; preds = %4
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %74) #5
  br i1 %75, label %76, label %99

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %77

77:                                               ; preds = %95, %76
  %78 = load i32, ptr %13, align 4, !tbaa !11
  %79 = load i32, ptr %9, align 4, !tbaa !11
  %80 = icmp slt i32 %78, %79
  br i1 %80, label %82, label %81

81:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %98

82:                                               ; preds = %77
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = load <4 x float>, ptr %10, align 16, !tbaa !13
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = invoke noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %85)
          to label %87 unwind label %155

87:                                               ; preds = %82
  %88 = invoke noundef <4 x float> @_ZL15_mm_cvtepi32_psDv2_x(<2 x i64> noundef %86)
          to label %89 unwind label %155

89:                                               ; preds = %87
  %90 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %84, <4 x float> noundef %88) #5
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %83, <4 x float> noundef %90) #5
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds float, ptr %91, i64 4
  store ptr %92, ptr %5, align 8, !tbaa !5
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds i32, ptr %93, i64 4
  store ptr %94, ptr %6, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %89
  %96 = load i32, ptr %13, align 4, !tbaa !11
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %13, align 4, !tbaa !11
  br label %77, !llvm.loop !17

98:                                               ; preds = %81
  br label %122

99:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !11
  br label %100

100:                                              ; preds = %118, %99
  %101 = load i32, ptr %14, align 4, !tbaa !11
  %102 = load i32, ptr %9, align 4, !tbaa !11
  %103 = icmp slt i32 %101, %102
  br i1 %103, label %105, label %104

104:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %121

105:                                              ; preds = %100
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = load <4 x float>, ptr %10, align 16, !tbaa !13
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = invoke noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %108)
          to label %110 unwind label %155

110:                                              ; preds = %105
  %111 = invoke noundef <4 x float> @_ZL15_mm_cvtepi32_psDv2_x(<2 x i64> noundef %109)
          to label %112 unwind label %155

112:                                              ; preds = %110
  %113 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %107, <4 x float> noundef %111) #5
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %106, <4 x float> noundef %113) #5
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds float, ptr %114, i64 4
  store ptr %115, ptr %5, align 8, !tbaa !5
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds i32, ptr %116, i64 4
  store ptr %117, ptr %6, align 8, !tbaa !5
  br label %118

118:                                              ; preds = %112
  %119 = load i32, ptr %14, align 4, !tbaa !11
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %14, align 4, !tbaa !11
  br label %100, !llvm.loop !18

121:                                              ; preds = %104
  br label %122

122:                                              ; preds = %121, %98
  br label %123

123:                                              ; preds = %122, %72
  %124 = load i32, ptr %8, align 4, !tbaa !11
  %125 = and i32 %124, 3
  store i32 %125, ptr %8, align 4, !tbaa !11
  %126 = load i32, ptr %8, align 4, !tbaa !11
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %128, label %129

128:                                              ; preds = %123
  store i32 1, ptr %15, align 4
  br label %130

129:                                              ; preds = %123
  store i32 0, ptr %15, align 4
  br label %130

130:                                              ; preds = %129, %128
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  %131 = load i32, ptr %15, align 4
  switch i32 %131, label %158 [
    i32 0, label %132
    i32 1, label %154
  ]

132:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !11
  br label %133

133:                                              ; preds = %151, %132
  %134 = load i32, ptr %16, align 4, !tbaa !11
  %135 = load i32, ptr %8, align 4, !tbaa !11
  %136 = icmp slt i32 %134, %135
  br i1 %136, label %138, label %137

137:                                              ; preds = %133
  store i32 14, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %154

138:                                              ; preds = %133
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = load i32, ptr %16, align 4, !tbaa !11
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds i32, ptr %139, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !11
  %144 = sitofp i32 %143 to float
  %145 = load float, ptr %7, align 4, !tbaa !9
  %146 = fmul float %144, %145
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = load i32, ptr %16, align 4, !tbaa !11
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds float, ptr %147, i64 %149
  store float %146, ptr %150, align 4, !tbaa !9
  br label %151

151:                                              ; preds = %138
  %152 = load i32, ptr %16, align 4, !tbaa !11
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %16, align 4, !tbaa !11
  br label %133, !llvm.loop !19

154:                                              ; preds = %137, %130
  ret void

155:                                              ; preds = %110, %105, %87, %82, %60, %55, %37, %32
  %156 = landingpad { ptr, i32 }
          catch ptr null
  %157 = extractvalue { ptr, i32 } %156, 0
  call void @__clang_call_terminate(ptr %157) #6
  unreachable

158:                                              ; preds = %130
  unreachable
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL15_mm_cvtepi32_psDv2_x(<2 x i64> noundef) #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef) #1

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 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 = { noinline noreturn nounwind uwtable "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 = { nounwind }
attributes #6 = { noreturn 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 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}


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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4juce21FloatVectorOperations19convertFixedToFloatEPfPKifi(ptr noundef %0, ptr noundef %1, float noundef %2, i32 noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = sdiv i32 %3, 4
  %6 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325load1Ef(float noundef %2) #3
  %7 = tail call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %0) #3
  %8 = tail call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %1) #3
  %9 = icmp sgt i32 %3, 3
  br i1 %7, label %10, label %23

10:                                               ; preds = %4
  br i1 %8, label %.preheader58, label %.preheader60

.preheader60:                                     ; preds = %10
  br i1 %9, label %.lr.ph79, label %.loopexit59

.preheader58:                                     ; preds = %10
  br i1 %9, label %.lr.ph85, label %.loopexit59

.lr.ph85:                                         ; preds = %.preheader58, %.lr.ph85
  %.05184 = phi i32 [ %16, %.lr.ph85 ], [ 0, %.preheader58 ]
  %.05283 = phi ptr [ %14, %.lr.ph85 ], [ %0, %.preheader58 ]
  %.05382 = phi ptr [ %15, %.lr.ph85 ], [ %1, %.preheader58 ]
  %11 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %.05382)
  %12 = tail call noundef <4 x float> @_ZL15_mm_cvtepi32_psDv2_x(<2 x i64> noundef %11)
  %13 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %6, <4 x float> noundef %12) #3
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %.05283, <4 x float> noundef %13) #3
  %14 = getelementptr inbounds i8, ptr %.05283, i64 16
  %15 = getelementptr inbounds i8, ptr %.05382, i64 16
  %16 = add nuw nsw i32 %.05184, 1
  %exitcond101.not = icmp eq i32 %16, %5
  br i1 %exitcond101.not, label %.loopexit59, label %.lr.ph85, !llvm.loop !5

.lr.ph79:                                         ; preds = %.preheader60, %.lr.ph79
  %.05078 = phi i32 [ %22, %.lr.ph79 ], [ 0, %.preheader60 ]
  %.177 = phi ptr [ %20, %.lr.ph79 ], [ %0, %.preheader60 ]
  %.15476 = phi ptr [ %21, %.lr.ph79 ], [ %1, %.preheader60 ]
  %17 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %.15476)
  %18 = tail call noundef <4 x float> @_ZL15_mm_cvtepi32_psDv2_x(<2 x i64> noundef %17)
  %19 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %6, <4 x float> noundef %18) #3
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %.177, <4 x float> noundef %19) #3
  %20 = getelementptr inbounds i8, ptr %.177, i64 16
  %21 = getelementptr inbounds i8, ptr %.15476, i64 16
  %22 = add nuw nsw i32 %.05078, 1
  %exitcond100.not = icmp eq i32 %22, %5
  br i1 %exitcond100.not, label %.loopexit59, label %.lr.ph79, !llvm.loop !7

23:                                               ; preds = %4
  br i1 %8, label %.preheader62, label %.preheader64

.preheader64:                                     ; preds = %23
  br i1 %9, label %.lr.ph, label %.loopexit59

.preheader62:                                     ; preds = %23
  br i1 %9, label %.lr.ph73, label %.loopexit59

.lr.ph73:                                         ; preds = %.preheader62, %.lr.ph73
  %.04972 = phi i32 [ %29, %.lr.ph73 ], [ 0, %.preheader62 ]
  %.271 = phi ptr [ %27, %.lr.ph73 ], [ %0, %.preheader62 ]
  %.25570 = phi ptr [ %28, %.lr.ph73 ], [ %1, %.preheader62 ]
  %24 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %.25570)
  %25 = tail call noundef <4 x float> @_ZL15_mm_cvtepi32_psDv2_x(<2 x i64> noundef %24)
  %26 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %6, <4 x float> noundef %25) #3
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %.271, <4 x float> noundef %26) #3
  %27 = getelementptr inbounds i8, ptr %.271, i64 16
  %28 = getelementptr inbounds i8, ptr %.25570, i64 16
  %29 = add nuw nsw i32 %.04972, 1
  %exitcond99.not = icmp eq i32 %29, %5
  br i1 %exitcond99.not, label %.loopexit59, label %.lr.ph73, !llvm.loop !8

.lr.ph:                                           ; preds = %.preheader64, %.lr.ph
  %.04868 = phi i32 [ %35, %.lr.ph ], [ 0, %.preheader64 ]
  %.367 = phi ptr [ %33, %.lr.ph ], [ %0, %.preheader64 ]
  %.35666 = phi ptr [ %34, %.lr.ph ], [ %1, %.preheader64 ]
  %30 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %.35666)
  %31 = tail call noundef <4 x float> @_ZL15_mm_cvtepi32_psDv2_x(<2 x i64> noundef %30)
  %32 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %6, <4 x float> noundef %31) #3
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %.367, <4 x float> noundef %32) #3
  %33 = getelementptr inbounds i8, ptr %.367, i64 16
  %34 = getelementptr inbounds i8, ptr %.35666, i64 16
  %35 = add nuw nsw i32 %.04868, 1
  %exitcond.not = icmp eq i32 %35, %5
  br i1 %exitcond.not, label %.loopexit59, label %.lr.ph, !llvm.loop !9

.loopexit59:                                      ; preds = %.lr.ph, %.lr.ph73, %.lr.ph79, %.lr.ph85, %.preheader64, %.preheader62, %.preheader60, %.preheader58
  %.457 = phi ptr [ %1, %.preheader58 ], [ %1, %.preheader60 ], [ %1, %.preheader62 ], [ %1, %.preheader64 ], [ %15, %.lr.ph85 ], [ %21, %.lr.ph79 ], [ %28, %.lr.ph73 ], [ %34, %.lr.ph ]
  %.4 = phi ptr [ %0, %.preheader58 ], [ %0, %.preheader60 ], [ %0, %.preheader62 ], [ %0, %.preheader64 ], [ %14, %.lr.ph85 ], [ %20, %.lr.ph79 ], [ %27, %.lr.ph73 ], [ %33, %.lr.ph ]
  %36 = and i32 %3, 3
  %.not = icmp eq i32 %36, 0
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.loopexit59
  %37 = load i32, ptr %.457, align 4, !tbaa !10
  %38 = sitofp i32 %37 to float
  %39 = fmul float %38, %2
  store float %39, ptr %.4, align 4, !tbaa !14
  %exitcond103.not = icmp eq i32 %36, 1
  br i1 %exitcond103.not, label %.loopexit, label %.preheader.1, !llvm.loop !16

.preheader.1:                                     ; preds = %.preheader
  %40 = getelementptr inbounds i8, ptr %.457, i64 4
  %41 = load i32, ptr %40, align 4, !tbaa !10
  %42 = sitofp i32 %41 to float
  %43 = fmul float %42, %2
  %44 = getelementptr inbounds i8, ptr %.4, i64 4
  store float %43, ptr %44, align 4, !tbaa !14
  %exitcond103.not.1 = icmp eq i32 %36, 2
  br i1 %exitcond103.not.1, label %.loopexit, label %.preheader.2, !llvm.loop !16

.preheader.2:                                     ; preds = %.preheader.1
  %45 = getelementptr inbounds i8, ptr %.457, i64 8
  %46 = load i32, ptr %45, align 4, !tbaa !10
  %47 = sitofp i32 %46 to float
  %48 = fmul float %47, %2
  %49 = getelementptr inbounds i8, ptr %.4, i64 8
  store float %48, ptr %49, align 4, !tbaa !14
  br label %.loopexit

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL15_mm_cvtepi32_psDv2_x(<2 x i64> noundef) local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef) local_unnamed_addr #0

attributes #0 = { 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 #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 = { 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 = !{!"int", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !12, i64 0}
!16 = distinct !{!16, !6}


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