; LLVM IR from glaretechnologies/substrata :: resonance-audio/resonance_audio/dsp/spectral_reverb.ll (ZN7vraudio14SpectralReverbC2Eim)

; 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.std::allocator.7" = type { i8 }
%"class.std::allocator.12" = type { i8 }
%class.NullLogger = type { i8 }
%"class.vraudio::SpectralReverb" = type <{ i32, [4 x i8], i64, i64, i64, %"class.vraudio::FftManager", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.vraudio::CircularBuffer", %"class.std::vector.5", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", %"class.std::vector.10", i8, i8, [6 x i8] }>
%"class.vraudio::FftManager" = type { i64, i64, float, [4 x i8], %"class.vraudio::AudioBuffer", %"class.vraudio::AudioBuffer", ptr, ptr }
%"class.vraudio::CircularBuffer" = type { i64, i64, %"class.vraudio::AudioBuffer", i64, i64, i64 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::unique_ptr<vraudio::CircularBuffer>, std::allocator<std::unique_ptr<vraudio::CircularBuffer>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<vraudio::CircularBuffer>, std::allocator<std::unique_ptr<vraudio::CircularBuffer>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<vraudio::CircularBuffer>, std::allocator<std::unique_ptr<vraudio::CircularBuffer>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<vraudio::CircularBuffer>, std::allocator<std::unique_ptr<vraudio::CircularBuffer>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.vraudio::AudioBuffer" = type <{ i64, %"class.std::vector", i64, %"class.std::vector.0", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<vraudio::AudioBuffer, std::allocator<vraudio::AudioBuffer>>::_Vector_impl" }
%"struct.std::_Vector_base<vraudio::AudioBuffer, std::allocator<vraudio::AudioBuffer>>::_Vector_impl" = type { %"struct.std::_Vector_base<vraudio::AudioBuffer, std::allocator<vraudio::AudioBuffer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vraudio::AudioBuffer, std::allocator<vraudio::AudioBuffer>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7vraudio14SpectralReverbC2Eim(ptr noundef nonnull align 8 dereferenceable(1242) %0, i32 noundef %1, i64 noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::allocator.7", align 1
  %10 = alloca %"class.std::allocator.12", align 1
  %11 = alloca %class.NullLogger, align 1
  %12 = alloca %class.NullLogger, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i64 %2, ptr %6, align 8, !tbaa !11
  %13 = load ptr, ptr %4, align 8
  %14 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 0
  %15 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %15, ptr %14, align 8, !tbaa !13
  %16 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 2
  %17 = load i64, ptr %6, align 8, !tbaa !11
  store i64 %17, ptr %16, align 8, !tbaa !36
  %18 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 3
  store i64 0, ptr %18, align 8, !tbaa !37
  %19 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 4
  store i64 0, ptr %19, align 8, !tbaa !38
  %20 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 5
  call void @_ZN7vraudio10FftManagerC1Em(ptr noundef nonnull align 8 dereferenceable(184) %20, i64 noundef 2048)
  %21 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 6
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %21, i64 noundef 2, i64 noundef 16384)
          to label %22 unwind label %69

22:                                               ; preds = %3
  %23 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 7
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %23, i64 noundef 1, i64 noundef 4096)
          to label %24 unwind label %73

24:                                               ; preds = %22
  %25 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 8
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %25, i64 noundef 1, i64 noundef 4096)
          to label %26 unwind label %77

26:                                               ; preds = %24
  %27 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 9
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %27, i64 noundef 1, i64 noundef 2049)
          to label %28 unwind label %81

28:                                               ; preds = %26
  %29 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 10
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %29, i64 noundef 1, i64 noundef 2049)
          to label %30 unwind label %85

30:                                               ; preds = %28
  %31 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 11
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %31, i64 noundef 3, i64 noundef 2049)
          to label %32 unwind label %89

32:                                               ; preds = %30
  %33 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 12
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %33, i64 noundef 1, i64 noundef 4096)
          to label %34 unwind label %93

34:                                               ; preds = %32
  %35 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 13
  %36 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 2
  %37 = load i64, ptr %36, align 8, !tbaa !36
  %38 = add i64 4096, %37
  %39 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 2
  %40 = load i64, ptr %39, align 8, !tbaa !36
  invoke void @_ZN7vraudio14CircularBufferC1Emmm(ptr noundef nonnull align 8 dereferenceable(112) %35, i64 noundef %38, i64 noundef %40, i64 noundef 1024)
          to label %41 unwind label %97

41:                                               ; preds = %34
  %42 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 14
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  call void @_ZNSaISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS1_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt6vectorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EEC2EmRKS6_(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef 2, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %43 unwind label %101

43:                                               ; preds = %41
  call void @_ZNSt15__new_allocatorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  %44 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 15
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %44, i64 noundef 4, i64 noundef 4096)
          to label %45 unwind label %105

45:                                               ; preds = %43
  %46 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 16
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %46, i64 noundef 2, i64 noundef 4096)
          to label %47 unwind label %109

47:                                               ; preds = %45
  %48 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 17
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %48, i64 noundef 1, i64 noundef 2049)
          to label %49 unwind label %113

49:                                               ; preds = %47
  %50 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 18
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %50, i64 noundef 1, i64 noundef 2049)
          to label %51 unwind label %117

51:                                               ; preds = %49
  %52 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 19
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %52, i64 noundef 2, i64 noundef 2049)
          to label %53 unwind label %121

53:                                               ; preds = %51
  %54 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 20
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  call void @_ZNSaIN7vraudio11AudioBufferEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt6vectorIN7vraudio11AudioBufferESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef 2, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %55 unwind label %125

55:                                               ; preds = %53
  call void @_ZNSt15__new_allocatorIN7vraudio11AudioBufferEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  %56 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 21
  store i8 0, ptr %56, align 8, !tbaa !39
  %57 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 22
  store i8 0, ptr %57, align 1, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %59 unwind label %129

59:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %61 unwind label %133

61:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @srand(i32 noundef 1) #6
  invoke void @_ZN7vraudio14SpectralReverb25GenerateRandomPhaseBufferEv(ptr noundef nonnull align 8 dereferenceable(1242) %13)
          to label %62 unwind label %137

62:                                               ; preds = %61
  invoke void @_ZN7vraudio14SpectralReverb22GenerateAnalysisWindowEv(ptr noundef nonnull align 8 dereferenceable(1242) %13)
          to label %63 unwind label %137

63:                                               ; preds = %62
  invoke void @_ZN7vraudio14SpectralReverb40InitializeCircularBuffersAndAccumulatorsEv(ptr noundef nonnull align 8 dereferenceable(1242) %13)
          to label %64 unwind label %137

64:                                               ; preds = %63
  %65 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 12
  invoke void @_ZN7vraudio11AudioBuffer5ClearEv(ptr noundef nonnull align 8 dereferenceable(68) %65)
          to label %66 unwind label %137

66:                                               ; preds = %64
  %67 = getelementptr inbounds %"class.vraudio::SpectralReverb", ptr %13, i32 0, i32 10
  invoke void @_ZN7vraudio11AudioBuffer5ClearEv(ptr noundef nonnull align 8 dereferenceable(68) %67)
          to label %68 unwind label %137

68:                                               ; preds = %66
  ret void

69:                                               ; preds = %3
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %7, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %8, align 4
  br label %156

73:                                               ; preds = %22
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %7, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %8, align 4
  br label %155

77:                                               ; preds = %24
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %7, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %8, align 4
  br label %154

81:                                               ; preds = %26
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %7, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %8, align 4
  br label %153

85:                                               ; preds = %28
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %7, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %8, align 4
  br label %152

89:                                               ; preds = %30
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %7, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %8, align 4
  br label %151

93:                                               ; preds = %32
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %7, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %8, align 4
  br label %150

