; LLVM IR from nativeformat/NFSmartPlayer :: source/plugins/util (ButterFilter)

; 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::complex" = type { { double, double } }
%"class.nativeformat::plugin::util::ButterFilter" = type { i32, i32, i32, %"struct.nativeformat::plugin::util::ButterFilter::pzrep", %"struct.nativeformat::plugin::util::ButterFilter::pzrep", double, double, double, [21 x double], [21 x double], %"class.std::vector", %"class.std::vector" }
%"struct.nativeformat::plugin::util::ButterFilter::pzrep" = type { [20 x %"class.std::complex"], [20 x %"class.std::complex"], i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12nativeformat6plugin4util12ButterFilter7computeEdd(ptr noundef nonnull align 8 dereferenceable(1720) %0, double noundef %1, double noundef %2) #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca %"class.std::complex", align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::complex", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca i32, align 4
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca double, align 8
  %24 = alloca %"class.std::complex", align 8
  %25 = alloca %"class.std::complex", align 8
  %26 = alloca %"class.std::complex", align 8
  %27 = alloca double, align 8
  %28 = alloca %"class.std::complex", align 8
  %29 = alloca %"class.std::complex", align 8
  %30 = alloca %"class.std::complex", align 8
  %31 = alloca %"class.std::complex", align 8
  %32 = alloca %"class.std::complex", align 8
  %33 = alloca double, align 8
  %34 = alloca %"class.std::complex", align 8
  %35 = alloca %"class.std::complex", align 8
  %36 = alloca double, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca %"class.std::complex", align 8
  %40 = alloca %"class.std::complex", align 8
  %41 = alloca i32, align 4
  %42 = alloca %"class.std::complex", align 8
  %43 = alloca %"class.std::complex", align 8
  %44 = alloca [21 x %"class.std::complex"], align 16
  %45 = alloca [21 x %"class.std::complex"], align 16
  %46 = alloca %"class.std::complex", align 8
  %47 = alloca %"class.std::complex", align 8
  %48 = alloca %"class.std::complex", align 8
  %49 = alloca %"class.std::complex", align 8
  %50 = alloca %"class.std::complex", align 8
  %51 = alloca double, align 8
  %52 = alloca %"class.std::complex", align 8
  %53 = alloca %"class.std::complex", align 8
  %54 = alloca %"class.std::complex", align 8
  %55 = alloca %"class.std::complex", align 8
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  store double %2, ptr %6, align 8, !tbaa !9
  %59 = load ptr, ptr %4, align 8
  %60 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %61 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %60, i32 0, i32 2
  store i32 0, ptr %61, align 8, !tbaa !11
  %62 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %63 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %62, i32 0, i32 2
  store i32 0, ptr %63, align 8, !tbaa !20
  %64 = load double, ptr %5, align 8, !tbaa !9
  %65 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 5
  store double %64, ptr %65, align 8, !tbaa !21
  %66 = load double, ptr %6, align 8, !tbaa !9
  %67 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 6
  store double %66, ptr %67, align 8, !tbaa !22
  %68 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %69 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %68, i32 0, i32 2
  store i32 0, ptr %69, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !23
  br label %70

70:                                               ; preds = %109, %3
  %71 = load i32, ptr %7, align 4, !tbaa !23
  %72 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 1
  %73 = load i32, ptr %72, align 4, !tbaa !24
  %74 = mul i32 2, %73
  %75 = icmp ult i32 %71, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %112

77:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %78 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 1
  %79 = load i32, ptr %78, align 4, !tbaa !24
  %80 = and i32 %79, 1
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %82, label %90

82:                                               ; preds = %77
  %83 = load i32, ptr %7, align 4, !tbaa !23
  %84 = sitofp i32 %83 to double
  %85 = fmul double %84, 0x400921FB54442D18
  %86 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 1
  %87 = load i32, ptr %86, align 4, !tbaa !24
  %88 = uitofp i32 %87 to double
  %89 = fdiv double %85, %88
  br label %99

90:                                               ; preds = %77
  %91 = load i32, ptr %7, align 4, !tbaa !23
  %92 = sitofp i32 %91 to double
  %93 = fadd double %92, 5.000000e-01
  %94 = fmul double %93, 0x400921FB54442D18
  %95 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 1
  %96 = load i32, ptr %95, align 4, !tbaa !24
  %97 = uitofp i32 %96 to double
  %98 = fdiv double %94, %97
  br label %99

99:                                               ; preds = %90, %82
  %100 = phi double [ %89, %82 ], [ %98, %90 ]
  store double %100, ptr %8, align 8, !tbaa !9
  %101 = load double, ptr %8, align 8, !tbaa !9
  %102 = call double @cos(double noundef %101) #7
  %103 = load double, ptr %8, align 8, !tbaa !9
  %104 = call double @sin(double noundef %103) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %9, double noundef %102, double noundef %104)
  %105 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  %106 = load double, ptr %105, align 8
  %107 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  %108 = load double, ptr %107, align 8
  call void @_ZN12nativeformat6plugin4util12ButterFilter10choosepoleESt7complexIdE(ptr noundef nonnull align 8 dereferenceable(1720) %59, double %106, double %108)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %109

109:                                              ; preds = %99
  %110 = load i32, ptr %7, align 4, !tbaa !23
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %7, align 4, !tbaa !23
  br label %70, !llvm.loop !25

112:                                              ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %113 = load double, ptr %5, align 8, !tbaa !9
  %114 = fmul double 0x400921FB54442D18, %113
  %115 = call double @tan(double noundef %114) #7
  %116 = fdiv double %115, 0x400921FB54442D18
  store double %116, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %117 = load double, ptr %6, align 8, !tbaa !9
  %118 = fmul double 0x400921FB54442D18, %117
  %119 = call double @tan(double noundef %118) #7
  %120 = fdiv double %119, 0x400921FB54442D18
  store double %120, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %121 = load double, ptr %10, align 8, !tbaa !9
  %122 = fmul double 0x401921FB54442D18, %121
  store double %122, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %123 = load double, ptr %11, align 8, !tbaa !9
  %124 = fmul double 0x401921FB54442D18, %123
  store double %124, ptr %13, align 8, !tbaa !9
  %125 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 0
  %126 = load i32, ptr %125, align 8, !tbaa !27
  switch i32 %126, label %346 [
    i32 0, label %127
    i32 1, label %158
    i32 2, label %210
  ]

127:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !23
  br label %128

128:                                              ; preds = %152, %127
  %129 = load i32, ptr %14, align 4, !tbaa !23
  %130 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %131 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %130, i32 0, i32 2
  %132 = load i32, ptr %131, align 8, !tbaa !11
  %133 = icmp slt i32 %129, %132
  br i1 %133, label %135, label %134

134:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %155

135:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  %136 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %137 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %136, i32 0, i32 0
  %138 = load i32, ptr %14, align 4, !tbaa !23
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [20 x %"class.std::complex"], ptr %137, i64 0, i64 %139
  %141 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %140, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %142 = getelementptr inbounds %"class.std::complex", ptr %15, i32 0, i32 0
  %143 = getelementptr inbounds { double, double }, ptr %142, i32 0, i32 0
  %144 = extractvalue { double, double } %141, 0
  store double %144, ptr %143, align 8
  %145 = getelementptr inbounds { double, double }, ptr %142, i32 0, i32 1
  %146 = extractvalue { double, double } %141, 1
  store double %146, ptr %145, align 8
  %147 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %148 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %147, i32 0, i32 0
  %149 = load i32, ptr %14, align 4, !tbaa !23
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [20 x %"class.std::complex"], ptr %148, i64 0, i64 %150
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %151, ptr align 8 %15, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  br label %152

152:                                              ; preds = %135
  %153 = load i32, ptr %14, align 4, !tbaa !23
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %14, align 4, !tbaa !23
  br label %128, !llvm.loop !30

155:                                              ; preds = %134
  %156 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %157 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %156, i32 0, i32 3
  store i32 0, ptr %157, align 4, !tbaa !31
  br label %346

158:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !23
  br label %159

159:                                              ; preds = %183, %158
  %160 = load i32, ptr %16, align 4, !tbaa !23
  %161 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %162 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %161, i32 0, i32 2
  %163 = load i32, ptr %162, align 8, !tbaa !11
  %164 = icmp slt i32 %160, %163
  br i1 %164, label %166, label %165

165:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %186

166:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %167 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %168 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %167, i32 0, i32 0
  %169 = load i32, ptr %16, align 4, !tbaa !23
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [20 x %"class.std::complex"], ptr %168, i64 0, i64 %170
  %172 = call { double, double } @_ZStdvIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(16) %171)
  %173 = getelementptr inbounds %"class.std::complex", ptr %17, i32 0, i32 0
  %174 = getelementptr inbounds { double, double }, ptr %173, i32 0, i32 0
  %175 = extractvalue { double, double } %172, 0
  store double %175, ptr %174, align 8
  %176 = getelementptr inbounds { double, double }, ptr %173, i32 0, i32 1
  %177 = extractvalue { double, double } %172, 1
  store double %177, ptr %176, align 8
  %178 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %179 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %178, i32 0, i32 0
  %180 = load i32, ptr %16, align 4, !tbaa !23
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [20 x %"class.std::complex"], ptr %179, i64 0, i64 %181
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %182, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  br label %183

183:                                              ; preds = %166
  %184 = load i32, ptr %16, align 4, !tbaa !23
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %16, align 4, !tbaa !23
  br label %159, !llvm.loop !32

186:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !23
  br label %187

187:                                              ; preds = %201, %186
  %188 = load i32, ptr %18, align 4, !tbaa !23
  %189 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %190 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %189, i32 0, i32 2
  %191 = load i32, ptr %190, align 8, !tbaa !11
  %192 = icmp slt i32 %188, %191
  br i1 %192, label %194, label %193

193:                                              ; preds = %187
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %204

194:                                              ; preds = %187
  %195 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %196 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %195, i32 0, i32 1
  %197 = load i32, ptr %18, align 4, !tbaa !23
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [20 x %"class.std::complex"], ptr %196, i64 0, i64 %198
  %200 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %199, double noundef 0.000000e+00)
  br label %201

201:                                              ; preds = %194
  %202 = load i32, ptr %18, align 4, !tbaa !23
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %18, align 4, !tbaa !23
  br label %187, !llvm.loop !33

204:                                              ; preds = %193
  %205 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %206 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %205, i32 0, i32 2
  %207 = load i32, ptr %206, align 8, !tbaa !11
  %208 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %209 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %208, i32 0, i32 3
  store i32 %207, ptr %209, align 4, !tbaa !31
  br label %346

210:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %211 = load double, ptr %12, align 8, !tbaa !9
  %212 = load double, ptr %13, align 8, !tbaa !9
  %213 = fmul double %211, %212
  %214 = call double @sqrt(double noundef %213) #7
  store double %214, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %215 = load double, ptr %13, align 8, !tbaa !9
  %216 = load double, ptr %12, align 8, !tbaa !9
  %217 = fsub double %215, %216
  store double %217, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !23
  br label %218

218:                                              ; preds = %315, %210
  %219 = load i32, ptr %21, align 4, !tbaa !23
  %220 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %221 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %220, i32 0, i32 2
  %222 = load i32, ptr %221, align 8, !tbaa !11
  %223 = icmp slt i32 %219, %222
  br i1 %223, label %225, label %224

224:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %318

225:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  store double 5.000000e-01, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  %226 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %227 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %226, i32 0, i32 0
  %228 = load i32, ptr %21, align 4, !tbaa !23
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds [20 x %"class.std::complex"], ptr %227, i64 0, i64 %229
  %231 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %230, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %232 = getelementptr inbounds %"class.std::complex", ptr %24, i32 0, i32 0
  %233 = getelementptr inbounds { double, double }, ptr %232, i32 0, i32 0
  %234 = extractvalue { double, double } %231, 0
  store double %234, ptr %233, align 8
  %235 = getelementptr inbounds { double, double }, ptr %232, i32 0, i32 1
  %236 = extractvalue { double, double } %231, 1
  store double %236, ptr %235, align 8
  %237 = call { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(16) %24)
  %238 = getelementptr inbounds %"class.std::complex", ptr %22, i32 0, i32 0
  %239 = getelementptr inbounds { double, double }, ptr %238, i32 0, i32 0
  %240 = extractvalue { double, double } %237, 0
  store double %240, ptr %239, align 8
  %241 = getelementptr inbounds { double, double }, ptr %238, i32 0, i32 1
  %242 = extractvalue { double, double } %237, 1
  store double %242, ptr %241, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  store double 1.000000e+00, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  %243 = call { double, double } @_ZStdvIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(16) %22)
  %244 = getelementptr inbounds %"class.std::complex", ptr %29, i32 0, i32 0
  %245 = getelementptr inbounds { double, double }, ptr %244, i32 0, i32 0
  %246 = extractvalue { double, double } %243, 0
  store double %246, ptr %245, align 8
  %247 = getelementptr inbounds { double, double }, ptr %244, i32 0, i32 1
  %248 = extractvalue { double, double } %243, 1
  store double %248, ptr %247, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  %249 = call { double, double } @_ZStdvIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(16) %22)
  %250 = getelementptr inbounds %"class.std::complex", ptr %30, i32 0, i32 0
  %251 = getelementptr inbounds { double, double }, ptr %250, i32 0, i32 0
  %252 = extractvalue { double, double } %249, 0
  store double %252, ptr %251, align 8
  %253 = getelementptr inbounds { double, double }, ptr %250, i32 0, i32 1
  %254 = extractvalue { double, double } %249, 1
  store double %254, ptr %253, align 8
  %255 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %30)
  %256 = getelementptr inbounds %"class.std::complex", ptr %28, i32 0, i32 0
  %257 = getelementptr inbounds { double, double }, ptr %256, i32 0, i32 0
  %258 = extractvalue { double, double } %255, 0
  store double %258, ptr %257, align 8
  %259 = getelementptr inbounds { double, double }, ptr %256, i32 0, i32 1
  %260 = extractvalue { double, double } %255, 1
  store double %260, ptr %259, align 8
  %261 = call { double, double } @_ZStmiIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(16) %28)
  %262 = getelementptr inbounds %"class.std::complex", ptr %26, i32 0, i32 0
  %263 = getelementptr inbounds { double, double }, ptr %262, i32 0, i32 0
  %264 = extractvalue { double, double } %261, 0
  store double %264, ptr %263, align 8
  %265 = getelementptr inbounds { double, double }, ptr %262, i32 0, i32 1
  %266 = extractvalue { double, double } %261, 1
  store double %266, ptr %265, align 8
  %267 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %268 = load double, ptr %267, align 8
  %269 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %270 = load double, ptr %269, align 8
  %271 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter5csqrtESt7complexIdE(double %268, double %270)
  %272 = getelementptr inbounds %"class.std::complex", ptr %25, i32 0, i32 0
  %273 = getelementptr inbounds { double, double }, ptr %272, i32 0, i32 0
  %274 = extractvalue { double, double } %271, 0
  store double %274, ptr %273, align 8
  %275 = getelementptr inbounds { double, double }, ptr %272, i32 0, i32 1
  %276 = extractvalue { double, double } %271, 1
  store double %276, ptr %275, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  store double 1.000000e+00, ptr %33, align 8, !tbaa !9
  %277 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(16) %25)
  %278 = getelementptr inbounds %"class.std::complex", ptr %32, i32 0, i32 0
  %279 = getelementptr inbounds { double, double }, ptr %278, i32 0, i32 0
  %280 = extractvalue { double, double } %277, 0
  store double %280, ptr %279, align 8
  %281 = getelementptr inbounds { double, double }, ptr %278, i32 0, i32 1
  %282 = extractvalue { double, double } %277, 1
  store double %282, ptr %281, align 8
  %283 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %32)
  %284 = getelementptr inbounds %"class.std::complex", ptr %31, i32 0, i32 0
  %285 = getelementptr inbounds { double, double }, ptr %284, i32 0, i32 0
  %286 = extractvalue { double, double } %283, 0
  store double %286, ptr %285, align 8
  %287 = getelementptr inbounds { double, double }, ptr %284, i32 0, i32 1
  %288 = extractvalue { double, double } %283, 1
  store double %288, ptr %287, align 8
  %289 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %290 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %289, i32 0, i32 0
  %291 = load i32, ptr %21, align 4, !tbaa !23
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds [20 x %"class.std::complex"], ptr %290, i64 0, i64 %292
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %293, ptr align 8 %31, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  store double 1.000000e+00, ptr %36, align 8, !tbaa !9
  %294 = call { double, double } @_ZStmiIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(16) %25)
  %295 = getelementptr inbounds %"class.std::complex", ptr %35, i32 0, i32 0
  %296 = getelementptr inbounds { double, double }, ptr %295, i32 0, i32 0
  %297 = extractvalue { double, double } %294, 0
  store double %297, ptr %296, align 8
  %298 = getelementptr inbounds { double, double }, ptr %295, i32 0, i32 1
  %299 = extractvalue { double, double } %294, 1
  store double %299, ptr %298, align 8
  %300 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %35)
  %301 = getelementptr inbounds %"class.std::complex", ptr %34, i32 0, i32 0
  %302 = getelementptr inbounds { double, double }, ptr %301, i32 0, i32 0
  %303 = extractvalue { double, double } %300, 0
  store double %303, ptr %302, align 8
  %304 = getelementptr inbounds { double, double }, ptr %301, i32 0, i32 1
  %305 = extractvalue { double, double } %300, 1
  store double %305, ptr %304, align 8
  %306 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %307 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %306, i32 0, i32 0
  %308 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %309 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %308, i32 0, i32 2
  %310 = load i32, ptr %309, align 8, !tbaa !11
  %311 = load i32, ptr %21, align 4, !tbaa !23
  %312 = add nsw i32 %310, %311
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds [20 x %"class.std::complex"], ptr %307, i64 0, i64 %313
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %314, ptr align 8 %34, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  br label %315

315:                                              ; preds = %225
  %316 = load i32, ptr %21, align 4, !tbaa !23
  %317 = add nsw i32 %316, 1
  store i32 %317, ptr %21, align 4, !tbaa !23
  br label %218, !llvm.loop !34

318:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  store i32 0, ptr %37, align 4, !tbaa !23
  br label %319

319:                                              ; preds = %333, %318
  %320 = load i32, ptr %37, align 4, !tbaa !23
  %321 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %322 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %321, i32 0, i32 2
  %323 = load i32, ptr %322, align 8, !tbaa !11
  %324 = icmp slt i32 %320, %323
  br i1 %324, label %326, label %325

325:                                              ; preds = %319
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %336

326:                                              ; preds = %319
  %327 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %328 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %327, i32 0, i32 1
  %329 = load i32, ptr %37, align 4, !tbaa !23
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds [20 x %"class.std::complex"], ptr %328, i64 0, i64 %330
  %332 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %331, double noundef 0.000000e+00)
  br label %333

333:                                              ; preds = %326
  %334 = load i32, ptr %37, align 4, !tbaa !23
  %335 = add nsw i32 %334, 1
  store i32 %335, ptr %37, align 4, !tbaa !23
  br label %319, !llvm.loop !35

336:                                              ; preds = %325
  %337 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %338 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %337, i32 0, i32 2
  %339 = load i32, ptr %338, align 8, !tbaa !11
  %340 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %341 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %340, i32 0, i32 3
  store i32 %339, ptr %341, align 4, !tbaa !31
  %342 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %343 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %342, i32 0, i32 2
  %344 = load i32, ptr %343, align 8, !tbaa !11
  %345 = mul nsw i32 %344, 2
  store i32 %345, ptr %343, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %346

346:                                              ; preds = %336, %204, %155, %112
  %347 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %348 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %347, i32 0, i32 2
  %349 = load i32, ptr %348, align 8, !tbaa !11
  %350 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %351 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %350, i32 0, i32 2
  store i32 %349, ptr %351, align 8, !tbaa !20
  %352 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %353 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %352, i32 0, i32 3
  %354 = load i32, ptr %353, align 4, !tbaa !31
  %355 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %356 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %355, i32 0, i32 3
  store i32 %354, ptr %356, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  store i32 0, ptr %38, align 4, !tbaa !23
  br label %357

357:                                              ; preds = %385, %346
  %358 = load i32, ptr %38, align 4, !tbaa !23
  %359 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %360 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %359, i32 0, i32 2
  %361 = load i32, ptr %360, align 8, !tbaa !20
  %362 = icmp slt i32 %358, %361
  br i1 %362, label %364, label %363

363:                                              ; preds = %357
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %388

364:                                              ; preds = %357
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #7
  %365 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %366 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %365, i32 0, i32 0
  %367 = load i32, ptr %38, align 4, !tbaa !23
  %368 = sext i32 %367 to i64
  %369 = getelementptr inbounds [20 x %"class.std::complex"], ptr %366, i64 0, i64 %368
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %369, i64 16, i1 false), !tbaa.struct !28
  %370 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %371 = load double, ptr %370, align 8
  %372 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %373 = load double, ptr %372, align 8
  %374 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter3bltESt7complexIdE(double %371, double %373)
  %375 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  %376 = getelementptr inbounds { double, double }, ptr %375, i32 0, i32 0
  %377 = extractvalue { double, double } %374, 0
  store double %377, ptr %376, align 8
  %378 = getelementptr inbounds { double, double }, ptr %375, i32 0, i32 1
  %379 = extractvalue { double, double } %374, 1
  store double %379, ptr %378, align 8
  %380 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %381 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %380, i32 0, i32 0
  %382 = load i32, ptr %38, align 4, !tbaa !23
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds [20 x %"class.std::complex"], ptr %381, i64 0, i64 %383
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %384, ptr align 8 %39, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #7
  br label %385

385:                                              ; preds = %364
  %386 = load i32, ptr %38, align 4, !tbaa !23
  %387 = add nsw i32 %386, 1
  store i32 %387, ptr %38, align 4, !tbaa !23
  br label %357, !llvm.loop !37

388:                                              ; preds = %363
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  store i32 0, ptr %41, align 4, !tbaa !23
  br label %389

389:                                              ; preds = %417, %388
  %390 = load i32, ptr %41, align 4, !tbaa !23
  %391 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %392 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %391, i32 0, i32 3
  %393 = load i32, ptr %392, align 4, !tbaa !36
  %394 = icmp slt i32 %390, %393
  br i1 %394, label %396, label %395

395:                                              ; preds = %389
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %420

396:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #7
  %397 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 3
  %398 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %397, i32 0, i32 1
  %399 = load i32, ptr %41, align 4, !tbaa !23
  %400 = sext i32 %399 to i64
  %401 = getelementptr inbounds [20 x %"class.std::complex"], ptr %398, i64 0, i64 %400
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %43, ptr align 8 %401, i64 16, i1 false), !tbaa.struct !28
  %402 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %403 = load double, ptr %402, align 8
  %404 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %405 = load double, ptr %404, align 8
  %406 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter3bltESt7complexIdE(double %403, double %405)
  %407 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  %408 = getelementptr inbounds { double, double }, ptr %407, i32 0, i32 0
  %409 = extractvalue { double, double } %406, 0
  store double %409, ptr %408, align 8
  %410 = getelementptr inbounds { double, double }, ptr %407, i32 0, i32 1
  %411 = extractvalue { double, double } %406, 1
  store double %411, ptr %410, align 8
  %412 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %413 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %412, i32 0, i32 1
  %414 = load i32, ptr %41, align 4, !tbaa !23
  %415 = sext i32 %414 to i64
  %416 = getelementptr inbounds [20 x %"class.std::complex"], ptr %413, i64 0, i64 %415
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %416, ptr align 8 %42, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #7
  br label %417

417:                                              ; preds = %396
  %418 = load i32, ptr %41, align 4, !tbaa !23
  %419 = add nsw i32 %418, 1
  store i32 %419, ptr %41, align 4, !tbaa !23
  br label %389, !llvm.loop !38

420:                                              ; preds = %395
  br label %421

421:                                              ; preds = %429, %420
  %422 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %423 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %422, i32 0, i32 3
  %424 = load i32, ptr %423, align 4, !tbaa !36
  %425 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %426 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %425, i32 0, i32 2
  %427 = load i32, ptr %426, align 8, !tbaa !20
  %428 = icmp slt i32 %424, %427
  br i1 %428, label %429, label %439

429:                                              ; preds = %421
  %430 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %431 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %430, i32 0, i32 1
  %432 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %433 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %432, i32 0, i32 3
  %434 = load i32, ptr %433, align 4, !tbaa !36
  %435 = add nsw i32 %434, 1
  store i32 %435, ptr %433, align 4, !tbaa !36
  %436 = sext i32 %434 to i64
  %437 = getelementptr inbounds [20 x %"class.std::complex"], ptr %431, i64 0, i64 %436
  %438 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %437, double noundef -1.000000e+00)
  br label %421, !llvm.loop !39

439:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 336, ptr %44) #7
  %440 = getelementptr inbounds [21 x %"class.std::complex"], ptr %44, i32 0, i32 0
  %441 = getelementptr inbounds %"class.std::complex", ptr %440, i64 21
  br label %442

442:                                              ; preds = %442, %439
  %443 = phi ptr [ %440, %439 ], [ %444, %442 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %443, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %444 = getelementptr inbounds %"class.std::complex", ptr %443, i64 1
  %445 = icmp eq ptr %444, %441
  br i1 %445, label %446, label %442

446:                                              ; preds = %442
  call void @llvm.lifetime.start.p0(i64 336, ptr %45) #7
  %447 = getelementptr inbounds [21 x %"class.std::complex"], ptr %45, i32 0, i32 0
  %448 = getelementptr inbounds %"class.std::complex", ptr %447, i64 21
  br label %449

449:                                              ; preds = %449, %446
  %450 = phi ptr [ %447, %446 ], [ %451, %449 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %450, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %451 = getelementptr inbounds %"class.std::complex", ptr %450, i64 1
  %452 = icmp eq ptr %451, %448
  br i1 %452, label %453, label %449

453:                                              ; preds = %449
  %454 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %455 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %454, i32 0, i32 1
  %456 = getelementptr inbounds [20 x %"class.std::complex"], ptr %455, i64 0, i64 0
  %457 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %458 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %457, i32 0, i32 3
  %459 = load i32, ptr %458, align 4, !tbaa !36
  %460 = getelementptr inbounds [21 x %"class.std::complex"], ptr %44, i64 0, i64 0
  call void @_ZN12nativeformat6plugin4util12ButterFilter6expandEPSt7complexIdEiS5_(ptr noundef %456, i32 noundef %459, ptr noundef %460)
  %461 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %462 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %461, i32 0, i32 0
  %463 = getelementptr inbounds [20 x %"class.std::complex"], ptr %462, i64 0, i64 0
  %464 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %465 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %464, i32 0, i32 2
  %466 = load i32, ptr %465, align 8, !tbaa !20
  %467 = getelementptr inbounds [21 x %"class.std::complex"], ptr %45, i64 0, i64 0
  call void @_ZN12nativeformat6plugin4util12ButterFilter6expandEPSt7complexIdEiS5_(ptr noundef %463, i32 noundef %466, ptr noundef %467)
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %46, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %47, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %48, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #7
  %468 = getelementptr inbounds [21 x %"class.std::complex"], ptr %44, i64 0, i64 0
  %469 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %470 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %469, i32 0, i32 3
  %471 = load i32, ptr %470, align 4, !tbaa !36
  %472 = getelementptr inbounds [21 x %"class.std::complex"], ptr %45, i64 0, i64 0
  %473 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %474 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %473, i32 0, i32 2
  %475 = load i32, ptr %474, align 8, !tbaa !20
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %50, double noundef 1.000000e+00, double noundef 0.000000e+00)
  %476 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %477 = load double, ptr %476, align 8
  %478 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %479 = load double, ptr %478, align 8
  %480 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter8evaluateEPSt7complexIdEiS5_iS4_(ptr noundef %468, i32 noundef %471, ptr noundef %472, i32 noundef %475, double %477, double %479)
  %481 = getelementptr inbounds %"class.std::complex", ptr %49, i32 0, i32 0
  %482 = getelementptr inbounds { double, double }, ptr %481, i32 0, i32 0
  %483 = extractvalue { double, double } %480, 0
  store double %483, ptr %482, align 8
  %484 = getelementptr inbounds { double, double }, ptr %481, i32 0, i32 1
  %485 = extractvalue { double, double } %480, 1
  store double %485, ptr %484, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %46, ptr align 8 %49, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  %486 = load double, ptr %5, align 8, !tbaa !9
  %487 = load double, ptr %6, align 8, !tbaa !9
  %488 = fadd double %486, %487
  %489 = fmul double 0x400921FB54442D18, %488
  store double %489, ptr %51, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #7
  %490 = getelementptr inbounds [21 x %"class.std::complex"], ptr %44, i64 0, i64 0
  %491 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %492 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %491, i32 0, i32 3
  %493 = load i32, ptr %492, align 4, !tbaa !36
  %494 = getelementptr inbounds [21 x %"class.std::complex"], ptr %45, i64 0, i64 0
  %495 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %496 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %495, i32 0, i32 2
  %497 = load i32, ptr %496, align 8, !tbaa !20
  %498 = load double, ptr %51, align 8, !tbaa !9
  %499 = call double @cos(double noundef %498) #7
  %500 = load double, ptr %51, align 8, !tbaa !9
  %501 = call double @sin(double noundef %500) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %53, double noundef %499, double noundef %501)
  %502 = getelementptr inbounds { double, double }, ptr %53, i32 0, i32 0
  %503 = load double, ptr %502, align 8
  %504 = getelementptr inbounds { double, double }, ptr %53, i32 0, i32 1
  %505 = load double, ptr %504, align 8
  %506 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter8evaluateEPSt7complexIdEiS5_iS4_(ptr noundef %490, i32 noundef %493, ptr noundef %494, i32 noundef %497, double %503, double %505)
  %507 = getelementptr inbounds %"class.std::complex", ptr %52, i32 0, i32 0
  %508 = getelementptr inbounds { double, double }, ptr %507, i32 0, i32 0
  %509 = extractvalue { double, double } %506, 0
  store double %509, ptr %508, align 8
  %510 = getelementptr inbounds { double, double }, ptr %507, i32 0, i32 1
  %511 = extractvalue { double, double } %506, 1
  store double %511, ptr %510, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %47, ptr align 8 %52, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #7
  %512 = getelementptr inbounds [21 x %"class.std::complex"], ptr %44, i64 0, i64 0
  %513 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %514 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %513, i32 0, i32 3
  %515 = load i32, ptr %514, align 4, !tbaa !36
  %516 = getelementptr inbounds [21 x %"class.std::complex"], ptr %45, i64 0, i64 0
  %517 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %518 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %517, i32 0, i32 2
  %519 = load i32, ptr %518, align 8, !tbaa !20
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %55, double noundef -1.000000e+00, double noundef 0.000000e+00)
  %520 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 0
  %521 = load double, ptr %520, align 8
  %522 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 1
  %523 = load double, ptr %522, align 8
  %524 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter8evaluateEPSt7complexIdEiS5_iS4_(ptr noundef %512, i32 noundef %515, ptr noundef %516, i32 noundef %519, double %521, double %523)
  %525 = getelementptr inbounds %"class.std::complex", ptr %54, i32 0, i32 0
  %526 = getelementptr inbounds { double, double }, ptr %525, i32 0, i32 0
  %527 = extractvalue { double, double } %524, 0
  store double %527, ptr %526, align 8
  %528 = getelementptr inbounds { double, double }, ptr %525, i32 0, i32 1
  %529 = extractvalue { double, double } %524, 1
  store double %529, ptr %528, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %48, ptr align 8 %54, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #7
  %530 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 0
  %531 = load i32, ptr %530, align 8, !tbaa !27
  switch i32 %531, label %541 [
    i32 1, label %532
    i32 0, label %535
    i32 2, label %538
  ]

532:                                              ; preds = %453
  %533 = call noundef double @_ZSt3absIdET_RKSt7complexIS0_E(ptr noundef nonnull align 8 dereferenceable(16) %48)
  %534 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 7
  store double %533, ptr %534, align 8, !tbaa !40
  br label %541

535:                                              ; preds = %453
  %536 = call noundef double @_ZSt3absIdET_RKSt7complexIS0_E(ptr noundef nonnull align 8 dereferenceable(16) %46)
  %537 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 7
  store double %536, ptr %537, align 8, !tbaa !40
  br label %541

538:                                              ; preds = %453
  %539 = call noundef double @_ZSt3absIdET_RKSt7complexIS0_E(ptr noundef nonnull align 8 dereferenceable(16) %47)
  %540 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 7
  store double %539, ptr %540, align 8, !tbaa !40
  br label %541

541:                                              ; preds = %538, %535, %532, %453
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #7
  store i32 0, ptr %56, align 4, !tbaa !23
  br label %542

542:                                              ; preds = %565, %541
  %543 = load i32, ptr %56, align 4, !tbaa !23
  %544 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %545 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %544, i32 0, i32 3
  %546 = load i32, ptr %545, align 4, !tbaa !36
  %547 = icmp sle i32 %543, %546
  br i1 %547, label %549, label %548

548:                                              ; preds = %542
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #7
  br label %568

549:                                              ; preds = %542
  %550 = load i32, ptr %56, align 4, !tbaa !23
  %551 = sext i32 %550 to i64
  %552 = getelementptr inbounds [21 x %"class.std::complex"], ptr %44, i64 0, i64 %551
  %553 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %552)
  %554 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %555 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %554, i32 0, i32 2
  %556 = load i32, ptr %555, align 8, !tbaa !20
  %557 = sext i32 %556 to i64
  %558 = getelementptr inbounds [21 x %"class.std::complex"], ptr %45, i64 0, i64 %557
  %559 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %558)
  %560 = fdiv double %553, %559
  %561 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 8
  %562 = load i32, ptr %56, align 4, !tbaa !23
  %563 = sext i32 %562 to i64
  %564 = getelementptr inbounds [21 x double], ptr %561, i64 0, i64 %563
  store double %560, ptr %564, align 8, !tbaa !9
  br label %565

565:                                              ; preds = %549
  %566 = load i32, ptr %56, align 4, !tbaa !23
  %567 = add nsw i32 %566, 1
  store i32 %567, ptr %56, align 4, !tbaa !23
  br label %542, !llvm.loop !41

568:                                              ; preds = %548
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #7
  store i32 0, ptr %57, align 4, !tbaa !23
  br label %569

569:                                              ; preds = %593, %568
  %570 = load i32, ptr %57, align 4, !tbaa !23
  %571 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %572 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %571, i32 0, i32 2
  %573 = load i32, ptr %572, align 8, !tbaa !20
  %574 = icmp sle i32 %570, %573
  br i1 %574, label %576, label %575

575:                                              ; preds = %569
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #7
  br label %596

576:                                              ; preds = %569
  %577 = load i32, ptr %57, align 4, !tbaa !23
  %578 = sext i32 %577 to i64
  %579 = getelementptr inbounds [21 x %"class.std::complex"], ptr %45, i64 0, i64 %578
  %580 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %579)
  %581 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %582 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %581, i32 0, i32 2
  %583 = load i32, ptr %582, align 8, !tbaa !20
  %584 = sext i32 %583 to i64
  %585 = getelementptr inbounds [21 x %"class.std::complex"], ptr %45, i64 0, i64 %584
  %586 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %585)
  %587 = fdiv double %580, %586
  %588 = fneg double %587
  %589 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 9
  %590 = load i32, ptr %57, align 4, !tbaa !23
  %591 = sext i32 %590 to i64
  %592 = getelementptr inbounds [21 x double], ptr %589, i64 0, i64 %591
  store double %588, ptr %592, align 8, !tbaa !9
  br label %593

593:                                              ; preds = %576
  %594 = load i32, ptr %57, align 4, !tbaa !23
  %595 = add nsw i32 %594, 1
  store i32 %595, ptr %57, align 4, !tbaa !23
  br label %569, !llvm.loop !42

596:                                              ; preds = %575
  %597 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 10
  %598 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %597, i64 noundef 0) #7
  %599 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %598) #7
  %600 = icmp ne i64 %599, 0
  br i1 %600, label %628, label %601

601:                                              ; preds = %596
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #7
  store i64 0, ptr %58, align 8, !tbaa !43
  br label %602

602:                                              ; preds = %624, %601
  %603 = load i64, ptr %58, align 8, !tbaa !43
  %604 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 2
  %605 = load i32, ptr %604, align 8, !tbaa !45
  %606 = zext i32 %605 to i64
  %607 = icmp ult i64 %603, %606
  br i1 %607, label %609, label %608

608:                                              ; preds = %602
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  br label %627

609:                                              ; preds = %602
  %610 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 10
  %611 = load i64, ptr %58, align 8, !tbaa !43
  %612 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %610, i64 noundef %611) #7
  %613 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %614 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %613, i32 0, i32 3
  %615 = load i32, ptr %614, align 4, !tbaa !36
  %616 = sext i32 %615 to i64
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %612, i64 noundef %616)
  %617 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 11
  %618 = load i64, ptr %58, align 8, !tbaa !43
  %619 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %617, i64 noundef %618) #7
  %620 = getelementptr inbounds %"class.nativeformat::plugin::util::ButterFilter", ptr %59, i32 0, i32 4
  %621 = getelementptr inbounds %"struct.nativeformat::plugin::util::ButterFilter::pzrep", ptr %620, i32 0, i32 2
  %622 = load i32, ptr %621, align 8, !tbaa !20
  %623 = sext i32 %622 to i64
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %619, i64 noundef %623)
  br label %624

624:                                              ; preds = %609
  %625 = load i64, ptr %58, align 8, !tbaa !43
  %626 = add i64 %625, 1
  store i64 %626, ptr %58, align 8, !tbaa !43
  br label %602, !llvm.loop !46

627:                                              ; preds = %608
  br label %628

628:                                              ; preds = %627, %596
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 336, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 336, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  ret void
}

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

; Function Attrs: nounwind
declare double @cos(double noundef) #3

; Function Attrs: nounwind
declare double @sin(double noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #1 align 2

; Function Attrs: nounwind
declare double @tan(double noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStdvIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) #1 align 2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZN12nativeformat6plugin4util12ButterFilter5csqrtESt7complexIdE(double, double) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmiIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZN12nativeformat6plugin4util12ButterFilter3bltESt7complexIdE(double, double) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12nativeformat6plugin4util12ButterFilter6expandEPSt7complexIdEiS5_(ptr noundef, i32 noundef, ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZN12nativeformat6plugin4util12ButterFilter8evaluateEPSt7complexIdEiS5_iS4_(ptr noundef, i32 noundef, ptr noundef, i32 noundef, double, double) #2 align 2

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #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 = !{!"double", !7, i64 0}
!11 = !{!12, !14, i64 656}
!12 = !{!"_ZTSN12nativeformat6plugin4util12ButterFilterE", !13, i64 0, !14, i64 4, !14, i64 8, !15, i64 16, !15, i64 664, !10, i64 1312, !10, i64 1320, !10, i64 1328, !7, i64 1336, !7, i64 1504, !16, i64 1672, !16, i64 1696}
!13 = !{!"_ZTSN12nativeformat6plugin4util10FilterTypeE", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSN12nativeformat6plugin4util12ButterFilter5pzrepE", !7, i64 0, !7, i64 320, !14, i64 640, !14, i64 644}
!16 = !{!"_ZTSSt6vectorIS_IfSaIfEESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseISt6vectorIfSaIfEESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt6vectorIfSaIfEESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseISt6vectorIfSaIfEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!12, !14, i64 1304}
!21 = !{!12, !10, i64 1312}
!22 = !{!12, !10, i64 1320}
!23 = !{!14, !14, i64 0}
!24 = !{!12, !14, i64 4}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!12, !13, i64 0}
!28 = !{i64 0, i64 16, !29}
!29 = !{!7, !7, i64 0}
!30 = distinct !{!30, !26}
!31 = !{!12, !14, i64 660}
!32 = distinct !{!32, !26}
!33 = distinct !{!33, !26}
!34 = distinct !{!34, !26}
!35 = distinct !{!35, !26}
!36 = !{!12, !14, i64 1308}
!37 = distinct !{!37, !26}
!38 = distinct !{!38, !26}
!39 = distinct !{!39, !26}
!40 = !{!12, !10, i64 1328}
!41 = distinct !{!41, !26}
!42 = distinct !{!42, !26}
!43 = !{!44, !44, i64 0}
!44 = !{!"long", !7, i64 0}
!45 = !{!12, !14, i64 8}
!46 = distinct !{!46, !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"

%"class.std::complex" = type { { double, double } }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12nativeformat6plugin4util12ButterFilter7computeEdd(ptr noundef nonnull align 8 dereferenceable(1720) %0, double noundef %1, double noundef %2) local_unnamed_addr #2 align 2 {
  %4 = alloca %"class.std::complex", align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca %"class.std::complex", align 8
  %9 = alloca double, align 8
  %10 = alloca %"class.std::complex", align 8
  %11 = alloca %"class.std::complex", align 8
  %12 = alloca double, align 8
  %13 = alloca %"class.std::complex", align 8
  %14 = alloca %"class.std::complex", align 8
  %15 = alloca %"class.std::complex", align 8
  %16 = alloca %"class.std::complex", align 8
  %17 = alloca double, align 8
  %18 = alloca %"class.std::complex", align 8
  %19 = alloca double, align 8
  %20 = alloca [21 x %"class.std::complex"], align 16
  %21 = alloca [21 x %"class.std::complex"], align 16
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca %"class.std::complex", align 8
  %24 = alloca %"class.std::complex", align 8
  %25 = alloca %"class.std::complex", align 8
  %26 = alloca %"class.std::complex", align 8
  %27 = alloca %"class.std::complex", align 8
  %28 = getelementptr inbounds i8, ptr %0, i64 16
  %29 = getelementptr inbounds i8, ptr %0, i64 656
  %30 = getelementptr inbounds i8, ptr %0, i64 664
  %31 = getelementptr inbounds i8, ptr %0, i64 1304
  store i32 0, ptr %31, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %0, i64 1312
  store double %1, ptr %32, align 8, !tbaa !18
  %33 = getelementptr inbounds i8, ptr %0, i64 1320
  store double %2, ptr %33, align 8, !tbaa !19
  store i32 0, ptr %29, align 8, !tbaa !20
  %34 = getelementptr inbounds i8, ptr %0, i64 4
  %35 = load i32, ptr %34, align 4, !tbaa !21
  %.mask = and i32 %35, 2147483647
  %.not140 = icmp eq i32 %.mask, 0
  br i1 %.not140, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %36 = getelementptr inbounds i8, ptr %4, i64 8
  br label %48

._crit_edge:                                      ; preds = %48, %3
  %37 = fmul double %1, 0x400921FB54442D18
  %38 = call double @tan(double noundef %37) #6
  %39 = fdiv double %38, 0x400921FB54442D18
  %40 = fmul double %2, 0x400921FB54442D18
  %41 = call double @tan(double noundef %40) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %42 = fmul double %39, 0x401921FB54442D18
  store double %42, ptr %5, align 8, !tbaa !22
  %43 = load i32, ptr %0, align 8, !tbaa !23
  switch i32 %43, label %._crit_edge._crit_edge [
    i32 0, label %.preheader102
    i32 1, label %.preheader104
    i32 2, label %89
  ]

._crit_edge._crit_edge:                           ; preds = %._crit_edge
  %.pre = load i32, ptr %29, align 8, !tbaa !20
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 660
  %.pre168 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !24
  br label %159

.preheader104:                                    ; preds = %._crit_edge
  %44 = load i32, ptr %29, align 8, !tbaa !20
  %45 = icmp sgt i32 %44, 0
  br i1 %45, label %.lr.ph115, label %._crit_edge118

.preheader102:                                    ; preds = %._crit_edge
  %46 = load i32, ptr %29, align 8, !tbaa !20
  %47 = icmp sgt i32 %46, 0
  br i1 %47, label %.lr.ph121, label %._crit_edge122

48:                                               ; preds = %.lr.ph, %48
  %49 = phi i32 [ %35, %.lr.ph ], [ %61, %48 ]
  %.080107 = phi i32 [ 0, %.lr.ph ], [ %60, %48 ]
  %50 = and i32 %49, 1
  %.not98 = icmp eq i32 %50, 0
  %51 = uitofp nneg i32 %.080107 to double
  %52 = fadd double %51, 5.000000e-01
  %.sink179 = select i1 %.not98, double %52, double %51
  %53 = fmul double %.sink179, 0x400921FB54442D18
  %54 = uitofp i32 %49 to double
  %55 = fdiv double %53, %54
  %56 = call double @cos(double noundef %55) #6
  %57 = call double @sin(double noundef %55) #6
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %4, double noundef %56, double noundef %57)
  %58 = load double, ptr %4, align 8
  %59 = load double, ptr %36, align 8
  call void @_ZN12nativeformat6plugin4util12ButterFilter10choosepoleESt7complexIdE(ptr noundef nonnull align 8 dereferenceable(1720) %0, double %58, double %59)
  %60 = add nuw nsw i32 %.080107, 1
  %61 = load i32, ptr %34, align 4, !tbaa !21
  %62 = shl i32 %61, 1
  %63 = icmp ult i32 %60, %62
  br i1 %63, label %48, label %._crit_edge, !llvm.loop !25

._crit_edge122:                                   ; preds = %.lr.ph121, %.preheader102
  %64 = phi i32 [ %46, %.preheader102 ], [ %70, %.lr.ph121 ]
  %65 = getelementptr inbounds i8, ptr %0, i64 660
  store i32 0, ptr %65, align 4, !tbaa !24
  br label %159

.lr.ph121:                                        ; preds = %.preheader102, %.lr.ph121
  %indvars.iv153 = phi i64 [ %indvars.iv.next154, %.lr.ph121 ], [ 0, %.preheader102 ]
  %66 = getelementptr inbounds [20 x %"class.std::complex"], ptr %28, i64 0, i64 %indvars.iv153
  %67 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %66, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %68 = extractvalue { double, double } %67, 0
  %69 = extractvalue { double, double } %67, 1
  store double %68, ptr %66, align 8
  %.sroa.456.0..sroa_idx = getelementptr inbounds i8, ptr %66, i64 8
  store double %69, ptr %.sroa.456.0..sroa_idx, align 8, !tbaa !27
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %70 = load i32, ptr %29, align 8, !tbaa !20
  %71 = sext i32 %70 to i64
  %72 = icmp slt i64 %indvars.iv.next154, %71
  br i1 %72, label %.lr.ph121, label %._crit_edge122, !llvm.loop !28

.preheader103:                                    ; preds = %.lr.ph115
  %73 = icmp sgt i32 %79, 0
  br i1 %73, label %.lr.ph117, label %._crit_edge118

.lr.ph117:                                        ; preds = %.preheader103
  %74 = getelementptr inbounds i8, ptr %0, i64 336
  br label %83

.lr.ph115:                                        ; preds = %.preheader104, %.lr.ph115
  %indvars.iv147 = phi i64 [ %indvars.iv.next148, %.lr.ph115 ], [ 0, %.preheader104 ]
  %75 = getelementptr inbounds [20 x %"class.std::complex"], ptr %28, i64 0, i64 %indvars.iv147
  %76 = call { double, double } @_ZStdvIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(16) %75)
  %77 = extractvalue { double, double } %76, 0
  %78 = extractvalue { double, double } %76, 1
  store double %77, ptr %75, align 8
  %.sroa.450.0..sroa_idx = getelementptr inbounds i8, ptr %75, i64 8
  store double %78, ptr %.sroa.450.0..sroa_idx, align 8, !tbaa !27
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %79 = load i32, ptr %29, align 8, !tbaa !20
  %80 = sext i32 %79 to i64
  %81 = icmp slt i64 %indvars.iv.next148, %80
  br i1 %81, label %.lr.ph115, label %.preheader103, !llvm.loop !29

._crit_edge118:                                   ; preds = %83, %.preheader104, %.preheader103
  %.lcssa = phi i32 [ %79, %.preheader103 ], [ %44, %.preheader104 ], [ %86, %83 ]
  %82 = getelementptr inbounds i8, ptr %0, i64 660
  store i32 %.lcssa, ptr %82, align 4, !tbaa !24
  br label %159

83:                                               ; preds = %.lr.ph117, %83
  %indvars.iv150 = phi i64 [ 0, %.lr.ph117 ], [ %indvars.iv.next151, %83 ]
  %84 = getelementptr inbounds [20 x %"class.std::complex"], ptr %74, i64 0, i64 %indvars.iv150
  %85 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %84, double noundef 0.000000e+00)
  %indvars.iv.next151 = add nuw nsw i64 %indvars.iv150, 1
  %86 = load i32, ptr %29, align 8, !tbaa !20
  %87 = sext i32 %86 to i64
  %88 = icmp slt i64 %indvars.iv.next151, %87
  br i1 %88, label %83, label %._crit_edge118, !llvm.loop !30

89:                                               ; preds = %._crit_edge
  %90 = fdiv double %41, 0x400921FB54442D18
  %91 = fmul double %90, 0x401921FB54442D18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %92 = fmul double %42, %91
  %93 = call double @sqrt(double noundef %92) #6
  store double %93, ptr %6, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %94 = load double, ptr %5, align 8, !tbaa !22
  %95 = fsub double %91, %94
  store double %95, ptr %7, align 8, !tbaa !22
  %96 = load i32, ptr %29, align 8, !tbaa !20
  %97 = icmp sgt i32 %96, 0
  br i1 %97, label %.lr.ph110, label %._crit_edge113

.lr.ph110:                                        ; preds = %89
  %98 = getelementptr inbounds i8, ptr %10, i64 8
  %99 = getelementptr inbounds i8, ptr %8, i64 8
  %100 = getelementptr inbounds i8, ptr %14, i64 8
  %101 = getelementptr inbounds i8, ptr %15, i64 8
  %102 = getelementptr inbounds i8, ptr %13, i64 8
  %103 = getelementptr inbounds i8, ptr %11, i64 8
  %104 = getelementptr inbounds i8, ptr %16, i64 8
  %105 = getelementptr inbounds i8, ptr %18, i64 8
  br label %108

.preheader105:                                    ; preds = %108
  %106 = icmp sgt i32 %148, 0
  br i1 %106, label %.lr.ph112, label %._crit_edge113

.lr.ph112:                                        ; preds = %.preheader105
  %107 = getelementptr inbounds i8, ptr %0, i64 336
  br label %153

108:                                              ; preds = %.lr.ph110, %108
  %indvars.iv = phi i64 [ 0, %.lr.ph110 ], [ %indvars.iv.next, %108 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  store double 5.000000e-01, ptr %9, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %109 = getelementptr inbounds [20 x %"class.std::complex"], ptr %28, i64 0, i64 %indvars.iv
  %110 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %109, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %111 = extractvalue { double, double } %110, 0
  store double %111, ptr %10, align 8
  %112 = extractvalue { double, double } %110, 1
  store double %112, ptr %98, align 8
  %113 = call { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
  %114 = extractvalue { double, double } %113, 0
  store double %114, ptr %8, align 8
  %115 = extractvalue { double, double } %113, 1
  store double %115, ptr %99, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  store double 1.000000e+00, ptr %12, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %116 = call { double, double } @_ZStdvIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %117 = extractvalue { double, double } %116, 0
  store double %117, ptr %14, align 8
  %118 = extractvalue { double, double } %116, 1
  store double %118, ptr %100, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  %119 = call { double, double } @_ZStdvIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %120 = extractvalue { double, double } %119, 0
  store double %120, ptr %15, align 8
  %121 = extractvalue { double, double } %119, 1
  store double %121, ptr %101, align 8
  %122 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %15)
  %123 = extractvalue { double, double } %122, 0
  store double %123, ptr %13, align 8
  %124 = extractvalue { double, double } %122, 1
  store double %124, ptr %102, align 8
  %125 = call { double, double } @_ZStmiIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %126 = extractvalue { double, double } %125, 0
  %127 = extractvalue { double, double } %125, 1
  %128 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter5csqrtESt7complexIdE(double %126, double %127)
  %129 = extractvalue { double, double } %128, 0
  store double %129, ptr %11, align 8
  %130 = extractvalue { double, double } %128, 1
  store double %130, ptr %103, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  store double 1.000000e+00, ptr %17, align 8, !tbaa !22
  %131 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(16) %11)
  %132 = extractvalue { double, double } %131, 0
  store double %132, ptr %16, align 8
  %133 = extractvalue { double, double } %131, 1
  store double %133, ptr %104, align 8
  %134 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %16)
  %135 = extractvalue { double, double } %134, 0
  %136 = extractvalue { double, double } %134, 1
  store double %135, ptr %109, align 8
  %.sroa.438.0..sroa_idx = getelementptr inbounds i8, ptr %109, i64 8
  store double %136, ptr %.sroa.438.0..sroa_idx, align 8, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  store double 1.000000e+00, ptr %19, align 8, !tbaa !22
  %137 = call { double, double } @_ZStmiIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(16) %11)
  %138 = extractvalue { double, double } %137, 0
  store double %138, ptr %18, align 8
  %139 = extractvalue { double, double } %137, 1
  store double %139, ptr %105, align 8
  %140 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %18)
  %141 = extractvalue { double, double } %140, 0
  %142 = extractvalue { double, double } %140, 1
  %143 = load i32, ptr %29, align 8, !tbaa !20
  %144 = trunc nuw nsw i64 %indvars.iv to i32
  %145 = add nsw i32 %143, %144
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [20 x %"class.std::complex"], ptr %28, i64 0, i64 %146
  store double %141, ptr %147, align 8
  %.sroa.436.0..sroa_idx = getelementptr inbounds i8, ptr %147, i64 8
  store double %142, ptr %.sroa.436.0..sroa_idx, align 8, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %148 = load i32, ptr %29, align 8, !tbaa !20
  %149 = sext i32 %148 to i64
  %150 = icmp slt i64 %indvars.iv.next, %149
  br i1 %150, label %108, label %.preheader105, !llvm.loop !31

._crit_edge113:                                   ; preds = %153, %89, %.preheader105
  %.lcssa106 = phi i32 [ %148, %.preheader105 ], [ %96, %89 ], [ %156, %153 ]
  %151 = getelementptr inbounds i8, ptr %0, i64 660
  store i32 %.lcssa106, ptr %151, align 4, !tbaa !24
  %152 = shl nsw i32 %.lcssa106, 1
  store i32 %152, ptr %29, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %159

153:                                              ; preds = %.lr.ph112, %153
  %indvars.iv144 = phi i64 [ 0, %.lr.ph112 ], [ %indvars.iv.next145, %153 ]
  %154 = getelementptr inbounds [20 x %"class.std::complex"], ptr %107, i64 0, i64 %indvars.iv144
  %155 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %154, double noundef 0.000000e+00)
  %indvars.iv.next145 = add nuw nsw i64 %indvars.iv144, 1
  %156 = load i32, ptr %29, align 8, !tbaa !20
  %157 = sext i32 %156 to i64
  %158 = icmp slt i64 %indvars.iv.next145, %157
  br i1 %158, label %153, label %._crit_edge113, !llvm.loop !32

159:                                              ; preds = %._crit_edge._crit_edge, %._crit_edge113, %._crit_edge118, %._crit_edge122
  %160 = phi i32 [ %.pre168, %._crit_edge._crit_edge ], [ %.lcssa106, %._crit_edge113 ], [ %.lcssa, %._crit_edge118 ], [ 0, %._crit_edge122 ]
  %161 = phi i32 [ %.pre, %._crit_edge._crit_edge ], [ %152, %._crit_edge113 ], [ %.lcssa, %._crit_edge118 ], [ %64, %._crit_edge122 ]
  store i32 %161, ptr %31, align 8, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %0, i64 1308
  store i32 %160, ptr %162, align 4, !tbaa !33
  %163 = icmp sgt i32 %161, 0
  br i1 %163, label %.lr.ph125, label %.preheader101

.preheader101.loopexit:                           ; preds = %.lr.ph125
  %.pre169 = load i32, ptr %162, align 4, !tbaa !33
  br label %.preheader101

.preheader101:                                    ; preds = %.preheader101.loopexit, %159
  %164 = phi i32 [ %174, %.preheader101.loopexit ], [ %161, %159 ]
  %165 = phi i32 [ %.pre169, %.preheader101.loopexit ], [ %160, %159 ]
  %166 = icmp sgt i32 %165, 0
  br i1 %166, label %.lr.ph127, label %.preheader100

.lr.ph127:                                        ; preds = %.preheader101
  %167 = getelementptr inbounds i8, ptr %0, i64 336
  %168 = getelementptr inbounds i8, ptr %0, i64 984
  br label %181

.lr.ph125:                                        ; preds = %159, %.lr.ph125
  %indvars.iv156 = phi i64 [ %indvars.iv.next157, %.lr.ph125 ], [ 0, %159 ]
  %169 = getelementptr inbounds [20 x %"class.std::complex"], ptr %28, i64 0, i64 %indvars.iv156
  %.sroa.024.0.copyload = load double, ptr %169, align 8
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %169, i64 8
  %.sroa.225.0.copyload = load double, ptr %.sroa.225.0..sroa_idx, align 8, !tbaa !27
  %170 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter3bltESt7complexIdE(double %.sroa.024.0.copyload, double %.sroa.225.0.copyload)
  %171 = extractvalue { double, double } %170, 0
  %172 = extractvalue { double, double } %170, 1
  %173 = getelementptr inbounds [20 x %"class.std::complex"], ptr %30, i64 0, i64 %indvars.iv156
  store double %171, ptr %173, align 8
  %.sroa.427.0..sroa_idx = getelementptr inbounds i8, ptr %173, i64 8
  store double %172, ptr %.sroa.427.0..sroa_idx, align 8, !tbaa !27
  %indvars.iv.next157 = add nuw nsw i64 %indvars.iv156, 1
  %174 = load i32, ptr %31, align 8, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = icmp slt i64 %indvars.iv.next157, %175
  br i1 %176, label %.lr.ph125, label %.preheader101.loopexit, !llvm.loop !34

.preheader100.loopexit:                           ; preds = %181
  %.pre170 = load i32, ptr %31, align 8, !tbaa !5
  br label %.preheader100

.preheader100:                                    ; preds = %.preheader100.loopexit, %.preheader101
  %177 = phi i32 [ %.pre170, %.preheader100.loopexit ], [ %164, %.preheader101 ]
  %178 = phi i32 [ %187, %.preheader100.loopexit ], [ %165, %.preheader101 ]
  %179 = icmp slt i32 %178, %177
  br i1 %179, label %.lr.ph128, label %._crit_edge129

.lr.ph128:                                        ; preds = %.preheader100
  %180 = getelementptr inbounds i8, ptr %0, i64 984
  br label %190

181:                                              ; preds = %.lr.ph127, %181
  %indvars.iv159 = phi i64 [ 0, %.lr.ph127 ], [ %indvars.iv.next160, %181 ]
  %182 = getelementptr inbounds [20 x %"class.std::complex"], ptr %167, i64 0, i64 %indvars.iv159
  %.sroa.017.0.copyload = load double, ptr %182, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %182, i64 8
  %.sroa.2.0.copyload = load double, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !27
  %183 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter3bltESt7complexIdE(double %.sroa.017.0.copyload, double %.sroa.2.0.copyload)
  %184 = extractvalue { double, double } %183, 0
  %185 = extractvalue { double, double } %183, 1
  %186 = getelementptr inbounds [20 x %"class.std::complex"], ptr %168, i64 0, i64 %indvars.iv159
  store double %184, ptr %186, align 8
  %.sroa.419.0..sroa_idx = getelementptr inbounds i8, ptr %186, i64 8
  store double %185, ptr %.sroa.419.0..sroa_idx, align 8, !tbaa !27
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %187 = load i32, ptr %162, align 4, !tbaa !33
  %188 = sext i32 %187 to i64
  %189 = icmp slt i64 %indvars.iv.next160, %188
  br i1 %189, label %181, label %.preheader100.loopexit, !llvm.loop !35

190:                                              ; preds = %.lr.ph128, %190
  %191 = phi i32 [ %178, %.lr.ph128 ], [ %196, %190 ]
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %162, align 4, !tbaa !33
  %193 = sext i32 %191 to i64
  %194 = getelementptr inbounds [20 x %"class.std::complex"], ptr %180, i64 0, i64 %193
  %195 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %194, double noundef -1.000000e+00)
  %196 = load i32, ptr %162, align 4, !tbaa !33
  %197 = load i32, ptr %31, align 8, !tbaa !5
  %198 = icmp slt i32 %196, %197
  br i1 %198, label %190, label %._crit_edge129, !llvm.loop !36

._crit_edge129:                                   ; preds = %190, %.preheader100
  call void @llvm.lifetime.start.p0(i64 336, ptr nonnull %20) #6
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %20, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.1 = getelementptr inbounds i8, ptr %20, i64 16
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.1, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.2 = getelementptr inbounds i8, ptr %20, i64 32
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.2, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.3 = getelementptr inbounds i8, ptr %20, i64 48
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.3, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.4 = getelementptr inbounds i8, ptr %20, i64 64
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.4, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.5 = getelementptr inbounds i8, ptr %20, i64 80
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.5, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.6 = getelementptr inbounds i8, ptr %20, i64 96
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.6, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.7 = getelementptr inbounds i8, ptr %20, i64 112
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.7, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.8 = getelementptr inbounds i8, ptr %20, i64 128
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.8, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.9 = getelementptr inbounds i8, ptr %20, i64 144
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.9, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.10 = getelementptr inbounds i8, ptr %20, i64 160
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.10, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.11 = getelementptr inbounds i8, ptr %20, i64 176
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.11, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.12 = getelementptr inbounds i8, ptr %20, i64 192
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.12, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.13 = getelementptr inbounds i8, ptr %20, i64 208
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.13, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.14 = getelementptr inbounds i8, ptr %20, i64 224
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.14, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.15 = getelementptr inbounds i8, ptr %20, i64 240
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.15, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.16 = getelementptr inbounds i8, ptr %20, i64 256
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.16, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.17 = getelementptr inbounds i8, ptr %20, i64 272
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.17, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.18 = getelementptr inbounds i8, ptr %20, i64 288
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.18, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.19 = getelementptr inbounds i8, ptr %20, i64 304
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.19, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr.20 = getelementptr inbounds i8, ptr %20, i64 320
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.20, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 336, ptr nonnull %21) #6
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %21, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.1 = getelementptr inbounds i8, ptr %21, i64 16
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.1, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.2 = getelementptr inbounds i8, ptr %21, i64 32
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.2, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.3 = getelementptr inbounds i8, ptr %21, i64 48
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.3, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.4 = getelementptr inbounds i8, ptr %21, i64 64
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.4, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.5 = getelementptr inbounds i8, ptr %21, i64 80
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.5, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.6 = getelementptr inbounds i8, ptr %21, i64 96
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.6, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.7 = getelementptr inbounds i8, ptr %21, i64 112
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.7, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.8 = getelementptr inbounds i8, ptr %21, i64 128
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.8, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.9 = getelementptr inbounds i8, ptr %21, i64 144
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.9, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.10 = getelementptr inbounds i8, ptr %21, i64 160
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.10, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.11 = getelementptr inbounds i8, ptr %21, i64 176
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.11, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.12 = getelementptr inbounds i8, ptr %21, i64 192
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.12, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.13 = getelementptr inbounds i8, ptr %21, i64 208
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.13, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.14 = getelementptr inbounds i8, ptr %21, i64 224
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.14, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.15 = getelementptr inbounds i8, ptr %21, i64 240
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.15, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.16 = getelementptr inbounds i8, ptr %21, i64 256
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.16, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.17 = getelementptr inbounds i8, ptr %21, i64 272
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.17, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.18 = getelementptr inbounds i8, ptr %21, i64 288
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.18, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.19 = getelementptr inbounds i8, ptr %21, i64 304
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.19, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %.ptr94.20 = getelementptr inbounds i8, ptr %21, i64 320
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %.ptr94.20, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %199 = getelementptr inbounds i8, ptr %0, i64 984
  %200 = load i32, ptr %162, align 4, !tbaa !33
  call void @_ZN12nativeformat6plugin4util12ButterFilter6expandEPSt7complexIdEiS5_(ptr noundef nonnull %199, i32 noundef %200, ptr noundef nonnull %20)
  %201 = load i32, ptr %31, align 8, !tbaa !5
  call void @_ZN12nativeformat6plugin4util12ButterFilter6expandEPSt7complexIdEiS5_(ptr noundef nonnull %30, i32 noundef %201, ptr noundef nonnull %21)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %22, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #6
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %23, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %24, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %202 = load i32, ptr %162, align 4, !tbaa !33
  %203 = load i32, ptr %31, align 8, !tbaa !5
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %25, double noundef 1.000000e+00, double noundef 0.000000e+00)
  %204 = load double, ptr %25, align 8
  %205 = getelementptr inbounds i8, ptr %25, i64 8
  %206 = load double, ptr %205, align 8
  %207 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter8evaluateEPSt7complexIdEiS5_iS4_(ptr noundef nonnull %20, i32 noundef %202, ptr noundef nonnull %21, i32 noundef %203, double %204, double %206)
  %208 = extractvalue { double, double } %207, 0
  %209 = extractvalue { double, double } %207, 1
  store double %208, ptr %22, align 8
  %.sroa.416.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 8
  store double %209, ptr %.sroa.416.0..sroa_idx, align 8, !tbaa !27
  %210 = fadd double %1, %2
  %211 = fmul double %210, 0x400921FB54442D18
  %212 = load i32, ptr %162, align 4, !tbaa !33
  %213 = load i32, ptr %31, align 8, !tbaa !5
  %214 = call double @cos(double noundef %211) #6
  %215 = call double @sin(double noundef %211) #6
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %26, double noundef %214, double noundef %215)
  %216 = load double, ptr %26, align 8
  %217 = getelementptr inbounds i8, ptr %26, i64 8
  %218 = load double, ptr %217, align 8
  %219 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter8evaluateEPSt7complexIdEiS5_iS4_(ptr noundef nonnull %20, i32 noundef %212, ptr noundef nonnull %21, i32 noundef %213, double %216, double %218)
  %220 = extractvalue { double, double } %219, 0
  %221 = extractvalue { double, double } %219, 1
  store double %220, ptr %23, align 8
  %.sroa.413.0..sroa_idx = getelementptr inbounds i8, ptr %23, i64 8
  store double %221, ptr %.sroa.413.0..sroa_idx, align 8, !tbaa !27
  %222 = load i32, ptr %162, align 4, !tbaa !33
  %223 = load i32, ptr %31, align 8, !tbaa !5
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %27, double noundef -1.000000e+00, double noundef 0.000000e+00)
  %224 = load double, ptr %27, align 8
  %225 = getelementptr inbounds i8, ptr %27, i64 8
  %226 = load double, ptr %225, align 8
  %227 = call { double, double } @_ZN12nativeformat6plugin4util12ButterFilter8evaluateEPSt7complexIdEiS5_iS4_(ptr noundef nonnull %20, i32 noundef %222, ptr noundef nonnull %21, i32 noundef %223, double %224, double %226)
  %228 = extractvalue { double, double } %227, 0
  %229 = extractvalue { double, double } %227, 1
  store double %228, ptr %24, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %24, i64 8
  store double %229, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !27
  %230 = load i32, ptr %0, align 8, !tbaa !23
  switch i32 %230, label %235 [
    i32 1, label %.sink.split
    i32 0, label %231
    i32 2, label %232
  ]

231:                                              ; preds = %._crit_edge129
  br label %.sink.split

232:                                              ; preds = %._crit_edge129
  br label %.sink.split

.sink.split:                                      ; preds = %._crit_edge129, %231, %232
  %.sink181 = phi ptr [ %23, %232 ], [ %22, %231 ], [ %24, %._crit_edge129 ]
  %233 = call noundef double @_ZSt3absIdET_RKSt7complexIS0_E(ptr noundef nonnull align 8 dereferenceable(16) %.sink181)
  %234 = getelementptr inbounds i8, ptr %0, i64 1328
  store double %233, ptr %234, align 8, !tbaa !37
  br label %235

235:                                              ; preds = %.sink.split, %._crit_edge129
  %236 = load i32, ptr %162, align 4, !tbaa !33
  %.not130 = icmp slt i32 %236, 0
  br i1 %.not130, label %.preheader99, label %.lr.ph133

.lr.ph133:                                        ; preds = %235
  %237 = getelementptr inbounds i8, ptr %0, i64 1336
  br label %240

.preheader99:                                     ; preds = %240, %235
  %238 = load i32, ptr %31, align 8, !tbaa !5
  %.not96134 = icmp slt i32 %238, 0
  br i1 %.not96134, label %._crit_edge137, label %.lr.ph136

.lr.ph136:                                        ; preds = %.preheader99
  %239 = getelementptr inbounds i8, ptr %0, i64 1504
  br label %257

240:                                              ; preds = %.lr.ph133, %240
  %indvars.iv162 = phi i64 [ 0, %.lr.ph133 ], [ %indvars.iv.next163, %240 ]
  %241 = getelementptr inbounds [21 x %"class.std::complex"], ptr %20, i64 0, i64 %indvars.iv162
  %242 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %241)
  %243 = load i32, ptr %31, align 8, !tbaa !5
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [21 x %"class.std::complex"], ptr %21, i64 0, i64 %244
  %246 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %245)
  %247 = fdiv double %242, %246
  %248 = getelementptr inbounds [21 x double], ptr %237, i64 0, i64 %indvars.iv162
  store double %247, ptr %248, align 8, !tbaa !22
  %indvars.iv.next163 = add nuw nsw i64 %indvars.iv162, 1
  %249 = load i32, ptr %162, align 4, !tbaa !33
  %250 = sext i32 %249 to i64
  %.not.not = icmp slt i64 %indvars.iv162, %250
  br i1 %.not.not, label %240, label %.preheader99, !llvm.loop !38

._crit_edge137:                                   ; preds = %257, %.preheader99
  %251 = getelementptr inbounds i8, ptr %0, i64 1672
  %252 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %251, i64 noundef 0) #6
  %253 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %252) #6
  %.not97 = icmp eq i64 %253, 0
  br i1 %.not97, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %._crit_edge137
  %254 = getelementptr inbounds i8, ptr %0, i64 8
  %255 = load i32, ptr %254, align 8, !tbaa !39
  %.not = icmp eq i32 %255, 0
  br i1 %.not, label %.loopexit, label %.lr.ph139

.lr.ph139:                                        ; preds = %.preheader
  %256 = getelementptr inbounds i8, ptr %0, i64 1696
  br label %269

257:                                              ; preds = %.lr.ph136, %257
  %indvars.iv165 = phi i64 [ 0, %.lr.ph136 ], [ %indvars.iv.next166, %257 ]
  %258 = getelementptr inbounds [21 x %"class.std::complex"], ptr %21, i64 0, i64 %indvars.iv165
  %259 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %258)
  %260 = load i32, ptr %31, align 8, !tbaa !5
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds [21 x %"class.std::complex"], ptr %21, i64 0, i64 %261
  %263 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %262)
  %264 = fneg double %259
  %265 = fdiv double %264, %263
  %266 = getelementptr inbounds [21 x double], ptr %239, i64 0, i64 %indvars.iv165
  store double %265, ptr %266, align 8, !tbaa !22
  %indvars.iv.next166 = add nuw nsw i64 %indvars.iv165, 1
  %267 = load i32, ptr %31, align 8, !tbaa !5
  %268 = sext i32 %267 to i64
  %.not96.not = icmp slt i64 %indvars.iv165, %268
  br i1 %.not96.not, label %257, label %._crit_edge137, !llvm.loop !40

269:                                              ; preds = %.lr.ph139, %269
  %.0138 = phi i64 [ 0, %.lr.ph139 ], [ %276, %269 ]
  %270 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %251, i64 noundef %.0138) #6
  %271 = load i32, ptr %162, align 4, !tbaa !33
  %272 = sext i32 %271 to i64
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %270, i64 noundef %272)
  %273 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %256, i64 noundef %.0138) #6
  %274 = load i32, ptr %31, align 8, !tbaa !5
  %275 = sext i32 %274 to i64
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %273, i64 noundef %275)
  %276 = add nuw nsw i64 %.0138, 1
  %277 = load i32, ptr %254, align 8, !tbaa !39
  %278 = zext i32 %277 to i64
  %279 = icmp ult i64 %276, %278
  br i1 %279, label %269, label %.loopexit, !llvm.loop !41

.loopexit:                                        ; preds = %269, %.preheader, %._crit_edge137
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  ret void
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStdvIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZN12nativeformat6plugin4util12ButterFilter5csqrtESt7complexIdE(double, double) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmiIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZN12nativeformat6plugin4util12ButterFilter3bltESt7complexIdE(double, double) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12nativeformat6plugin4util12ButterFilter6expandEPSt7complexIdEiS5_(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZN12nativeformat6plugin4util12ButterFilter8evaluateEPSt7complexIdEiS5_iS4_(ptr noundef, i32 noundef, ptr noundef, i32 noundef, double, double) local_unnamed_addr #2 align 2

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 1304}
!6 = !{!"_ZTSN12nativeformat6plugin4util12ButterFilterE", !7, i64 0, !10, i64 4, !10, i64 8, !11, i64 16, !11, i64 664, !12, i64 1312, !12, i64 1320, !12, i64 1328, !8, i64 1336, !8, i64 1504, !13, i64 1672, !13, i64 1696}
!7 = !{!"_ZTSN12nativeformat6plugin4util10FilterTypeE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSN12nativeformat6plugin4util12ButterFilter5pzrepE", !8, i64 0, !8, i64 320, !10, i64 640, !10, i64 644}
!12 = !{!"double", !8, i64 0}
!13 = !{!"_ZTSSt6vectorIS_IfSaIfEESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseISt6vectorIfSaIfEESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt6vectorIfSaIfEESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseISt6vectorIfSaIfEESaIS2_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!6, !12, i64 1312}
!19 = !{!6, !12, i64 1320}
!20 = !{!6, !10, i64 656}
!21 = !{!6, !10, i64 4}
!22 = !{!12, !12, i64 0}
!23 = !{!6, !7, i64 0}
!24 = !{!6, !10, i64 660}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!8, !8, i64 0}
!28 = distinct !{!28, !26}
!29 = distinct !{!29, !26}
!30 = distinct !{!30, !26}
!31 = distinct !{!31, !26}
!32 = distinct !{!32, !26}
!33 = !{!6, !10, i64 1308}
!34 = distinct !{!34, !26}
!35 = distinct !{!35, !26}
!36 = distinct !{!36, !26}
!37 = !{!6, !12, i64 1328}
!38 = distinct !{!38, !26}
!39 = !{!6, !10, i64 8}
!40 = distinct !{!40, !26}
!41 = distinct !{!41, !26}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass