; LLVM IR from zsiciarz/aquila :: tests/transform/Spectrogram.ll (Z17testSpectrumPeaksmdd)

; 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.Aquila::SineGenerator" = type { %"class.Aquila::Generator" }
%"class.Aquila::Generator" = type { %"class.Aquila::SignalSource", double, double, double }
%"class.Aquila::SignalSource" = type { ptr, %"class.std::vector", double }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Aquila::FramesCollection" = type <{ %"class.std::vector.0", i32, [4 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Aquila::Frame, std::allocator<Aquila::Frame>>::_Vector_impl" }
%"struct.std::_Vector_base<Aquila::Frame, std::allocator<Aquila::Frame>>::_Vector_impl" = type { %"struct.std::_Vector_base<Aquila::Frame, std::allocator<Aquila::Frame>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Aquila::Frame, std::allocator<Aquila::Frame>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, [3 x i8] }>
%"class.UnitTest::MemoryOutStream" = type { %"class.std::__cxx11::basic_ostringstream.base", %"class.std::__cxx11::basic_string", %"class.std::basic_ios" }
%"class.std::__cxx11::basic_ostringstream.base" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Aquila::Spectrogram" = type { i64, i64, %"class.std::shared_ptr", %"class.std::shared_ptr.8" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.8" = type { %"class.std::__shared_ptr.9" }
%"class.std::__shared_ptr.9" = type { ptr, %"class.std::__shared_count" }
%"class.std::allocator" = type { i8 }
%"class.std::complex" = type { { double, double } }

@_ZTISt9exception = external constant ptr
@.str = external hidden unnamed_addr constant [55 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [46 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z17testSpectrumPeaksmdd(i64 noundef %0, double noundef %1, double noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i64, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca %"class.Aquila::SineGenerator", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca %"class.Aquila::FramesCollection", align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca %"class.UnitTest::TestDetails", align 8
  %15 = alloca %"class.UnitTest::TestDetails", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %18 = alloca %"class.UnitTest::TestDetails", align 8
  %19 = alloca %"class.Aquila::Spectrogram", align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca i64, align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca i64, align 8
  %29 = alloca %"class.std::complex", align 8
  %30 = alloca double, align 8
  %31 = alloca %"class.UnitTest::TestDetails", align 8
  %32 = alloca %"class.UnitTest::TestDetails", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %35 = alloca %"class.UnitTest::TestDetails", align 8
  store i64 %0, ptr %4, align 8, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  store double %2, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #9
  %36 = load double, ptr %5, align 8, !tbaa !9
  call void @_ZN6Aquila13SineGeneratorC1Ed(ptr noundef nonnull align 8 dereferenceable(64) %7, double noundef %36)
  %37 = load double, ptr %6, align 8, !tbaa !9
  %38 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN6Aquila9Generator12setFrequencyEd(ptr noundef nonnull align 8 dereferenceable(64) %7, double noundef %37)
          to label %39 unwind label %63

39:                                               ; preds = %3
  %40 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN6Aquila9Generator12setAmplitudeEd(ptr noundef nonnull align 8 dereferenceable(64) %38, double noundef 1.000000e+00)
          to label %41 unwind label %63

41:                                               ; preds = %39
  %42 = load i64, ptr %4, align 8, !tbaa !5
  %43 = load ptr, ptr %40, align 8, !tbaa !11
  %44 = getelementptr inbounds ptr, ptr %43, i64 8
  %45 = load ptr, ptr %44, align 8
  invoke void %45(ptr noundef nonnull align 8 dereferenceable(64) %40, i64 noundef %42)
          to label %46 unwind label %63

46:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %47 = load i64, ptr %4, align 8, !tbaa !5
  %48 = udiv i64 %47, 4
  store i64 %48, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #9
  %49 = load i64, ptr %10, align 8, !tbaa !5
  %50 = trunc i64 %49 to i32
  invoke void @_ZN6Aquila16FramesCollectionC1ERKNS_12SignalSourceEjj(ptr noundef nonnull align 8 dereferenceable(28) %11, ptr noundef nonnull align 8 dereferenceable(40) %7, i32 noundef %50, i32 noundef 0)
          to label %51 unwind label %67

51:                                               ; preds = %46
  br label %52

52:                                               ; preds = %51
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %54 unwind label %71

54:                                               ; preds = %52
  %55 = load ptr, ptr %53, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store i32 4, ptr %12, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %56 = invoke noundef i64 @_ZNK6Aquila16FramesCollection5countEv(ptr noundef nonnull align 8 dereferenceable(28) %11)
          to label %57 unwind label %75

57:                                               ; preds = %54
  store i64 %56, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #9
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %59 unwind label %79

59:                                               ; preds = %57
  %60 = load ptr, ptr %58, align 8, !tbaa !13
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %14, ptr noundef nonnull align 8 dereferenceable(29) %60, i32 noundef 17)
          to label %61 unwind label %79

61:                                               ; preds = %59
  invoke void @_ZN8UnitTest10CheckEqualIjmEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %55, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(29) %14)
          to label %62 unwind label %79

62:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %114

63:                                               ; preds = %41, %39, %3
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %8, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %9, align 4
  br label %341

67:                                               ; preds = %46
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %8, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %9, align 4
  br label %340

71:                                               ; preds = %52
  %72 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %8, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %9, align 4
  br label %84

75:                                               ; preds = %54
  %76 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %8, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %9, align 4
  br label %83

79:                                               ; preds = %61, %59, %57
  %80 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %8, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  br label %83

83:                                               ; preds = %79, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %84

84:                                               ; preds = %83, %71
  %85 = load i32, ptr %9, align 4
  %86 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %87 = icmp eq i32 %85, %86
  br i1 %87, label %88, label %140

88:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %89 = load ptr, ptr %8, align 8
  %90 = call ptr @__cxa_begin_catch(ptr %89) #9
  store ptr %90, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 408, ptr %17) #9
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %17)
          to label %91 unwind label %166

91:                                               ; preds = %88
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef @.str.1)
          to label %93 unwind label %170

93:                                               ; preds = %91
  %94 = load ptr, ptr %16, align 8, !tbaa !13
  %95 = load ptr, ptr %94, align 8, !tbaa !11
  %96 = getelementptr inbounds ptr, ptr %95, i64 2
  %97 = load ptr, ptr %96, align 8
  %98 = call noundef ptr %97(ptr noundef nonnull align 8 dereferenceable(8) %94) #9
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef %98)
          to label %100 unwind label %170

100:                                              ; preds = %93
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef @.str.2)
          to label %102 unwind label %170

102:                                              ; preds = %100
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %104 unwind label %170

104:                                              ; preds = %102
  %105 = load ptr, ptr %103, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #9
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %107 unwind label %174

107:                                              ; preds = %104
  %108 = load ptr, ptr %106, align 8, !tbaa !13
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %18, ptr noundef nonnull align 8 dereferenceable(29) %108, i32 noundef 17)
          to label %109 unwind label %174

109:                                              ; preds = %107
  %110 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %17)
          to label %111 unwind label %174

111:                                              ; preds = %109
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %105, ptr noundef nonnull align 8 dereferenceable(29) %18, ptr noundef %110)
          to label %112 unwind label %174

112:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %17) #9
  call void @llvm.lifetime.end.p0(i64 408, ptr %17) #9
  invoke void @__cxa_end_catch()
          to label %113 unwind label %180

113:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %114

114:                                              ; preds = %151, %113, %62
  br label %115

115:                                              ; preds = %114
  br label %116

116:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #9
  invoke void @_ZN6Aquila11SpectrogramC1ERNS_16FramesCollectionE(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(28) %11)
          to label %117 unwind label %186

117:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %118 = load i64, ptr %10, align 8, !tbaa !5
  %119 = udiv i64 %118, 2
  store i64 %119, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %120 = load double, ptr %6, align 8, !tbaa !9
  %121 = load i64, ptr %10, align 8, !tbaa !5
  %122 = uitofp i64 %121 to double
  %123 = fmul double %120, %122
  %124 = load double, ptr %5, align 8, !tbaa !9
  %125 = fdiv double %123, %124
  %126 = fptoui double %125 to i64
  store i64 %126, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #9
  %127 = load i64, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %127, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %128 unwind label %190

128:                                              ; preds = %117
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #9
  %129 = load i64, ptr %20, align 8, !tbaa !5
  %130 = uitofp i64 %129 to double
  %131 = fmul double %130, 1.000000e+00
  %132 = load i64, ptr %21, align 8, !tbaa !5
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %132) #9
  store double %131, ptr %133, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  store i64 0, ptr %24, align 8, !tbaa !5
  br label %134

134:                                              ; preds = %284, %128
  %135 = load i64, ptr %24, align 8, !tbaa !5
  %136 = invoke noundef i64 @_ZNK6Aquila11Spectrogram13getFrameCountEv(ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %137 unwind label %194

137:                                              ; preds = %134
  %138 = icmp ult i64 %135, %136
  br i1 %138, label %198, label %139

139:                                              ; preds = %137
  store i32 4, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %336

140:                                              ; preds = %84
  %141 = load ptr, ptr %8, align 8
  %142 = call ptr @__cxa_begin_catch(ptr %141) #9
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %144 unwind label %152

144:                                              ; preds = %140
  %145 = load ptr, ptr %143, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %147 unwind label %156

147:                                              ; preds = %144
  %148 = load ptr, ptr %146, align 8, !tbaa !13
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %15, ptr noundef nonnull align 8 dereferenceable(29) %148, i32 noundef 17)
          to label %149 unwind label %156

149:                                              ; preds = %147
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %145, ptr noundef nonnull align 8 dereferenceable(29) %15, ptr noundef @.str)
          to label %150 unwind label %156

150:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  invoke void @__cxa_end_catch()
          to label %151 unwind label %160

151:                                              ; preds = %150
  br label %114

152:                                              ; preds = %140
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %8, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %9, align 4
  br label %164

156:                                              ; preds = %149, %147, %144
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %8, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  br label %164

160:                                              ; preds = %150
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %8, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %9, align 4
  br label %339

164:                                              ; preds = %156, %152
  invoke void @__cxa_end_catch()
          to label %165 unwind label %347

165:                                              ; preds = %164
  br label %339

166:                                              ; preds = %88
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %8, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %9, align 4
  br label %179

170:                                              ; preds = %102, %100, %93, %91
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %8, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %9, align 4
  br label %178

174:                                              ; preds = %111, %109, %107, %104
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %8, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  br label %178

178:                                              ; preds = %174, %170
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %17) #9
  br label %179

179:                                              ; preds = %178, %166
  call void @llvm.lifetime.end.p0(i64 408, ptr %17) #9
  invoke void @__cxa_end_catch()
          to label %184 unwind label %347

180:                                              ; preds = %112
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %8, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %9, align 4
  br label %185

184:                                              ; preds = %179
  br label %185

185:                                              ; preds = %184, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %339

186:                                              ; preds = %116
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %8, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %9, align 4
  br label %338

190:                                              ; preds = %117
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %8, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #9
  br label %337

194:                                              ; preds = %134
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %8, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %9, align 4
  br label %335

198:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #9
  %199 = load i64, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %199, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %200 unwind label %206

200:                                              ; preds = %198
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  store i64 0, ptr %28, align 8, !tbaa !5
  br label %201

201:                                              ; preds = %224, %200
  %202 = load i64, ptr %28, align 8, !tbaa !5
  %203 = load i64, ptr %20, align 8, !tbaa !5
  %204 = icmp ult i64 %202, %203
  br i1 %204, label %210, label %205

205:                                              ; preds = %201
  store i32 7, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %231

206:                                              ; preds = %198
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %8, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  br label %334

210:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #9
  %211 = load i64, ptr %24, align 8, !tbaa !5
  %212 = load i64, ptr %28, align 8, !tbaa !5
  %213 = invoke { double, double } @_ZNK6Aquila11Spectrogram8getPointEmm(ptr noundef nonnull align 8 dereferenceable(48) %19, i64 noundef %211, i64 noundef %212)
          to label %214 unwind label %227

214:                                              ; preds = %210
  %215 = getelementptr inbounds %"class.std::complex", ptr %29, i32 0, i32 0
  %216 = getelementptr inbounds { double, double }, ptr %215, i32 0, i32 0
  %217 = extractvalue { double, double } %213, 0
  store double %217, ptr %216, align 8
  %218 = getelementptr inbounds { double, double }, ptr %215, i32 0, i32 1
  %219 = extractvalue { double, double } %213, 1
  store double %219, ptr %218, align 8
  %220 = invoke noundef double @_ZSt3absIdET_RKSt7complexIS0_E(ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %221 unwind label %227

221:                                              ; preds = %214
  %222 = load i64, ptr %28, align 8, !tbaa !5
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %222) #9
  store double %220, ptr %223, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #9
  br label %224

224:                                              ; preds = %221
  %225 = load i64, ptr %28, align 8, !tbaa !5
  %226 = add i64 %225, 1
  store i64 %226, ptr %28, align 8, !tbaa !5
  br label %201, !llvm.loop !17

227:                                              ; preds = %214, %210
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %8, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %333

231:                                              ; preds = %205
  br label %232

232:                                              ; preds = %231
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %234 unwind label %243

234:                                              ; preds = %232
  %235 = load ptr, ptr %233, align 8, !tbaa !13
  %236 = load i64, ptr %20, align 8, !tbaa !5
  %237 = trunc i64 %236 to i32
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  store double 1.000000e-05, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  %238 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %239 unwind label %247

239:                                              ; preds = %234
  %240 = load ptr, ptr %238, align 8, !tbaa !13
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %31, ptr noundef nonnull align 8 dereferenceable(29) %240, i32 noundef 33)
          to label %241 unwind label %247

241:                                              ; preds = %239
  invoke void @_ZN8UnitTest15CheckArrayCloseISt6vectorIdSaIdEES3_dEEvRNS_11TestResultsERKT_RKT0_iRKT1_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %235, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %237, ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(29) %31)
          to label %242 unwind label %247

242:                                              ; preds = %241
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %281

243:                                              ; preds = %232
  %244 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %8, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %9, align 4
  br label %251

247:                                              ; preds = %241, %239, %234
  %248 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %8, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %251

251:                                              ; preds = %247, %243
  %252 = load i32, ptr %9, align 4
  %253 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %254 = icmp eq i32 %252, %253
  br i1 %254, label %255, label %287

255:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %256 = load ptr, ptr %8, align 8
  %257 = call ptr @__cxa_begin_catch(ptr %256) #9
  store ptr %257, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 408, ptr %34) #9
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %34)
          to label %258 unwind label %313

258:                                              ; preds = %255
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef @.str.1)
          to label %260 unwind label %317

260:                                              ; preds = %258
  %261 = load ptr, ptr %33, align 8, !tbaa !13
  %262 = load ptr, ptr %261, align 8, !tbaa !11
  %263 = getelementptr inbounds ptr, ptr %262, i64 2
  %264 = load ptr, ptr %263, align 8
  %265 = call noundef ptr %264(ptr noundef nonnull align 8 dereferenceable(8) %261) #9
  %266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %259, ptr noundef %265)
          to label %267 unwind label %317

267:                                              ; preds = %260
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %266, ptr noundef @.str.4)
          to label %269 unwind label %317

269:                                              ; preds = %267
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %271 unwind label %317

271:                                              ; preds = %269
  %272 = load ptr, ptr %270, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #9
  %273 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %274 unwind label %321

274:                                              ; preds = %271
  %275 = load ptr, ptr %273, align 8, !tbaa !13
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %35, ptr noundef nonnull align 8 dereferenceable(29) %275, i32 noundef 33)
          to label %276 unwind label %321

276:                                              ; preds = %274
  %277 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %34)
          to label %278 unwind label %321

278:                                              ; preds = %276
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %272, ptr noundef nonnull align 8 dereferenceable(29) %35, ptr noundef %277)
          to label %279 unwind label %321

279:                                              ; preds = %278
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #9
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %34) #9
  call void @llvm.lifetime.end.p0(i64 408, ptr %34) #9
  invoke void @__cxa_end_catch()
          to label %280 unwind label %327

280:                                              ; preds = %279
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %281

281:                                              ; preds = %298, %280, %242
  br label %282

282:                                              ; preds = %281
  br label %283

283:                                              ; preds = %282
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  br label %284

284:                                              ; preds = %283
  %285 = load i64, ptr %24, align 8, !tbaa !5
  %286 = add i64 %285, 1
  store i64 %286, ptr %24, align 8, !tbaa !5
  br label %134, !llvm.loop !19

287:                                              ; preds = %251
  %288 = load ptr, ptr %8, align 8
  %289 = call ptr @__cxa_begin_catch(ptr %288) #9
  %290 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %291 unwind label %299

291:                                              ; preds = %287
  %292 = load ptr, ptr %290, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #9
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %294 unwind label %303

294:                                              ; preds = %291
  %295 = load ptr, ptr %293, align 8, !tbaa !13
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %32, ptr noundef nonnull align 8 dereferenceable(29) %295, i32 noundef 33)
          to label %296 unwind label %303

296:                                              ; preds = %294
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %292, ptr noundef nonnull align 8 dereferenceable(29) %32, ptr noundef @.str.3)
          to label %297 unwind label %303

297:                                              ; preds = %296
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  invoke void @__cxa_end_catch()
          to label %298 unwind label %307

298:                                              ; preds = %297
  br label %281

299:                                              ; preds = %287
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %8, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %9, align 4
  br label %311

303:                                              ; preds = %296, %294, %291
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %8, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  br label %311

307:                                              ; preds = %297
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %8, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %9, align 4
  br label %333

311:                                              ; preds = %303, %299
  invoke void @__cxa_end_catch()
          to label %312 unwind label %347

312:                                              ; preds = %311
  br label %333

313:                                              ; preds = %255
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %8, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %9, align 4
  br label %326

317:                                              ; preds = %269, %267, %260, %258
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %8, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %9, align 4
  br label %325

321:                                              ; preds = %278, %276, %274, %271
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %8, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #9
  br label %325

325:                                              ; preds = %321, %317
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %34) #9
  br label %326

326:                                              ; preds = %325, %313
  call void @llvm.lifetime.end.p0(i64 408, ptr %34) #9
  invoke void @__cxa_end_catch()
          to label %331 unwind label %347

327:                                              ; preds = %279
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %8, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %9, align 4
  br label %332

331:                                              ; preds = %326
  br label %332

332:                                              ; preds = %331, %327
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %333

333:                                              ; preds = %332, %312, %307, %227
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #9
  br label %334

334:                                              ; preds = %333, %206
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  br label %335

335:                                              ; preds = %334, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  br label %337

336:                                              ; preds = %139
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @_ZN6Aquila11SpectrogramD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #9
  call void @_ZN6Aquila16FramesCollectionD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @_ZN6Aquila12SignalSourceD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #9
  ret void

337:                                              ; preds = %335, %190
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @_ZN6Aquila11SpectrogramD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #9
  br label %338

338:                                              ; preds = %337, %186
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #9
  br label %339

339:                                              ; preds = %338, %185, %165, %160
  call void @_ZN6Aquila16FramesCollectionD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %11) #9
  br label %340

340:                                              ; preds = %339, %67
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %341

341:                                              ; preds = %340, %63
  call void @_ZN6Aquila12SignalSourceD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #9
  br label %342

342:                                              ; preds = %341
  %343 = load ptr, ptr %8, align 8
  %344 = load i32, ptr %9, align 4
  %345 = insertvalue { ptr, i32 } poison, ptr %343, 0
  %346 = insertvalue { ptr, i32 } %345, i32 %344, 1
  resume { ptr, i32 } %346

347:                                              ; preds = %326, %311, %179, %164
  %348 = landingpad { ptr, i32 }
          catch ptr null
  %349 = extractvalue { ptr, i32 } %348, 0
  call void @__clang_call_terminate(ptr %349) #10
  unreachable
}

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

declare void @_ZN6Aquila13SineGeneratorC1Ed(ptr noundef nonnull align 8 dereferenceable(64), double noundef) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN6Aquila9Generator12setFrequencyEd(ptr noundef nonnull align 8 dereferenceable(64), double noundef) #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN6Aquila9Generator12setAmplitudeEd(ptr noundef nonnull align 8 dereferenceable(64), double noundef) #3 align 2

declare void @_ZN6Aquila16FramesCollectionC1ERKNS_12SignalSourceEjj(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIjmEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(29)) #0

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv() #2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv() #2

declare void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29), ptr noundef nonnull align 8 dereferenceable(29), i32 noundef) unnamed_addr #2

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #4

declare ptr @__cxa_begin_catch(ptr)

declare void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(29), ptr noundef) #2

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6

declare noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144)) #2

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

declare void @_ZN6Aquila11SpectrogramC1ERNS_16FramesCollectionE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZSt3absIdET_RKSt7complexIS0_E(ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK6Aquila11Spectrogram8getPointEmm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest15CheckArrayCloseISt6vectorIdSaIdEES3_dEEvRNS_11TestResultsERKT_RKT0_iRKT1_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(29)) #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Aquila11SpectrogramD2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #7 align 2

; Function Attrs: nounwind
declare void @_ZN6Aquila16FramesCollectionD1Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #8

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { nounwind memory(none) }
attributes #5 = { noinline noreturn nounwind uwtable "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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { 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 #9 = { nounwind }
attributes #10 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}


; 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.Aquila::SineGenerator" = type { %"class.Aquila::Generator" }
%"class.Aquila::Generator" = type { %"class.Aquila::SignalSource", double, double, double }
%"class.Aquila::SignalSource" = type { ptr, %"class.std::vector", double }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Aquila::FramesCollection" = type <{ %"class.std::vector.0", i32, [4 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Aquila::Frame, std::allocator<Aquila::Frame>>::_Vector_impl" }
%"struct.std::_Vector_base<Aquila::Frame, std::allocator<Aquila::Frame>>::_Vector_impl" = type { %"struct.std::_Vector_base<Aquila::Frame, std::allocator<Aquila::Frame>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Aquila::Frame, std::allocator<Aquila::Frame>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, [3 x i8] }>
%"class.UnitTest::MemoryOutStream" = type { %"class.std::__cxx11::basic_ostringstream.base", %"class.std::__cxx11::basic_string", %"class.std::basic_ios" }
%"class.std::__cxx11::basic_ostringstream.base" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Aquila::Spectrogram" = type { i64, i64, %"class.std::shared_ptr", %"class.std::shared_ptr.8" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.8" = type { %"class.std::__shared_ptr.9" }
%"class.std::__shared_ptr.9" = type { ptr, %"class.std::__shared_count" }
%"class.std::allocator" = type { i8 }
%"class.std::complex" = type { { double, double } }

@_ZTISt9exception = external constant ptr
@.str = external hidden unnamed_addr constant [55 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [46 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z17testSpectrumPeaksmdd(i64 noundef %0, double noundef %1, double noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.Aquila::SineGenerator", align 8
  %5 = alloca %"class.Aquila::FramesCollection", align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca %"class.UnitTest::TestDetails", align 8
  %9 = alloca %"class.UnitTest::TestDetails", align 8
  %10 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %11 = alloca %"class.UnitTest::TestDetails", align 8
  %12 = alloca %"class.Aquila::Spectrogram", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca double, align 8
  %19 = alloca %"class.UnitTest::TestDetails", align 8
  %20 = alloca %"class.UnitTest::TestDetails", align 8
  %21 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %22 = alloca %"class.UnitTest::TestDetails", align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #9
  call void @_ZN6Aquila13SineGeneratorC1Ed(ptr noundef nonnull align 8 dereferenceable(64) %4, double noundef %1)
  %23 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN6Aquila9Generator12setFrequencyEd(ptr noundef nonnull align 8 dereferenceable(64) %4, double noundef %2)
  %24 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN6Aquila9Generator12setAmplitudeEd(ptr noundef nonnull align 8 dereferenceable(64) %23, double noundef 1.000000e+00)
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %25, i64 64
  %27 = load ptr, ptr %26, align 8
  invoke void %27(ptr noundef nonnull align 8 dereferenceable(64) %24, i64 noundef %0)
          to label %28 unwind label %41

28:                                               ; preds = %3
  %29 = lshr i64 %0, 2
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #9
  %30 = trunc i64 %29 to i32
  invoke void @_ZN6Aquila16FramesCollectionC1ERKNS_12SignalSourceEjj(ptr noundef nonnull align 8 dereferenceable(28) %5, ptr noundef nonnull align 8 dereferenceable(40) %4, i32 noundef %30, i32 noundef 0)
          to label %31 unwind label %43

31:                                               ; preds = %28
  %32 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %33 unwind label %45

33:                                               ; preds = %31
  %34 = load ptr, ptr %32, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #9
  store i32 4, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %35 = call noundef i64 @_ZNK6Aquila16FramesCollection5countEv(ptr noundef nonnull align 8 dereferenceable(28) %5)
  store i64 %35, ptr %7, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %37 unwind label %47

37:                                               ; preds = %33
  %38 = load ptr, ptr %36, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %8, ptr noundef nonnull align 8 dereferenceable(29) %38, i32 noundef 17)
          to label %39 unwind label %47

39:                                               ; preds = %37
  invoke void @_ZN8UnitTest10CheckEqualIjmEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %34, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(29) %8)
          to label %40 unwind label %47

40:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #9
  br label %75

41:                                               ; preds = %3
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %205

43:                                               ; preds = %28
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %204

45:                                               ; preds = %31
  %46 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %49

47:                                               ; preds = %39, %37, %33
  %48 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #9
  br label %49

49:                                               ; preds = %47, %45
  %.pn = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  %.0 = extractvalue { ptr, i32 } %.pn, 0
  %.033 = extractvalue { ptr, i32 } %.pn, 1
  %50 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %51 = icmp eq i32 %.033, %50
  %52 = call ptr @__cxa_begin_catch(ptr %.0) #9
  br i1 %51, label %53, label %88

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %10) #9
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %10)
          to label %54 unwind label %104

54:                                               ; preds = %53
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull @.str.1)
          to label %56 unwind label %106

56:                                               ; preds = %54
  %57 = load ptr, ptr %52, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %57, i64 16
  %59 = load ptr, ptr %58, align 8
  %60 = call noundef ptr %59(ptr noundef nonnull align 8 dereferenceable(8) %52) #9
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef %60)
          to label %62 unwind label %106

62:                                               ; preds = %56
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull @.str.2)
          to label %64 unwind label %106

64:                                               ; preds = %62
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %66 unwind label %106

66:                                               ; preds = %64
  %67 = load ptr, ptr %65, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %69 unwind label %108

69:                                               ; preds = %66
  %70 = load ptr, ptr %68, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %11, ptr noundef nonnull align 8 dereferenceable(29) %70, i32 noundef 17)
          to label %71 unwind label %108

71:                                               ; preds = %69
  %72 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %10)
          to label %73 unwind label %108

73:                                               ; preds = %71
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %67, ptr noundef nonnull align 8 dereferenceable(29) %11, ptr noundef %72)
          to label %74 unwind label %108

74:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %10) #9
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %10) #9
  invoke void @__cxa_end_catch()
          to label %75 unwind label %112

75:                                               ; preds = %74, %96, %40
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #9
  invoke void @_ZN6Aquila11SpectrogramC1ERNS_16FramesCollectionE(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(28) %5)
          to label %76 unwind label %114

76:                                               ; preds = %75
  %77 = lshr i64 %0, 3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %77, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %78 unwind label %116

78:                                               ; preds = %76
  %79 = uitofp nneg i64 %29 to double
  %80 = fmul double %79, %2
  %81 = fdiv double %80, %1
  %82 = fptoui double %81 to i64
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #9
  %83 = uitofp nneg i64 %77 to double
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %82) #9
  store double %83, ptr %84, align 8, !tbaa !15
  %85 = call noundef i64 @_ZNK6Aquila11Spectrogram13getFrameCountEv(ptr noundef nonnull align 8 dereferenceable(48) %12)
  %.not = icmp eq i64 %85, 0
  br i1 %.not, label %._crit_edge80, label %.lr.ph79

.lr.ph79:                                         ; preds = %78
  %.not81 = icmp ult i64 %0, 8
  %86 = getelementptr inbounds i8, ptr %17, i64 8
  %87 = trunc i64 %77 to i32
  br label %118

._crit_edge80:                                    ; preds = %169, %78
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #9
  call void @_ZN6Aquila11SpectrogramD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #9
  call void @_ZN6Aquila16FramesCollectionD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  call void @_ZN6Aquila12SignalSourceD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #9
  ret void

88:                                               ; preds = %49
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %90 unwind label %97

90:                                               ; preds = %88
  %91 = load ptr, ptr %89, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %93 unwind label %99

93:                                               ; preds = %90
  %94 = load ptr, ptr %92, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %9, ptr noundef nonnull align 8 dereferenceable(29) %94, i32 noundef 17)
          to label %95 unwind label %99

95:                                               ; preds = %93
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %91, ptr noundef nonnull align 8 dereferenceable(29) %9, ptr noundef nonnull @.str)
          to label %96 unwind label %99

96:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  invoke void @__cxa_end_catch()
          to label %75 unwind label %101

97:                                               ; preds = %88
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %103

99:                                               ; preds = %95, %93, %90
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  br label %103

101:                                              ; preds = %96
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %203

103:                                              ; preds = %99, %97
  %.pn52 = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ]
  invoke void @__cxa_end_catch()
          to label %203 unwind label %206

104:                                              ; preds = %53
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %111

106:                                              ; preds = %64, %62, %56, %54
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %110

108:                                              ; preds = %73, %71, %69, %66
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br label %110

110:                                              ; preds = %108, %106
  %.pn54 = phi { ptr, i32 } [ %109, %108 ], [ %107, %106 ]
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %10) #9
  br label %111

111:                                              ; preds = %110, %104
  %.pn54.pn = phi { ptr, i32 } [ %.pn54, %110 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %10) #9
  invoke void @__cxa_end_catch()
          to label %203 unwind label %206

112:                                              ; preds = %74
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %203

114:                                              ; preds = %75
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %202

116:                                              ; preds = %76
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #9
  br label %201

118:                                              ; preds = %.lr.ph79, %169
  %.03277 = phi i64 [ 0, %.lr.ph79 ], [ %170, %169 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %77, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %119 unwind label %121

119:                                              ; preds = %118
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #9
  br i1 %.not81, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %127, %119
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %132 unwind label %139

121:                                              ; preds = %118
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #9
  br label %200

.lr.ph:                                           ; preds = %119, %127
  %.03176 = phi i64 [ %129, %127 ], [ 0, %119 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #9
  %123 = call { double, double } @_ZNK6Aquila11Spectrogram8getPointEmm(ptr noundef nonnull align 8 dereferenceable(48) %12, i64 noundef %.03277, i64 noundef %.03176)
  %124 = extractvalue { double, double } %123, 0
  store double %124, ptr %17, align 8
  %125 = extractvalue { double, double } %123, 1
  store double %125, ptr %86, align 8
  %126 = invoke noundef double @_ZSt3absIdET_RKSt7complexIS0_E(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %127 unwind label %130

127:                                              ; preds = %.lr.ph
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %.03176) #9
  store double %126, ptr %128, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  %129 = add nuw nsw i64 %.03176, 1
  %exitcond.not = icmp eq i64 %129, %77
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !17

130:                                              ; preds = %.lr.ph
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  br label %199

132:                                              ; preds = %._crit_edge
  %133 = load ptr, ptr %120, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  store double 1.000000e-05, ptr %18, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #9
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %135 unwind label %141

135:                                              ; preds = %132
  %136 = load ptr, ptr %134, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %19, ptr noundef nonnull align 8 dereferenceable(29) %136, i32 noundef 33)
          to label %137 unwind label %141

137:                                              ; preds = %135
  invoke void @_ZN8UnitTest15CheckArrayCloseISt6vectorIdSaIdEES3_dEEvRNS_11TestResultsERKT_RKT0_iRKT1_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %133, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %15, i32 noundef %87, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(29) %19)
          to label %138 unwind label %141

138:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %169

139:                                              ; preds = %._crit_edge
  %140 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %143

141:                                              ; preds = %137, %135, %132
  %142 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %143

143:                                              ; preds = %141, %139
  %.pn59 = phi { ptr, i32 } [ %142, %141 ], [ %140, %139 ]
  %.5 = extractvalue { ptr, i32 } %.pn59, 0
  %.538 = extractvalue { ptr, i32 } %.pn59, 1
  %144 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %145 = icmp eq i32 %.538, %144
  %146 = call ptr @__cxa_begin_catch(ptr %.5) #9
  br i1 %145, label %147, label %173

147:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %21) #9
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %21)
          to label %148 unwind label %189

148:                                              ; preds = %147
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull @.str.1)
          to label %150 unwind label %191

150:                                              ; preds = %148
  %151 = load ptr, ptr %146, align 8, !tbaa !5
  %152 = getelementptr inbounds i8, ptr %151, i64 16
  %153 = load ptr, ptr %152, align 8
  %154 = call noundef ptr %153(ptr noundef nonnull align 8 dereferenceable(8) %146) #9
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef %154)
          to label %156 unwind label %191

156:                                              ; preds = %150
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef nonnull @.str.4)
          to label %158 unwind label %191

158:                                              ; preds = %156
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %160 unwind label %191

160:                                              ; preds = %158
  %161 = load ptr, ptr %159, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #9
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %163 unwind label %193

163:                                              ; preds = %160
  %164 = load ptr, ptr %162, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %22, ptr noundef nonnull align 8 dereferenceable(29) %164, i32 noundef 33)
          to label %165 unwind label %193

165:                                              ; preds = %163
  %166 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %21)
          to label %167 unwind label %193

167:                                              ; preds = %165
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %161, ptr noundef nonnull align 8 dereferenceable(29) %22, ptr noundef %166)
          to label %168 unwind label %193

168:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #9
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %21) #9
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %21) #9
  invoke void @__cxa_end_catch()
          to label %169 unwind label %197

169:                                              ; preds = %168, %181, %138
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #9
  %170 = add nuw i64 %.03277, 1
  %171 = call noundef i64 @_ZNK6Aquila11Spectrogram13getFrameCountEv(ptr noundef nonnull align 8 dereferenceable(48) %12)
  %172 = icmp ult i64 %170, %171
  br i1 %172, label %118, label %._crit_edge80, !llvm.loop !19

173:                                              ; preds = %143
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %175 unwind label %182

175:                                              ; preds = %173
  %176 = load ptr, ptr %174, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #9
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %178 unwind label %184

178:                                              ; preds = %175
  %179 = load ptr, ptr %177, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %20, ptr noundef nonnull align 8 dereferenceable(29) %179, i32 noundef 33)
          to label %180 unwind label %184

180:                                              ; preds = %178
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %176, ptr noundef nonnull align 8 dereferenceable(29) %20, ptr noundef nonnull @.str.3)
          to label %181 unwind label %184

181:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #9
  invoke void @__cxa_end_catch()
          to label %169 unwind label %186

182:                                              ; preds = %173
  %183 = landingpad { ptr, i32 }
          cleanup
  br label %188

184:                                              ; preds = %180, %178, %175
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #9
  br label %188

186:                                              ; preds = %181
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %199

188:                                              ; preds = %184, %182
  %.pn61 = phi { ptr, i32 } [ %185, %184 ], [ %183, %182 ]
  invoke void @__cxa_end_catch()
          to label %199 unwind label %206

189:                                              ; preds = %147
  %190 = landingpad { ptr, i32 }
          cleanup
  br label %196

191:                                              ; preds = %158, %156, %150, %148
  %192 = landingpad { ptr, i32 }
          cleanup
  br label %195

193:                                              ; preds = %167, %165, %163, %160
  %194 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #9
  br label %195

195:                                              ; preds = %193, %191
  %.pn63 = phi { ptr, i32 } [ %194, %193 ], [ %192, %191 ]
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %21) #9
  br label %196

196:                                              ; preds = %195, %189
  %.pn63.pn = phi { ptr, i32 } [ %.pn63, %195 ], [ %190, %189 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %21) #9
  invoke void @__cxa_end_catch()
          to label %199 unwind label %206

197:                                              ; preds = %168
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %199

199:                                              ; preds = %197, %196, %188, %186, %130
  %.pn68 = phi { ptr, i32 } [ %131, %130 ], [ %187, %186 ], [ %.pn61, %188 ], [ %198, %197 ], [ %.pn63.pn, %196 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  br label %200

200:                                              ; preds = %199, %121
  %.pn68.pn = phi { ptr, i32 } [ %.pn68, %199 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  br label %201

201:                                              ; preds = %200, %116
  %.pn68.pn.pn = phi { ptr, i32 } [ %.pn68.pn, %200 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #9
  call void @_ZN6Aquila11SpectrogramD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #9
  br label %202

202:                                              ; preds = %201, %114
  %.pn68.pn.pn.pn = phi { ptr, i32 } [ %.pn68.pn.pn, %201 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #9
  br label %203

203:                                              ; preds = %112, %111, %103, %202, %101
  %.pn68.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn68.pn.pn.pn, %202 ], [ %102, %101 ], [ %.pn52, %103 ], [ %113, %112 ], [ %.pn54.pn, %111 ]
  call void @_ZN6Aquila16FramesCollectionD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %5) #9
  br label %204

204:                                              ; preds = %203, %43
  %.pn68.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn68.pn.pn.pn.pn, %203 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  br label %205

205:                                              ; preds = %204, %41
  %.pn68.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn68.pn.pn.pn.pn.pn, %204 ], [ %42, %41 ]
  call void @_ZN6Aquila12SignalSourceD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #9
  resume { ptr, i32 } %.pn68.pn.pn.pn.pn.pn.pn

206:                                              ; preds = %196, %188, %111, %103
  %207 = landingpad { ptr, i32 }
          catch ptr null
  %208 = extractvalue { ptr, i32 } %207, 0
  call void @__clang_call_terminate(ptr %208) #10
  unreachable
}

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

declare void @_ZN6Aquila13SineGeneratorC1Ed(ptr noundef nonnull align 8 dereferenceable(64), double noundef) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN6Aquila9Generator12setFrequencyEd(ptr noundef nonnull align 8 dereferenceable(64), double noundef) local_unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN6Aquila9Generator12setAmplitudeEd(ptr noundef nonnull align 8 dereferenceable(64), double noundef) local_unnamed_addr #3 align 2

declare void @_ZN6Aquila16FramesCollectionC1ERKNS_12SignalSourceEjj(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIjmEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(29)) local_unnamed_addr #0

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv() local_unnamed_addr #2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv() local_unnamed_addr #2

declare void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29), ptr noundef nonnull align 8 dereferenceable(29), i32 noundef) unnamed_addr #2

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #4

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(29), ptr noundef) local_unnamed_addr #2

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

declare noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #2

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

declare void @_ZN6Aquila11SpectrogramC1ERNS_16FramesCollectionE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZSt3absIdET_RKSt7complexIS0_E(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK6Aquila11Spectrogram8getPointEmm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest15CheckArrayCloseISt6vectorIdSaIdEES3_dEEvRNS_11TestResultsERKT_RKT0_iRKT1_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(29)) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Aquila11SpectrogramD2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #7 align 2

; Function Attrs: nounwind
declare void @_ZN6Aquila16FramesCollectionD1Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #8

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { nofree nosync nounwind memory(none) }
attributes #5 = { noinline noreturn nounwind uwtable "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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { 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 #9 = { nounwind }
attributes #10 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !10, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}


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