; LLVM IR from flashlight/flashlight :: flashlight/pkg/speech/audio/feature (Mfsc)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.fl::lib::audio::PowerSpectrum" = type { ptr, %"struct.fl::lib::audio::FeatureParams", %"class.fl::lib::audio::Dither", %"class.fl::lib::audio::PreEmphasis", %"class.fl::lib::audio::Windowing", %"class.std::unique_ptr", %"class.std::vector.2", %"class.std::vector.2", %"class.std::mutex" }
%"struct.fl::lib::audio::FeatureParams" = type <{ i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32, float, float, float, i8, i8, i8, i8, [4 x i8] }>
%"class.fl::lib::audio::Dither" = type { float, %"class.std::mersenne_twister_engine" }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.fl::lib::audio::PreEmphasis" = type { float, i32 }
%"class.fl::lib::audio::Windowing" = type { i32, i32, %"class.std::vector" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = 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.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.fl::lib::audio::Mfsc" = type { %"class.fl::lib::audio::PowerSpectrum", %"class.fl::lib::audio::TriFilterbank", %"class.fl::lib::audio::Derivatives" }
%"class.fl::lib::audio::TriFilterbank" = type { i32, i32, i32, i32, i32, i32, %"class.std::vector" }
%"class.fl::lib::audio::Derivatives" = type { i32, i32 }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2fl3lib5audio4Mfsc5applyERKSt6vectorIfSaIfEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(5312) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca %"class.std::vector", align 8
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %"class.fl::lib::audio::PowerSpectrum", ptr %29, i32 0, i32 1
  call void @_ZN2fl3lib5audio11frameSignalERKSt6vectorIfSaIfEERKNS1_13FeatureParamsE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(100) %31)
  %32 = call noundef zeroext i1 @_ZNKSt6vectorIfSaIfEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br i1 %32, label %33, label %34

33:                                               ; preds = %3
  call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  store i32 1, ptr %8, align 4
  br label %236

34:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %35 = getelementptr inbounds %"class.fl::lib::audio::PowerSpectrum", ptr %29, i32 0, i32 1
  %36 = invoke noundef i64 @_ZNK2fl3lib5audio13FeatureParams19numFrameSizeSamplesEv(ptr noundef nonnull align 8 dereferenceable(100) %35)
          to label %37 unwind label %63

37:                                               ; preds = %34
  %38 = trunc i64 %36 to i32
  store i32 %38, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %39 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %42 = udiv i64 %39, %41
  %43 = trunc i64 %42 to i32
  store i32 %43, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #7
  %44 = load i32, ptr %12, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %45, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %46 unwind label %67

46:                                               ; preds = %37
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  %47 = getelementptr inbounds %"class.fl::lib::audio::PowerSpectrum", ptr %29, i32 0, i32 1
  %48 = getelementptr inbounds %"struct.fl::lib::audio::FeatureParams", ptr %47, i32 0, i32 15
  %49 = load i8, ptr %48, align 1, !tbaa !11, !range !38, !noundef !39
  %50 = trunc i8 %49 to i1
  br i1 %50, label %51, label %107

51:                                               ; preds = %46
  %52 = getelementptr inbounds %"class.fl::lib::audio::PowerSpectrum", ptr %29, i32 0, i32 1
  %53 = getelementptr inbounds %"struct.fl::lib::audio::FeatureParams", ptr %52, i32 0, i32 16
  %54 = load i8, ptr %53, align 2, !tbaa !40, !range !38, !noundef !39
  %55 = trunc i8 %54 to i1
  br i1 %55, label %56, label %107

56:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store i64 0, ptr %15, align 8, !tbaa !41
  br label %57

57:                                               ; preds = %94, %56
  %58 = load i64, ptr %15, align 8, !tbaa !41
  %59 = load i32, ptr %12, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = icmp ult i64 %58, %60
  br i1 %61, label %71, label %62

62:                                               ; preds = %57
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %106

63:                                               ; preds = %34
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %10, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %11, align 4
  br label %235

67:                                               ; preds = %37
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %10, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br label %234

71:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %72 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %73 = load i64, ptr %15, align 8, !tbaa !41
  %74 = load i32, ptr %9, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = mul i64 %73, %75
  %77 = getelementptr inbounds float, ptr %72, i64 %76
  store ptr %77, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %78 = load ptr, ptr %16, align 8, !tbaa !5
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  %80 = load i32, ptr %9, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds float, ptr %79, i64 %81
  %83 = load ptr, ptr %16, align 8, !tbaa !5
  %84 = invoke noundef float @_ZSt13inner_productIPfS0_fET1_T_S2_T0_S1_(ptr noundef %78, ptr noundef %82, ptr noundef %83, float noundef 0.000000e+00)
          to label %85 unwind label %97

85:                                               ; preds = %71
  store float %84, ptr %17, align 4, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %86 = call noundef float @_ZNSt14numeric_limitsIfE6lowestEv() #7
  store float %86, ptr %18, align 4, !tbaa !42
  %87 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %88 unwind label %101

88:                                               ; preds = %85
  %89 = load float, ptr %87, align 4, !tbaa !42
  %90 = invoke noundef float @_ZSt3logf(float noundef %89)
          to label %91 unwind label %101

91:                                               ; preds = %88
  %92 = load i64, ptr %15, align 8, !tbaa !41
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %92) #7
  store float %90, ptr %93, align 4, !tbaa !42
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %94

94:                                               ; preds = %91
  %95 = load i64, ptr %15, align 8, !tbaa !41
  %96 = add i64 %95, 1
  store i64 %96, ptr %15, align 8, !tbaa !41
  br label %57, !llvm.loop !43

97:                                               ; preds = %71
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %10, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %11, align 4
  br label %105

101:                                              ; preds = %88, %85
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %10, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %105

105:                                              ; preds = %101, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %233

106:                                              ; preds = %62
  br label %107

107:                                              ; preds = %106, %51, %46
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #7
  invoke void @_ZN2fl3lib5audio4Mfsc8mfscImplERSt6vectorIfSaIfEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %19, ptr noundef nonnull align 8 dereferenceable(5312) %29, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %108 unwind label %128

108:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %109 = getelementptr inbounds %"class.fl::lib::audio::PowerSpectrum", ptr %29, i32 0, i32 1
  %110 = getelementptr inbounds %"struct.fl::lib::audio::FeatureParams", ptr %109, i32 0, i32 3
  %111 = load i64, ptr %110, align 8, !tbaa !45
  store i64 %111, ptr %20, align 8, !tbaa !41
  %112 = getelementptr inbounds %"class.fl::lib::audio::PowerSpectrum", ptr %29, i32 0, i32 1
  %113 = getelementptr inbounds %"struct.fl::lib::audio::FeatureParams", ptr %112, i32 0, i32 15
  %114 = load i8, ptr %113, align 1, !tbaa !11, !range !38, !noundef !39
  %115 = trunc i8 %114 to i1
  br i1 %115, label %116, label %222

116:                                              ; preds = %108
  %117 = getelementptr inbounds %"class.fl::lib::audio::PowerSpectrum", ptr %29, i32 0, i32 1
  %118 = getelementptr inbounds %"struct.fl::lib::audio::FeatureParams", ptr %117, i32 0, i32 16
  %119 = load i8, ptr %118, align 2, !tbaa !40, !range !38, !noundef !39
  %120 = trunc i8 %119 to i1
  br i1 %120, label %168, label %121

121:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  store i64 0, ptr %21, align 8, !tbaa !41
  br label %122

122:                                              ; preds = %155, %121
  %123 = load i64, ptr %21, align 8, !tbaa !41
  %124 = load i32, ptr %12, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = icmp ult i64 %123, %125
  br i1 %126, label %132, label %127

127:                                              ; preds = %122
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %167

128:                                              ; preds = %107
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %10, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %11, align 4
  br label %232

132:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %133 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %134 = load i64, ptr %21, align 8, !tbaa !41
  %135 = load i32, ptr %9, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = mul i64 %134, %136
  %138 = getelementptr inbounds float, ptr %133, i64 %137
  store ptr %138, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %139 = load ptr, ptr %22, align 8, !tbaa !5
  %140 = load ptr, ptr %22, align 8, !tbaa !5
  %141 = load i32, ptr %9, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds float, ptr %140, i64 %142
  %144 = load ptr, ptr %22, align 8, !tbaa !5
  %145 = invoke noundef float @_ZSt13inner_productIPfS0_fET1_T_S2_T0_S1_(ptr noundef %139, ptr noundef %143, ptr noundef %144, float noundef 0.000000e+00)
          to label %146 unwind label %158

146:                                              ; preds = %132
  store float %145, ptr %23, align 4, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %147 = call noundef float @_ZNSt14numeric_limitsIfE6lowestEv() #7
  store float %147, ptr %24, align 4, !tbaa !42
  %148 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %149 unwind label %162

149:                                              ; preds = %146
  %150 = load float, ptr %148, align 4, !tbaa !42
  %151 = invoke noundef float @_ZSt3logf(float noundef %150)
          to label %152 unwind label %162

152:                                              ; preds = %149
  %153 = load i64, ptr %21, align 8, !tbaa !41
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %153) #7
  store float %151, ptr %154, align 4, !tbaa !42
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %155

155:                                              ; preds = %152
  %156 = load i64, ptr %21, align 8, !tbaa !41
  %157 = add i64 %156, 1
  store i64 %157, ptr %21, align 8, !tbaa !41
  br label %122, !llvm.loop !46

158:                                              ; preds = %132
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %10, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %11, align 4
  br label %166

162:                                              ; preds = %149, %146
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %10, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %166

166:                                              ; preds = %162, %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %231

167:                                              ; preds = %127
  br label %168

168:                                              ; preds = %167, %116
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #7
  %169 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  %170 = load i32, ptr %12, align 4, !tbaa !9
  %171 = sext i32 %170 to i64
  %172 = add i64 %169, %171
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %172, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %173 unwind label %180

173:                                              ; preds = %168
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  store i64 0, ptr %27, align 8, !tbaa !41
  br label %174

174:                                              ; preds = %211, %173
  %175 = load i64, ptr %27, align 8, !tbaa !41
  %176 = load i32, ptr %12, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = icmp ult i64 %175, %177
  br i1 %178, label %184, label %179

179:                                              ; preds = %174
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %218

180:                                              ; preds = %168
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %10, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  br label %221

184:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %185 = load i64, ptr %27, align 8, !tbaa !41
  %186 = load i64, ptr %20, align 8, !tbaa !41
  %187 = mul i64 %185, %186
  store i64 %187, ptr %28, align 8, !tbaa !41
  %188 = load i64, ptr %27, align 8, !tbaa !41
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %188) #7
  %190 = load float, ptr %189, align 4, !tbaa !42
  %191 = load i64, ptr %28, align 8, !tbaa !41
  %192 = load i64, ptr %27, align 8, !tbaa !41
  %193 = add i64 %191, %192
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %193) #7
  store float %190, ptr %194, align 4, !tbaa !42
  %195 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  %196 = load i64, ptr %28, align 8, !tbaa !41
  %197 = getelementptr inbounds float, ptr %195, i64 %196
  %198 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  %199 = load i64, ptr %28, align 8, !tbaa !41
  %200 = getelementptr inbounds float, ptr %198, i64 %199
  %201 = load i64, ptr %20, align 8, !tbaa !41
  %202 = getelementptr inbounds float, ptr %200, i64 %201
  %203 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  %204 = load i64, ptr %28, align 8, !tbaa !41
  %205 = getelementptr inbounds float, ptr %203, i64 %204
  %206 = load i64, ptr %27, align 8, !tbaa !41
  %207 = getelementptr inbounds float, ptr %205, i64 %206
  %208 = getelementptr inbounds float, ptr %207, i64 1
  %209 = invoke noundef ptr @_ZSt4copyIPfS0_ET0_T_S2_S1_(ptr noundef %197, ptr noundef %202, ptr noundef %208)
          to label %210 unwind label %214

210:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %211

211:                                              ; preds = %210
  %212 = load i64, ptr %27, align 8, !tbaa !41
  %213 = add i64 %212, 1
  store i64 %213, ptr %27, align 8, !tbaa !41
  br label %174, !llvm.loop !47

214:                                              ; preds = %184
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %10, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  br label %221

218:                                              ; preds = %179
  call void @_ZSt4swapIfSaIfEEvRSt6vectorIT_T0_ES5_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  %219 = load i64, ptr %20, align 8, !tbaa !41
  %220 = add nsw i64 %219, 1
  store i64 %220, ptr %20, align 8, !tbaa !41
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  br label %222

221:                                              ; preds = %214, %180
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  br label %231

222:                                              ; preds = %218, %108
  %223 = getelementptr inbounds %"class.fl::lib::audio::Mfsc", ptr %29, i32 0, i32 2
  %224 = load i64, ptr %20, align 8, !tbaa !41
  %225 = trunc i64 %224 to i32
  invoke void @_ZNK2fl3lib5audio11Derivatives5applyERKSt6vectorIfSaIfEEi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 4 dereferenceable(8) %223, ptr noundef nonnull align 8 dereferenceable(24) %19, i32 noundef %225)
          to label %226 unwind label %227

226:                                              ; preds = %222
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %236

227:                                              ; preds = %222
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %10, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %11, align 4
  br label %231

231:                                              ; preds = %227, %221, %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  br label %232

232:                                              ; preds = %231, %128
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  br label %233

233:                                              ; preds = %232, %105
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  br label %234

234:                                              ; preds = %233, %67
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %235

235:                                              ; preds = %234, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  br label %237

236:                                              ; preds = %226, %33
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  ret void

237:                                              ; preds = %235
  %238 = load ptr, ptr %10, align 8
  %239 = load i32, ptr %11, align 4
  %240 = insertvalue { ptr, i32 } poison, ptr %238, 0
  %241 = insertvalue { ptr, i32 } %240, i32 %239, 1
  resume { ptr, i32 } %241
}

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

declare void @_ZN2fl3lib5audio11frameSignalERKSt6vectorIfSaIfEERKNS1_13FeatureParamsE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(100)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIfSaIfEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #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) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(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 void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3logf(float noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt13inner_productIPfS0_fET1_T_S2_T0_S1_(ptr noundef, ptr noundef, ptr noundef, float noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE6lowestEv() #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2fl3lib5audio4Mfsc8mfscImplERSt6vectorIfSaIfEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(5312), ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIPfS0_ET0_T_S2_S1_(ptr noundef, ptr noundef, ptr noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIfSaIfEEvRSt6vectorIT_T0_ES5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #5

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

declare void @_ZNK2fl3lib5audio11Derivatives5applyERKSt6vectorIfSaIfEEi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 = { 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, !17, i64 105}
!12 = !{!"_ZTSN2fl3lib5audio13PowerSpectrumE", !13, i64 8, !18, i64 112, !20, i64 5120, !21, i64 5128, !26, i64 5160, !32, i64 5168, !32, i64 5192, !36, i64 5216}
!13 = !{!"_ZTSN2fl3lib5audio13FeatureParamsE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !15, i64 80, !16, i64 84, !16, i64 88, !16, i64 92, !17, i64 96, !17, i64 97, !17, i64 98, !17, i64 99}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSN2fl3lib5audio10WindowTypeE", !7, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSN2fl3lib5audio6DitherE", !16, i64 0, !19, i64 8}
!19 = !{!"_ZTSSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE", !7, i64 0, !14, i64 4992}
!20 = !{!"_ZTSN2fl3lib5audio11PreEmphasisE", !16, i64 0, !10, i64 4}
!21 = !{!"_ZTSN2fl3lib5audio9WindowingE", !10, i64 0, !15, i64 4, !22, i64 8}
!22 = !{!"_ZTSSt6vectorIfSaIfEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt10unique_ptrIP11fftw_plan_sSt14default_deleteIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt15__uniq_ptr_dataIP11fftw_plan_sSt14default_deleteIS1_ELb1ELb1EE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_implIP11fftw_plan_sSt14default_deleteIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt5tupleIJPP11fftw_plan_sSt14default_deleteIS1_EEE", !30, i64 0}
!30 = !{!"_ZTSSt11_Tuple_implILm0EJPP11fftw_plan_sSt14default_deleteIS1_EEE", !31, i64 0}
!31 = !{!"_ZTSSt10_Head_baseILm0EPP11fftw_plan_sLb0EE", !6, i64 0}
!32 = !{!"_ZTSSt6vectorIdSaIdEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTSSt5mutex", !37, i64 0}
!37 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!12, !17, i64 106}
!41 = !{!14, !14, i64 0}
!42 = !{!16, !16, i64 0}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = !{!12, !14, i64 32}
!46 = distinct !{!46, !44}
!47 = distinct !{!47, !44}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2fl3lib5audio4Mfsc5applyERKSt6vectorIfSaIfEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(5312) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  %14 = getelementptr inbounds i8, ptr %1, i64 8
  call void @_ZN2fl3lib5audio11frameSignalERKSt6vectorIfSaIfEERKNS1_13FeatureParamsE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %4, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(100) %14)
  %15 = call noundef zeroext i1 @_ZNKSt6vectorIfSaIfEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  br i1 %15, label %16, label %17

16:                                               ; preds = %3
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %106

17:                                               ; preds = %3
  %18 = call noundef i64 @_ZNK2fl3lib5audio13FeatureParams19numFrameSizeSamplesEv(ptr noundef nonnull align 8 dereferenceable(100) %14)
  %19 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %sext = shl i64 %18, 32
  %20 = ashr exact i64 %sext, 32
  %21 = udiv i64 %19, %20
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  %sext49 = shl i64 %21, 32
  %22 = ashr exact i64 %sext49, 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %22, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %23 unwind label %32

23:                                               ; preds = %17
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  %24 = getelementptr inbounds i8, ptr %1, i64 105
  %25 = load i8, ptr %24, align 1, !tbaa !5, !range !36, !noundef !37
  %26 = trunc nuw i8 %25 to i1
  br i1 %26, label %27, label %.loopexit55

27:                                               ; preds = %23
  %28 = getelementptr inbounds i8, ptr %1, i64 106
  %29 = load i8, ptr %28, align 2, !tbaa !38, !range !36, !noundef !37
  %30 = trunc nuw i8 %29 to i1
  %31 = icmp ne i64 %sext49, 0
  %or.cond = and i1 %31, %30
  br i1 %or.cond, label %.lr.ph, label %.loopexit55

32:                                               ; preds = %17
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  br label %105

.lr.ph:                                           ; preds = %27, %.lr.ph
  %.04856 = phi i64 [ %44, %.lr.ph ], [ 0, %27 ]
  %34 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %35 = mul i64 %.04856, %20
  %36 = getelementptr inbounds float, ptr %34, i64 %35
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %37 = getelementptr inbounds float, ptr %36, i64 %20
  %38 = call noundef float @_ZSt13inner_productIPfS0_fET1_T_S2_T0_S1_(ptr noundef %36, ptr noundef nonnull %37, ptr noundef %36, float noundef 0.000000e+00)
  store float %38, ptr %7, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  %39 = call noundef float @_ZNSt14numeric_limitsIfE6lowestEv() #7
  store float %39, ptr %8, align 4, !tbaa !39
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %41 = load float, ptr %40, align 4, !tbaa !39
  %42 = call noundef float @_ZSt3logf(float noundef %41)
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.04856) #7
  store float %42, ptr %43, align 4, !tbaa !39
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  %44 = add nuw i64 %.04856, 1
  %45 = icmp ult i64 %44, %22
  br i1 %45, label %.lr.ph, label %.loopexit55, !llvm.loop !40

.loopexit55:                                      ; preds = %.lr.ph, %27, %23
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  invoke void @_ZN2fl3lib5audio4Mfsc8mfscImplERSt6vectorIfSaIfEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %9, ptr noundef nonnull align 8 dereferenceable(5312) %1, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %46 unwind label %56

46:                                               ; preds = %.loopexit55
  %47 = getelementptr inbounds i8, ptr %1, i64 32
  %48 = load i64, ptr %47, align 8, !tbaa !42
  %49 = load i8, ptr %24, align 1, !tbaa !5, !range !36, !noundef !37
  %50 = trunc nuw i8 %49 to i1
  br i1 %50, label %51, label %97

51:                                               ; preds = %46
  %52 = getelementptr inbounds i8, ptr %1, i64 106
  %53 = load i8, ptr %52, align 2, !tbaa !38, !range !36, !noundef !37
  %54 = trunc nuw i8 %53 to i1
  %55 = icmp eq i64 %sext49, 0
  %or.cond61.not = or i1 %55, %54
  br i1 %or.cond61.not, label %.loopexit, label %.lr.ph58

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

.lr.ph58:                                         ; preds = %51, %.lr.ph58
  %.04257 = phi i64 [ %68, %.lr.ph58 ], [ 0, %51 ]
  %58 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %59 = mul i64 %.04257, %20
  %60 = getelementptr inbounds float, ptr %58, i64 %59
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %61 = getelementptr inbounds float, ptr %60, i64 %20
  %62 = call noundef float @_ZSt13inner_productIPfS0_fET1_T_S2_T0_S1_(ptr noundef %60, ptr noundef nonnull %61, ptr noundef %60, float noundef 0.000000e+00)
  store float %62, ptr %10, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  %63 = call noundef float @_ZNSt14numeric_limitsIfE6lowestEv() #7
  store float %63, ptr %11, align 4, !tbaa !39
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %65 = load float, ptr %64, align 4, !tbaa !39
  %66 = call noundef float @_ZSt3logf(float noundef %65)
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.04257) #7
  store float %66, ptr %67, align 4, !tbaa !39
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  %68 = add nuw i64 %.04257, 1
  %69 = icmp ult i64 %68, %22
  br i1 %69, label %.lr.ph58, label %.loopexit, !llvm.loop !43

.loopexit:                                        ; preds = %.lr.ph58, %51
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  %70 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %71 = add i64 %70, %22
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %71, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %72 unwind label %74

72:                                               ; preds = %.loopexit
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #7
  br i1 %55, label %._crit_edge, label %.lr.ph60

._crit_edge:                                      ; preds = %91, %72
  call void @_ZSt4swapIfSaIfEEvRSt6vectorIT_T0_ES5_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %73 = add nsw i64 %48, 1
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br label %97

74:                                               ; preds = %.loopexit
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #7
  br label %96

.lr.ph60:                                         ; preds = %72, %91
  %.059 = phi i64 [ %92, %91 ], [ 0, %72 ]
  %76 = mul i64 %.059, %48
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.059) #7
  %78 = load float, ptr %77, align 4, !tbaa !39
  %79 = add i64 %76, %.059
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %79) #7
  store float %78, ptr %80, align 4, !tbaa !39
  %81 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %82 = getelementptr inbounds float, ptr %81, i64 %76
  %83 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %84 = getelementptr inbounds float, ptr %83, i64 %76
  %85 = getelementptr inbounds float, ptr %84, i64 %48
  %86 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %87 = getelementptr inbounds float, ptr %86, i64 %76
  %88 = getelementptr inbounds float, ptr %87, i64 %.059
  %89 = getelementptr inbounds i8, ptr %88, i64 4
  %90 = invoke noundef ptr @_ZSt4copyIPfS0_ET0_T_S2_S1_(ptr noundef %82, ptr noundef %85, ptr noundef nonnull %89)
          to label %91 unwind label %94

91:                                               ; preds = %.lr.ph60
  %92 = add nuw i64 %.059, 1
  %93 = icmp ult i64 %92, %22
  br i1 %93, label %.lr.ph60, label %._crit_edge, !llvm.loop !44

94:                                               ; preds = %.lr.ph60
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  br label %96

96:                                               ; preds = %94, %74
  %.pn = phi { ptr, i32 } [ %95, %94 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br label %103

97:                                               ; preds = %._crit_edge, %46
  %.043 = phi i64 [ %73, %._crit_edge ], [ %48, %46 ]
  %98 = getelementptr inbounds i8, ptr %1, i64 5304
  %99 = trunc i64 %.043 to i32
  invoke void @_ZNK2fl3lib5audio11Derivatives5applyERKSt6vectorIfSaIfEEi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 4 dereferenceable(8) %98, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef %99)
          to label %100 unwind label %101

100:                                              ; preds = %97
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %106

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

103:                                              ; preds = %101, %96
  %.pn.pn = phi { ptr, i32 } [ %.pn, %96 ], [ %102, %101 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br label %104

104:                                              ; preds = %103, %56
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %103 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br label %105

105:                                              ; preds = %104, %32
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %104 ], [ %33, %32 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn.pn.pn.pn

106:                                              ; preds = %100, %16
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  ret void
}

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

declare void @_ZN2fl3lib5audio11frameSignalERKSt6vectorIfSaIfEERKNS1_13FeatureParamsE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(100)) local_unnamed_addr #2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(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 void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3logf(float noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt13inner_productIPfS0_fET1_T_S2_T0_S1_(ptr noundef, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE6lowestEv() local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2fl3lib5audio4Mfsc8mfscImplERSt6vectorIfSaIfEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(5312), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIPfS0_ET0_T_S2_S1_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIfSaIfEEvRSt6vectorIT_T0_ES5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

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

declare void @_ZNK2fl3lib5audio11Derivatives5applyERKSt6vectorIfSaIfEEi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 = { 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, !13, i64 105}
!6 = !{!"_ZTSN2fl3lib5audio13PowerSpectrumE", !7, i64 8, !14, i64 112, !16, i64 5120, !18, i64 5128, !24, i64 5160, !30, i64 5168, !30, i64 5192, !34, i64 5216}
!7 = !{!"_ZTSN2fl3lib5audio13FeatureParamsE", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !11, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !13, i64 96, !13, i64 97, !13, i64 98, !13, i64 99}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN2fl3lib5audio10WindowTypeE", !9, i64 0}
!12 = !{!"float", !9, i64 0}
!13 = !{!"bool", !9, i64 0}
!14 = !{!"_ZTSN2fl3lib5audio6DitherE", !12, i64 0, !15, i64 8}
!15 = !{!"_ZTSSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE", !9, i64 0, !8, i64 4992}
!16 = !{!"_ZTSN2fl3lib5audio11PreEmphasisE", !12, i64 0, !17, i64 4}
!17 = !{!"int", !9, i64 0}
!18 = !{!"_ZTSN2fl3lib5audio9WindowingE", !17, i64 0, !11, i64 4, !19, i64 8}
!19 = !{!"_ZTSSt6vectorIfSaIfEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !23, i64 0, !23, i64 8, !23, i64 16}
!23 = !{!"any pointer", !9, i64 0}
!24 = !{!"_ZTSSt10unique_ptrIP11fftw_plan_sSt14default_deleteIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_dataIP11fftw_plan_sSt14default_deleteIS1_ELb1ELb1EE", !26, i64 0}
!26 = !{!"_ZTSSt15__uniq_ptr_implIP11fftw_plan_sSt14default_deleteIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt5tupleIJPP11fftw_plan_sSt14default_deleteIS1_EEE", !28, i64 0}
!28 = !{!"_ZTSSt11_Tuple_implILm0EJPP11fftw_plan_sSt14default_deleteIS1_EEE", !29, i64 0}
!29 = !{!"_ZTSSt10_Head_baseILm0EPP11fftw_plan_sLb0EE", !23, i64 0}
!30 = !{!"_ZTSSt6vectorIdSaIdEE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !23, i64 0, !23, i64 8, !23, i64 16}
!34 = !{!"_ZTSSt5mutex", !35, i64 0}
!35 = !{!"_ZTSSt12__mutex_base", !9, i64 0}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!6, !13, i64 106}
!39 = !{!12, !12, i64 0}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = !{!6, !8, i64 32}
!43 = distinct !{!43, !41}
!44 = distinct !{!44, !41}


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