; LLVM IR from sp-nitech/SPTK :: src/filter (mlsa_digital_filter)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.sptk::MlsaDigitalFilter" = type { ptr, i32, i32, double, i8, i8, %"class.std::vector" }
%"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.sptk::MlsaDigitalFilter::Buffer" = type { ptr, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector" }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #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) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk17MlsaDigitalFilter3RunERKSt6vectorIdSaIdEEdPdPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 align 2 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca double, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca double, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca double, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca double, align 8
  %32 = alloca i32, align 4
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca ptr, align 8
  %36 = alloca double, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca ptr, align 8
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca double, align 8
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca double, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store double %2, ptr %9, align 8, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %46 = load ptr, ptr %7, align 8
  %47 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 5
  %48 = load i8, ptr %47, align 1, !tbaa !11, !range !19, !noundef !20
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %64

50:                                               ; preds = %5
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  %53 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %54 = load i32, ptr %53, align 8, !tbaa !21
  %55 = add nsw i32 %54, 1
  %56 = sext i32 %55 to i64
  %57 = icmp ne i64 %52, %56
  br i1 %57, label %64, label %58

58:                                               ; preds = %50
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = icmp eq ptr null, %59
  br i1 %60, label %64, label %61

61:                                               ; preds = %58
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = icmp eq ptr null, %62
  br i1 %63, label %64, label %65

64:                                               ; preds = %61, %58, %50, %5
  store i1 false, ptr %6, align 1
  br label %567

65:                                               ; preds = %61
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %66, i32 0, i32 1
  %68 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #6
  %69 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 2
  %70 = load i32, ptr %69, align 4, !tbaa !22
  %71 = add nsw i32 %70, 1
  %72 = sext i32 %71 to i64
  %73 = icmp ne i64 %68, %72
  br i1 %73, label %74, label %93

74:                                               ; preds = %65
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %75, i32 0, i32 1
  %77 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 2
  %78 = load i32, ptr %77, align 4, !tbaa !22
  %79 = add nsw i32 %78, 1
  %80 = sext i32 %79 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %80)
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %81, i32 0, i32 1
  %83 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #6
  %84 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %83, ptr %84, align 8
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %85, i32 0, i32 1
  %87 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #6
  %88 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %87, ptr %88, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store double 0.000000e+00, ptr %14, align 8, !tbaa !9
  %89 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %90, ptr %92, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %93

93:                                               ; preds = %74, %65
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  %95 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %94, i32 0, i32 2
  %96 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %95) #6
  %97 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 2
  %98 = load i32, ptr %97, align 4, !tbaa !22
  %99 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %100 = load i32, ptr %99, align 8, !tbaa !21
  %101 = add nsw i32 %100, 2
  %102 = mul nsw i32 %98, %101
  %103 = sext i32 %102 to i64
  %104 = icmp ne i64 %96, %103
  br i1 %104, label %105, label %127

105:                                              ; preds = %93
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %106, i32 0, i32 2
  %108 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 2
  %109 = load i32, ptr %108, align 4, !tbaa !22
  %110 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %111 = load i32, ptr %110, align 8, !tbaa !21
  %112 = add nsw i32 %111, 2
  %113 = mul nsw i32 %109, %112
  %114 = sext i32 %113 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %114)
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %115, i32 0, i32 2
  %117 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %116) #6
  %118 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %117, ptr %118, align 8
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %119, i32 0, i32 2
  %121 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #6
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  %123 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %124, ptr %126, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %127

127:                                              ; preds = %105, %93
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %128, i32 0, i32 3
  %130 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #6
  %131 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 2
  %132 = load i32, ptr %131, align 4, !tbaa !22
  %133 = add nsw i32 %132, 1
  %134 = sext i32 %133 to i64
  %135 = icmp ne i64 %130, %134
  br i1 %135, label %136, label %155

136:                                              ; preds = %127
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %137, i32 0, i32 3
  %139 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 2
  %140 = load i32, ptr %139, align 4, !tbaa !22
  %141 = add nsw i32 %140, 1
  %142 = sext i32 %141 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %142)
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %143, i32 0, i32 3
  %145 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %144) #6
  %146 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %145, ptr %146, align 8
  %147 = load ptr, ptr %11, align 8, !tbaa !5
  %148 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %147, i32 0, i32 3
  %149 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %148) #6
  %150 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %149, ptr %150, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  store double 0.000000e+00, ptr %20, align 8, !tbaa !9
  %151 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8
  %153 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %152, ptr %154, ptr noundef nonnull align 8 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %155

155:                                              ; preds = %136, %127
  %156 = load ptr, ptr %11, align 8, !tbaa !5
  %157 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %156, i32 0, i32 4
  %158 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %157) #6
  %159 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 2
  %160 = load i32, ptr %159, align 4, !tbaa !22
  %161 = add nsw i32 %160, 1
  %162 = sext i32 %161 to i64
  %163 = icmp ne i64 %158, %162
  br i1 %163, label %164, label %183

164:                                              ; preds = %155
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  %166 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %165, i32 0, i32 4
  %167 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 2
  %168 = load i32, ptr %167, align 4, !tbaa !22
  %169 = add nsw i32 %168, 1
  %170 = sext i32 %169 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %170)
  %171 = load ptr, ptr %11, align 8, !tbaa !5
  %172 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %171, i32 0, i32 4
  %173 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %172) #6
  %174 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %173, ptr %174, align 8
  %175 = load ptr, ptr %11, align 8, !tbaa !5
  %176 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %175, i32 0, i32 4
  %177 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %176) #6
  %178 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %177, ptr %178, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  store double 0.000000e+00, ptr %23, align 8, !tbaa !9
  %179 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  %180 = load ptr, ptr %179, align 8
  %181 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  %182 = load ptr, ptr %181, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %180, ptr %182, ptr noundef nonnull align 8 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %183

183:                                              ; preds = %164, %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %184 = load double, ptr %9, align 8, !tbaa !9
  %185 = load ptr, ptr %8, align 8, !tbaa !5
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef 0) #6
  %187 = load double, ptr %186, align 8, !tbaa !9
  %188 = call double @exp(double noundef %187) #6
  %189 = fmul double %184, %188
  store double %189, ptr %24, align 8, !tbaa !9
  %190 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %191 = load i32, ptr %190, align 8, !tbaa !21
  %192 = icmp eq i32 0, %191
  br i1 %192, label %193, label %196

193:                                              ; preds = %183
  %194 = load double, ptr %24, align 8, !tbaa !9
  %195 = load ptr, ptr %10, align 8, !tbaa !5
  store double %194, ptr %195, align 8, !tbaa !9
  store i1 true, ptr %6, align 1
  store i32 1, ptr %25, align 4
  br label %566

196:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %197, i64 noundef 0) #6
  store ptr %198, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %199 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 3
  %200 = load double, ptr %199, align 8, !tbaa !23
  %201 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 3
  %202 = load double, ptr %201, align 8, !tbaa !23
  %203 = fneg double %200
  %204 = call double @llvm.fmuladd.f64(double %203, double %202, double 1.000000e+00)
  store double %204, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  store double 0.000000e+00, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %205 = load ptr, ptr %11, align 8, !tbaa !5
  %206 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %205, i32 0, i32 1
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %206, i64 noundef 0) #6
  store ptr %207, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %208, i32 0, i32 3
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %209, i64 noundef 0) #6
  store ptr %210, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %211 = load double, ptr %24, align 8, !tbaa !9
  store double %211, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %212 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 2
  %213 = load i32, ptr %212, align 4, !tbaa !22
  store i32 %213, ptr %32, align 4, !tbaa !24
  br label %214

214:                                              ; preds = %278, %196
  %215 = load i32, ptr %32, align 4, !tbaa !24
  %216 = icmp slt i32 0, %215
  br i1 %216, label %218, label %217

217:                                              ; preds = %214
  store i32 2, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %281

218:                                              ; preds = %214
  %219 = load double, ptr %27, align 8, !tbaa !9
  %220 = load ptr, ptr %30, align 8, !tbaa !5
  %221 = load i32, ptr %32, align 4, !tbaa !24
  %222 = sub nsw i32 %221, 1
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds double, ptr %220, i64 %223
  %225 = load double, ptr %224, align 8, !tbaa !9
  %226 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 3
  %227 = load double, ptr %226, align 8, !tbaa !23
  %228 = load ptr, ptr %29, align 8, !tbaa !5
  %229 = load i32, ptr %32, align 4, !tbaa !24
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds double, ptr %228, i64 %230
  %232 = load double, ptr %231, align 8, !tbaa !9
  %233 = fmul double %227, %232
  %234 = call double @llvm.fmuladd.f64(double %219, double %225, double %233)
  %235 = load ptr, ptr %29, align 8, !tbaa !5
  %236 = load i32, ptr %32, align 4, !tbaa !24
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds double, ptr %235, i64 %237
  store double %234, ptr %238, align 8, !tbaa !9
  %239 = load ptr, ptr %29, align 8, !tbaa !5
  %240 = load i32, ptr %32, align 4, !tbaa !24
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds double, ptr %239, i64 %241
  %243 = load double, ptr %242, align 8, !tbaa !9
  %244 = load ptr, ptr %26, align 8, !tbaa !5
  %245 = getelementptr inbounds double, ptr %244, i64 1
  %246 = load double, ptr %245, align 8, !tbaa !9
  %247 = fmul double %243, %246
  %248 = load ptr, ptr %30, align 8, !tbaa !5
  %249 = load i32, ptr %32, align 4, !tbaa !24
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds double, ptr %248, i64 %250
  store double %247, ptr %251, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %252 = load ptr, ptr %30, align 8, !tbaa !5
  %253 = load i32, ptr %32, align 4, !tbaa !24
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds double, ptr %252, i64 %254
  %256 = load double, ptr %255, align 8, !tbaa !9
  %257 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 6
  %258 = load i32, ptr %32, align 4, !tbaa !24
  %259 = sext i32 %258 to i64
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %257, i64 noundef %259) #6
  %261 = load double, ptr %260, align 8, !tbaa !9
  %262 = fmul double %256, %261
  store double %262, ptr %33, align 8, !tbaa !9
  %263 = load i32, ptr %32, align 4, !tbaa !24
  %264 = srem i32 %263, 2
  %265 = icmp eq i32 %264, 1
  br i1 %265, label %266, label %268

266:                                              ; preds = %218
  %267 = load double, ptr %33, align 8, !tbaa !9
  br label %271

268:                                              ; preds = %218
  %269 = load double, ptr %33, align 8, !tbaa !9
  %270 = fneg double %269
  br label %271

271:                                              ; preds = %268, %266
  %272 = phi double [ %267, %266 ], [ %270, %268 ]
  %273 = load double, ptr %31, align 8, !tbaa !9
  %274 = fadd double %273, %272
  store double %274, ptr %31, align 8, !tbaa !9
  %275 = load double, ptr %33, align 8, !tbaa !9
  %276 = load double, ptr %28, align 8, !tbaa !9
  %277 = fadd double %276, %275
  store double %277, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %278

278:                                              ; preds = %271
  %279 = load i32, ptr %32, align 4, !tbaa !24
  %280 = add nsw i32 %279, -1
  store i32 %280, ptr %32, align 4, !tbaa !24
  br label %214, !llvm.loop !25

281:                                              ; preds = %217
  %282 = load double, ptr %31, align 8, !tbaa !9
  %283 = load ptr, ptr %30, align 8, !tbaa !5
  %284 = getelementptr inbounds double, ptr %283, i64 0
  store double %282, ptr %284, align 8, !tbaa !9
  %285 = load double, ptr %31, align 8, !tbaa !9
  %286 = load double, ptr %28, align 8, !tbaa !9
  %287 = fadd double %286, %285
  store double %287, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  store double 0.000000e+00, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %288 = load ptr, ptr %11, align 8, !tbaa !5
  %289 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %288, i32 0, i32 4
  %290 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %289, i64 noundef 0) #6
  store ptr %290, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %291 = load double, ptr %28, align 8, !tbaa !9
  store double %291, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %292 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 2
  %293 = load i32, ptr %292, align 4, !tbaa !22
  store i32 %293, ptr %37, align 4, !tbaa !24
  br label %294

294:                                              ; preds = %554, %281
  %295 = load i32, ptr %37, align 4, !tbaa !24
  %296 = icmp slt i32 0, %295
  br i1 %296, label %298, label %297

297:                                              ; preds = %294
  store i32 5, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  br label %557

298:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  %299 = load i32, ptr %37, align 4, !tbaa !24
  %300 = sub nsw i32 %299, 1
  %301 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %302 = load i32, ptr %301, align 8, !tbaa !21
  %303 = add nsw i32 %302, 2
  %304 = mul nsw i32 %300, %303
  store i32 %304, ptr %38, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %305 = load ptr, ptr %11, align 8, !tbaa !5
  %306 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter::Buffer", ptr %305, i32 0, i32 2
  %307 = load i32, ptr %38, align 4, !tbaa !24
  %308 = sext i32 %307 to i64
  %309 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %306, i64 noundef %308) #6
  store ptr %309, ptr %39, align 8, !tbaa !5
  %310 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 4
  %311 = load i8, ptr %310, align 8, !tbaa !27, !range !19, !noundef !20
  %312 = trunc i8 %311 to i1
  br i1 %312, label %313, label %431

313:                                              ; preds = %298
  %314 = load ptr, ptr %26, align 8, !tbaa !5
  %315 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %316 = load i32, ptr %315, align 8, !tbaa !21
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds double, ptr %314, i64 %317
  %319 = load double, ptr %318, align 8, !tbaa !9
  %320 = load ptr, ptr %35, align 8, !tbaa !5
  %321 = load i32, ptr %37, align 4, !tbaa !24
  %322 = sub nsw i32 %321, 1
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds double, ptr %320, i64 %323
  %325 = load double, ptr %324, align 8, !tbaa !9
  %326 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 3
  %327 = load double, ptr %326, align 8, !tbaa !23
  %328 = load ptr, ptr %39, align 8, !tbaa !5
  %329 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %330 = load i32, ptr %329, align 8, !tbaa !21
  %331 = sub nsw i32 %330, 1
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds double, ptr %328, i64 %332
  %334 = load double, ptr %333, align 8, !tbaa !9
  %335 = fmul double %327, %334
  %336 = call double @llvm.fmuladd.f64(double %319, double %325, double %335)
  %337 = load ptr, ptr %39, align 8, !tbaa !5
  %338 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %339 = load i32, ptr %338, align 8, !tbaa !21
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds double, ptr %337, i64 %340
  store double %336, ptr %341, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  %342 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %343 = load i32, ptr %342, align 8, !tbaa !21
  %344 = sub nsw i32 %343, 1
  store i32 %344, ptr %40, align 4, !tbaa !24
  br label %345

345:                                              ; preds = %384, %313
  %346 = load i32, ptr %40, align 4, !tbaa !24
  %347 = icmp slt i32 1, %346
  br i1 %347, label %349, label %348

348:                                              ; preds = %345
  store i32 8, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  br label %387

349:                                              ; preds = %345
  %350 = load ptr, ptr %26, align 8, !tbaa !5
  %351 = load i32, ptr %40, align 4, !tbaa !24
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds double, ptr %350, i64 %352
  %354 = load double, ptr %353, align 8, !tbaa !9
  %355 = load ptr, ptr %35, align 8, !tbaa !5
  %356 = load i32, ptr %37, align 4, !tbaa !24
  %357 = sub nsw i32 %356, 1
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds double, ptr %355, i64 %358
  %360 = load double, ptr %359, align 8, !tbaa !9
  %361 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 3
  %362 = load double, ptr %361, align 8, !tbaa !23
  %363 = load ptr, ptr %39, align 8, !tbaa !5
  %364 = load i32, ptr %40, align 4, !tbaa !24
  %365 = sub nsw i32 %364, 1
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds double, ptr %363, i64 %366
  %368 = load double, ptr %367, align 8, !tbaa !9
  %369 = load ptr, ptr %39, align 8, !tbaa !5
  %370 = load i32, ptr %40, align 4, !tbaa !24
  %371 = add nsw i32 %370, 1
  %372 = sext i32 %371 to i64
  %373 = getelementptr inbounds double, ptr %369, i64 %372
  %374 = load double, ptr %373, align 8, !tbaa !9
  %375 = fsub double %368, %374
  %376 = fmul double %362, %375
  %377 = call double @llvm.fmuladd.f64(double %354, double %360, double %376)
  %378 = load ptr, ptr %39, align 8, !tbaa !5
  %379 = load i32, ptr %40, align 4, !tbaa !24
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds double, ptr %378, i64 %380
  %382 = load double, ptr %381, align 8, !tbaa !9
  %383 = fadd double %382, %377
  store double %383, ptr %381, align 8, !tbaa !9
  br label %384

384:                                              ; preds = %349
  %385 = load i32, ptr %40, align 4, !tbaa !24
  %386 = add nsw i32 %385, -1
  store i32 %386, ptr %40, align 4, !tbaa !24
  br label %345, !llvm.loop !28

387:                                              ; preds = %348
  %388 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 3
  %389 = load double, ptr %388, align 8, !tbaa !23
  %390 = load ptr, ptr %39, align 8, !tbaa !5
  %391 = getelementptr inbounds double, ptr %390, i64 0
  %392 = load double, ptr %391, align 8, !tbaa !9
  %393 = load ptr, ptr %39, align 8, !tbaa !5
  %394 = getelementptr inbounds double, ptr %393, i64 2
  %395 = load double, ptr %394, align 8, !tbaa !9
  %396 = fsub double %392, %395
  %397 = load ptr, ptr %39, align 8, !tbaa !5
  %398 = getelementptr inbounds double, ptr %397, i64 1
  %399 = load double, ptr %398, align 8, !tbaa !9
  %400 = call double @llvm.fmuladd.f64(double %389, double %396, double %399)
  store double %400, ptr %398, align 8, !tbaa !9
  %401 = load double, ptr %27, align 8, !tbaa !9
  %402 = load ptr, ptr %39, align 8, !tbaa !5
  %403 = getelementptr inbounds double, ptr %402, i64 0
  %404 = load double, ptr %403, align 8, !tbaa !9
  %405 = fmul double %401, %404
  %406 = load ptr, ptr %35, align 8, !tbaa !5
  %407 = load i32, ptr %37, align 4, !tbaa !24
  %408 = sext i32 %407 to i64
  %409 = getelementptr inbounds double, ptr %406, i64 %408
  store double %405, ptr %409, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  store i32 0, ptr %41, align 4, !tbaa !24
  br label %410

410:                                              ; preds = %427, %387
  %411 = load i32, ptr %41, align 4, !tbaa !24
  %412 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %413 = load i32, ptr %412, align 8, !tbaa !21
  %414 = icmp slt i32 %411, %413
  br i1 %414, label %416, label %415

415:                                              ; preds = %410
  store i32 11, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  br label %430

416:                                              ; preds = %410
  %417 = load ptr, ptr %39, align 8, !tbaa !5
  %418 = load i32, ptr %41, align 4, !tbaa !24
  %419 = add nsw i32 %418, 1
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds double, ptr %417, i64 %420
  %422 = load double, ptr %421, align 8, !tbaa !9
  %423 = load ptr, ptr %39, align 8, !tbaa !5
  %424 = load i32, ptr %41, align 4, !tbaa !24
  %425 = sext i32 %424 to i64
  %426 = getelementptr inbounds double, ptr %423, i64 %425
  store double %422, ptr %426, align 8, !tbaa !9
  br label %427

427:                                              ; preds = %416
  %428 = load i32, ptr %41, align 4, !tbaa !24
  %429 = add nsw i32 %428, 1
  store i32 %429, ptr %41, align 4, !tbaa !24
  br label %410, !llvm.loop !29

430:                                              ; preds = %415
  br label %527

431:                                              ; preds = %298
  %432 = load ptr, ptr %35, align 8, !tbaa !5
  %433 = load i32, ptr %37, align 4, !tbaa !24
  %434 = sub nsw i32 %433, 1
  %435 = sext i32 %434 to i64
  %436 = getelementptr inbounds double, ptr %432, i64 %435
  %437 = load double, ptr %436, align 8, !tbaa !9
  %438 = load ptr, ptr %39, align 8, !tbaa !5
  %439 = getelementptr inbounds double, ptr %438, i64 0
  store double %437, ptr %439, align 8, !tbaa !9
  %440 = load double, ptr %27, align 8, !tbaa !9
  %441 = load ptr, ptr %35, align 8, !tbaa !5
  %442 = load i32, ptr %37, align 4, !tbaa !24
  %443 = sub nsw i32 %442, 1
  %444 = sext i32 %443 to i64
  %445 = getelementptr inbounds double, ptr %441, i64 %444
  %446 = load double, ptr %445, align 8, !tbaa !9
  %447 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 3
  %448 = load double, ptr %447, align 8, !tbaa !23
  %449 = load ptr, ptr %39, align 8, !tbaa !5
  %450 = getelementptr inbounds double, ptr %449, i64 1
  %451 = load double, ptr %450, align 8, !tbaa !9
  %452 = fmul double %448, %451
  %453 = call double @llvm.fmuladd.f64(double %440, double %446, double %452)
  %454 = load ptr, ptr %39, align 8, !tbaa !5
  %455 = getelementptr inbounds double, ptr %454, i64 1
  store double %453, ptr %455, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  store double 0.000000e+00, ptr %42, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #6
  store i32 2, ptr %43, align 4, !tbaa !24
  br label %456

456:                                              ; preds = %496, %431
  %457 = load i32, ptr %43, align 4, !tbaa !24
  %458 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %459 = load i32, ptr %458, align 8, !tbaa !21
  %460 = icmp sle i32 %457, %459
  br i1 %460, label %462, label %461

461:                                              ; preds = %456
  store i32 14, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  br label %499

462:                                              ; preds = %456
  %463 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 3
  %464 = load double, ptr %463, align 8, !tbaa !23
  %465 = load ptr, ptr %39, align 8, !tbaa !5
  %466 = load i32, ptr %43, align 4, !tbaa !24
  %467 = add nsw i32 %466, 1
  %468 = sext i32 %467 to i64
  %469 = getelementptr inbounds double, ptr %465, i64 %468
  %470 = load double, ptr %469, align 8, !tbaa !9
  %471 = load ptr, ptr %39, align 8, !tbaa !5
  %472 = load i32, ptr %43, align 4, !tbaa !24
  %473 = sub nsw i32 %472, 1
  %474 = sext i32 %473 to i64
  %475 = getelementptr inbounds double, ptr %471, i64 %474
  %476 = load double, ptr %475, align 8, !tbaa !9
  %477 = fsub double %470, %476
  %478 = load ptr, ptr %39, align 8, !tbaa !5
  %479 = load i32, ptr %43, align 4, !tbaa !24
  %480 = sext i32 %479 to i64
  %481 = getelementptr inbounds double, ptr %478, i64 %480
  %482 = load double, ptr %481, align 8, !tbaa !9
  %483 = call double @llvm.fmuladd.f64(double %464, double %477, double %482)
  store double %483, ptr %481, align 8, !tbaa !9
  %484 = load ptr, ptr %39, align 8, !tbaa !5
  %485 = load i32, ptr %43, align 4, !tbaa !24
  %486 = sext i32 %485 to i64
  %487 = getelementptr inbounds double, ptr %484, i64 %486
  %488 = load double, ptr %487, align 8, !tbaa !9
  %489 = load ptr, ptr %26, align 8, !tbaa !5
  %490 = load i32, ptr %43, align 4, !tbaa !24
  %491 = sext i32 %490 to i64
  %492 = getelementptr inbounds double, ptr %489, i64 %491
  %493 = load double, ptr %492, align 8, !tbaa !9
  %494 = load double, ptr %42, align 8, !tbaa !9
  %495 = call double @llvm.fmuladd.f64(double %488, double %493, double %494)
  store double %495, ptr %42, align 8, !tbaa !9
  br label %496

496:                                              ; preds = %462
  %497 = load i32, ptr %43, align 4, !tbaa !24
  %498 = add nsw i32 %497, 1
  store i32 %498, ptr %43, align 4, !tbaa !24
  br label %456, !llvm.loop !30

499:                                              ; preds = %461
  %500 = load double, ptr %42, align 8, !tbaa !9
  %501 = load ptr, ptr %35, align 8, !tbaa !5
  %502 = load i32, ptr %37, align 4, !tbaa !24
  %503 = sext i32 %502 to i64
  %504 = getelementptr inbounds double, ptr %501, i64 %503
  store double %500, ptr %504, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  %505 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 1
  %506 = load i32, ptr %505, align 8, !tbaa !21
  %507 = add nsw i32 %506, 1
  store i32 %507, ptr %44, align 4, !tbaa !24
  br label %508

508:                                              ; preds = %523, %499
  %509 = load i32, ptr %44, align 4, !tbaa !24
  %510 = icmp slt i32 1, %509
  br i1 %510, label %512, label %511

511:                                              ; preds = %508
  store i32 17, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  br label %526

512:                                              ; preds = %508
  %513 = load ptr, ptr %39, align 8, !tbaa !5
  %514 = load i32, ptr %44, align 4, !tbaa !24
  %515 = sub nsw i32 %514, 1
  %516 = sext i32 %515 to i64
  %517 = getelementptr inbounds double, ptr %513, i64 %516
  %518 = load double, ptr %517, align 8, !tbaa !9
  %519 = load ptr, ptr %39, align 8, !tbaa !5
  %520 = load i32, ptr %44, align 4, !tbaa !24
  %521 = sext i32 %520 to i64
  %522 = getelementptr inbounds double, ptr %519, i64 %521
  store double %518, ptr %522, align 8, !tbaa !9
  br label %523

523:                                              ; preds = %512
  %524 = load i32, ptr %44, align 4, !tbaa !24
  %525 = add nsw i32 %524, -1
  store i32 %525, ptr %44, align 4, !tbaa !24
  br label %508, !llvm.loop !31

526:                                              ; preds = %511
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  br label %527

527:                                              ; preds = %526, %430
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  %528 = load ptr, ptr %35, align 8, !tbaa !5
  %529 = load i32, ptr %37, align 4, !tbaa !24
  %530 = sext i32 %529 to i64
  %531 = getelementptr inbounds double, ptr %528, i64 %530
  %532 = load double, ptr %531, align 8, !tbaa !9
  %533 = getelementptr inbounds %"class.sptk::MlsaDigitalFilter", ptr %46, i32 0, i32 6
  %534 = load i32, ptr %37, align 4, !tbaa !24
  %535 = sext i32 %534 to i64
  %536 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %533, i64 noundef %535) #6
  %537 = load double, ptr %536, align 8, !tbaa !9
  %538 = fmul double %532, %537
  store double %538, ptr %45, align 8, !tbaa !9
  %539 = load i32, ptr %37, align 4, !tbaa !24
  %540 = srem i32 %539, 2
  %541 = icmp eq i32 %540, 1
  br i1 %541, label %542, label %544

542:                                              ; preds = %527
  %543 = load double, ptr %45, align 8, !tbaa !9
  br label %547

544:                                              ; preds = %527
  %545 = load double, ptr %45, align 8, !tbaa !9
  %546 = fneg double %545
  br label %547

547:                                              ; preds = %544, %542
  %548 = phi double [ %543, %542 ], [ %546, %544 ]
  %549 = load double, ptr %36, align 8, !tbaa !9
  %550 = fadd double %549, %548
  store double %550, ptr %36, align 8, !tbaa !9
  %551 = load double, ptr %45, align 8, !tbaa !9
  %552 = load double, ptr %34, align 8, !tbaa !9
  %553 = fadd double %552, %551
  store double %553, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  br label %554

554:                                              ; preds = %547
  %555 = load i32, ptr %37, align 4, !tbaa !24
  %556 = add nsw i32 %555, -1
  store i32 %556, ptr %37, align 4, !tbaa !24
  br label %294, !llvm.loop !32

557:                                              ; preds = %297
  %558 = load double, ptr %36, align 8, !tbaa !9
  %559 = load ptr, ptr %35, align 8, !tbaa !5
  %560 = getelementptr inbounds double, ptr %559, i64 0
  store double %558, ptr %560, align 8, !tbaa !9
  %561 = load double, ptr %36, align 8, !tbaa !9
  %562 = load double, ptr %34, align 8, !tbaa !9
  %563 = fadd double %562, %561
  store double %563, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  %564 = load double, ptr %34, align 8, !tbaa !9
  %565 = load ptr, ptr %10, align 8, !tbaa !5
  store double %564, ptr %565, align 8, !tbaa !9
  store i1 true, ptr %6, align 1
  store i32 1, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %566

566:                                              ; preds = %557, %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %567

567:                                              ; preds = %566, %64
  %568 = load i1, ptr %6, align 1
  ret i1 %568
}

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

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

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

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

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

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

; Function Attrs: nounwind
declare double @exp(double noundef) #4

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !14, i64 25}
!12 = !{!"_ZTSN4sptk17MlsaDigitalFilterE", !13, i64 8, !13, i64 12, !10, i64 16, !14, i64 24, !14, i64 25, !15, i64 32}
!13 = !{!"int", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSSt6vectorIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!12, !13, i64 8}
!22 = !{!12, !13, i64 12}
!23 = !{!12, !10, i64 16}
!24 = !{!13, !13, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!12, !14, i64 24}
!28 = distinct !{!28, !26}
!29 = distinct !{!29, !26}
!30 = distinct !{!30, !26}
!31 = distinct !{!31, !26}
!32 = distinct !{!32, !26}


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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_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 #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk17MlsaDigitalFilter3RunERKSt6vectorIdSaIdEEdPdPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, double noundef %2, ptr noundef writeonly %3, ptr noundef %4) local_unnamed_addr #0 align 2 {
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = getelementptr inbounds i8, ptr %0, i64 25
  %11 = load i8, ptr %10, align 1, !tbaa !5, !range !17, !noundef !18
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %13, label %229

13:                                               ; preds = %5
  %14 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !19
  %17 = add nsw i32 %16, 1
  %18 = sext i32 %17 to i64
  %19 = icmp ne i64 %14, %18
  %20 = icmp eq ptr %3, null
  %or.cond = or i1 %20, %19
  %21 = icmp eq ptr %4, null
  %or.cond3 = or i1 %21, %or.cond
  br i1 %or.cond3, label %229, label %22

22:                                               ; preds = %13
  %23 = getelementptr inbounds i8, ptr %4, i64 8
  %24 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  %25 = getelementptr inbounds i8, ptr %0, i64 12
  %26 = load i32, ptr %25, align 4, !tbaa !20
  %27 = add nsw i32 %26, 1
  %28 = sext i32 %27 to i64
  %.not = icmp eq i64 %24, %28
  br i1 %.not, label %32, label %29

29:                                               ; preds = %22
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %28)
  %30 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  %31 = tail call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  store double 0.000000e+00, ptr %6, align 8, !tbaa !21
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %30, ptr %31, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br label %32

32:                                               ; preds = %29, %22
  %33 = getelementptr inbounds i8, ptr %4, i64 32
  %34 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  %35 = load i32, ptr %25, align 4, !tbaa !20
  %36 = load i32, ptr %15, align 8, !tbaa !19
  %37 = add nsw i32 %36, 2
  %38 = mul nsw i32 %37, %35
  %39 = sext i32 %38 to i64
  %.not163 = icmp eq i64 %34, %39
  br i1 %.not163, label %43, label %40

40:                                               ; preds = %32
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %39)
  %41 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  %42 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  store double 0.000000e+00, ptr %7, align 8, !tbaa !21
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %41, ptr %42, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br label %43

43:                                               ; preds = %40, %32
  %44 = getelementptr inbounds i8, ptr %4, i64 56
  %45 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  %46 = load i32, ptr %25, align 4, !tbaa !20
  %47 = add nsw i32 %46, 1
  %48 = sext i32 %47 to i64
  %.not164 = icmp eq i64 %45, %48
  br i1 %.not164, label %52, label %49

49:                                               ; preds = %43
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %48)
  %50 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  %51 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  store double 0.000000e+00, ptr %8, align 8, !tbaa !21
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %50, ptr %51, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %52

52:                                               ; preds = %49, %43
  %53 = getelementptr inbounds i8, ptr %4, i64 80
  %54 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %55 = load i32, ptr %25, align 4, !tbaa !20
  %56 = add nsw i32 %55, 1
  %57 = sext i32 %56 to i64
  %.not165 = icmp eq i64 %54, %57
  br i1 %.not165, label %61, label %58

58:                                               ; preds = %52
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %57)
  %59 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %60 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  store double 0.000000e+00, ptr %9, align 8, !tbaa !21
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %59, ptr %60, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br label %61

61:                                               ; preds = %58, %52
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #8
  %63 = load double, ptr %62, align 8, !tbaa !21
  %64 = call double @exp(double noundef %63) #8
  %65 = fmul double %64, %2
  %66 = load i32, ptr %15, align 8, !tbaa !19
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %228, label %68

68:                                               ; preds = %61
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #8
  %70 = getelementptr inbounds i8, ptr %0, i64 16
  %71 = load double, ptr %70, align 8, !tbaa !22
  %72 = fneg double %71
  %73 = call double @llvm.fmuladd.f64(double %72, double %71, double 1.000000e+00)
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef 0) #8
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #8
  %76 = load i32, ptr %25, align 4, !tbaa !20
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %68
  %78 = getelementptr inbounds i8, ptr %69, i64 8
  %79 = getelementptr inbounds i8, ptr %0, i64 32
  %80 = zext nneg i32 %76 to i64
  br label %88

._crit_edge:                                      ; preds = %88, %68
  %.0155.lcssa = phi double [ %65, %68 ], [ %105, %88 ]
  %.0152.lcssa = phi double [ 0.000000e+00, %68 ], [ %106, %88 ]
  store double %.0155.lcssa, ptr %75, align 8, !tbaa !21
  %81 = fadd double %.0155.lcssa, %.0152.lcssa
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef 0) #8
  %83 = load i32, ptr %25, align 4, !tbaa !20
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %.lr.ph196, label %._crit_edge197

.lr.ph196:                                        ; preds = %._crit_edge
  %85 = getelementptr inbounds i8, ptr %0, i64 24
  %86 = getelementptr inbounds i8, ptr %0, i64 32
  %87 = zext nneg i32 %83 to i64
  br label %109

88:                                               ; preds = %.lr.ph, %88
  %indvars.iv = phi i64 [ %80, %.lr.ph ], [ %indvars.iv.next, %88 ]
  %.0152172 = phi double [ 0.000000e+00, %.lr.ph ], [ %106, %88 ]
  %.0155171 = phi double [ %65, %.lr.ph ], [ %105, %88 ]
  %89 = getelementptr double, ptr %75, i64 %indvars.iv
  %90 = getelementptr i8, ptr %89, i64 -8
  %91 = load double, ptr %90, align 8, !tbaa !21
  %92 = load double, ptr %70, align 8, !tbaa !22
  %93 = getelementptr inbounds double, ptr %74, i64 %indvars.iv
  %94 = load double, ptr %93, align 8, !tbaa !21
  %95 = fmul double %92, %94
  %96 = call double @llvm.fmuladd.f64(double %73, double %91, double %95)
  store double %96, ptr %93, align 8, !tbaa !21
  %97 = load double, ptr %78, align 8, !tbaa !21
  %98 = fmul double %96, %97
  store double %98, ptr %89, align 8, !tbaa !21
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %indvars.iv) #8
  %100 = load double, ptr %99, align 8, !tbaa !21
  %101 = fmul double %98, %100
  %102 = and i64 %indvars.iv, 1
  %.not168 = icmp eq i64 %102, 0
  %103 = fneg double %101
  %104 = select i1 %.not168, double %103, double %101
  %105 = fadd double %.0155171, %104
  %106 = fadd double %.0152172, %101
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %107 = icmp ugt i64 %indvars.iv, 1
  br i1 %107, label %88, label %._crit_edge, !llvm.loop !23

._crit_edge197:                                   ; preds = %.loopexit, %._crit_edge
  %.0156.lcssa = phi double [ 0.000000e+00, %._crit_edge ], [ %226, %.loopexit ]
  %.0154.lcssa = phi double [ %81, %._crit_edge ], [ %225, %.loopexit ]
  store double %.0154.lcssa, ptr %82, align 8, !tbaa !21
  %108 = fadd double %.0156.lcssa, %.0154.lcssa
  br label %228

109:                                              ; preds = %.lr.ph196, %.loopexit
  %indvars.iv220 = phi i64 [ %87, %.lr.ph196 ], [ %indvars.iv.next221, %.loopexit ]
  %.0154193 = phi double [ %81, %.lr.ph196 ], [ %225, %.loopexit ]
  %.0156192 = phi double [ 0.000000e+00, %.lr.ph196 ], [ %226, %.loopexit ]
  %indvars.iv.next221 = add nsw i64 %indvars.iv220, -1
  %110 = load i32, ptr %15, align 8, !tbaa !19
  %111 = add nsw i32 %110, 2
  %112 = sext i32 %111 to i64
  %113 = mul nsw i64 %indvars.iv.next221, %112
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %113) #8
  %115 = load i8, ptr %85, align 8, !tbaa !25, !range !17, !noundef !18
  %116 = trunc nuw i8 %115 to i1
  br i1 %116, label %117, label %158

117:                                              ; preds = %109
  %118 = load i32, ptr %15, align 8, !tbaa !19
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds double, ptr %69, i64 %119
  %121 = load double, ptr %120, align 8, !tbaa !21
  %122 = getelementptr inbounds double, ptr %82, i64 %indvars.iv.next221
  %123 = load double, ptr %122, align 8, !tbaa !21
  %124 = load double, ptr %70, align 8, !tbaa !22
  %125 = getelementptr double, ptr %114, i64 %119
  %126 = getelementptr i8, ptr %125, i64 -8
  %127 = load double, ptr %126, align 8, !tbaa !21
  %128 = fmul double %124, %127
  %129 = call double @llvm.fmuladd.f64(double %121, double %123, double %128)
  store double %129, ptr %125, align 8, !tbaa !21
  %130 = icmp sgt i32 %118, 2
  br i1 %130, label %.lr.ph187.preheader, label %._crit_edge188

.lr.ph187.preheader:                              ; preds = %117
  %131 = zext nneg i32 %118 to i64
  %.phi.trans.insert223 = getelementptr double, ptr %114, i64 %131
  %.pre224 = load double, ptr %.phi.trans.insert223, align 8, !tbaa !21
  %invariant.gep = getelementptr i8, ptr %114, i64 -16
  br label %.lr.ph187

._crit_edge188:                                   ; preds = %.lr.ph187, %117
  %132 = load double, ptr %70, align 8, !tbaa !22
  %133 = load double, ptr %114, align 8, !tbaa !21
  %134 = getelementptr inbounds i8, ptr %114, i64 16
  %135 = load double, ptr %134, align 8, !tbaa !21
  %136 = fsub double %133, %135
  %137 = getelementptr inbounds i8, ptr %114, i64 8
  %138 = load double, ptr %137, align 8, !tbaa !21
  %139 = call double @llvm.fmuladd.f64(double %132, double %136, double %138)
  store double %139, ptr %137, align 8, !tbaa !21
  %140 = fmul double %73, %133
  %141 = getelementptr inbounds double, ptr %82, i64 %indvars.iv220
  store double %140, ptr %141, align 8, !tbaa !21
  %142 = icmp sgt i32 %118, 0
  br i1 %142, label %.lr.ph191.preheader, label %.loopexit

.lr.ph191.preheader:                              ; preds = %._crit_edge188
  %143 = zext nneg i32 %118 to i64
  %144 = shl nuw nsw i64 %143, 3
  call void @llvm.memmove.p0.p0.i64(ptr nonnull align 8 %114, ptr nonnull align 8 %137, i64 %144, i1 false), !tbaa !21
  br label %.loopexit

.lr.ph187:                                        ; preds = %.lr.ph187.preheader, %.lr.ph187
  %145 = phi double [ %.pre224, %.lr.ph187.preheader ], [ %156, %.lr.ph187 ]
  %indvars.iv214 = phi i64 [ %131, %.lr.ph187.preheader ], [ %indvars.iv.next215, %.lr.ph187 ]
  %indvars.iv.next215 = add nsw i64 %indvars.iv214, -1
  %146 = getelementptr inbounds double, ptr %69, i64 %indvars.iv.next215
  %147 = load double, ptr %146, align 8, !tbaa !21
  %148 = load double, ptr %122, align 8, !tbaa !21
  %149 = load double, ptr %70, align 8, !tbaa !22
  %gep = getelementptr double, ptr %invariant.gep, i64 %indvars.iv214
  %150 = load double, ptr %gep, align 8, !tbaa !21
  %151 = fsub double %150, %145
  %152 = fmul double %149, %151
  %153 = call double @llvm.fmuladd.f64(double %147, double %148, double %152)
  %154 = getelementptr inbounds double, ptr %114, i64 %indvars.iv.next215
  %155 = load double, ptr %154, align 8, !tbaa !21
  %156 = fadd double %155, %153
  store double %156, ptr %154, align 8, !tbaa !21
  %157 = icmp ugt i64 %indvars.iv214, 3
  br i1 %157, label %.lr.ph187, label %._crit_edge188, !llvm.loop !26

158:                                              ; preds = %109
  %159 = getelementptr inbounds double, ptr %82, i64 %indvars.iv.next221
  %160 = load double, ptr %159, align 8, !tbaa !21
  store double %160, ptr %114, align 8, !tbaa !21
  %161 = load double, ptr %70, align 8, !tbaa !22
  %162 = getelementptr inbounds i8, ptr %114, i64 8
  %163 = load double, ptr %162, align 8, !tbaa !21
  %164 = fmul double %161, %163
  %165 = call double @llvm.fmuladd.f64(double %73, double %160, double %164)
  store double %165, ptr %162, align 8, !tbaa !21
  %166 = load i32, ptr %15, align 8, !tbaa !19
  %.not166174 = icmp slt i32 %166, 2
  %.pre225 = add i32 %166, 1
  br i1 %.not166174, label %._crit_edge179, label %.lr.ph178.preheader

.lr.ph178.preheader:                              ; preds = %158
  %wide.trip.count = zext i32 %.pre225 to i64
  %.phi.trans.insert = getelementptr i8, ptr %114, i64 16
  %.pre = load double, ptr %.phi.trans.insert, align 8, !tbaa !21
  %scevgep = getelementptr inbounds i8, ptr %114, i64 8
  %load_initial = load double, ptr %scevgep, align 8
  %xtraiter = and i64 %wide.trip.count, 1
  %167 = icmp eq i32 %.pre225, 3
  br i1 %167, label %._crit_edge179.loopexit.unr-lcssa, label %.lr.ph178.preheader.new

.lr.ph178.preheader.new:                          ; preds = %.lr.ph178.preheader
  %168 = and i64 %wide.trip.count, 4294967294
  %169 = add nsw i64 %168, -4
  br label %.lr.ph178

._crit_edge179.loopexit.unr-lcssa:                ; preds = %.lr.ph178, %.lr.ph178.preheader
  %.lcssa.ph = phi double [ poison, %.lr.ph178.preheader ], [ %211, %.lr.ph178 ]
  %store_forwarded.unr = phi double [ %load_initial, %.lr.ph178.preheader ], [ %208, %.lr.ph178 ]
  %.unr = phi double [ %.pre, %.lr.ph178.preheader ], [ %205, %.lr.ph178 ]
  %indvars.iv206.unr = phi i64 [ 2, %.lr.ph178.preheader ], [ %indvars.iv.next207.1, %.lr.ph178 ]
  %.0149175.unr = phi double [ 0.000000e+00, %.lr.ph178.preheader ], [ %211, %.lr.ph178 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge179, label %.lr.ph178.epil

.lr.ph178.epil:                                   ; preds = %._crit_edge179.loopexit.unr-lcssa
  %170 = load double, ptr %70, align 8, !tbaa !22
  %171 = getelementptr double, ptr %114, i64 %indvars.iv206.unr
  %172 = getelementptr i8, ptr %171, i64 8
  %173 = load double, ptr %172, align 8, !tbaa !21
  %174 = getelementptr double, ptr %114, i64 %indvars.iv206.unr
  %175 = fsub double %173, %store_forwarded.unr
  %176 = call double @llvm.fmuladd.f64(double %170, double %175, double %.unr)
  store double %176, ptr %174, align 8, !tbaa !21
  %177 = getelementptr inbounds double, ptr %69, i64 %indvars.iv206.unr
  %178 = load double, ptr %177, align 8, !tbaa !21
  %179 = call double @llvm.fmuladd.f64(double %176, double %178, double %.0149175.unr)
  br label %._crit_edge179

._crit_edge179:                                   ; preds = %.lr.ph178.epil, %._crit_edge179.loopexit.unr-lcssa, %158
  %.0149.lcssa = phi double [ 0.000000e+00, %158 ], [ %.lcssa.ph, %._crit_edge179.loopexit.unr-lcssa ], [ %179, %.lr.ph178.epil ]
  %180 = getelementptr inbounds double, ptr %82, i64 %indvars.iv220
  store double %.0149.lcssa, ptr %180, align 8, !tbaa !21
  %181 = icmp sgt i32 %166, 0
  br i1 %181, label %.lr.ph184.preheader, label %.loopexit

.lr.ph184.preheader:                              ; preds = %._crit_edge179
  %182 = zext i32 %.pre225 to i64
  %183 = add nuw i32 %166, 1
  %smin = call i32 @llvm.smin.i32(i32 %.pre225, i32 2)
  %184 = sub i32 %183, %smin
  %185 = zext i32 %184 to i64
  %186 = add nuw nsw i64 %185, 1
  %min.iters.check = icmp ult i32 %184, 3
  br i1 %min.iters.check, label %.lr.ph184.preheader238, label %vector.ph

.lr.ph184.preheader238:                           ; preds = %middle.block, %.lr.ph184.preheader
  %indvars.iv211.ph = phi i64 [ %182, %.lr.ph184.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph184

vector.ph:                                        ; preds = %.lr.ph184.preheader
  %n.vec = and i64 %186, 8589934588
  %ind.end = sub nsw i64 %182, %n.vec
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = sub i64 %182, %index
  %187 = getelementptr double, ptr %114, i64 %offset.idx
  %188 = getelementptr i8, ptr %187, i64 -16
  %189 = getelementptr i8, ptr %187, i64 -32
  %wide.load = load <2 x double>, ptr %188, align 8, !tbaa !21
  %wide.load234 = load <2 x double>, ptr %189, align 8, !tbaa !21
  %190 = getelementptr i8, ptr %187, i64 -8
  %191 = getelementptr i8, ptr %187, i64 -24
  store <2 x double> %wide.load, ptr %190, align 8, !tbaa !21
  store <2 x double> %wide.load234, ptr %191, align 8, !tbaa !21
  %index.next = add nuw i64 %index, 4
  %192 = icmp eq i64 %index.next, %n.vec
  br i1 %192, label %middle.block, label %vector.body, !llvm.loop !27

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %186, %n.vec
  br i1 %cmp.n, label %.loopexit, label %.lr.ph184.preheader238

.lr.ph178:                                        ; preds = %.lr.ph178, %.lr.ph178.preheader.new
  %store_forwarded = phi double [ %load_initial, %.lr.ph178.preheader.new ], [ %208, %.lr.ph178 ]
  %193 = phi double [ %.pre, %.lr.ph178.preheader.new ], [ %205, %.lr.ph178 ]
  %indvars.iv206 = phi i64 [ 2, %.lr.ph178.preheader.new ], [ %indvars.iv.next207.1, %.lr.ph178 ]
  %.0149175 = phi double [ 0.000000e+00, %.lr.ph178.preheader.new ], [ %211, %.lr.ph178 ]
  %niter = phi i64 [ 0, %.lr.ph178.preheader.new ], [ %niter.next.1, %.lr.ph178 ]
  %194 = load double, ptr %70, align 8, !tbaa !22
  %indvars.iv.next207 = or disjoint i64 %indvars.iv206, 1
  %195 = getelementptr inbounds double, ptr %114, i64 %indvars.iv.next207
  %196 = load double, ptr %195, align 8, !tbaa !21
  %197 = getelementptr double, ptr %114, i64 %indvars.iv206
  %198 = fsub double %196, %store_forwarded
  %199 = call double @llvm.fmuladd.f64(double %194, double %198, double %193)
  store double %199, ptr %197, align 8, !tbaa !21
  %200 = getelementptr inbounds double, ptr %69, i64 %indvars.iv206
  %201 = load double, ptr %200, align 8, !tbaa !21
  %202 = call double @llvm.fmuladd.f64(double %199, double %201, double %.0149175)
  %203 = load double, ptr %70, align 8, !tbaa !22
  %indvars.iv.next207.1 = add nuw nsw i64 %indvars.iv206, 2
  %204 = getelementptr inbounds double, ptr %114, i64 %indvars.iv.next207.1
  %205 = load double, ptr %204, align 8, !tbaa !21
  %206 = getelementptr double, ptr %114, i64 %indvars.iv.next207
  %207 = fsub double %205, %199
  %208 = call double @llvm.fmuladd.f64(double %203, double %207, double %196)
  store double %208, ptr %206, align 8, !tbaa !21
  %209 = getelementptr inbounds double, ptr %69, i64 %indvars.iv.next207
  %210 = load double, ptr %209, align 8, !tbaa !21
  %211 = call double @llvm.fmuladd.f64(double %208, double %210, double %202)
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter, %169
  br i1 %niter.ncmp.1, label %._crit_edge179.loopexit.unr-lcssa, label %.lr.ph178, !llvm.loop !30

.lr.ph184:                                        ; preds = %.lr.ph184.preheader238, %.lr.ph184
  %indvars.iv211 = phi i64 [ %indvars.iv.next212, %.lr.ph184 ], [ %indvars.iv211.ph, %.lr.ph184.preheader238 ]
  %212 = getelementptr double, ptr %114, i64 %indvars.iv211
  %213 = getelementptr i8, ptr %212, i64 -8
  %214 = load double, ptr %213, align 8, !tbaa !21
  store double %214, ptr %212, align 8, !tbaa !21
  %indvars.iv.next212 = add nsw i64 %indvars.iv211, -1
  %215 = trunc nuw i64 %indvars.iv211 to i32
  %216 = icmp sgt i32 %215, 2
  br i1 %216, label %.lr.ph184, label %.loopexit, !llvm.loop !31

.loopexit:                                        ; preds = %.lr.ph184, %middle.block, %.lr.ph191.preheader, %._crit_edge179, %._crit_edge188
  %217 = getelementptr inbounds double, ptr %82, i64 %indvars.iv220
  %218 = load double, ptr %217, align 8, !tbaa !21
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %indvars.iv220) #8
  %220 = load double, ptr %219, align 8, !tbaa !21
  %221 = fmul double %218, %220
  %222 = and i64 %indvars.iv220, 1
  %.not167 = icmp eq i64 %222, 0
  %223 = fneg double %221
  %224 = select i1 %.not167, double %223, double %221
  %225 = fadd double %.0154193, %224
  %226 = fadd double %.0156192, %221
  %227 = icmp sgt i64 %indvars.iv220, 1
  br i1 %227, label %109, label %._crit_edge197, !llvm.loop !32

228:                                              ; preds = %61, %._crit_edge197
  %storemerge = phi double [ %108, %._crit_edge197 ], [ %65, %61 ]
  store double %storemerge, ptr %3, align 8, !tbaa !21
  br label %229

229:                                              ; preds = %5, %13, %228
  %.1 = phi i1 [ true, %228 ], [ false, %13 ], [ false, %5 ]
  ret i1 %.1
}

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

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

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

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @exp(double noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #7

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 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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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, !11, i64 25}
!6 = !{!"_ZTSN4sptk17MlsaDigitalFilterE", !7, i64 8, !7, i64 12, !10, i64 16, !11, i64 24, !11, i64 25, !12, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSSt6vectorIdSaIdEE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!6, !7, i64 8}
!20 = !{!6, !7, i64 12}
!21 = !{!10, !10, i64 0}
!22 = !{!6, !10, i64 16}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!6, !11, i64 24}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !24, !28, !29}
!28 = !{!"llvm.loop.isvectorized", i32 1}
!29 = !{!"llvm.loop.unroll.runtime.disable"}
!30 = distinct !{!30, !24}
!31 = distinct !{!31, !24, !29, !28}
!32 = distinct !{!32, !24}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass