; LLVM IR from HiFi-LoFi/FFTConvolver :: TwoStageFFTConvolver.ll (ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm)

; 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.fftconvolver::TwoStageFFTConvolver" = type { ptr, i64, i64, %"class.fftconvolver::FFTConvolver", %"class.fftconvolver::FFTConvolver", %"class.fftconvolver::Buffer", %"class.fftconvolver::Buffer", %"class.fftconvolver::FFTConvolver", %"class.fftconvolver::Buffer", %"class.fftconvolver::Buffer", %"class.fftconvolver::Buffer", i64, i64, %"class.fftconvolver::Buffer" }
%"class.fftconvolver::FFTConvolver" = type { ptr, i64, i64, i64, i64, %"class.std::vector", %"class.std::vector", %"class.fftconvolver::Buffer", %"class.audiofft::AudioFFT", %"class.fftconvolver::SplitComplex", %"class.fftconvolver::SplitComplex", %"class.fftconvolver::Buffer", i64, %"class.fftconvolver::Buffer", i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<fftconvolver::SplitComplex *, std::allocator<fftconvolver::SplitComplex *>>::_Vector_impl" }
%"struct.std::_Vector_base<fftconvolver::SplitComplex *, std::allocator<fftconvolver::SplitComplex *>>::_Vector_impl" = type { %"struct.std::_Vector_base<fftconvolver::SplitComplex *, std::allocator<fftconvolver::SplitComplex *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fftconvolver::SplitComplex *, std::allocator<fftconvolver::SplitComplex *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.audiofft::AudioFFT" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.fftconvolver::SplitComplex" = type { i64, %"class.fftconvolver::Buffer", %"class.fftconvolver::Buffer" }
%"class.fftconvolver::Buffer" = type { ptr, ptr, i64 }

@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [46 x i8], align 1
@__PRETTY_FUNCTION__._ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm = external hidden unnamed_addr constant [83 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [33 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm(ptr noundef nonnull align 8 dereferenceable(1072) %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #4 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, 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 i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i64 %3, ptr %8, align 8, !tbaa !9
  %20 = load ptr, ptr %5, align 8
  %21 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 3
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = load i64, ptr %8, align 8, !tbaa !9
  call void @_ZN12fftconvolver12FFTConvolver7processEPKfPfm(ptr noundef nonnull align 8 dereferenceable(296) %21, ptr noundef %22, ptr noundef %23, i64 noundef %24)
  %25 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 10
  %26 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
  %27 = icmp ugt i64 %26, 0
  br i1 %27, label %28, label %239

28:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %29

29:                                               ; preds = %234, %28
  %30 = load i64, ptr %9, align 8, !tbaa !9
  %31 = load i64, ptr %8, align 8, !tbaa !9
  %32 = icmp ult i64 %30, %31
  br i1 %32, label %33, label %238

33:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %34 = load i64, ptr %8, align 8, !tbaa !9
  %35 = load i64, ptr %9, align 8, !tbaa !9
  %36 = sub i64 %34, %35
  store i64 %36, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %37 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 1
  %38 = load i64, ptr %37, align 8, !tbaa !11
  %39 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %40 = load i64, ptr %39, align 8, !tbaa !27
  %41 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 1
  %42 = load i64, ptr %41, align 8, !tbaa !11
  %43 = urem i64 %40, %42
  %44 = sub i64 %38, %43
  store i64 %44, ptr %12, align 8, !tbaa !9
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %46 = load i64, ptr %45, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  store i64 %46, ptr %11, align 8, !tbaa !9
  %47 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %48 = load i64, ptr %47, align 8, !tbaa !27
  %49 = load i64, ptr %11, align 8, !tbaa !9
  %50 = add i64 %48, %49
  %51 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 2
  %52 = load i64, ptr %51, align 8, !tbaa !28
  %53 = icmp ule i64 %50, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %33
  br label %57

55:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 151, ptr noundef @__PRETTY_FUNCTION__._ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm) #8
  unreachable

56:                                               ; No predecessors!
  br label %57

57:                                               ; preds = %56, %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %58 = load i64, ptr %9, align 8, !tbaa !9
  store i64 %58, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %59 = load i64, ptr %9, align 8, !tbaa !9
  %60 = load i64, ptr %11, align 8, !tbaa !9
  %61 = add i64 %59, %60
  store i64 %61, ptr %14, align 8, !tbaa !9
  %62 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 6
  %63 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62)
  %64 = icmp ugt i64 %63, 0
  br i1 %64, label %65, label %90

65:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %66 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 12
  %67 = load i64, ptr %66, align 8, !tbaa !29
  store i64 %67, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %68 = load i64, ptr %13, align 8, !tbaa !9
  store i64 %68, ptr %16, align 8, !tbaa !9
  br label %69

69:                                               ; preds = %86, %65
  %70 = load i64, ptr %16, align 8, !tbaa !9
  %71 = load i64, ptr %14, align 8, !tbaa !9
  %72 = icmp ult i64 %70, %71
  br i1 %72, label %74, label %73

73:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %89

74:                                               ; preds = %69
  %75 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 6
  %76 = load i64, ptr %15, align 8, !tbaa !9
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN12fftconvolver6BufferIfEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %76)
  %78 = load float, ptr %77, align 4, !tbaa !30
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = load i64, ptr %16, align 8, !tbaa !9
  %81 = getelementptr inbounds float, ptr %79, i64 %80
  %82 = load float, ptr %81, align 4, !tbaa !30
  %83 = fadd float %82, %78
  store float %83, ptr %81, align 4, !tbaa !30
  %84 = load i64, ptr %15, align 8, !tbaa !9
  %85 = add i64 %84, 1
  store i64 %85, ptr %15, align 8, !tbaa !9
  br label %86

86:                                               ; preds = %74
  %87 = load i64, ptr %16, align 8, !tbaa !9
  %88 = add i64 %87, 1
  store i64 %88, ptr %16, align 8, !tbaa !9
  br label %69, !llvm.loop !32

89:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %90

90:                                               ; preds = %89, %57
  %91 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 9
  %92 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %91)
  %93 = icmp ugt i64 %92, 0
  br i1 %93, label %94, label %119

94:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %95 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 12
  %96 = load i64, ptr %95, align 8, !tbaa !29
  store i64 %96, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %97 = load i64, ptr %13, align 8, !tbaa !9
  store i64 %97, ptr %18, align 8, !tbaa !9
  br label %98

98:                                               ; preds = %115, %94
  %99 = load i64, ptr %18, align 8, !tbaa !9
  %100 = load i64, ptr %14, align 8, !tbaa !9
  %101 = icmp ult i64 %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %118

103:                                              ; preds = %98
  %104 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 9
  %105 = load i64, ptr %17, align 8, !tbaa !9
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN12fftconvolver6BufferIfEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %105)
  %107 = load float, ptr %106, align 4, !tbaa !30
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = load i64, ptr %18, align 8, !tbaa !9
  %110 = getelementptr inbounds float, ptr %108, i64 %109
  %111 = load float, ptr %110, align 4, !tbaa !30
  %112 = fadd float %111, %107
  store float %112, ptr %110, align 4, !tbaa !30
  %113 = load i64, ptr %17, align 8, !tbaa !9
  %114 = add i64 %113, 1
  store i64 %114, ptr %17, align 8, !tbaa !9
  br label %115

115:                                              ; preds = %103
  %116 = load i64, ptr %18, align 8, !tbaa !9
  %117 = add i64 %116, 1
  store i64 %117, ptr %18, align 8, !tbaa !9
  br label %98, !llvm.loop !34

118:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %119

119:                                              ; preds = %118, %90
  %120 = load i64, ptr %11, align 8, !tbaa !9
  %121 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 12
  %122 = load i64, ptr %121, align 8, !tbaa !29
  %123 = add i64 %122, %120
  store i64 %123, ptr %121, align 8, !tbaa !29
  %124 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 10
  %125 = call noundef ptr @_ZN12fftconvolver6BufferIfE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %124)
  %126 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %127 = load i64, ptr %126, align 8, !tbaa !27
  %128 = getelementptr inbounds float, ptr %125, i64 %127
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = load i64, ptr %9, align 8, !tbaa !9
  %131 = getelementptr inbounds float, ptr %129, i64 %130
  %132 = load i64, ptr %11, align 8, !tbaa !9
  %133 = mul i64 %132, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %128, ptr align 4 %131, i64 %133, i1 false)
  %134 = load i64, ptr %11, align 8, !tbaa !9
  %135 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %136 = load i64, ptr %135, align 8, !tbaa !27
  %137 = add i64 %136, %134
  store i64 %137, ptr %135, align 8, !tbaa !27
  %138 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %139 = load i64, ptr %138, align 8, !tbaa !27
  %140 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 2
  %141 = load i64, ptr %140, align 8, !tbaa !28
  %142 = icmp ule i64 %139, %141
  br i1 %142, label %143, label %144

143:                                              ; preds = %119
  br label %146

144:                                              ; preds = %119
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 185, ptr noundef @__PRETTY_FUNCTION__._ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm) #8
  unreachable

145:                                              ; No predecessors!
  br label %146

146:                                              ; preds = %145, %143
  %147 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 6
  %148 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %147)
  %149 = icmp ugt i64 %148, 0
  br i1 %149, label %150, label %192

150:                                              ; preds = %146
  %151 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %152 = load i64, ptr %151, align 8, !tbaa !27
  %153 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 1
  %154 = load i64, ptr %153, align 8, !tbaa !11
  %155 = urem i64 %152, %154
  %156 = icmp eq i64 %155, 0
  br i1 %156, label %157, label %192

157:                                              ; preds = %150
  %158 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %159 = load i64, ptr %158, align 8, !tbaa !27
  %160 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 1
  %161 = load i64, ptr %160, align 8, !tbaa !11
  %162 = icmp uge i64 %159, %161
  br i1 %162, label %163, label %164

163:                                              ; preds = %157
  br label %166

164:                                              ; preds = %157
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 190, ptr noundef @__PRETTY_FUNCTION__._ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm) #8
  unreachable

165:                                              ; No predecessors!
  br label %166

166:                                              ; preds = %165, %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %167 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %168 = load i64, ptr %167, align 8, !tbaa !27
  %169 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 1
  %170 = load i64, ptr %169, align 8, !tbaa !11
  %171 = sub i64 %168, %170
  store i64 %171, ptr %19, align 8, !tbaa !9
  %172 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 4
  %173 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 10
  %174 = call noundef ptr @_ZN12fftconvolver6BufferIfE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %173)
  %175 = load i64, ptr %19, align 8, !tbaa !9
  %176 = getelementptr inbounds float, ptr %174, i64 %175
  %177 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 5
  %178 = call noundef ptr @_ZN12fftconvolver6BufferIfE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %177)
  %179 = load i64, ptr %19, align 8, !tbaa !9
  %180 = getelementptr inbounds float, ptr %178, i64 %179
  %181 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 1
  %182 = load i64, ptr %181, align 8, !tbaa !11
  call void @_ZN12fftconvolver12FFTConvolver7processEPKfPfm(ptr noundef nonnull align 8 dereferenceable(296) %172, ptr noundef %176, ptr noundef %180, i64 noundef %182)
  %183 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %184 = load i64, ptr %183, align 8, !tbaa !27
  %185 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 2
  %186 = load i64, ptr %185, align 8, !tbaa !28
  %187 = icmp eq i64 %184, %186
  br i1 %187, label %188, label %191

188:                                              ; preds = %166
  %189 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 6
  %190 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 5
  call void @_ZN12fftconvolver6BufferIfE4SwapERS1_S2_(ptr noundef nonnull align 8 dereferenceable(24) %189, ptr noundef nonnull align 8 dereferenceable(24) %190)
  br label %191

191:                                              ; preds = %188, %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %192

192:                                              ; preds = %191, %150, %146
  %193 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 9
  %194 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %193)
  %195 = icmp ugt i64 %194, 0
  br i1 %195, label %196, label %225

196:                                              ; preds = %192
  %197 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %198 = load i64, ptr %197, align 8, !tbaa !27
  %199 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 2
  %200 = load i64, ptr %199, align 8, !tbaa !28
  %201 = icmp eq i64 %198, %200
  br i1 %201, label %202, label %225

202:                                              ; preds = %196
  %203 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 13
  %204 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %203)
  %205 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 2
  %206 = load i64, ptr %205, align 8, !tbaa !28
  %207 = icmp eq i64 %204, %206
  br i1 %207, label %208, label %225

208:                                              ; preds = %202
  %209 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 8
  %210 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %209)
  %211 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 2
  %212 = load i64, ptr %211, align 8, !tbaa !28
  %213 = icmp eq i64 %210, %212
  br i1 %213, label %214, label %225

214:                                              ; preds = %208
  %215 = load ptr, ptr %20, align 8, !tbaa !35
  %216 = getelementptr inbounds ptr, ptr %215, i64 3
  %217 = load ptr, ptr %216, align 8
  call void %217(ptr noundef nonnull align 8 dereferenceable(1072) %20)
  %218 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 9
  %219 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 8
  call void @_ZN12fftconvolver6BufferIfE4SwapERS1_S2_(ptr noundef nonnull align 8 dereferenceable(24) %218, ptr noundef nonnull align 8 dereferenceable(24) %219)
  %220 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 13
  %221 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 10
  call void @_ZN12fftconvolver6BufferIfE8copyFromERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %220, ptr noundef nonnull align 8 dereferenceable(24) %221)
  %222 = load ptr, ptr %20, align 8, !tbaa !35
  %223 = getelementptr inbounds ptr, ptr %222, i64 2
  %224 = load ptr, ptr %223, align 8
  call void %224(ptr noundef nonnull align 8 dereferenceable(1072) %20)
  br label %225

225:                                              ; preds = %214, %208, %202, %196, %192
  %226 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  %227 = load i64, ptr %226, align 8, !tbaa !27
  %228 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 2
  %229 = load i64, ptr %228, align 8, !tbaa !28
  %230 = icmp eq i64 %227, %229
  br i1 %230, label %231, label %234

231:                                              ; preds = %225
  %232 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 11
  store i64 0, ptr %232, align 8, !tbaa !27
  %233 = getelementptr inbounds %"class.fftconvolver::TwoStageFFTConvolver", ptr %20, i32 0, i32 12
  store i64 0, ptr %233, align 8, !tbaa !29
  br label %234

234:                                              ; preds = %231, %225
  %235 = load i64, ptr %11, align 8, !tbaa !9
  %236 = load i64, ptr %9, align 8, !tbaa !9
  %237 = add i64 %236, %235
  store i64 %237, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %29, !llvm.loop !37

238:                                              ; preds = %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %239

239:                                              ; preds = %238, %4
  ret void
}

declare void @_ZN12fftconvolver12FFTConvolver7processEPKfPfm(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef, ptr noundef, i64 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN12fftconvolver6BufferIfEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12fftconvolver6BufferIfE4SwapERS1_S2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12fftconvolver6BufferIfE8copyFromERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="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 = { 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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTSN12fftconvolver20TwoStageFFTConvolverE", !10, i64 8, !10, i64 16, !13, i64 24, !13, i64 320, !18, i64 616, !18, i64 640, !13, i64 664, !18, i64 960, !18, i64 984, !18, i64 1008, !10, i64 1032, !10, i64 1040, !18, i64 1048}
!13 = !{!"_ZTSN12fftconvolver12FFTConvolverE", !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !14, i64 40, !14, i64 64, !18, i64 88, !19, i64 112, !26, i64 120, !26, i64 176, !18, i64 232, !10, i64 256, !18, i64 264, !10, i64 288}
!14 = !{!"_ZTSSt6vectorIPN12fftconvolver12SplitComplexESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSN12fftconvolver6BufferIfEE", !6, i64 8, !10, i64 16}
!19 = !{!"_ZTSN8audiofft8AudioFFTE", !20, i64 0}
!20 = !{!"_ZTSSt10unique_ptrIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_ELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJPN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJPN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EEE", !25, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EPN8audiofft6detail12AudioFFTImplELb0EE", !6, i64 0}
!26 = !{!"_ZTSN12fftconvolver12SplitComplexE", !10, i64 0, !18, i64 8, !18, i64 32}
!27 = !{!12, !10, i64 1032}
!28 = !{!12, !10, i64 16}
!29 = !{!12, !10, i64 1040}
!30 = !{!31, !31, i64 0}
!31 = !{!"float", !7, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}
!35 = !{!36, !36, i64 0}
!36 = !{!"vtable pointer", !8, i64 0}
!37 = distinct !{!37, !33}


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

@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [46 x i8], align 1
@__PRETTY_FUNCTION__._ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm = external hidden unnamed_addr constant [83 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [33 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm(ptr noundef nonnull align 8 dereferenceable(1072) %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #4 align 2 {
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN12fftconvolver12FFTConvolver7processEPKfPfm(ptr noundef nonnull align 8 dereferenceable(296) %7, ptr noundef %1, ptr noundef %2, i64 noundef %3)
  %8 = getelementptr inbounds i8, ptr %0, i64 1008
  %9 = tail call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %.not = icmp ne i64 %9, 0
  %10 = icmp ne i64 %3, 0
  %or.cond = and i1 %.not, %10
  br i1 %or.cond, label %.lr.ph59, label %.loopexit51

.lr.ph59:                                         ; preds = %4
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = getelementptr inbounds i8, ptr %0, i64 1032
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  %14 = getelementptr inbounds i8, ptr %0, i64 640
  %15 = getelementptr inbounds i8, ptr %0, i64 1040
  %16 = getelementptr inbounds i8, ptr %0, i64 984
  %17 = getelementptr inbounds i8, ptr %0, i64 320
  %18 = getelementptr inbounds i8, ptr %0, i64 616
  %19 = getelementptr inbounds i8, ptr %0, i64 1048
  %20 = getelementptr inbounds i8, ptr %0, i64 960
  %.pre = load i64, ptr %12, align 8, !tbaa !5
  br label %21

21:                                               ; preds = %.lr.ph59, %109
  %22 = phi i64 [ %.pre, %.lr.ph59 ], [ %110, %109 ]
  %.057 = phi i64 [ 0, %.lr.ph59 ], [ %34, %109 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %23 = sub i64 %3, %.057
  store i64 %23, ptr %5, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %24 = load i64, ptr %11, align 8, !tbaa !26
  %25 = urem i64 %22, %24
  %26 = sub i64 %24, %25
  store i64 %26, ptr %6, align 8, !tbaa !25
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %28 = load i64, ptr %27, align 8, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  %29 = load i64, ptr %12, align 8, !tbaa !5
  %30 = add i64 %29, %28
  %31 = load i64, ptr %13, align 8, !tbaa !27
  %.not43 = icmp ugt i64 %30, %31
  br i1 %.not43, label %32, label %33

32:                                               ; preds = %21
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 151, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm) #9
  unreachable

33:                                               ; preds = %21
  %34 = add i64 %28, %.057
  %35 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %.not44 = icmp ne i64 %35, 0
  %36 = icmp ult i64 %.057, %34
  %or.cond61 = select i1 %.not44, i1 %36, i1 false
  br i1 %or.cond61, label %.lr.ph.preheader, label %.loopexit50

.lr.ph.preheader:                                 ; preds = %33
  %37 = load i64, ptr %15, align 8
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.03853 = phi i64 [ %44, %.lr.ph ], [ %.057, %.lr.ph.preheader ]
  %.03952 = phi i64 [ %43, %.lr.ph ], [ %37, %.lr.ph.preheader ]
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN12fftconvolver6BufferIfEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %.03952)
  %39 = load float, ptr %38, align 4, !tbaa !28
  %40 = getelementptr inbounds float, ptr %2, i64 %.03853
  %41 = load float, ptr %40, align 4, !tbaa !28
  %42 = fadd float %39, %41
  store float %42, ptr %40, align 4, !tbaa !28
  %43 = add i64 %.03952, 1
  %44 = add i64 %.03853, 1
  %exitcond.not = icmp eq i64 %44, %34
  br i1 %exitcond.not, label %.loopexit50, label %.lr.ph, !llvm.loop !30

.loopexit50:                                      ; preds = %.lr.ph, %33
  %45 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16)
  %.not45 = icmp ne i64 %45, 0
  %46 = load i64, ptr %15, align 8
  %or.cond63 = select i1 %.not45, i1 %36, i1 false
  br i1 %or.cond63, label %.lr.ph56, label %.loopexit

.lr.ph56:                                         ; preds = %.loopexit50, %.lr.ph56
  %.03655 = phi i64 [ %53, %.lr.ph56 ], [ %.057, %.loopexit50 ]
  %.03754 = phi i64 [ %52, %.lr.ph56 ], [ %46, %.loopexit50 ]
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN12fftconvolver6BufferIfEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %.03754)
  %48 = load float, ptr %47, align 4, !tbaa !28
  %49 = getelementptr inbounds float, ptr %2, i64 %.03655
  %50 = load float, ptr %49, align 4, !tbaa !28
  %51 = fadd float %48, %50
  store float %51, ptr %49, align 4, !tbaa !28
  %52 = add i64 %.03754, 1
  %53 = add i64 %.03655, 1
  %exitcond64.not = icmp eq i64 %53, %34
  br i1 %exitcond64.not, label %.loopexit.loopexit, label %.lr.ph56, !llvm.loop !32

.loopexit.loopexit:                               ; preds = %.lr.ph56
  %.pre65 = load i64, ptr %15, align 8, !tbaa !33
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.loopexit50
  %54 = phi i64 [ %.pre65, %.loopexit.loopexit ], [ %46, %.loopexit50 ]
  %55 = add i64 %54, %28
  store i64 %55, ptr %15, align 8, !tbaa !33
  %56 = call noundef ptr @_ZN12fftconvolver6BufferIfE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %57 = load i64, ptr %12, align 8, !tbaa !5
  %58 = getelementptr inbounds float, ptr %56, i64 %57
  %59 = getelementptr inbounds float, ptr %1, i64 %.057
  %60 = shl i64 %28, 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 4 %59, i64 %60, i1 false)
  %61 = load i64, ptr %12, align 8, !tbaa !5
  %62 = add i64 %61, %28
  store i64 %62, ptr %12, align 8, !tbaa !5
  %63 = load i64, ptr %13, align 8, !tbaa !27
  %.not46 = icmp ugt i64 %62, %63
  br i1 %.not46, label %64, label %65

64:                                               ; preds = %.loopexit
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 185, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm) #9
  unreachable

65:                                               ; preds = %.loopexit
  %66 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %.not47 = icmp eq i64 %66, 0
  br i1 %.not47, label %85, label %67

67:                                               ; preds = %65
  %68 = load i64, ptr %12, align 8, !tbaa !5
  %69 = load i64, ptr %11, align 8, !tbaa !26
  %70 = urem i64 %68, %69
  %71 = icmp eq i64 %70, 0
  br i1 %71, label %72, label %85

72:                                               ; preds = %67
  %.not48 = icmp ult i64 %68, %69
  br i1 %.not48, label %73, label %74

73:                                               ; preds = %72
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 190, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN12fftconvolver20TwoStageFFTConvolver7processEPKfPfm) #9
  unreachable

74:                                               ; preds = %72
  %75 = sub i64 %68, %69
  %76 = call noundef ptr @_ZN12fftconvolver6BufferIfE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %77 = getelementptr inbounds float, ptr %76, i64 %75
  %78 = call noundef ptr @_ZN12fftconvolver6BufferIfE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %18)
  %79 = getelementptr inbounds float, ptr %78, i64 %75
  %80 = load i64, ptr %11, align 8, !tbaa !26
  call void @_ZN12fftconvolver12FFTConvolver7processEPKfPfm(ptr noundef nonnull align 8 dereferenceable(296) %17, ptr noundef %77, ptr noundef %79, i64 noundef %80)
  %81 = load i64, ptr %12, align 8, !tbaa !5
  %82 = load i64, ptr %13, align 8, !tbaa !27
  %83 = icmp eq i64 %81, %82
  br i1 %83, label %84, label %85

84:                                               ; preds = %74
  call void @_ZN12fftconvolver6BufferIfE4SwapERS1_S2_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %18)
  br label %85

85:                                               ; preds = %74, %84, %67, %65
  %86 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16)
  %.not49 = icmp ne i64 %86, 0
  %.pre67 = load i64, ptr %13, align 8, !tbaa !27
  %87 = load i64, ptr %12, align 8
  %88 = icmp eq i64 %87, %.pre67
  %or.cond69 = select i1 %.not49, i1 %88, i1 false
  br i1 %or.cond69, label %89, label %104

89:                                               ; preds = %85
  %90 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19)
  %91 = load i64, ptr %13, align 8, !tbaa !27
  %92 = icmp eq i64 %90, %91
  br i1 %92, label %93, label %104

93:                                               ; preds = %89
  %94 = call noundef i64 @_ZNK12fftconvolver6BufferIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
  %95 = load i64, ptr %13, align 8, !tbaa !27
  %96 = icmp eq i64 %94, %95
  br i1 %96, label %97, label %104

97:                                               ; preds = %93
  %98 = load ptr, ptr %0, align 8, !tbaa !34
  %99 = getelementptr inbounds i8, ptr %98, i64 24
  %100 = load ptr, ptr %99, align 8
  call void %100(ptr noundef nonnull align 8 dereferenceable(1072) %0)
  call void @_ZN12fftconvolver6BufferIfE4SwapERS1_S2_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %20)
  call void @_ZN12fftconvolver6BufferIfE8copyFromERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %8)
  %101 = load ptr, ptr %0, align 8, !tbaa !34
  %102 = getelementptr inbounds i8, ptr %101, i64 16
  %103 = load ptr, ptr %102, align 8
  call void %103(ptr noundef nonnull align 8 dereferenceable(1072) %0)
  %.pre66 = load i64, ptr %13, align 8, !tbaa !27
  br label %104

104:                                              ; preds = %97, %93, %89, %85
  %105 = phi i64 [ %.pre66, %97 ], [ %95, %93 ], [ %91, %89 ], [ %.pre67, %85 ]
  %106 = load i64, ptr %12, align 8, !tbaa !5
  %107 = icmp eq i64 %106, %105
  br i1 %107, label %108, label %109

108:                                              ; preds = %104
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, i8 0, i64 16, i1 false)
  br label %109

109:                                              ; preds = %108, %104
  %110 = phi i64 [ 0, %108 ], [ %106, %104 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  %111 = icmp ult i64 %34, %3
  br i1 %111, label %21, label %.loopexit51, !llvm.loop !36

.loopexit51:                                      ; preds = %109, %4
  ret void
}

declare void @_ZN12fftconvolver12FFTConvolver7processEPKfPfm(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN12fftconvolver6BufferIfEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12fftconvolver6BufferIfE4SwapERS1_S2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12fftconvolver6BufferIfE8copyFromERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="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 = { 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 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nounwind }
attributes #9 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 1032}
!6 = !{!"_ZTSN12fftconvolver20TwoStageFFTConvolverE", !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 320, !16, i64 616, !16, i64 640, !10, i64 664, !16, i64 960, !16, i64 984, !16, i64 1008, !7, i64 1032, !7, i64 1040, !16, i64 1048}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN12fftconvolver12FFTConvolverE", !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !11, i64 40, !11, i64 64, !16, i64 88, !17, i64 112, !24, i64 120, !24, i64 176, !16, i64 232, !7, i64 256, !16, i64 264, !7, i64 288}
!11 = !{!"_ZTSSt6vectorIPN12fftconvolver12SplitComplexESaIS2_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"_ZTSN12fftconvolver6BufferIfEE", !15, i64 8, !7, i64 16}
!17 = !{!"_ZTSN8audiofft8AudioFFTE", !18, i64 0}
!18 = !{!"_ZTSSt10unique_ptrIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt15__uniq_ptr_dataIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_ELb1ELb1EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_implIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt5tupleIJPN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EEE", !22, i64 0}
!22 = !{!"_ZTSSt11_Tuple_implILm0EJPN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EEE", !23, i64 0}
!23 = !{!"_ZTSSt10_Head_baseILm0EPN8audiofft6detail12AudioFFTImplELb0EE", !15, i64 0}
!24 = !{!"_ZTSN12fftconvolver12SplitComplexE", !7, i64 0, !16, i64 8, !16, i64 32}
!25 = !{!7, !7, i64 0}
!26 = !{!6, !7, i64 8}
!27 = !{!6, !7, i64 16}
!28 = !{!29, !29, i64 0}
!29 = !{!"float", !8, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = !{!6, !7, i64 1040}
!34 = !{!35, !35, i64 0}
!35 = !{!"vtable pointer", !9, i64 0}
!36 = distinct !{!36, !31}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass