; LLVM IR from Overload-Technologies/Overload :: Dependencies/soloud/src/filter (soloud_biquadresonantfilter)

; 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.SoLoud::FilterInstance" = type { ptr, i32, i32, ptr, ptr }
%"class.SoLoud::BiquadResonantFilterInstance" = type { %"class.SoLoud::FilterInstance", [8 x %"struct.SoLoud::BQRStateData"], float, float, float, float, float, i32, float, ptr }
%"struct.SoLoud::BQRStateData" = type { float, float, float, float }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6SoLoud28BiquadResonantFilterInstance13calcBQRParamsEv(ptr noundef nonnull align 8 dereferenceable(200)) #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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6SoLoud28BiquadResonantFilterInstance13filterChannelEPfjfdjj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef %1, i32 noundef %2, float noundef %3, double noundef %4, i32 noundef %5, i32 noundef %6) unnamed_addr #0 align 2 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca float, align 4
  %12 = alloca double, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store float %3, ptr %11, align 4, !tbaa !11
  store double %4, ptr %12, align 8, !tbaa !13
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  %20 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %21 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %21, ptr %15, align 4, !tbaa !9
  %22 = load i32, ptr %13, align 4, !tbaa !9
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %43

24:                                               ; preds = %7
  %25 = load double, ptr %12, align 8, !tbaa !13
  %26 = load ptr, ptr %20, align 8, !tbaa !15
  %27 = getelementptr inbounds ptr, ptr %26, i64 1
  %28 = load ptr, ptr %27, align 8
  call void %28(ptr noundef nonnull align 8 dereferenceable(32) %20, double noundef %25)
  %29 = getelementptr inbounds %"class.SoLoud::FilterInstance", ptr %20, i32 0, i32 2
  %30 = load i32, ptr %29, align 4, !tbaa !17
  %31 = and i32 %30, 14
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %38, label %33

33:                                               ; preds = %24
  %34 = load float, ptr %11, align 4, !tbaa !11
  %35 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 8
  %36 = load float, ptr %35, align 8, !tbaa !19
  %37 = fcmp une float %34, %36
  br i1 %37, label %38, label %41

38:                                               ; preds = %33, %24
  %39 = load float, ptr %11, align 4, !tbaa !11
  %40 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 8
  store float %39, ptr %40, align 8, !tbaa !19
  call void @_ZN6SoLoud28BiquadResonantFilterInstance13calcBQRParamsEv(ptr noundef nonnull align 8 dereferenceable(200) %20)
  br label %41

41:                                               ; preds = %38, %33
  %42 = getelementptr inbounds %"class.SoLoud::FilterInstance", ptr %20, i32 0, i32 2
  store i32 0, ptr %42, align 4, !tbaa !17
  br label %43

43:                                               ; preds = %41, %7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %44 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 1
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = getelementptr inbounds [8 x %"struct.SoLoud::BQRStateData"], ptr %44, i64 0, i64 %46
  store ptr %47, ptr %19, align 8, !tbaa !5
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = and i32 %48, -2
  store i32 %49, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %179, %43
  %51 = load i32, ptr %17, align 4, !tbaa !9
  %52 = load i32, ptr %10, align 4, !tbaa !9
  %53 = icmp ult i32 %51, %52
  br i1 %53, label %54, label %184

54:                                               ; preds = %50
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = load i32, ptr %18, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds float, ptr %55, i64 %57
  %59 = load float, ptr %58, align 4, !tbaa !11
  store float %59, ptr %16, align 4, !tbaa !11
  %60 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 2
  %61 = load float, ptr %60, align 8, !tbaa !21
  %62 = load float, ptr %16, align 4, !tbaa !11
  %63 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 3
  %64 = load float, ptr %63, align 4, !tbaa !22
  %65 = load ptr, ptr %19, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %65, i32 0, i32 2
  %67 = load float, ptr %66, align 4, !tbaa !23
  %68 = fmul float %64, %67
  %69 = call float @llvm.fmuladd.f32(float %61, float %62, float %68)
  %70 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 4
  %71 = load float, ptr %70, align 8, !tbaa !25
  %72 = load ptr, ptr %19, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %72, i32 0, i32 3
  %74 = load float, ptr %73, align 4, !tbaa !26
  %75 = call float @llvm.fmuladd.f32(float %71, float %74, float %69)
  %76 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 5
  %77 = load float, ptr %76, align 4, !tbaa !27
  %78 = load ptr, ptr %19, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %78, i32 0, i32 0
  %80 = load float, ptr %79, align 4, !tbaa !28
  %81 = fneg float %77
  %82 = call float @llvm.fmuladd.f32(float %81, float %80, float %75)
  %83 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 6
  %84 = load float, ptr %83, align 8, !tbaa !29
  %85 = load ptr, ptr %19, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %85, i32 0, i32 1
  %87 = load float, ptr %86, align 4, !tbaa !30
  %88 = fneg float %84
  %89 = call float @llvm.fmuladd.f32(float %88, float %87, float %82)
  %90 = load ptr, ptr %19, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %90, i32 0, i32 1
  store float %89, ptr %91, align 4, !tbaa !30
  %92 = load ptr, ptr %19, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %92, i32 0, i32 1
  %94 = load float, ptr %93, align 4, !tbaa !30
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = load i32, ptr %18, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds float, ptr %95, i64 %97
  %99 = load float, ptr %98, align 4, !tbaa !11
  %100 = fsub float %94, %99
  %101 = getelementptr inbounds %"class.SoLoud::FilterInstance", ptr %20, i32 0, i32 3
  %102 = load ptr, ptr %101, align 8, !tbaa !31
  %103 = getelementptr inbounds float, ptr %102, i64 0
  %104 = load float, ptr %103, align 4, !tbaa !11
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = load i32, ptr %18, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds float, ptr %105, i64 %107
  %109 = load float, ptr %108, align 4, !tbaa !11
  %110 = call float @llvm.fmuladd.f32(float %100, float %104, float %109)
  store float %110, ptr %108, align 4, !tbaa !11
  %111 = load i32, ptr %18, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %18, align 4, !tbaa !9
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = load i32, ptr %18, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds float, ptr %113, i64 %115
  %117 = load float, ptr %116, align 4, !tbaa !11
  %118 = load ptr, ptr %19, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %118, i32 0, i32 3
  store float %117, ptr %119, align 4, !tbaa !26
  %120 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 2
  %121 = load float, ptr %120, align 8, !tbaa !21
  %122 = load ptr, ptr %19, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %122, i32 0, i32 3
  %124 = load float, ptr %123, align 4, !tbaa !26
  %125 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 3
  %126 = load float, ptr %125, align 4, !tbaa !22
  %127 = load float, ptr %16, align 4, !tbaa !11
  %128 = fmul float %126, %127
  %129 = call float @llvm.fmuladd.f32(float %121, float %124, float %128)
  %130 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 4
  %131 = load float, ptr %130, align 8, !tbaa !25
  %132 = load ptr, ptr %19, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %132, i32 0, i32 2
  %134 = load float, ptr %133, align 4, !tbaa !23
  %135 = call float @llvm.fmuladd.f32(float %131, float %134, float %129)
  %136 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 5
  %137 = load float, ptr %136, align 4, !tbaa !27
  %138 = load ptr, ptr %19, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %138, i32 0, i32 1
  %140 = load float, ptr %139, align 4, !tbaa !30
  %141 = fneg float %137
  %142 = call float @llvm.fmuladd.f32(float %141, float %140, float %135)
  %143 = getelementptr inbounds %"class.SoLoud::BiquadResonantFilterInstance", ptr %20, i32 0, i32 6
  %144 = load float, ptr %143, align 8, !tbaa !29
  %145 = load ptr, ptr %19, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %145, i32 0, i32 0
  %147 = load float, ptr %146, align 4, !tbaa !28
  %148 = fneg float %144
  %149 = call float @llvm.fmuladd.f32(float %148, float %147, float %142)
  %150 = load ptr, ptr %19, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %150, i32 0, i32 0
  store float %149, ptr %151, align 4, !tbaa !28
  %152 = load ptr, ptr %19, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %152, i32 0, i32 0
  %154 = load float, ptr %153, align 4, !tbaa !28
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = load i32, ptr %18, align 4, !tbaa !9
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds float, ptr %155, i64 %157
  %159 = load float, ptr %158, align 4, !tbaa !11
  %160 = fsub float %154, %159
  %161 = getelementptr inbounds %"class.SoLoud::FilterInstance", ptr %20, i32 0, i32 3
  %162 = load ptr, ptr %161, align 8, !tbaa !31
  %163 = getelementptr inbounds float, ptr %162, i64 0
  %164 = load float, ptr %163, align 4, !tbaa !11
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = load i32, ptr %18, align 4, !tbaa !9
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds float, ptr %165, i64 %167
  %169 = load float, ptr %168, align 4, !tbaa !11
  %170 = call float @llvm.fmuladd.f32(float %160, float %164, float %169)
  store float %170, ptr %168, align 4, !tbaa !11
  %171 = load ptr, ptr %19, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %171, i32 0, i32 3
  %173 = load float, ptr %172, align 4, !tbaa !26
  %174 = load ptr, ptr %19, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %174, i32 0, i32 2
  store float %173, ptr %175, align 4, !tbaa !23
  %176 = load float, ptr %16, align 4, !tbaa !11
  %177 = load ptr, ptr %19, align 8, !tbaa !5
  %178 = getelementptr inbounds %"struct.SoLoud::BQRStateData", ptr %177, i32 0, i32 3
  store float %176, ptr %178, align 4, !tbaa !26
  br label %179

179:                                              ; preds = %54
  %180 = load i32, ptr %17, align 4, !tbaa !9
  %181 = add i32 %180, 2
  store i32 %181, ptr %17, align 4, !tbaa !9
  %182 = load i32, ptr %18, align 4, !tbaa !9
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %18, align 4, !tbaa !9
  br label %50, !llvm.loop !32

184:                                              ; preds = %50
  %185 = load i32, ptr %15, align 4, !tbaa !9
  %186 = load i32, ptr %10, align 4, !tbaa !9
  %187 = icmp ne i32 %185, %186
  br i1 %187, label %188, label %199

188:                                              ; preds = %184
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = load i32, ptr %18, align 4, !tbaa !9
  %191 = sub nsw i32 %190, 1
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds float, ptr %189, i64 %192
  %194 = load float, ptr %193, align 4, !tbaa !11
  %195 = load ptr, ptr %9, align 8, !tbaa !5
  %196 = load i32, ptr %18, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds float, ptr %195, i64 %197
  store float %194, ptr %198, align 4, !tbaa !11
  br label %199

199:                                              ; preds = %188, %184
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  ret void
}

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!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 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!18, !10, i64 12}
!18 = !{!"_ZTSN6SoLoud14FilterInstanceE", !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24}
!19 = !{!20, !12, i64 184}
!20 = !{!"_ZTSN6SoLoud28BiquadResonantFilterInstanceE", !18, i64 0, !7, i64 32, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !12, i64 176, !10, i64 180, !12, i64 184, !6, i64 192}
!21 = !{!20, !12, i64 160}
!22 = !{!20, !12, i64 164}
!23 = !{!24, !12, i64 8}
!24 = !{!"_ZTSN6SoLoud12BQRStateDataE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!25 = !{!20, !12, i64 168}
!26 = !{!24, !12, i64 12}
!27 = !{!20, !12, i64 172}
!28 = !{!24, !12, i64 0}
!29 = !{!20, !12, i64 176}
!30 = !{!24, !12, i64 4}
!31 = !{!18, !6, i64 16}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}


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

%"struct.SoLoud::BQRStateData" = type { float, float, float, float }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6SoLoud28BiquadResonantFilterInstance13calcBQRParamsEv(ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6SoLoud28BiquadResonantFilterInstance13filterChannelEPfjfdjj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr nocapture noundef %1, i32 noundef %2, float noundef %3, double noundef %4, i32 noundef %5, i32 noundef %6) unnamed_addr #0 align 2 {
  %8 = icmp eq i32 %5, 0
  br i1 %8, label %9, label %21

9:                                                ; preds = %7
  %10 = load ptr, ptr %0, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 8
  %12 = load ptr, ptr %11, align 8
  tail call void %12(ptr noundef nonnull align 8 dereferenceable(32) %0, double noundef %4)
  %13 = getelementptr inbounds i8, ptr %0, i64 12
  %14 = load i32, ptr %13, align 4, !tbaa !8
  %15 = and i32 %14, 14
  %.not = icmp ne i32 %15, 0
  %16 = getelementptr inbounds i8, ptr %0, i64 184
  %17 = load float, ptr %16, align 8
  %18 = fcmp une float %17, %3
  %or.cond = select i1 %.not, i1 true, i1 %18
  br i1 %or.cond, label %19, label %20

19:                                               ; preds = %9
  store float %3, ptr %16, align 8, !tbaa !13
  tail call void @_ZN6SoLoud28BiquadResonantFilterInstance13calcBQRParamsEv(ptr noundef nonnull align 8 dereferenceable(200) %0)
  br label %20

20:                                               ; preds = %9, %19
  store i32 0, ptr %13, align 4, !tbaa !8
  br label %21

21:                                               ; preds = %20, %7
  %22 = getelementptr inbounds i8, ptr %0, i64 32
  %23 = zext i32 %5 to i64
  %24 = getelementptr inbounds [8 x %"struct.SoLoud::BQRStateData"], ptr %22, i64 0, i64 %23
  %25 = and i32 %2, -2
  %.not56 = icmp eq i32 %25, 0
  br i1 %.not56, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %21
  %26 = getelementptr inbounds i8, ptr %0, i64 160
  %27 = getelementptr inbounds i8, ptr %0, i64 164
  %28 = getelementptr inbounds i8, ptr %24, i64 8
  %29 = getelementptr inbounds i8, ptr %0, i64 168
  %30 = getelementptr inbounds i8, ptr %24, i64 12
  %31 = getelementptr inbounds i8, ptr %0, i64 172
  %32 = getelementptr inbounds i8, ptr %0, i64 176
  %33 = getelementptr inbounds i8, ptr %24, i64 4
  %34 = getelementptr inbounds i8, ptr %0, i64 16
  %35 = load ptr, ptr %34, align 8, !tbaa !16
  %.pre = load float, ptr %28, align 8, !tbaa !17
  %.pre60 = load float, ptr %30, align 4, !tbaa !19
  br label %36

36:                                               ; preds = %.lr.ph, %36
  %37 = phi float [ %.pre60, %.lr.ph ], [ %40, %36 ]
  %38 = phi float [ %.pre, %.lr.ph ], [ %81, %36 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %36 ]
  %39 = getelementptr inbounds float, ptr %1, i64 %indvars.iv
  %40 = load float, ptr %39, align 4, !tbaa !20
  %41 = load float, ptr %26, align 8, !tbaa !21
  %42 = load float, ptr %27, align 4, !tbaa !22
  %43 = fmul float %42, %38
  %44 = tail call float @llvm.fmuladd.f32(float %41, float %40, float %43)
  %45 = load float, ptr %29, align 8, !tbaa !23
  %46 = tail call float @llvm.fmuladd.f32(float %45, float %37, float %44)
  %47 = load float, ptr %31, align 4, !tbaa !24
  %48 = load float, ptr %24, align 8, !tbaa !25
  %49 = fneg float %47
  %50 = tail call float @llvm.fmuladd.f32(float %49, float %48, float %46)
  %51 = load float, ptr %32, align 8, !tbaa !26
  %52 = load float, ptr %33, align 4, !tbaa !27
  %53 = fneg float %51
  %54 = tail call float @llvm.fmuladd.f32(float %53, float %52, float %50)
  store float %54, ptr %33, align 4, !tbaa !27
  %55 = load float, ptr %39, align 4, !tbaa !20
  %56 = fsub float %54, %55
  %57 = load float, ptr %35, align 4, !tbaa !20
  %58 = tail call float @llvm.fmuladd.f32(float %56, float %57, float %55)
  store float %58, ptr %39, align 4, !tbaa !20
  %59 = or disjoint i64 %indvars.iv, 1
  %60 = getelementptr inbounds float, ptr %1, i64 %59
  %61 = load float, ptr %60, align 4, !tbaa !20
  store float %61, ptr %30, align 4, !tbaa !19
  %62 = load float, ptr %26, align 8, !tbaa !21
  %63 = load float, ptr %27, align 4, !tbaa !22
  %64 = fmul float %40, %63
  %65 = tail call float @llvm.fmuladd.f32(float %62, float %61, float %64)
  %66 = load float, ptr %29, align 8, !tbaa !23
  %67 = load float, ptr %28, align 8, !tbaa !17
  %68 = tail call float @llvm.fmuladd.f32(float %66, float %67, float %65)
  %69 = load float, ptr %31, align 4, !tbaa !24
  %70 = load float, ptr %33, align 4, !tbaa !27
  %71 = fneg float %69
  %72 = tail call float @llvm.fmuladd.f32(float %71, float %70, float %68)
  %73 = load float, ptr %32, align 8, !tbaa !26
  %74 = load float, ptr %24, align 8, !tbaa !25
  %75 = fneg float %73
  %76 = tail call float @llvm.fmuladd.f32(float %75, float %74, float %72)
  store float %76, ptr %24, align 8, !tbaa !25
  %77 = load float, ptr %60, align 4, !tbaa !20
  %78 = fsub float %76, %77
  %79 = load float, ptr %35, align 4, !tbaa !20
  %80 = tail call float @llvm.fmuladd.f32(float %78, float %79, float %77)
  store float %80, ptr %60, align 4, !tbaa !20
  %81 = load float, ptr %30, align 4, !tbaa !19
  store float %81, ptr %28, align 8, !tbaa !17
  store float %40, ptr %30, align 4, !tbaa !19
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2
  %indvars58 = trunc i64 %indvars.iv.next to i32
  %82 = icmp ugt i32 %25, %indvars58
  br i1 %82, label %36, label %._crit_edge.loopexit, !llvm.loop !28

._crit_edge.loopexit:                             ; preds = %36
  %83 = and i64 %indvars.iv.next, 4294967294
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %21
  %.0.lcssa = phi i64 [ 0, %21 ], [ %83, %._crit_edge.loopexit ]
  %.not51 = icmp eq i32 %25, %2
  br i1 %.not51, label %88, label %84

84:                                               ; preds = %._crit_edge
  %85 = getelementptr float, ptr %1, i64 %.0.lcssa
  %86 = getelementptr i8, ptr %85, i64 -4
  %87 = load float, ptr %86, align 4, !tbaa !20
  store float %87, ptr %85, align 4, !tbaa !20
  br label %88

88:                                               ; preds = %84, %._crit_edge
  ret void
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 12}
!9 = !{!"_ZTSN6SoLoud14FilterInstanceE", !10, i64 8, !10, i64 12, !12, i64 16, !12, i64 24}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"any pointer", !11, i64 0}
!13 = !{!14, !15, i64 184}
!14 = !{!"_ZTSN6SoLoud28BiquadResonantFilterInstanceE", !9, i64 0, !11, i64 32, !15, i64 160, !15, i64 164, !15, i64 168, !15, i64 172, !15, i64 176, !10, i64 180, !15, i64 184, !12, i64 192}
!15 = !{!"float", !11, i64 0}
!16 = !{!9, !12, i64 16}
!17 = !{!18, !15, i64 8}
!18 = !{!"_ZTSN6SoLoud12BQRStateDataE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!19 = !{!18, !15, i64 12}
!20 = !{!15, !15, i64 0}
!21 = !{!14, !15, i64 160}
!22 = !{!14, !15, i64 164}
!23 = !{!14, !15, i64 168}
!24 = !{!14, !15, i64 172}
!25 = !{!18, !15, i64 0}
!26 = !{!14, !15, i64 176}
!27 = !{!18, !15, i64 4}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}


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