97:                                               ; preds = %34
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %7, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %8, align 4
  br label %149

101:                                              ; preds = %41
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %7, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  br label %148

105:                                              ; preds = %43
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %7, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %8, align 4
  br label %147

109:                                              ; preds = %45
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %7, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %8, align 4
  br label %146

113:                                              ; preds = %47
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %7, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %8, align 4
  br label %145

117:                                              ; preds = %49
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %7, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %8, align 4
  br label %144

121:                                              ; preds = %51
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %7, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %8, align 4
  br label %143

125:                                              ; preds = %53
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %7, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIN7vraudio11AudioBufferEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  br label %142

129:                                              ; preds = %55
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %7, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  br label %141

133:                                              ; preds = %59
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %7, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  br label %141

137:                                              ; preds = %66, %64, %63, %62, %61
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %7, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %8, align 4
  br label %141

141:                                              ; preds = %137, %133, %129
  call void @_ZNSt6vectorIN7vraudio11AudioBufferESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #6
  br label %142

142:                                              ; preds = %141, %125
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %52) #6
  br label %143

143:                                              ; preds = %142, %121
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %50) #6
  br label %144

144:                                              ; preds = %143, %117
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %48) #6
  br label %145

145:                                              ; preds = %144, %113
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %46) #6
  br label %146

146:                                              ; preds = %145, %109
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %44) #6
  br label %147

147:                                              ; preds = %146, %105
  call void @_ZNSt6vectorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #6
  br label %148

148:                                              ; preds = %147, %101
  call void @_ZN7vraudio14CircularBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %35) #6
  br label %149

149:                                              ; preds = %148, %97
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %33) #6
  br label %150

150:                                              ; preds = %149, %93
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %31) #6
  br label %151

151:                                              ; preds = %150, %89
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %29) #6
  br label %152

152:                                              ; preds = %151, %85
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %27) #6
  br label %153

153:                                              ; preds = %152, %81
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %25) #6
  br label %154

154:                                              ; preds = %153, %77
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %23) #6
  br label %155

155:                                              ; preds = %154, %73
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %21) #6
  br label %156

156:                                              ; preds = %155, %69
  call void @_ZN7vraudio10FftManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(184) %20) #6
  br label %157

157:                                              ; preds = %156
  %158 = load ptr, ptr %7, align 8
  %159 = load i32, ptr %8, align 4
  %160 = insertvalue { ptr, i32 } poison, ptr %158, 0
  %161 = insertvalue { ptr, i32 } %160, i32 %159, 1
  resume { ptr, i32 } %161
}

declare void @_ZN7vraudio10FftManagerC1Em(ptr noundef nonnull align 8 dereferenceable(184), i64 noundef) unnamed_addr #1

