; LLVM IR from glaretechnologies/substrata :: resonance-audio/resonance_audio/dsp (multi_channel_iir)

; 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.NullLogger = type { i8 }
%"class.vraudio::MultiChannelIir" = type { i64, i64, i64, i64, %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer" }
%"class.vraudio::AudioBuffer" = type <{ i64, %"class.std::vector.10", i64, %"class.std::vector.12", i32, [4 x i8] }>
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<float, vraudio::AlignedAllocator<float, 64>>::_Vector_impl" }
%"struct.std::_Vector_base<float, vraudio::AlignedAllocator<float, 64>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, vraudio::AlignedAllocator<float, 64>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, vraudio::AlignedAllocator<float, 64>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<vraudio::ChannelView, std::allocator<vraudio::ChannelView>>::_Vector_impl" }
%"struct.std::_Vector_base<vraudio::ChannelView, std::allocator<vraudio::ChannelView>>::_Vector_impl" = type { %"struct.std::_Vector_base<vraudio::ChannelView, std::allocator<vraudio::ChannelView>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vraudio::ChannelView, std::allocator<vraudio::ChannelView>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

; 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 noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7vraudio11ChannelViewixEm(ptr noundef nonnull align 8 dereferenceable(17), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7vraudio15MultiChannelIir7ProcessEPNS_11ChannelViewE(ptr noundef nonnull align 8 dereferenceable(248) %0, ptr noundef %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.NullLogger, align 1
  %6 = alloca %class.NullLogger, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca %class.NullLogger, align 1
  %18 = alloca i64, align 8
  %19 = alloca float, align 4
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %28 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %6)
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %31 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 4
  %32 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %31, i64 noundef 0)
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7vraudio11ChannelViewixEm(ptr noundef nonnull align 8 dereferenceable(17) %32, i64 noundef 0)
  store ptr %33, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %34 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 5
  %35 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %34, i64 noundef 0)
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7vraudio11ChannelViewixEm(ptr noundef nonnull align 8 dereferenceable(17) %35, i64 noundef 0)
  store ptr %36, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %37 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 6
  %38 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %37, i64 noundef 0)
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7vraudio11ChannelViewixEm(ptr noundef nonnull align 8 dereferenceable(17) %38, i64 noundef 0)
  store ptr %39, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7vraudio11ChannelViewixEm(ptr noundef nonnull align 8 dereferenceable(17) %40, i64 noundef 0)
  store ptr %41, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %42 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 0
  %43 = load i64, ptr %42, align 8, !tbaa !9
  %44 = udiv i64 %43, 4
  store i64 %44, ptr %11, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = call noundef i64 @_ZNK7vraudio11ChannelView4sizeEv(ptr noundef nonnull align 8 dereferenceable(17) %45)
  %47 = udiv i64 %46, 4
  store i64 %47, ptr %12, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %48 = load i64, ptr %11, align 8, !tbaa !22
  %49 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 2
  %50 = load i64, ptr %49, align 8, !tbaa !23
  %51 = mul i64 %48, %50
  store i64 %51, ptr %13, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 0, ptr %14, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !22
  br label %52

52:                                               ; preds = %182, %2
  %53 = load i64, ptr %14, align 8, !tbaa !22
  %54 = load i64, ptr %12, align 8, !tbaa !22
  %55 = icmp ult i64 %53, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %52
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %190

57:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %17)
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %59)
  %61 = load i64, ptr %15, align 8, !tbaa !22
  %62 = getelementptr inbounds float, ptr %60, i64 %61
  %63 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 0
  %64 = load i64, ptr %63, align 8, !tbaa !9
  %65 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 6
  %66 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %65, i64 noundef 0)
  %67 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %66)
  %68 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 3
  %69 = load i64, ptr %68, align 8, !tbaa !24
  %70 = mul i64 %69, 4
  %71 = getelementptr inbounds float, ptr %67, i64 %70
  %72 = call noundef ptr @_ZSt6copy_nIPfmS0_ET1_T_T0_S1_(ptr noundef %62, i64 noundef %64, ptr noundef %71)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  store i64 0, ptr %18, align 8, !tbaa !22
  br label %73

73:                                               ; preds = %167, %57
  %74 = load i64, ptr %18, align 8, !tbaa !22
  %75 = load i64, ptr %11, align 8, !tbaa !22
  %76 = icmp ult i64 %74, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %73
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %170

78:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store float 0.000000e+00, ptr %19, align 4, !tbaa !25
  %79 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef 0.000000e+00)
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = load i64, ptr %14, align 8, !tbaa !22
  %82 = load i64, ptr %18, align 8, !tbaa !22
  %83 = add i64 %81, %82
  %84 = getelementptr inbounds <4 x float>, ptr %80, i64 %83
  store <4 x float> %79, ptr %84, align 16, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %85 = load i64, ptr %11, align 8, !tbaa !22
  store i64 %85, ptr %20, align 8, !tbaa !22
  br label %86

86:                                               ; preds = %122, %78
  %87 = load i64, ptr %20, align 8, !tbaa !22
  %88 = load i64, ptr %13, align 8, !tbaa !22
  %89 = icmp ult i64 %87, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %86
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %126

91:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %92 = load i64, ptr %18, align 8, !tbaa !22
  %93 = load i64, ptr %20, align 8, !tbaa !22
  %94 = add i64 %92, %93
  store i64 %94, ptr %21, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %95 = load i64, ptr %21, align 8, !tbaa !22
  %96 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 3
  %97 = load i64, ptr %96, align 8, !tbaa !24
  %98 = add i64 %95, %97
  %99 = load i64, ptr %13, align 8, !tbaa !22
  %100 = urem i64 %98, %99
  store i64 %100, ptr %22, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %101 = load i64, ptr %18, align 8, !tbaa !22
  %102 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 3
  %103 = load i64, ptr %102, align 8, !tbaa !24
  %104 = add i64 %101, %103
  store i64 %104, ptr %23, align 8, !tbaa !22
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = load i64, ptr %21, align 8, !tbaa !22
  %107 = getelementptr inbounds <4 x float>, ptr %105, i64 %106
  %108 = load <4 x float>, ptr %107, align 16, !tbaa !27
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = load i64, ptr %22, align 8, !tbaa !22
  %111 = getelementptr inbounds <4 x float>, ptr %109, i64 %110
  %112 = load <4 x float>, ptr %111, align 16, !tbaa !27
  %113 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %108, <4 x float> noundef %112)
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = load i64, ptr %23, align 8, !tbaa !22
  %116 = getelementptr inbounds <4 x float>, ptr %114, i64 %115
  %117 = load <4 x float>, ptr %116, align 16, !tbaa !27
  %118 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %113, <4 x float> noundef %117)
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = load i64, ptr %23, align 8, !tbaa !22
  %121 = getelementptr inbounds <4 x float>, ptr %119, i64 %120
  store <4 x float> %118, ptr %121, align 16, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %122

122:                                              ; preds = %91
  %123 = load i64, ptr %11, align 8, !tbaa !22
  %124 = load i64, ptr %20, align 8, !tbaa !22
  %125 = add i64 %124, %123
  store i64 %125, ptr %20, align 8, !tbaa !22
  br label %86, !llvm.loop !28

126:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store i64 0, ptr %24, align 8, !tbaa !22
  br label %127

127:                                              ; preds = %162, %126
  %128 = load i64, ptr %24, align 8, !tbaa !22
  %129 = load i64, ptr %13, align 8, !tbaa !22
  %130 = icmp ult i64 %128, %129
  br i1 %130, label %132, label %131

131:                                              ; preds = %127
  store i32 11, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %166

132:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %133 = load i64, ptr %18, align 8, !tbaa !22
  %134 = load i64, ptr %24, align 8, !tbaa !22
  %135 = add i64 %133, %134
  store i64 %135, ptr %25, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %136 = load i64, ptr %14, align 8, !tbaa !22
  %137 = load i64, ptr %18, align 8, !tbaa !22
  %138 = add i64 %136, %137
  store i64 %138, ptr %26, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %139 = load i64, ptr %25, align 8, !tbaa !22
  %140 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 3
  %141 = load i64, ptr %140, align 8, !tbaa !24
  %142 = add i64 %139, %141
  %143 = load i64, ptr %13, align 8, !tbaa !22
  %144 = urem i64 %142, %143
  store i64 %144, ptr %27, align 8, !tbaa !22
  %145 = load ptr, ptr %7, align 8, !tbaa !5
  %146 = load i64, ptr %25, align 8, !tbaa !22
  %147 = getelementptr inbounds <4 x float>, ptr %145, i64 %146
  %148 = load <4 x float>, ptr %147, align 16, !tbaa !27
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = load i64, ptr %27, align 8, !tbaa !22
  %151 = getelementptr inbounds <4 x float>, ptr %149, i64 %150
  %152 = load <4 x float>, ptr %151, align 16, !tbaa !27
  %153 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %148, <4 x float> noundef %152)
  %154 = load ptr, ptr %10, align 8, !tbaa !5
  %155 = load i64, ptr %26, align 8, !tbaa !22
  %156 = getelementptr inbounds <4 x float>, ptr %154, i64 %155
  %157 = load <4 x float>, ptr %156, align 16, !tbaa !27
  %158 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %153, <4 x float> noundef %157)
  %159 = load ptr, ptr %10, align 8, !tbaa !5
  %160 = load i64, ptr %26, align 8, !tbaa !22
  %161 = getelementptr inbounds <4 x float>, ptr %159, i64 %160
  store <4 x float> %158, ptr %161, align 16, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %162

162:                                              ; preds = %132
  %163 = load i64, ptr %11, align 8, !tbaa !22
  %164 = load i64, ptr %24, align 8, !tbaa !22
  %165 = add i64 %164, %163
  store i64 %165, ptr %24, align 8, !tbaa !22
  br label %127, !llvm.loop !30

166:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %167

167:                                              ; preds = %166
  %168 = load i64, ptr %18, align 8, !tbaa !22
  %169 = add i64 %168, 1
  store i64 %169, ptr %18, align 8, !tbaa !22
  br label %73, !llvm.loop !31

170:                                              ; preds = %77
  %171 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 3
  %172 = load i64, ptr %171, align 8, !tbaa !24
  %173 = trunc i64 %172 to i32
  %174 = sext i32 %173 to i64
  %175 = load i64, ptr %11, align 8, !tbaa !22
  %176 = sub i64 %174, %175
  %177 = load i64, ptr %13, align 8, !tbaa !22
  %178 = add i64 %176, %177
  %179 = load i64, ptr %13, align 8, !tbaa !22
  %180 = urem i64 %178, %179
  %181 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 3
  store i64 %180, ptr %181, align 8, !tbaa !24
  br label %182

182:                                              ; preds = %170
  %183 = load i64, ptr %11, align 8, !tbaa !22
  %184 = load i64, ptr %14, align 8, !tbaa !22
  %185 = add i64 %184, %183
  store i64 %185, ptr %14, align 8, !tbaa !22
  %186 = getelementptr inbounds %"class.vraudio::MultiChannelIir", ptr %28, i32 0, i32 0
  %187 = load i64, ptr %186, align 8, !tbaa !9
  %188 = load i64, ptr %15, align 8, !tbaa !22
  %189 = add i64 %188, %187
  store i64 %189, ptr %15, align 8, !tbaa !22
  br label %52, !llvm.loop !32

190:                                              ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK7vraudio11ChannelView4sizeEv(ptr noundef nonnull align 8 dereferenceable(17)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6copy_nIPfmS0_ET1_T_T0_S1_(ptr noundef, i64 noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17)) #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL11_mm_set1_psf(float noundef) #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) #5

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 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"="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 #4 = { inlinehint 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 #5 = { 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 #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, !11, i64 0}
!10 = !{!"_ZTSN7vraudio15MultiChannelIirE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !12, i64 104, !12, i64 176}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSN7vraudio11AudioBufferE", !11, i64 0, !13, i64 8, !11, i64 32, !17, i64 40, !21, i64 64}
!13 = !{!"_ZTSSt6vectorIfN7vraudio16AlignedAllocatorIfLm64EEEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIN7vraudio11ChannelViewESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"int", !7, i64 0}
!22 = !{!11, !11, i64 0}
!23 = !{!10, !11, i64 16}
!24 = !{!10, !11, i64 24}
!25 = !{!26, !26, i64 0}
!26 = !{!"float", !7, i64 0}
!27 = !{!7, !7, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}
!31 = distinct !{!31, !29}
!32 = distinct !{!32, !29}


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

%class.NullLogger = type { i8 }

; 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 uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress 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 noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7vraudio11ChannelViewixEm(ptr noundef nonnull align 8 dereferenceable(17), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7vraudio15MultiChannelIir7ProcessEPNS_11ChannelViewE(ptr noundef nonnull align 8 dereferenceable(248) %0, ptr noundef %1) local_unnamed_addr #2 align 2 {
  %3 = alloca %class.NullLogger, align 1
  %4 = alloca %class.NullLogger, align 1
  %5 = alloca %class.NullLogger, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #6
  %6 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %3)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  %7 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %4)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  %8 = getelementptr inbounds i8, ptr %0, i64 32
  %9 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %8, i64 noundef 0)
  %10 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7vraudio11ChannelViewixEm(ptr noundef nonnull align 8 dereferenceable(17) %9, i64 noundef 0)
  %11 = getelementptr inbounds i8, ptr %0, i64 104
  %12 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %11, i64 noundef 0)
  %13 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7vraudio11ChannelViewixEm(ptr noundef nonnull align 8 dereferenceable(17) %12, i64 noundef 0)
  %14 = getelementptr inbounds i8, ptr %0, i64 176
  %15 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %14, i64 noundef 0)
  %16 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7vraudio11ChannelViewixEm(ptr noundef nonnull align 8 dereferenceable(17) %15, i64 noundef 0)
  %17 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7vraudio11ChannelViewixEm(ptr noundef nonnull align 8 dereferenceable(17) %1, i64 noundef 0)
  %18 = load i64, ptr %0, align 8, !tbaa !5
  %.fr90 = freeze i64 %18
  %19 = lshr i64 %.fr90, 2
  %20 = call noundef i64 @_ZNK7vraudio11ChannelView4sizeEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %21 = lshr i64 %20, 2
  %22 = getelementptr inbounds i8, ptr %0, i64 16
  %23 = load i64, ptr %22, align 8, !tbaa !21
  %.fr92 = freeze i64 %23
  %24 = mul i64 %.fr92, %19
  %.not = icmp ult i64 %20, 4
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %25 = getelementptr inbounds i8, ptr %0, i64 24
  %26 = icmp ugt i64 %.fr90, 3
  %.not93 = icmp eq i64 %24, 0
  %27 = sub i64 %24, %19
  br i1 %26, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph
  %28 = icmp ult i64 %19, %24
  br i1 %28, label %.lr.ph67.us.us, label %.lr.ph.split.us.split

.lr.ph67.us.us:                                   ; preds = %.lr.ph.split.us, %._crit_edge68.split.us.us.us
  %.076.us.us = phi i64 [ %76, %._crit_edge68.split.us.us.us ], [ 0, %.lr.ph.split.us ]
  %.05575.us.us = phi i64 [ %78, %._crit_edge68.split.us.us.us ], [ 0, %.lr.ph.split.us ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %30 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %31 = getelementptr inbounds float, ptr %30, i64 %.05575.us.us
  %32 = load i64, ptr %0, align 8, !tbaa !5
  %33 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %14, i64 noundef 0)
  %34 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %33)
  %35 = load i64, ptr %25, align 8, !tbaa !22
  %.idx.us.us = shl i64 %35, 4
  %36 = getelementptr inbounds i8, ptr %34, i64 %.idx.us.us
  %37 = call noundef ptr @_ZSt6copy_nIPfmS0_ET1_T_T0_S1_(ptr noundef %31, i64 noundef %32, ptr noundef %36)
  %38 = getelementptr inbounds <4 x float>, ptr %17, i64 %.076.us.us
  br i1 %.not93, label %.lr.ph.us.us.us.preheader, label %.lr.ph.us.us.us.us

.lr.ph.us.us.us.preheader:                        ; preds = %.lr.ph67.us.us
  %39 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef 0.000000e+00)
  unreachable

.lr.ph.us.us.us.us:                               ; preds = %.lr.ph67.us.us, %._crit_edge.us.us.us.us
  %.05765.us.us.us.us = phi i64 [ %71, %._crit_edge.us.us.us.us ], [ 0, %.lr.ph67.us.us ]
  %40 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef 0.000000e+00)
  %41 = getelementptr inbounds <4 x float>, ptr %38, i64 %.05765.us.us.us.us
  store <4 x float> %40, ptr %41, align 16, !tbaa !23
  %42 = getelementptr <4 x float>, ptr %16, i64 %.05765.us.us.us.us
  br label %56

..preheader_crit_edge.us.us.us.us:                ; preds = %56, %..preheader_crit_edge.us.us.us.us
  %.05663.us.us.us.us = phi i64 [ %54, %..preheader_crit_edge.us.us.us.us ], [ 0, %56 ]
  %43 = add i64 %.05663.us.us.us.us, %.05765.us.us.us.us
  %44 = load i64, ptr %25, align 8, !tbaa !22
  %45 = add i64 %44, %43
  %46 = urem i64 %45, %24
  %47 = getelementptr inbounds <4 x float>, ptr %10, i64 %43
  %48 = load <4 x float>, ptr %47, align 16, !tbaa !23
  %49 = getelementptr inbounds <4 x float>, ptr %16, i64 %46
  %50 = load <4 x float>, ptr %49, align 16, !tbaa !23
  %51 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %48, <4 x float> noundef %50)
  %52 = load <4 x float>, ptr %41, align 16, !tbaa !23
  %53 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %51, <4 x float> noundef %52)
  store <4 x float> %53, ptr %41, align 16, !tbaa !23
  %54 = add i64 %.05663.us.us.us.us, %19
  %55 = icmp ult i64 %54, %24
  br i1 %55, label %..preheader_crit_edge.us.us.us.us, label %._crit_edge.us.us.us.us, !llvm.loop !24

56:                                               ; preds = %56, %.lr.ph.us.us.us.us
  %.05862.us.us.us.us = phi i64 [ %19, %.lr.ph.us.us.us.us ], [ %69, %56 ]
  %57 = add i64 %.05862.us.us.us.us, %.05765.us.us.us.us
  %58 = load i64, ptr %25, align 8, !tbaa !22
  %59 = add i64 %58, %57
  %60 = urem i64 %59, %24
  %61 = getelementptr inbounds <4 x float>, ptr %13, i64 %57
  %62 = load <4 x float>, ptr %61, align 16, !tbaa !23
  %63 = getelementptr inbounds <4 x float>, ptr %16, i64 %60
  %64 = load <4 x float>, ptr %63, align 16, !tbaa !23
  %65 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %62, <4 x float> noundef %64)
  %66 = getelementptr <4 x float>, ptr %42, i64 %58
  %67 = load <4 x float>, ptr %66, align 16, !tbaa !23
  %68 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %65, <4 x float> noundef %67)
  store <4 x float> %68, ptr %66, align 16, !tbaa !23
  %69 = add i64 %.05862.us.us.us.us, %19
  %70 = icmp ult i64 %69, %24
  br i1 %70, label %56, label %..preheader_crit_edge.us.us.us.us, !llvm.loop !26

._crit_edge.us.us.us.us:                          ; preds = %..preheader_crit_edge.us.us.us.us
  %71 = add nuw nsw i64 %.05765.us.us.us.us, 1
  %exitcond99.not = icmp eq i64 %71, %19
  br i1 %exitcond99.not, label %._crit_edge68.split.us.us.us, label %.lr.ph.us.us.us.us, !llvm.loop !27

._crit_edge68.split.us.us.us:                     ; preds = %._crit_edge.us.us.us.us
  %72 = load i64, ptr %25, align 8, !tbaa !22
  %sext.us.us = shl i64 %72, 32
  %73 = ashr exact i64 %sext.us.us, 32
  %74 = add i64 %27, %73
  %75 = urem i64 %74, %24
  store i64 %75, ptr %25, align 8, !tbaa !22
  %76 = add nuw nsw i64 %.076.us.us, %19
  %77 = load i64, ptr %0, align 8, !tbaa !5
  %78 = add i64 %77, %.05575.us.us
  %79 = icmp ult i64 %76, %21
  br i1 %79, label %.lr.ph67.us.us, label %._crit_edge, !llvm.loop !28

.lr.ph.split.us.split:                            ; preds = %.lr.ph.split.us
  br i1 %.not93, label %.lr.ph67.us, label %.lr.ph67.us.us83

.lr.ph67.us.us83:                                 ; preds = %.lr.ph.split.us.split, %._crit_edge68.split.split.us.us.us
  %.076.us.us84 = phi i64 [ %111, %._crit_edge68.split.split.us.us.us ], [ 0, %.lr.ph.split.us.split ]
  %.05575.us.us85 = phi i64 [ %113, %._crit_edge68.split.split.us.us.us ], [ 0, %.lr.ph.split.us.split ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %81 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %82 = getelementptr inbounds float, ptr %81, i64 %.05575.us.us85
  %83 = load i64, ptr %0, align 8, !tbaa !5
  %84 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %14, i64 noundef 0)
  %85 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %84)
  %86 = load i64, ptr %25, align 8, !tbaa !22
  %.idx.us.us86 = shl i64 %86, 4
  %87 = getelementptr inbounds i8, ptr %85, i64 %.idx.us.us86
  %88 = call noundef ptr @_ZSt6copy_nIPfmS0_ET1_T_T0_S1_(ptr noundef %82, i64 noundef %83, ptr noundef %87)
  %89 = getelementptr inbounds <4 x float>, ptr %17, i64 %.076.us.us84
  br label %.preheader.us69.us.us

.preheader.us69.us.us:                            ; preds = %._crit_edge.us73.us.us, %.lr.ph67.us.us83
  %.05765.us70.us.us = phi i64 [ 0, %.lr.ph67.us.us83 ], [ %106, %._crit_edge.us73.us.us ]
  %90 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef 0.000000e+00)
  %91 = getelementptr inbounds <4 x float>, ptr %89, i64 %.05765.us70.us.us
  store <4 x float> %90, ptr %91, align 16, !tbaa !23
  br label %92

92:                                               ; preds = %92, %.preheader.us69.us.us
  %.05663.us71.us.us = phi i64 [ 0, %.preheader.us69.us.us ], [ %104, %92 ]
  %93 = add i64 %.05663.us71.us.us, %.05765.us70.us.us
  %94 = load i64, ptr %25, align 8, !tbaa !22
  %95 = add i64 %94, %93
  %96 = urem i64 %95, %24
  %97 = getelementptr inbounds <4 x float>, ptr %10, i64 %93
  %98 = load <4 x float>, ptr %97, align 16, !tbaa !23
  %99 = getelementptr inbounds <4 x float>, ptr %16, i64 %96
  %100 = load <4 x float>, ptr %99, align 16, !tbaa !23
  %101 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %98, <4 x float> noundef %100)
  %102 = load <4 x float>, ptr %91, align 16, !tbaa !23
  %103 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %101, <4 x float> noundef %102)
  store <4 x float> %103, ptr %91, align 16, !tbaa !23
  %104 = add i64 %.05663.us71.us.us, %19
  %105 = icmp ult i64 %104, %24
  br i1 %105, label %92, label %._crit_edge.us73.us.us, !llvm.loop !24

._crit_edge.us73.us.us:                           ; preds = %92
  %106 = add nuw nsw i64 %.05765.us70.us.us, 1
  %exitcond.not = icmp eq i64 %106, %19
  br i1 %exitcond.not, label %._crit_edge68.split.split.us.us.us, label %.preheader.us69.us.us, !llvm.loop !27

._crit_edge68.split.split.us.us.us:               ; preds = %._crit_edge.us73.us.us
  %107 = load i64, ptr %25, align 8, !tbaa !22
  %sext.us.us87 = shl i64 %107, 32
  %108 = ashr exact i64 %sext.us.us87, 32
  %109 = add i64 %27, %108
  %110 = urem i64 %109, %24
  store i64 %110, ptr %25, align 8, !tbaa !22
  %111 = add nuw nsw i64 %.076.us.us84, %19
  %112 = load i64, ptr %0, align 8, !tbaa !5
  %113 = add i64 %112, %.05575.us.us85
  %114 = icmp ult i64 %111, %21
  br i1 %114, label %.lr.ph67.us.us83, label %._crit_edge, !llvm.loop !28

.lr.ph67.us:                                      ; preds = %.lr.ph.split.us.split, %._crit_edge68.split.split.us78
  %.076.us = phi i64 [ %128, %._crit_edge68.split.split.us78 ], [ 0, %.lr.ph.split.us.split ]
  %.05575.us = phi i64 [ %130, %._crit_edge68.split.split.us78 ], [ 0, %.lr.ph.split.us.split ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %116 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %117 = getelementptr inbounds float, ptr %116, i64 %.05575.us
  %118 = load i64, ptr %0, align 8, !tbaa !5
  %119 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %14, i64 noundef 0)
  %120 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %119)
  %121 = load i64, ptr %25, align 8, !tbaa !22
  %.idx.us = shl i64 %121, 4
  %122 = getelementptr inbounds i8, ptr %120, i64 %.idx.us
  %123 = call noundef ptr @_ZSt6copy_nIPfmS0_ET1_T_T0_S1_(ptr noundef %117, i64 noundef %118, ptr noundef %122)
  %124 = getelementptr inbounds <4 x float>, ptr %17, i64 %.076.us
  br label %.preheader.us

.preheader.us:                                    ; preds = %.lr.ph67.us, %.preheader.us
  %.05765.us77 = phi i64 [ 0, %.lr.ph67.us ], [ %127, %.preheader.us ]
  %125 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef 0.000000e+00)
  %126 = getelementptr inbounds <4 x float>, ptr %124, i64 %.05765.us77
  store <4 x float> %125, ptr %126, align 16, !tbaa !23
  %127 = add nuw nsw i64 %.05765.us77, 1
  %exitcond98.not = icmp eq i64 %127, %19
  br i1 %exitcond98.not, label %._crit_edge68.split.split.us78, label %.preheader.us, !llvm.loop !27

._crit_edge68.split.split.us78:                   ; preds = %.preheader.us
  %128 = add nuw nsw i64 %.076.us, %19
  %129 = load i64, ptr %0, align 8, !tbaa !5
  %130 = add i64 %129, %.05575.us
  %131 = icmp ult i64 %128, %21
  br i1 %131, label %.lr.ph67.us, label %._crit_edge, !llvm.loop !28

._crit_edge:                                      ; preds = %._crit_edge68.split.split.us.us.us, %._crit_edge68.split.split.us78, %._crit_edge68.split.us.us.us, %2
  ret void

.lr.ph.split:                                     ; preds = %.lr.ph, %.lr.ph.split
  %.05575 = phi i64 [ %142, %.lr.ph.split ], [ 0, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %133 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %134 = getelementptr inbounds float, ptr %133, i64 %.05575
  %135 = load i64, ptr %0, align 8, !tbaa !5
  %136 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %14, i64 noundef 0)
  %137 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %136)
  %138 = load i64, ptr %25, align 8, !tbaa !22
  %.idx = shl i64 %138, 4
  %139 = getelementptr inbounds i8, ptr %137, i64 %.idx
  %140 = call noundef ptr @_ZSt6copy_nIPfmS0_ET1_T_T0_S1_(ptr noundef %134, i64 noundef %135, ptr noundef %139)
  %141 = load i64, ptr %0, align 8, !tbaa !5
  %142 = add i64 %141, %.05575
  br label %.lr.ph.split
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK7vraudio11ChannelView4sizeEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6copy_nIPfmS0_ET1_T_T0_S1_(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL11_mm_set1_psf(float noundef) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #5

attributes #0 = { mustprogress 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 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"="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 #4 = { inlinehint 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 #5 = { 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 #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, !7, i64 0}
!6 = !{!"_ZTSN7vraudio15MultiChannelIirE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 104, !10, i64 176}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN7vraudio11AudioBufferE", !7, i64 0, !11, i64 8, !7, i64 32, !16, i64 40, !20, i64 64}
!11 = !{!"_ZTSSt6vectorIfN7vraudio16AlignedAllocatorIfLm64EEEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"_ZTSSt6vectorIN7vraudio11ChannelViewESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!20 = !{!"int", !8, i64 0}
!21 = !{!6, !7, i64 16}
!22 = !{!6, !7, i64 24}
!23 = !{!8, !8, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = distinct !{!27, !25}
!28 = distinct !{!28, !25}


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