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

%"union.juce::FloatVectorHelpers::signMask64" = type { double }

; 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 noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645load1Ed(double noundef) #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4juce21FloatVectorOperations3absEPdPKdi(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 %"union.juce::FloatVectorHelpers::signMask64", align 8
  %8 = alloca i32, align 4
  %9 = alloca <2 x double>, align 16
  %10 = alloca i32, align 4
  %11 = alloca <2 x double>, align 16
  %12 = alloca i32, align 4
  %13 = alloca <2 x double>, align 16
  %14 = alloca i32, align 4
  %15 = alloca <2 x double>, align 16
  %16 = alloca i32, align 4
  %17 = alloca <2 x double>, align 16
  %18 = alloca i32, align 4
  %19 = 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 8, ptr %7) #6
  store i64 9223372036854775807, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = sdiv i32 %20, 2
  store i32 %21, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  %22 = load double, ptr %7, align 8, !tbaa !11
  %23 = call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645load1Ed(double noundef %22) #6
  store <2 x double> %23, ptr %9, align 16, !tbaa !11
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %24) #6
  br i1 %25, label %26, label %72

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

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

30:                                               ; preds = %46, %29
  %31 = load i32, ptr %10, align 4, !tbaa !9
  %32 = load i32, ptr %8, 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 %10) #6
  br label %49

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

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

49:                                               ; preds = %34
  br label %71

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

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

55:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %70

56:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645loadUEPKd(ptr noundef %57) #6
  store <2 x double> %58, ptr %13, align 16, !tbaa !11
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = load <2 x double>, ptr %13, align 16, !tbaa !11
  %61 = load <2 x double>, ptr %9, align 16, !tbaa !11
  %62 = call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps647bit_andEDv2_dS2_(<2 x double> noundef %60, <2 x double> noundef %61) #6
  call void @_ZN4juce18FloatVectorHelpers10BasicOps646storeAEPdDv2_d(ptr noundef %59, <2 x double> noundef %62) #6
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds double, ptr %63, i64 2
  store ptr %64, ptr %4, align 8, !tbaa !5
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds double, ptr %65, i64 2
  store ptr %66, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  br label %67

67:                                               ; preds = %56
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %12, align 4, !tbaa !9
  br label %51, !llvm.loop !14

70:                                               ; preds = %55
  br label %71

71:                                               ; preds = %70, %49
  br label %118

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

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

76:                                               ; preds = %92, %75
  %77 = load i32, ptr %14, align 4, !tbaa !9
  %78 = load i32, ptr %8, align 4, !tbaa !9
  %79 = icmp slt i32 %77, %78
  br i1 %79, label %81, label %80

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

81:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645loadAEPKd(ptr noundef %82) #6
  store <2 x double> %83, ptr %15, align 16, !tbaa !11
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = load <2 x double>, ptr %15, align 16, !tbaa !11
  %86 = load <2 x double>, ptr %9, align 16, !tbaa !11
  %87 = call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps647bit_andEDv2_dS2_(<2 x double> noundef %85, <2 x double> noundef %86) #6
  call void @_ZN4juce18FloatVectorHelpers10BasicOps646storeUEPdDv2_d(ptr noundef %84, <2 x double> noundef %87) #6
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds double, ptr %88, i64 2
  store ptr %89, ptr %4, align 8, !tbaa !5
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds double, ptr %90, i64 2
  store ptr %91, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %92

92:                                               ; preds = %81
  %93 = load i32, ptr %14, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %14, align 4, !tbaa !9
  br label %76, !llvm.loop !15

95:                                               ; preds = %80
  br label %117

96:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %113, %96
  %98 = load i32, ptr %16, align 4, !tbaa !9
  %99 = load i32, ptr %8, align 4, !tbaa !9
  %100 = icmp slt i32 %98, %99
  br i1 %100, label %102, label %101

101:                                              ; preds = %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %116

102:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645loadUEPKd(ptr noundef %103) #6
  store <2 x double> %104, ptr %17, align 16, !tbaa !11
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = load <2 x double>, ptr %17, align 16, !tbaa !11
  %107 = load <2 x double>, ptr %9, align 16, !tbaa !11
  %108 = call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps647bit_andEDv2_dS2_(<2 x double> noundef %106, <2 x double> noundef %107) #6
  call void @_ZN4juce18FloatVectorHelpers10BasicOps646storeUEPdDv2_d(ptr noundef %105, <2 x double> noundef %108) #6
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds double, ptr %109, i64 2
  store ptr %110, ptr %4, align 8, !tbaa !5
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds double, ptr %111, i64 2
  store ptr %112, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br label %113

113:                                              ; preds = %102
  %114 = load i32, ptr %16, align 4, !tbaa !9
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %16, align 4, !tbaa !9
  br label %97, !llvm.loop !16

116:                                              ; preds = %101
  br label %117

117:                                              ; preds = %116, %95
  br label %118

118:                                              ; preds = %117, %71
  %119 = load i32, ptr %6, align 4, !tbaa !9
  %120 = and i32 %119, 1
  store i32 %120, ptr %6, align 4, !tbaa !9
  %121 = load i32, ptr %6, align 4, !tbaa !9
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %118
  store i32 1, ptr %18, align 4
  br label %125

124:                                              ; preds = %118
  store i32 0, ptr %18, align 4
  br label %125

125:                                              ; preds = %124, %123
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %126 = load i32, ptr %18, align 4
  switch i32 %126, label %148 [
    i32 0, label %127
  ]

127:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %144, %127
  %129 = load i32, ptr %19, align 4, !tbaa !9
  %130 = load i32, ptr %6, align 4, !tbaa !9
  %131 = icmp slt i32 %129, %130
  br i1 %131, label %133, label %132

132:                                              ; preds = %128
  store i32 14, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %147

133:                                              ; preds = %128
  %134 = load ptr, ptr %5, align 8, !tbaa !5
  %135 = load i32, ptr %19, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds double, ptr %134, i64 %136
  %138 = load double, ptr %137, align 8, !tbaa !17
  %139 = call double @llvm.fabs.f64(double %138)
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = load i32, ptr %19, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds double, ptr %140, i64 %142
  store double %139, ptr %143, align 8, !tbaa !17
  br label %144

144:                                              ; preds = %133
  %145 = load i32, ptr %19, align 4, !tbaa !9
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %19, align 4, !tbaa !9
  br label %128, !llvm.loop !19

147:                                              ; preds = %132
  call void @_ZN4juce12ignoreUnusedINS_18FloatVectorHelpers10signMask64EEEvRKT_(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  store i32 0, ptr %18, align 4
  br label %148

148:                                              ; preds = %147, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  %149 = load i32, ptr %18, align 4
  switch i32 %149, label %151 [
    i32 0, label %150
    i32 1, label %150
  ]

150:                                              ; preds = %148, %148
  ret void

151:                                              ; preds = %148
  unreachable
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce12ignoreUnusedINS_18FloatVectorHelpers10signMask64EEEvRKT_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #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 = !{!"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 = !{!"double", !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"

%"union.juce::FloatVectorHelpers::signMask64" = type { double }

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

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

; Function Attrs: 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 noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645load1Ed(double noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645loadAEPKd(ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645loadUEPKd(ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4juce21FloatVectorOperations3absEPdPKdi(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #3 align 2 {
  %4 = alloca %"union.juce::FloatVectorHelpers::signMask64", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  store i64 9223372036854775807, ptr %4, align 8, !tbaa !5
  %5 = sdiv i32 %2, 2
  %6 = tail call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645load1Ed(double noundef 0x7FFFFFFFFFFFFFFF) #6
  %7 = tail call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %0) #6
  %8 = tail call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %1) #6
  %9 = icmp sgt i32 %2, 1
  br i1 %7, label %10, label %21

10:                                               ; preds = %3
  br i1 %8, label %.preheader60, label %.preheader61

.preheader61:                                     ; preds = %10
  br i1 %9, label %.lr.ph80, label %.loopexit

.preheader60:                                     ; preds = %10
  br i1 %9, label %.lr.ph86, label %.loopexit

.lr.ph86:                                         ; preds = %.preheader60, %.lr.ph86
  %.05085 = phi ptr [ %13, %.lr.ph86 ], [ %0, %.preheader60 ]
  %.05284 = phi ptr [ %14, %.lr.ph86 ], [ %1, %.preheader60 ]
  %.05983 = phi i32 [ %15, %.lr.ph86 ], [ 0, %.preheader60 ]
  %11 = tail call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645loadAEPKd(ptr noundef %.05284) #6
  %12 = tail call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps647bit_andEDv2_dS2_(<2 x double> noundef %11, <2 x double> noundef %6) #6
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps646storeAEPdDv2_d(ptr noundef %.05085, <2 x double> noundef %12) #6
  %13 = getelementptr inbounds i8, ptr %.05085, i64 16
  %14 = getelementptr inbounds i8, ptr %.05284, i64 16
  %15 = add nuw nsw i32 %.05983, 1
  %exitcond101.not = icmp eq i32 %15, %5
  br i1 %exitcond101.not, label %.loopexit, label %.lr.ph86, !llvm.loop !8

.lr.ph80:                                         ; preds = %.preheader61, %.lr.ph80
  %.179 = phi ptr [ %18, %.lr.ph80 ], [ %0, %.preheader61 ]
  %.15378 = phi ptr [ %19, %.lr.ph80 ], [ %1, %.preheader61 ]
  %.05877 = phi i32 [ %20, %.lr.ph80 ], [ 0, %.preheader61 ]
  %16 = tail call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645loadUEPKd(ptr noundef %.15378) #6
  %17 = tail call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps647bit_andEDv2_dS2_(<2 x double> noundef %16, <2 x double> noundef %6) #6
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps646storeAEPdDv2_d(ptr noundef %.179, <2 x double> noundef %17) #6
  %18 = getelementptr inbounds i8, ptr %.179, i64 16
  %19 = getelementptr inbounds i8, ptr %.15378, i64 16
  %20 = add nuw nsw i32 %.05877, 1
  %exitcond100.not = icmp eq i32 %20, %5
  br i1 %exitcond100.not, label %.loopexit, label %.lr.ph80, !llvm.loop !10

21:                                               ; preds = %3
  br i1 %8, label %.preheader63, label %.preheader65

.preheader65:                                     ; preds = %21
  br i1 %9, label %.lr.ph, label %.loopexit

.preheader63:                                     ; preds = %21
  br i1 %9, label %.lr.ph74, label %.loopexit

.lr.ph74:                                         ; preds = %.preheader63, %.lr.ph74
  %.273 = phi ptr [ %24, %.lr.ph74 ], [ %0, %.preheader63 ]
  %.25472 = phi ptr [ %25, %.lr.ph74 ], [ %1, %.preheader63 ]
  %.05771 = phi i32 [ %26, %.lr.ph74 ], [ 0, %.preheader63 ]
  %22 = tail call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645loadAEPKd(ptr noundef %.25472) #6
  %23 = tail call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps647bit_andEDv2_dS2_(<2 x double> noundef %22, <2 x double> noundef %6) #6
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps646storeUEPdDv2_d(ptr noundef %.273, <2 x double> noundef %23) #6
  %24 = getelementptr inbounds i8, ptr %.273, i64 16
  %25 = getelementptr inbounds i8, ptr %.25472, i64 16
  %26 = add nuw nsw i32 %.05771, 1
  %exitcond99.not = icmp eq i32 %26, %5
  br i1 %exitcond99.not, label %.loopexit, label %.lr.ph74, !llvm.loop !11

.lr.ph:                                           ; preds = %.preheader65, %.lr.ph
  %.369 = phi ptr [ %29, %.lr.ph ], [ %0, %.preheader65 ]
  %.05168 = phi i32 [ %31, %.lr.ph ], [ 0, %.preheader65 ]
  %.35567 = phi ptr [ %30, %.lr.ph ], [ %1, %.preheader65 ]
  %27 = tail call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps645loadUEPKd(ptr noundef %.35567) #6
  %28 = tail call noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps647bit_andEDv2_dS2_(<2 x double> noundef %27, <2 x double> noundef %6) #6
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps646storeUEPdDv2_d(ptr noundef %.369, <2 x double> noundef %28) #6
  %29 = getelementptr inbounds i8, ptr %.369, i64 16
  %30 = getelementptr inbounds i8, ptr %.35567, i64 16
  %31 = add nuw nsw i32 %.05168, 1
  %exitcond.not = icmp eq i32 %31, %5
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !12

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph74, %.lr.ph80, %.lr.ph86, %.preheader65, %.preheader63, %.preheader61, %.preheader60
  %.456 = phi ptr [ %1, %.preheader60 ], [ %1, %.preheader61 ], [ %1, %.preheader63 ], [ %1, %.preheader65 ], [ %14, %.lr.ph86 ], [ %19, %.lr.ph80 ], [ %25, %.lr.ph74 ], [ %30, %.lr.ph ]
  %.4 = phi ptr [ %0, %.preheader60 ], [ %0, %.preheader61 ], [ %0, %.preheader63 ], [ %0, %.preheader65 ], [ %13, %.lr.ph86 ], [ %18, %.lr.ph80 ], [ %24, %.lr.ph74 ], [ %29, %.lr.ph ]
  %32 = and i32 %2, 1
  %.not = icmp eq i32 %32, 0
  br i1 %.not, label %35, label %.preheader.split

.preheader.split:                                 ; preds = %.loopexit
  %33 = load double, ptr %.456, align 8, !tbaa !13
  %34 = tail call double @llvm.fabs.f64(double %33)
  store double %34, ptr %.4, align 8, !tbaa !13
  call void @_ZN4juce12ignoreUnusedINS_18FloatVectorHelpers10signMask64EEEvRKT_(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br label %35

35:                                               ; preds = %.loopexit, %.preheader.split
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  ret void
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <2 x double> @_ZN4juce18FloatVectorHelpers10BasicOps647bit_andEDv2_dS2_(<2 x double> noundef, <2 x double> noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce12ignoreUnusedINS_18FloatVectorHelpers10signMask64EEEvRKT_(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

attributes #0 = { mustprogress 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !9}
!12 = distinct !{!12, !9}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !6, i64 0}


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