declare void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68), i64 noundef, i64 noundef) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN7vraudio14CircularBufferC1Emmm(ptr noundef nonnull align 8 dereferenceable(112), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EEC2EmRKS6_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7vraudio11AudioBufferESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: nounwind
declare void @srand(i32 noundef) #4

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7vraudio14CircularBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZN7vraudio10FftManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(184)) unnamed_addr #4

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN7vraudio14SpectralReverbE", !10, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !15, i64 32, !17, i64 216, !17, i64 288, !17, i64 360, !17, i64 432, !17, i64 504, !17, i64 576, !17, i64 648, !26, i64 720, !27, i64 832, !17, i64 856, !17, i64 928, !17, i64 1000, !17, i64 1072, !17, i64 1144, !31, i64 1216, !35, i64 1240, !35, i64 1241}
!15 = !{!"_ZTSN7vraudio10FftManagerE", !12, i64 0, !12, i64 8, !16, i64 16, !17, i64 24, !17, i64 96, !6, i64 168, !6, i64 176}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTSN7vraudio11AudioBufferE", !12, i64 0, !18, i64 8, !12, i64 32, !22, i64 40, !10, i64 64}
!18 = !{!"_ZTSSt6vectorIfN7vraudio16AlignedAllocatorIfLm64EEEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIN7vraudio11ChannelViewESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSN7vraudio14CircularBufferE", !12, i64 0, !12, i64 8, !17, i64 16, !12, i64 88, !12, i64 96, !12, i64 104}
!27 = !{!"_ZTSSt6vectorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSSt6vectorIN7vraudio11AudioBufferESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIN7vraudio11AudioBufferESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11AudioBufferESaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11AudioBufferESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"bool", !7, i64 0}
!36 = !{!14, !12, i64 8}
!37 = !{!14, !12, i64 16}
!38 = !{!14, !12, i64 24}
!39 = !{!14, !35, i64 1240}
!40 = !{!14, !35, i64 1241}


; 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.std::allocator.7" = type { i8 }
%"class.std::allocator.12" = type { i8 }
%class.NullLogger = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7vraudio14SpectralReverbC2Eim(ptr noundef nonnull align 8 dereferenceable(1242) %0, i32 noundef %1, i64 noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::allocator.7", align 1
  %5 = alloca %"class.std::allocator.12", align 1
  %6 = alloca %class.NullLogger, align 1
  %7 = alloca %class.NullLogger, align 1
  store i32 %1, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %2, ptr %8, align 8, !tbaa !33
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  %10 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, i8 0, i64 16, i1 false)
  tail call void @_ZN7vraudio10FftManagerC1Em(ptr noundef nonnull align 8 dereferenceable(184) %10, i64 noundef 2048)
  %11 = getelementptr inbounds i8, ptr %0, i64 216
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %11, i64 noundef 2, i64 noundef 16384)
          to label %12 unwind label %54

12:                                               ; preds = %3
  %13 = getelementptr inbounds i8, ptr %0, i64 288
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %13, i64 noundef 1, i64 noundef 4096)
          to label %14 unwind label %56

14:                                               ; preds = %12
  %15 = getelementptr inbounds i8, ptr %0, i64 360
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %15, i64 noundef 1, i64 noundef 4096)
          to label %16 unwind label %58

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %0, i64 432
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %17, i64 noundef 1, i64 noundef 2049)
          to label %18 unwind label %60

18:                                               ; preds = %16
  %19 = getelementptr inbounds i8, ptr %0, i64 504
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %19, i64 noundef 1, i64 noundef 2049)
          to label %20 unwind label %62

20:                                               ; preds = %18
  %21 = getelementptr inbounds i8, ptr %0, i64 576
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %21, i64 noundef 3, i64 noundef 2049)
          to label %22 unwind label %64

22:                                               ; preds = %20
  %23 = getelementptr inbounds i8, ptr %0, i64 648
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %23, i64 noundef 1, i64 noundef 4096)
          to label %24 unwind label %66

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %0, i64 720
  %26 = load i64, ptr %8, align 8, !tbaa !33
  %27 = add i64 %26, 4096
  invoke void @_ZN7vraudio14CircularBufferC1Emmm(ptr noundef nonnull align 8 dereferenceable(112) %25, i64 noundef %27, i64 noundef %26, i64 noundef 1024)
          to label %28 unwind label %68

28:                                               ; preds = %24
  %29 = getelementptr inbounds i8, ptr %0, i64 832
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #7
  call void @_ZNSaISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS1_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZNSt6vectorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EEC2EmRKS6_(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 2, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %30 unwind label %70

30:                                               ; preds = %28
  call void @_ZNSt15__new_allocatorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  %31 = getelementptr inbounds i8, ptr %0, i64 856
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %31, i64 noundef 4, i64 noundef 4096)
          to label %32 unwind label %72

32:                                               ; preds = %30
  %33 = getelementptr inbounds i8, ptr %0, i64 928
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %33, i64 noundef 2, i64 noundef 4096)
          to label %34 unwind label %74

34:                                               ; preds = %32
  %35 = getelementptr inbounds i8, ptr %0, i64 1000
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %35, i64 noundef 1, i64 noundef 2049)
          to label %36 unwind label %76

36:                                               ; preds = %34
  %37 = getelementptr inbounds i8, ptr %0, i64 1072
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %37, i64 noundef 1, i64 noundef 2049)
          to label %38 unwind label %78

38:                                               ; preds = %36
  %39 = getelementptr inbounds i8, ptr %0, i64 1144
  invoke void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68) %39, i64 noundef 2, i64 noundef 2049)
          to label %40 unwind label %80

40:                                               ; preds = %38
  %41 = getelementptr inbounds i8, ptr %0, i64 1216
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  call void @_ZNSaIN7vraudio11AudioBufferEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  invoke void @_ZNSt6vectorIN7vraudio11AudioBufferESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef 2, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %42 unwind label %82

42:                                               ; preds = %40
  call void @_ZNSt15__new_allocatorIN7vraudio11AudioBufferEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  %43 = getelementptr inbounds i8, ptr %0, i64 1240
  store i8 0, ptr %43, align 8, !tbaa !34
  %44 = getelementptr inbounds i8, ptr %0, i64 1241
  store i8 0, ptr %44, align 1, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #7
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %46 unwind label %84

46:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %48 unwind label %86

48:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @srand(i32 noundef 1) #7
  invoke void @_ZN7vraudio14SpectralReverb25GenerateRandomPhaseBufferEv(ptr noundef nonnull align 8 dereferenceable(1242) %0)
          to label %49 unwind label %88

49:                                               ; preds = %48
  invoke void @_ZN7vraudio14SpectralReverb22GenerateAnalysisWindowEv(ptr noundef nonnull align 8 dereferenceable(1242) %0)
          to label %50 unwind label %88

50:                                               ; preds = %49
  invoke void @_ZN7vraudio14SpectralReverb40InitializeCircularBuffersAndAccumulatorsEv(ptr noundef nonnull align 8 dereferenceable(1242) %0)
          to label %51 unwind label %88

51:                                               ; preds = %50
  invoke void @_ZN7vraudio11AudioBuffer5ClearEv(ptr noundef nonnull align 8 dereferenceable(68) %23)
          to label %52 unwind label %88

52:                                               ; preds = %51
  invoke void @_ZN7vraudio11AudioBuffer5ClearEv(ptr noundef nonnull align 8 dereferenceable(68) %19)
          to label %53 unwind label %88

53:                                               ; preds = %52
  ret void

54:                                               ; preds = %3
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %105

56:                                               ; preds = %12
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %104

58:                                               ; preds = %14
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %103

60:                                               ; preds = %16
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %102

62:                                               ; preds = %18
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %101

64:                                               ; preds = %20
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %100

66:                                               ; preds = %22
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %99

68:                                               ; preds = %24
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %98

70:                                               ; preds = %28
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  br label %97

72:                                               ; preds = %30
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %96

74:                                               ; preds = %32
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %95

76:                                               ; preds = %34
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %94

78:                                               ; preds = %36
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %93

80:                                               ; preds = %38
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %92

82:                                               ; preds = %40
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN7vraudio11AudioBufferEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  br label %91

84:                                               ; preds = %42
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  br label %90

86:                                               ; preds = %46
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %90

88:                                               ; preds = %52, %51, %50, %49, %48
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %90

90:                                               ; preds = %88, %86, %84
  %.pn = phi { ptr, i32 } [ %89, %88 ], [ %87, %86 ], [ %85, %84 ]
  call void @_ZNSt6vectorIN7vraudio11AudioBufferESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #7
  br label %91

91:                                               ; preds = %90, %82
  %.pn.pn = phi { ptr, i32 } [ %.pn, %90 ], [ %83, %82 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %39) #7
  br label %92

92:                                               ; preds = %91, %80
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %91 ], [ %81, %80 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %37) #7
  br label %93

93:                                               ; preds = %92, %78
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %92 ], [ %79, %78 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %35) #7
  br label %94

94:                                               ; preds = %93, %76
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %93 ], [ %77, %76 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %33) #7
  br label %95

95:                                               ; preds = %94, %74
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %94 ], [ %75, %74 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %31) #7
  br label %96

96:                                               ; preds = %95, %72
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %95 ], [ %73, %72 ]
  call void @_ZNSt6vectorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  br label %97

97:                                               ; preds = %96, %70
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %96 ], [ %71, %70 ]
  call void @_ZN7vraudio14CircularBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %25) #7
  br label %98

98:                                               ; preds = %97, %68
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %97 ], [ %69, %68 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %23) #7
  br label %99

99:                                               ; preds = %98, %66
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %98 ], [ %67, %66 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %21) #7
  br label %100

100:                                              ; preds = %99, %64
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %99 ], [ %65, %64 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %19) #7
  br label %101

101:                                              ; preds = %100, %62
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %100 ], [ %63, %62 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %17) #7
  br label %102

102:                                              ; preds = %101, %60
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %101 ], [ %61, %60 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %15) #7
  br label %103

103:                                              ; preds = %102, %58
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %102 ], [ %59, %58 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %13) #7
  br label %104

104:                                              ; preds = %103, %56
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %103 ], [ %57, %56 ]
  call void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %11) #7
  br label %105

105:                                              ; preds = %104, %54
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %104 ], [ %55, %54 ]
  call void @_ZN7vraudio10FftManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(184) %10) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

declare void @_ZN7vraudio10FftManagerC1Em(ptr noundef nonnull align 8 dereferenceable(184), i64 noundef) unnamed_addr #1

declare void @_ZN7vraudio11AudioBufferC1Emm(ptr noundef nonnull align 8 dereferenceable(68), i64 noundef, i64 noundef) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN7vraudio14CircularBufferC1Emmm(ptr noundef nonnull align 8 dereferenceable(112), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EEC2EmRKS6_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7vraudio11AudioBufferESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; 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 #0 align 2

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7vraudio11AudioBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7vraudio14CircularBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZN7vraudio10FftManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(184)) unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN7vraudio11AudioBufferEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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) #6

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 = { "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 willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { 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 = !{!"_ZTSN7vraudio14SpectralReverbE", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !13, i64 216, !13, i64 288, !13, i64 360, !13, i64 432, !13, i64 504, !13, i64 576, !13, i64 648, !23, i64 720, !24, i64 832, !13, i64 856, !13, i64 928, !13, i64 1000, !13, i64 1072, !13, i64 1144, !28, i64 1216, !32, i64 1240, !32, i64 1241}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTSN7vraudio10FftManagerE", !10, i64 0, !10, i64 8, !12, i64 16, !13, i64 24, !13, i64 96, !18, i64 168, !18, i64 176}
!12 = !{!"float", !8, i64 0}
!13 = !{!"_ZTSN7vraudio11AudioBufferE", !10, i64 0, !14, i64 8, !10, i64 32, !19, i64 40, !7, i64 64}
!14 = !{!"_ZTSSt6vectorIfN7vraudio16AlignedAllocatorIfLm64EEEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIfN7vraudio16AlignedAllocatorIfLm64EEEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!"_ZTSSt6vectorIN7vraudio11ChannelViewESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11ChannelViewESaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!23 = !{!"_ZTSN7vraudio14CircularBufferE", !10, i64 0, !10, i64 8, !13, i64 16, !10, i64 88, !10, i64 96, !10, i64 104}
!24 = !{!"_ZTSSt6vectorISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7vraudio14CircularBufferESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!28 = !{!"_ZTSSt6vectorIN7vraudio11AudioBufferESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN7vraudio11AudioBufferESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11AudioBufferESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN7vraudio11AudioBufferESaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!32 = !{!"bool", !8, i64 0}
!33 = !{!6, !10, i64 8}
!34 = !{!6, !32, i64 1240}
!35 = !{!6, !32, i64 1241}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass