; LLVM IR from software-mansion/react-native-audio-api :: packages/react-native-audio-api/common/cpp/audioapi/core/effects/BiquadFilterN_c6c262a4 (8AudioBusEEi)

; 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.audioapi::BiquadFilterNode" = type { %"class.audioapi::AudioNode", %"class.std::shared_ptr.25", %"class.std::shared_ptr.25", %"class.std::shared_ptr.25", %"class.std::shared_ptr.25", i32, float, float, float, float, float, float, float, float, float }
%"class.audioapi::AudioNode" = type { ptr, %"class.std::enable_shared_from_this", ptr, %"class.std::shared_ptr", i32, i32, i32, i32, i32, %"class.std::unordered_set", %"class.std::unordered_set.2", i32, i8, i8, i64, %"class.std::vector" }
%"class.std::enable_shared_from_this" = type { %"class.std::weak_ptr" }
%"class.std::weak_ptr" = type { %"class.std::__weak_ptr" }
%"class.std::__weak_ptr" = type { ptr, %"class.std::__weak_count" }
%"class.std::__weak_count" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_set.2" = type { %"class.std::_Hashtable.3" }
%"class.std::_Hashtable.3" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::shared_ptr<audioapi::AudioBus>, std::allocator<std::shared_ptr<audioapi::AudioBus>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<audioapi::AudioBus>, std::allocator<std::shared_ptr<audioapi::AudioBus>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<audioapi::AudioBus>, std::allocator<std::shared_ptr<audioapi::AudioBus>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<audioapi::AudioBus>, std::allocator<std::shared_ptr<audioapi::AudioBus>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr.25" = type { %"class.std::__shared_ptr.26" }
%"class.std::__shared_ptr.26" = type { ptr, %"class.std::__shared_count" }

; 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: mustprogress uwtable
declare dso_local void @_ZN8audioapi16BiquadFilterNode11applyFilterEv(ptr noundef nonnull align 8 dereferenceable(328)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8audioapi16BiquadFilterNode11processNodeERKSt10shared_ptrINS_8AudioBusEEi(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) unnamed_addr #1 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 float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca float, 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
  %21 = load ptr, ptr %4, align 8
  call void @_ZN8audioapi16BiquadFilterNode17resetCoefficientsEv(ptr noundef nonnull align 8 dereferenceable(328) %21)
  call void @_ZN8audioapi16BiquadFilterNode11applyFilterEv(ptr noundef nonnull align 8 dereferenceable(328) %21)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %95, %3
  %23 = load i32, ptr %7, align 4, !tbaa !9
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  %26 = call noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40) %25)
  %27 = icmp slt i32 %23, %26
  br i1 %27, label %29, label %28

28:                                               ; preds = %22
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %98

29:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %30 = getelementptr inbounds %"class.audioapi::BiquadFilterNode", ptr %21, i32 0, i32 6
  %31 = load float, ptr %30, align 4, !tbaa !11
  store float %31, ptr %9, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %32 = getelementptr inbounds %"class.audioapi::BiquadFilterNode", ptr %21, i32 0, i32 7
  %33 = load float, ptr %32, align 8, !tbaa !40
  store float %33, ptr %10, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %34 = getelementptr inbounds %"class.audioapi::BiquadFilterNode", ptr %21, i32 0, i32 8
  %35 = load float, ptr %34, align 4, !tbaa !41
  store float %35, ptr %11, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %36 = getelementptr inbounds %"class.audioapi::BiquadFilterNode", ptr %21, i32 0, i32 9
  %37 = load float, ptr %36, align 8, !tbaa !42
  store float %37, ptr %12, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %38 = getelementptr inbounds %"class.audioapi::BiquadFilterNode", ptr %21, i32 0, i32 10
  %39 = load float, ptr %38, align 4, !tbaa !43
  store float %39, ptr %13, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %40 = getelementptr inbounds %"class.audioapi::BiquadFilterNode", ptr %21, i32 0, i32 11
  %41 = load float, ptr %40, align 8, !tbaa !44
  store float %41, ptr %14, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %42 = getelementptr inbounds %"class.audioapi::BiquadFilterNode", ptr %21, i32 0, i32 12
  %43 = load float, ptr %42, align 4, !tbaa !45
  store float %43, ptr %15, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %44 = getelementptr inbounds %"class.audioapi::BiquadFilterNode", ptr %21, i32 0, i32 13
  %45 = load float, ptr %44, align 8, !tbaa !46
  store float %45, ptr %16, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %46 = getelementptr inbounds %"class.audioapi::BiquadFilterNode", ptr %21, i32 0, i32 14
  %47 = load float, ptr %46, align 4, !tbaa !47
  store float %47, ptr %17, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %91, %29
  %49 = load i32, ptr %18, align 4, !tbaa !9
  %50 = load i32, ptr %6, align 4, !tbaa !9
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %94

53:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %54) #5
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = call noundef ptr @_ZNK8audioapi8AudioBus10getChannelEi(ptr noundef nonnull align 8 dereferenceable(40) %55, i32 noundef %56)
  %58 = load i32, ptr %18, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8audioapi10AudioArrayixEm(ptr noundef nonnull align 8 dereferenceable(16) %57, i64 noundef %59)
  %61 = load float, ptr %60, align 4, !tbaa !39
  store float %61, ptr %19, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %62 = load float, ptr %13, align 4, !tbaa !39
  %63 = load float, ptr %19, align 4, !tbaa !39
  %64 = load float, ptr %14, align 4, !tbaa !39
  %65 = load float, ptr %9, align 4, !tbaa !39
  %66 = fmul float %64, %65
  %67 = call float @llvm.fmuladd.f32(float %62, float %63, float %66)
  %68 = load float, ptr %15, align 4, !tbaa !39
  %69 = load float, ptr %10, align 4, !tbaa !39
  %70 = call float @llvm.fmuladd.f32(float %68, float %69, float %67)
  %71 = load float, ptr %16, align 4, !tbaa !39
  %72 = load float, ptr %11, align 4, !tbaa !39
  %73 = fneg float %71
  %74 = call float @llvm.fmuladd.f32(float %73, float %72, float %70)
  %75 = load float, ptr %17, align 4, !tbaa !39
  %76 = load float, ptr %12, align 4, !tbaa !39
  %77 = fneg float %75
  %78 = call float @llvm.fmuladd.f32(float %77, float %76, float %74)
  store float %78, ptr %20, align 4, !tbaa !39
  %79 = load float, ptr %20, align 4, !tbaa !39
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %80) #5
  %82 = load i32, ptr %7, align 4, !tbaa !9
  %83 = call noundef ptr @_ZNK8audioapi8AudioBus10getChannelEi(ptr noundef nonnull align 8 dereferenceable(40) %81, i32 noundef %82)
  %84 = load i32, ptr %18, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8audioapi10AudioArrayixEm(ptr noundef nonnull align 8 dereferenceable(16) %83, i64 noundef %85)
  store float %79, ptr %86, align 4, !tbaa !39
  %87 = load float, ptr %9, align 4, !tbaa !39
  store float %87, ptr %10, align 4, !tbaa !39
  %88 = load float, ptr %19, align 4, !tbaa !39
  store float %88, ptr %9, align 4, !tbaa !39
  %89 = load float, ptr %11, align 4, !tbaa !39
  store float %89, ptr %12, align 4, !tbaa !39
  %90 = load float, ptr %20, align 4, !tbaa !39
  store float %90, ptr %11, align 4, !tbaa !39
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %91

91:                                               ; preds = %53
  %92 = load i32, ptr %18, align 4, !tbaa !9
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %18, align 4, !tbaa !9
  br label %48, !llvm.loop !48

94:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %7, align 4, !tbaa !9
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %7, align 4, !tbaa !9
  br label %22, !llvm.loop !50

98:                                               ; preds = %28
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

declare noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40)) #4

declare noundef ptr @_ZNK8audioapi8AudioBus10getChannelEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #4

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZN8audioapi10AudioArrayixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "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 }

!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, !28, i64 292}
!12 = !{!"_ZTSN8audioapi16BiquadFilterNodeE", !13, i64 0, !36, i64 224, !36, i64 240, !36, i64 256, !36, i64 272, !38, i64 288, !28, i64 292, !28, i64 296, !28, i64 300, !28, i64 304, !28, i64 308, !28, i64 312, !28, i64 316, !28, i64 320, !28, i64 324}
!13 = !{!"_ZTSN8audioapi9AudioNodeE", !14, i64 8, !6, i64 24, !18, i64 32, !10, i64 48, !10, i64 52, !10, i64 56, !21, i64 60, !22, i64 64, !23, i64 72, !29, i64 128, !10, i64 184, !31, i64 188, !31, i64 189, !25, i64 192, !32, i64 200}
!14 = !{!"_ZTSSt23enable_shared_from_thisIN8audioapi9AudioNodeEE", !15, i64 0}
!15 = !{!"_ZTSSt8weak_ptrIN8audioapi9AudioNodeEE", !16, i64 0}
!16 = !{!"_ZTSSt10__weak_ptrIN8audioapi9AudioNodeELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !17, i64 8}
!17 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!18 = !{!"_ZTSSt10shared_ptrIN8audioapi8AudioBusEE", !19, i64 0}
!19 = !{!"_ZTSSt12__shared_ptrIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !20, i64 8}
!20 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!21 = !{!"_ZTSN8audioapi16ChannelCountModeE", !7, i64 0}
!22 = !{!"_ZTSN8audioapi21ChannelInterpretationE", !7, i64 0}
!23 = !{!"_ZTSSt13unordered_setIPN8audioapi9AudioNodeESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSSt10_HashtableIPN8audioapi9AudioNodeES2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !25, i64 8, !26, i64 16, !25, i64 24, !27, i64 32, !6, i64 48}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!27 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !28, i64 0, !25, i64 8}
!28 = !{!"float", !7, i64 0}
!29 = !{!"_ZTSSt13unordered_setISt10shared_ptrIN8audioapi9AudioNodeEESt4hashIS3_ESt8equal_toIS3_ESaIS3_EE", !30, i64 0}
!30 = !{!"_ZTSSt10_HashtableISt10shared_ptrIN8audioapi9AudioNodeEES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ESt4hashIS3_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !25, i64 8, !26, i64 16, !25, i64 24, !27, i64 32, !6, i64 48}
!31 = !{!"bool", !7, i64 0}
!32 = !{!"_ZTSSt6vectorISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTSSt10shared_ptrIN8audioapi10AudioParamEE", !37, i64 0}
!37 = !{!"_ZTSSt12__shared_ptrIN8audioapi10AudioParamELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !20, i64 8}
!38 = !{!"_ZTSN8audioapi16BiquadFilterTypeE", !7, i64 0}
!39 = !{!28, !28, i64 0}
!40 = !{!12, !28, i64 296}
!41 = !{!12, !28, i64 300}
!42 = !{!12, !28, i64 304}
!43 = !{!12, !28, i64 308}
!44 = !{!12, !28, i64 312}
!45 = !{!12, !28, i64 316}
!46 = !{!12, !28, i64 320}
!47 = !{!12, !28, i64 324}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = distinct !{!50, !49}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8audioapi16BiquadFilterNode17resetCoefficientsEv(ptr noundef nonnull align 8 dereferenceable(328)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8audioapi16BiquadFilterNode11processNodeERKSt10shared_ptrINS_8AudioBusEEi(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) unnamed_addr #0 align 2 {
  tail call void @_ZN8audioapi16BiquadFilterNode17resetCoefficientsEv(ptr noundef nonnull align 8 dereferenceable(328) %0)
  tail call void @_ZN8audioapi16BiquadFilterNode11applyFilterEv(ptr noundef nonnull align 8 dereferenceable(328) %0)
  %4 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #4
  %5 = tail call noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40) %4)
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.lr.ph39, label %._crit_edge40

.lr.ph39:                                         ; preds = %3
  %7 = getelementptr inbounds i8, ptr %0, i64 292
  %8 = getelementptr inbounds i8, ptr %0, i64 296
  %9 = getelementptr inbounds i8, ptr %0, i64 300
  %10 = getelementptr inbounds i8, ptr %0, i64 304
  %11 = getelementptr inbounds i8, ptr %0, i64 308
  %12 = getelementptr inbounds i8, ptr %0, i64 312
  %13 = getelementptr inbounds i8, ptr %0, i64 316
  %14 = getelementptr inbounds i8, ptr %0, i64 320
  %15 = getelementptr inbounds i8, ptr %0, i64 324
  %16 = icmp sgt i32 %2, 0
  br i1 %16, label %.lr.ph.us.preheader, label %.lr.ph39.split

.lr.ph.us.preheader:                              ; preds = %.lr.ph39
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %.037.us = phi i32 [ %41, %._crit_edge.us ], [ 0, %.lr.ph.us.preheader ]
  %17 = load float, ptr %7, align 4, !tbaa !5
  %18 = load float, ptr %8, align 8, !tbaa !37
  %19 = load float, ptr %9, align 4, !tbaa !38
  %20 = load float, ptr %10, align 8, !tbaa !39
  %21 = load float, ptr %11, align 4, !tbaa !40
  %22 = load float, ptr %12, align 8, !tbaa !41
  %23 = load float, ptr %13, align 4, !tbaa !42
  %24 = load float, ptr %14, align 8, !tbaa !43
  %25 = load float, ptr %15, align 4, !tbaa !44
  %26 = fneg float %24
  %27 = fneg float %25
  br label %28

28:                                               ; preds = %.lr.ph.us, %28
  %indvars.iv = phi i64 [ 0, %.lr.ph.us ], [ %indvars.iv.next, %28 ]
  %.02835.us = phi float [ %17, %.lr.ph.us ], [ %32, %28 ]
  %.02934.us = phi float [ %18, %.lr.ph.us ], [ %.02835.us, %28 ]
  %.03033.us = phi float [ %19, %.lr.ph.us ], [ %37, %28 ]
  %.03132.us = phi float [ %20, %.lr.ph.us ], [ %.03033.us, %28 ]
  %29 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #4
  %30 = tail call noundef ptr @_ZNK8audioapi8AudioBus10getChannelEi(ptr noundef nonnull align 8 dereferenceable(40) %29, i32 noundef %.037.us)
  %31 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8audioapi10AudioArrayixEm(ptr noundef nonnull align 8 dereferenceable(16) %30, i64 noundef %indvars.iv)
  %32 = load float, ptr %31, align 4, !tbaa !45
  %33 = fmul float %22, %.02835.us
  %34 = tail call float @llvm.fmuladd.f32(float %21, float %32, float %33)
  %35 = tail call float @llvm.fmuladd.f32(float %23, float %.02934.us, float %34)
  %36 = tail call float @llvm.fmuladd.f32(float %26, float %.03033.us, float %35)
  %37 = tail call float @llvm.fmuladd.f32(float %27, float %.03132.us, float %36)
  %38 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #4
  %39 = tail call noundef ptr @_ZNK8audioapi8AudioBus10getChannelEi(ptr noundef nonnull align 8 dereferenceable(40) %38, i32 noundef %.037.us)
  %40 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8audioapi10AudioArrayixEm(ptr noundef nonnull align 8 dereferenceable(16) %39, i64 noundef %indvars.iv)
  store float %37, ptr %40, align 4, !tbaa !45
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.us, label %28, !llvm.loop !46

._crit_edge.us:                                   ; preds = %28
  %41 = add nuw nsw i32 %.037.us, 1
  %42 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #4
  %43 = tail call noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40) %42)
  %44 = icmp slt i32 %41, %43
  br i1 %44, label %.lr.ph.us, label %._crit_edge40, !llvm.loop !48

._crit_edge40:                                    ; preds = %.lr.ph39.split, %._crit_edge.us, %3
  ret void

.lr.ph39.split:                                   ; preds = %.lr.ph39, %.lr.ph39.split
  %.037 = phi i32 [ %45, %.lr.ph39.split ], [ 0, %.lr.ph39 ]
  %45 = add nuw nsw i32 %.037, 1
  %46 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #4
  %47 = tail call noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40) %46)
  %48 = icmp slt i32 %45, %47
  br i1 %48, label %.lr.ph39.split, label %._crit_edge40, !llvm.loop !48
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

declare noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3

declare noundef ptr @_ZNK8audioapi8AudioBus10getChannelEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #3

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZN8audioapi10AudioArrayixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #3

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 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "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, !26, i64 292}
!6 = !{!"_ZTSN8audioapi16BiquadFilterNodeE", !7, i64 0, !34, i64 224, !34, i64 240, !34, i64 256, !34, i64 272, !36, i64 288, !26, i64 292, !26, i64 296, !26, i64 300, !26, i64 304, !26, i64 308, !26, i64 312, !26, i64 316, !26, i64 320, !26, i64 324}
!7 = !{!"_ZTSN8audioapi9AudioNodeE", !8, i64 8, !11, i64 24, !15, i64 32, !18, i64 48, !18, i64 52, !18, i64 56, !19, i64 60, !20, i64 64, !21, i64 72, !27, i64 128, !18, i64 184, !29, i64 188, !29, i64 189, !23, i64 192, !30, i64 200}
!8 = !{!"_ZTSSt23enable_shared_from_thisIN8audioapi9AudioNodeEE", !9, i64 0}
!9 = !{!"_ZTSSt8weak_ptrIN8audioapi9AudioNodeEE", !10, i64 0}
!10 = !{!"_ZTSSt10__weak_ptrIN8audioapi9AudioNodeELN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0, !14, i64 8}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0}
!15 = !{!"_ZTSSt10shared_ptrIN8audioapi8AudioBusEE", !16, i64 0}
!16 = !{!"_ZTSSt12__shared_ptrIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0, !17, i64 8}
!17 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0}
!18 = !{!"int", !12, i64 0}
!19 = !{!"_ZTSN8audioapi16ChannelCountModeE", !12, i64 0}
!20 = !{!"_ZTSN8audioapi21ChannelInterpretationE", !12, i64 0}
!21 = !{!"_ZTSSt13unordered_setIPN8audioapi9AudioNodeESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt10_HashtableIPN8audioapi9AudioNodeES2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !11, i64 0, !23, i64 8, !24, i64 16, !23, i64 24, !25, i64 32, !11, i64 48}
!23 = !{!"long", !12, i64 0}
!24 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !11, i64 0}
!25 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !26, i64 0, !23, i64 8}
!26 = !{!"float", !12, i64 0}
!27 = !{!"_ZTSSt13unordered_setISt10shared_ptrIN8audioapi9AudioNodeEESt4hashIS3_ESt8equal_toIS3_ESaIS3_EE", !28, i64 0}
!28 = !{!"_ZTSSt10_HashtableISt10shared_ptrIN8audioapi9AudioNodeEES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ESt4hashIS3_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb1ELb1EEEE", !11, i64 0, !23, i64 8, !24, i64 16, !23, i64 24, !25, i64 32, !11, i64 48}
!29 = !{!"bool", !12, i64 0}
!30 = !{!"_ZTSSt6vectorISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!34 = !{!"_ZTSSt10shared_ptrIN8audioapi10AudioParamEE", !35, i64 0}
!35 = !{!"_ZTSSt12__shared_ptrIN8audioapi10AudioParamELN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0, !17, i64 8}
!36 = !{!"_ZTSN8audioapi16BiquadFilterTypeE", !12, i64 0}
!37 = !{!6, !26, i64 296}
!38 = !{!6, !26, i64 300}
!39 = !{!6, !26, i64 304}
!40 = !{!6, !26, i64 308}
!41 = !{!6, !26, i64 312}
!42 = !{!6, !26, i64 316}
!43 = !{!6, !26, i64 320}
!44 = !{!6, !26, i64 324}
!45 = !{!26, !26, i64 0}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = distinct !{!48, !47}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass