; LLVM IR from vertver/Fresponze-old :: modules/r8brain-free-src/other (calcErrorTable)

; 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.r8b::CDSPRealFFTKeeper" = type { ptr }
%"class.r8b::CFixedBuffer" = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca double, align 8
  %3 = alloca double, align 8
  %4 = alloca i32, align 4
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.r8b::CDSPRealFFTKeeper", align 8
  %17 = alloca %"class.r8b::CFixedBuffer", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #10
  %26 = call noundef double @_ZN3r8b13CDSPFIRFilter13getLPMinAttenEv()
  store double %26, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  %27 = call noundef double @_ZN3r8b13CDSPFIRFilter13getLPMaxAttenEv()
  store double %27, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #10
  store i32 300, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  %28 = call double @log(double noundef 1.000000e+01) #10
  %29 = fdiv double 1.000000e+01, %28
  store double %29, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  store double -1.000000e+20, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  store double 1.000000e+20, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  store double -1.000000e+20, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  store double 1.000000e+20, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  store double -1.000000e+20, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  store double 1.000000e+20, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  %30 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %206, %0
  %32 = load i32, ptr %12, align 4, !tbaa !9
  %33 = icmp slt i32 %32, 300
  br i1 %33, label %34, label %209

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %35 = load double, ptr %2, align 8, !tbaa !5
  %36 = load double, ptr %3, align 8, !tbaa !5
  %37 = load double, ptr %2, align 8, !tbaa !5
  %38 = fsub double %36, %37
  %39 = load i32, ptr %12, align 4, !tbaa !9
  %40 = sitofp i32 %39 to double
  %41 = fmul double %38, %40
  %42 = fdiv double %41, 2.990000e+02
  %43 = fadd double %35, %42
  store double %43, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  store double 2.500000e+01, ptr %14, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %193, %34
  %45 = load double, ptr %14, align 8, !tbaa !5
  %46 = fcmp ole double %45, 4.500000e+01
  br i1 %46, label %47, label %205

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %48 = load double, ptr %14, align 8, !tbaa !5
  %49 = load double, ptr %13, align 8, !tbaa !5
  %50 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZN3r8b18CDSPFIRFilterCache11getLPFilterEdddNS_23EDSPFilterPhaseResponseEdPKd(double noundef 5.000000e-01, double noundef %48, double noundef %49, i32 noundef 0, double noundef 1.000000e+00, ptr noundef null)
  store ptr %50, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %51 = load ptr, ptr %15, align 8, !tbaa !11
  %52 = call noundef i32 @_ZNK3r8b13CDSPFIRFilter15getBlockLenBitsEv(ptr noundef nonnull align 8 dereferenceable(96) %51)
  %53 = add nsw i32 %52, 1
  call void @_ZN3r8b17CDSPRealFFTKeeperC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %16, i32 noundef %53)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #10
  %54 = load ptr, ptr %15, align 8, !tbaa !11
  %55 = invoke noundef i32 @_ZNK3r8b13CDSPFIRFilter15getBlockLenBitsEv(ptr noundef nonnull align 8 dereferenceable(96) %54)
          to label %56 unwind label %122

56:                                               ; preds = %47
  %57 = shl i32 2, %55
  invoke void @_ZN3r8b12CFixedBufferIdEC2Ei(ptr noundef nonnull align 8 dereferenceable(16) %17, i32 noundef %57)
          to label %58 unwind label %122

58:                                               ; preds = %56
  %59 = invoke noundef ptr @_ZNK3r8b12CFixedBufferIdEcvPdEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %60 unwind label %126

60:                                               ; preds = %58
  %61 = getelementptr inbounds double, ptr %59, i64 0
  %62 = load ptr, ptr %15, align 8, !tbaa !11
  %63 = invoke noundef ptr @_ZNK3r8b13CDSPFIRFilter14getKernelBlockEv(ptr noundef nonnull align 8 dereferenceable(96) %62)
          to label %64 unwind label %126

64:                                               ; preds = %60
  %65 = load ptr, ptr %15, align 8, !tbaa !11
  %66 = invoke noundef i32 @_ZNK3r8b13CDSPFIRFilter15getBlockLenBitsEv(ptr noundef nonnull align 8 dereferenceable(96) %65)
          to label %67 unwind label %126

67:                                               ; preds = %64
  %68 = zext i32 %66 to i64
  %69 = shl i64 16, %68
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %61, ptr align 8 %63, i64 %69, i1 false)
  %70 = invoke noundef ptr @_ZNK3r8b17CDSPRealFFTKeeperptEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %71 unwind label %126

71:                                               ; preds = %67
  %72 = invoke noundef ptr @_ZNK3r8b12CFixedBufferIdEcvPdEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %73 unwind label %126

73:                                               ; preds = %71
  invoke void @_ZNK3r8b11CDSPRealFFT7inverseEPd(ptr noundef nonnull align 8 dereferenceable(56) %70, ptr noundef %72)
          to label %74 unwind label %126

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  %75 = load ptr, ptr %15, align 8, !tbaa !11
  %76 = invoke noundef i32 @_ZNK3r8b13CDSPFIRFilter12getKernelLenEv(ptr noundef nonnull align 8 dereferenceable(96) %75)
          to label %77 unwind label %130

77:                                               ; preds = %74
  store i32 %76, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %78 = invoke noundef ptr @_ZNK3r8b12CFixedBufferIdEcvPdEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %79 unwind label %134

79:                                               ; preds = %77
  %80 = getelementptr inbounds double, ptr %78, i64 0
  %81 = load i32, ptr %20, align 4, !tbaa !9
  invoke void @_ZN3r8b21calcFIRFilterResponseEPKdidRdS2_i(ptr noundef %80, i32 noundef %81, double noundef 0x3FF921FB54442D18, ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 0)
          to label %82 unwind label %134

82:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %83 = load double, ptr %5, align 8, !tbaa !5
  %84 = load double, ptr %21, align 8, !tbaa !5
  %85 = load double, ptr %21, align 8, !tbaa !5
  %86 = load double, ptr %22, align 8, !tbaa !5
  %87 = load double, ptr %22, align 8, !tbaa !5
  %88 = fmul double %86, %87
  %89 = call double @llvm.fmuladd.f64(double %84, double %85, double %88)
  %90 = call double @log(double noundef %89) #10
  %91 = fmul double %83, %90
  store double %91, ptr %23, align 8, !tbaa !5
  %92 = invoke noundef ptr @_ZNK3r8b12CFixedBufferIdEcvPdEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %93 unwind label %138

93:                                               ; preds = %82
  %94 = getelementptr inbounds double, ptr %92, i64 0
  %95 = load i32, ptr %20, align 4, !tbaa !9
  %96 = load double, ptr %14, align 8, !tbaa !5
  %97 = fneg double %96
  %98 = call double @llvm.fmuladd.f64(double %97, double 1.000000e-02, double 1.000000e+00)
  %99 = fmul double 0x400921FB54442D18, %98
  %100 = fmul double %99, 5.000000e-01
  invoke void @_ZN3r8b21calcFIRFilterResponseEPKdidRdS2_i(ptr noundef %94, i32 noundef %95, double noundef %100, ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 0)
          to label %101 unwind label %138

101:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %102 = load double, ptr %5, align 8, !tbaa !5
  %103 = load double, ptr %21, align 8, !tbaa !5
  %104 = load double, ptr %21, align 8, !tbaa !5
  %105 = load double, ptr %22, align 8, !tbaa !5
  %106 = load double, ptr %22, align 8, !tbaa !5
  %107 = fmul double %105, %106
  %108 = call double @llvm.fmuladd.f64(double %103, double %104, double %107)
  %109 = call double @log(double noundef %108) #10
  %110 = fmul double %102, %109
  store double %110, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %111 = load double, ptr %23, align 8, !tbaa !5
  %112 = load double, ptr %13, align 8, !tbaa !5
  %113 = fadd double %111, %112
  store double %113, ptr %25, align 8, !tbaa !5
  %114 = load double, ptr %13, align 8, !tbaa !5
  %115 = fcmp oge double %114, 1.170000e+02
  br i1 %115, label %116, label %150

116:                                              ; preds = %101
  %117 = load double, ptr %25, align 8, !tbaa !5
  %118 = load double, ptr %10, align 8, !tbaa !5
  %119 = fcmp ogt double %117, %118
  br i1 %119, label %120, label %142

120:                                              ; preds = %116
  %121 = load double, ptr %25, align 8, !tbaa !5
  store double %121, ptr %10, align 8, !tbaa !5
  br label %149

122:                                              ; preds = %56, %47
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %18, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %19, align 4
  br label %204

126:                                              ; preds = %73, %71, %67, %64, %60, %58
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %18, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %19, align 4
  br label %203

130:                                              ; preds = %74
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %18, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %19, align 4
  br label %202

134:                                              ; preds = %79, %77
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %18, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %19, align 4
  br label %201

138:                                              ; preds = %93, %82
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %18, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %19, align 4
  br label %200

142:                                              ; preds = %116
  %143 = load double, ptr %25, align 8, !tbaa !5
  %144 = load double, ptr %11, align 8, !tbaa !5
  %145 = fcmp olt double %143, %144
  br i1 %145, label %146, label %148

146:                                              ; preds = %142
  %147 = load double, ptr %25, align 8, !tbaa !5
  store double %147, ptr %11, align 8, !tbaa !5
  br label %148

148:                                              ; preds = %146, %142
  br label %149

149:                                              ; preds = %148, %120
  br label %182

150:                                              ; preds = %101
  %151 = load double, ptr %13, align 8, !tbaa !5
  %152 = fcmp oge double %151, 6.000000e+01
  br i1 %152, label %153, label %167

153:                                              ; preds = %150
  %154 = load double, ptr %25, align 8, !tbaa !5
  %155 = load double, ptr %8, align 8, !tbaa !5
  %156 = fcmp ogt double %154, %155
  br i1 %156, label %157, label %159

157:                                              ; preds = %153
  %158 = load double, ptr %25, align 8, !tbaa !5
  store double %158, ptr %8, align 8, !tbaa !5
  br label %166

159:                                              ; preds = %153
  %160 = load double, ptr %25, align 8, !tbaa !5
  %161 = load double, ptr %9, align 8, !tbaa !5
  %162 = fcmp olt double %160, %161
  br i1 %162, label %163, label %165

163:                                              ; preds = %159
  %164 = load double, ptr %25, align 8, !tbaa !5
  store double %164, ptr %9, align 8, !tbaa !5
  br label %165

165:                                              ; preds = %163, %159
  br label %166

166:                                              ; preds = %165, %157
  br label %181

167:                                              ; preds = %150
  %168 = load double, ptr %25, align 8, !tbaa !5
  %169 = load double, ptr %6, align 8, !tbaa !5
  %170 = fcmp ogt double %168, %169
  br i1 %170, label %171, label %173

171:                                              ; preds = %167
  %172 = load double, ptr %25, align 8, !tbaa !5
  store double %172, ptr %6, align 8, !tbaa !5
  br label %180

173:                                              ; preds = %167
  %174 = load double, ptr %25, align 8, !tbaa !5
  %175 = load double, ptr %7, align 8, !tbaa !5
  %176 = fcmp olt double %174, %175
  br i1 %176, label %177, label %179

177:                                              ; preds = %173
  %178 = load double, ptr %25, align 8, !tbaa !5
  store double %178, ptr %7, align 8, !tbaa !5
  br label %179

179:                                              ; preds = %177, %173
  br label %180

180:                                              ; preds = %179, %171
  br label %181

181:                                              ; preds = %180, %166
  br label %182

182:                                              ; preds = %181, %149
  %183 = load double, ptr %14, align 8, !tbaa !5
  %184 = load double, ptr %23, align 8, !tbaa !5
  %185 = load double, ptr %24, align 8, !tbaa !5
  %186 = load double, ptr %13, align 8, !tbaa !5
  %187 = fneg double %186
  %188 = load double, ptr %25, align 8, !tbaa !5
  %189 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %183, double noundef %184, double noundef %185, double noundef %187, double noundef %188)
          to label %190 unwind label %196

190:                                              ; preds = %182
  %191 = load ptr, ptr %15, align 8, !tbaa !11
  invoke void @_ZN3r8b13CDSPFIRFilter5unrefEv(ptr noundef nonnull align 8 dereferenceable(96) %191)
          to label %192 unwind label %196

192:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @_ZN3r8b12CFixedBufferIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #10
  call void @_ZN3r8b17CDSPRealFFTKeeperD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  br label %193

193:                                              ; preds = %192
  %194 = load double, ptr %14, align 8, !tbaa !5
  %195 = fmul double %194, 1.003000e+00
  store double %195, ptr %14, align 8, !tbaa !5
  br label %44, !llvm.loop !13

196:                                              ; preds = %190, %182
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %18, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  br label %200

200:                                              ; preds = %196, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %201

201:                                              ; preds = %200, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %202

202:                                              ; preds = %201, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %203

203:                                              ; preds = %202, %126
  call void @_ZN3r8b12CFixedBufferIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #10
  br label %204

204:                                              ; preds = %203, %122
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #10
  call void @_ZN3r8b17CDSPRealFFTKeeperD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #10
  br label %222

205:                                              ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %206

206:                                              ; preds = %205
  %207 = load i32, ptr %12, align 4, !tbaa !9
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %12, align 4, !tbaa !9
  br label %31, !llvm.loop !15

209:                                              ; preds = %31
  %210 = load double, ptr %7, align 8, !tbaa !5
  %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %210)
  %212 = load double, ptr %6, align 8, !tbaa !5
  %213 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %212)
  %214 = load double, ptr %9, align 8, !tbaa !5
  %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %214)
  %216 = load double, ptr %8, align 8, !tbaa !5
  %217 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %216)
  %218 = load double, ptr %11, align 8, !tbaa !5
  %219 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %218)
  %220 = load double, ptr %10, align 8, !tbaa !5
  %221 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %220)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #10
  ret i32 0

222:                                              ; preds = %204
  %223 = load ptr, ptr %18, align 8
  %224 = load i32, ptr %19, align 4
  %225 = insertvalue { ptr, i32 } poison, ptr %223, 0
  %226 = insertvalue { ptr, i32 } %225, i32 %224, 1
  resume { ptr, i32 } %226
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3r8b13CDSPFIRFilter13getLPMinAttenEv() #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3r8b13CDSPFIRFilter13getLPMaxAttenEv() #2 align 2

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

declare i32 @printf(ptr noundef, ...) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZN3r8b18CDSPFIRFilterCache11getLPFilterEdddNS_23EDSPFilterPhaseResponseEdPKd(double noundef, double noundef, double noundef, i32 noundef, double noundef, ptr noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3r8b13CDSPFIRFilter15getBlockLenBitsEv(ptr noundef nonnull align 8 dereferenceable(96)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3r8b17CDSPRealFFTKeeperC2Ei(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) unnamed_addr #5 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3r8b13CDSPFIRFilter14getKernelBlockEv(ptr noundef nonnull align 8 dereferenceable(96)) #5 align 2

; 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) #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3r8b13CDSPFIRFilter12getKernelLenEv(ptr noundef nonnull align 8 dereferenceable(96)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3r8b21calcFIRFilterResponseEPKdidRdS2_i(ptr noundef, i32 noundef, double noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #7

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

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

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

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

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

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


; 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.r8b::CDSPRealFFTKeeper" = type { ptr }
%"class.r8b::CFixedBuffer" = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.r8b::CDSPRealFFTKeeper", align 8
  %2 = alloca %"class.r8b::CFixedBuffer", align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = tail call noundef double @_ZN3r8b13CDSPFIRFilter13getLPMinAttenEv()
  %6 = tail call noundef double @_ZN3r8b13CDSPFIRFilter13getLPMaxAttenEv()
  %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %8 = fsub double %6, %5
  br label %9

9:                                                ; preds = %0, %78
  %.0115 = phi double [ -1.000000e+20, %0 ], [ %.2, %78 ]
  %.055114 = phi double [ 1.000000e+20, %0 ], [ %.257, %78 ]
  %.058113 = phi double [ -1.000000e+20, %0 ], [ %.260, %78 ]
  %.061112 = phi double [ 1.000000e+20, %0 ], [ %.263, %78 ]
  %.066111 = phi double [ -1.000000e+20, %0 ], [ %.268, %78 ]
  %.070110 = phi double [ 1.000000e+20, %0 ], [ %.272, %78 ]
  %.073109 = phi i32 [ 0, %0 ], [ %79, %78 ]
  %10 = uitofp nneg i32 %.073109 to double
  %11 = fmul double %8, %10
  %12 = fdiv double %11, 2.990000e+02
  %13 = fadd double %5, %12
  %14 = fcmp ult double %13, 1.170000e+02
  %15 = fcmp ult double %13, 6.000000e+01
  %16 = fneg double %13
  br label %17

17:                                               ; preds = %9, %72
  %.1108 = phi double [ %.0115, %9 ], [ %.2, %72 ]
  %.156107 = phi double [ %.055114, %9 ], [ %.257, %72 ]
  %.159106 = phi double [ %.058113, %9 ], [ %.260, %72 ]
  %.162105 = phi double [ %.061112, %9 ], [ %.263, %72 ]
  %.167104 = phi double [ %.066111, %9 ], [ %.268, %72 ]
  %.069103 = phi double [ 2.500000e+01, %9 ], [ %73, %72 ]
  %.171102 = phi double [ %.070110, %9 ], [ %.272, %72 ]
  %18 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZN3r8b18CDSPFIRFilterCache11getLPFilterEdddNS_23EDSPFilterPhaseResponseEdPKd(double noundef 5.000000e-01, double noundef %.069103, double noundef %13, i32 noundef 0, double noundef 1.000000e+00, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #10
  %19 = call noundef i32 @_ZNK3r8b13CDSPFIRFilter15getBlockLenBitsEv(ptr noundef nonnull align 8 dereferenceable(96) %18)
  %20 = add nsw i32 %19, 1
  call void @_ZN3r8b17CDSPRealFFTKeeperC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %20)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #10
  %21 = call noundef i32 @_ZNK3r8b13CDSPFIRFilter15getBlockLenBitsEv(ptr noundef nonnull align 8 dereferenceable(96) %18)
  %22 = shl i32 2, %21
  call void @_ZN3r8b12CFixedBufferIdEC2Ei(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %22)
  %23 = call noundef ptr @_ZNK3r8b12CFixedBufferIdEcvPdEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %24 = invoke noundef ptr @_ZNK3r8b13CDSPFIRFilter14getKernelBlockEv(ptr noundef nonnull align 8 dereferenceable(96) %18)
          to label %25 unwind label %54

25:                                               ; preds = %17
  %26 = call noundef i32 @_ZNK3r8b13CDSPFIRFilter15getBlockLenBitsEv(ptr noundef nonnull align 8 dereferenceable(96) %18)
  %27 = zext nneg i32 %26 to i64
  %28 = shl i64 16, %27
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %24, i64 %28, i1 false)
  %29 = call noundef ptr @_ZNK3r8b17CDSPRealFFTKeeperptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %30 = call noundef ptr @_ZNK3r8b12CFixedBufferIdEcvPdEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK3r8b11CDSPRealFFT7inverseEPd(ptr noundef nonnull align 8 dereferenceable(56) %29, ptr noundef %30)
          to label %31 unwind label %54

31:                                               ; preds = %25
  %32 = call noundef i32 @_ZNK3r8b13CDSPFIRFilter12getKernelLenEv(ptr noundef nonnull align 8 dereferenceable(96) %18)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  %33 = call noundef ptr @_ZNK3r8b12CFixedBufferIdEcvPdEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  call void @_ZN3r8b21calcFIRFilterResponseEPKdidRdS2_i(ptr noundef %33, i32 noundef %32, double noundef 0x3FF921FB54442D18, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0)
  %34 = load double, ptr %3, align 8, !tbaa !5
  %35 = load double, ptr %4, align 8, !tbaa !5
  %36 = fmul double %35, %35
  %37 = call double @llvm.fmuladd.f64(double %34, double %34, double %36)
  %38 = call double @log(double noundef %37) #10
  %39 = fmul double %38, 0x40115F2CED384F28
  %40 = call noundef ptr @_ZNK3r8b12CFixedBufferIdEcvPdEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %41 = fneg double %.069103
  %42 = call double @llvm.fmuladd.f64(double %41, double 1.000000e-02, double 1.000000e+00)
  %43 = fmul double %42, 0x400921FB54442D18
  %44 = fmul double %43, 5.000000e-01
  call void @_ZN3r8b21calcFIRFilterResponseEPKdidRdS2_i(ptr noundef %40, i32 noundef %32, double noundef %44, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0)
  %45 = load double, ptr %3, align 8, !tbaa !5
  %46 = load double, ptr %4, align 8, !tbaa !5
  %47 = fmul double %46, %46
  %48 = call double @llvm.fmuladd.f64(double %45, double %45, double %47)
  %49 = call double @log(double noundef %48) #10
  %50 = fmul double %49, 0x40115F2CED384F28
  %51 = fadd double %13, %39
  br i1 %14, label %59, label %52

52:                                               ; preds = %31
  %53 = fcmp ogt double %51, %.167104
  br i1 %53, label %70, label %56

54:                                               ; preds = %25, %17
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %77

56:                                               ; preds = %52
  %57 = fcmp olt double %51, %.171102
  br i1 %57, label %58, label %70

58:                                               ; preds = %56
  br label %70

59:                                               ; preds = %31
  br i1 %15, label %65, label %60

60:                                               ; preds = %59
  %61 = fcmp ogt double %51, %.159106
  br i1 %61, label %70, label %62

62:                                               ; preds = %60
  %63 = fcmp olt double %51, %.162105
  br i1 %63, label %64, label %70

64:                                               ; preds = %62
  br label %70

65:                                               ; preds = %59
  %66 = fcmp ogt double %51, %.1108
  br i1 %66, label %70, label %67

67:                                               ; preds = %65
  %68 = fcmp olt double %51, %.156107
  br i1 %68, label %69, label %70

69:                                               ; preds = %67
  br label %70

70:                                               ; preds = %65, %60, %52, %62, %64, %67, %69, %58, %56
  %.272 = phi double [ %51, %58 ], [ %.171102, %56 ], [ %.171102, %64 ], [ %.171102, %62 ], [ %.171102, %69 ], [ %.171102, %67 ], [ %.171102, %52 ], [ %.171102, %60 ], [ %.171102, %65 ]
  %.268 = phi double [ %.167104, %58 ], [ %.167104, %56 ], [ %.167104, %64 ], [ %.167104, %62 ], [ %.167104, %69 ], [ %.167104, %67 ], [ %51, %52 ], [ %.167104, %60 ], [ %.167104, %65 ]
  %.263 = phi double [ %.162105, %58 ], [ %.162105, %56 ], [ %51, %64 ], [ %.162105, %62 ], [ %.162105, %69 ], [ %.162105, %67 ], [ %.162105, %52 ], [ %.162105, %60 ], [ %.162105, %65 ]
  %.260 = phi double [ %.159106, %58 ], [ %.159106, %56 ], [ %.159106, %64 ], [ %.159106, %62 ], [ %.159106, %69 ], [ %.159106, %67 ], [ %.159106, %52 ], [ %51, %60 ], [ %.159106, %65 ]
  %.257 = phi double [ %.156107, %58 ], [ %.156107, %56 ], [ %.156107, %64 ], [ %.156107, %62 ], [ %51, %69 ], [ %.156107, %67 ], [ %.156107, %52 ], [ %.156107, %60 ], [ %.156107, %65 ]
  %.2 = phi double [ %.1108, %58 ], [ %.1108, %56 ], [ %.1108, %64 ], [ %.1108, %62 ], [ %.1108, %69 ], [ %.1108, %67 ], [ %.1108, %52 ], [ %.1108, %60 ], [ %51, %65 ]
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, double noundef %.069103, double noundef %39, double noundef %50, double noundef %16, double noundef %51)
  invoke void @_ZN3r8b13CDSPFIRFilter5unrefEv(ptr noundef nonnull align 8 dereferenceable(96) %18)
          to label %72 unwind label %75

72:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #10
  call void @_ZN3r8b12CFixedBufferIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #10
  call void @_ZN3r8b17CDSPRealFFTKeeperD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %1) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #10
  %73 = fmul double %.069103, 1.003000e+00
  %74 = fcmp ugt double %73, 4.500000e+01
  br i1 %74, label %78, label %17, !llvm.loop !9

75:                                               ; preds = %70
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #10
  br label %77

77:                                               ; preds = %75, %54
  %.pn = phi { ptr, i32 } [ %76, %75 ], [ %55, %54 ]
  call void @_ZN3r8b12CFixedBufferIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #10
  call void @_ZN3r8b17CDSPRealFFTKeeperD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %1) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #10
  resume { ptr, i32 } %.pn

78:                                               ; preds = %72
  %79 = add nuw nsw i32 %.073109, 1
  %exitcond.not = icmp eq i32 %79, 300
  br i1 %exitcond.not, label %80, label %9, !llvm.loop !11

80:                                               ; preds = %78
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, double noundef %.257)
  %82 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, double noundef %.2)
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %.263)
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %.260)
  %85 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, double noundef %.272)
  %86 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %.268)
  ret i32 0
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3r8b13CDSPFIRFilter13getLPMinAttenEv() local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3r8b13CDSPFIRFilter13getLPMaxAttenEv() local_unnamed_addr #2 align 2

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZN3r8b18CDSPFIRFilterCache11getLPFilterEdddNS_23EDSPFilterPhaseResponseEdPKd(double noundef, double noundef, double noundef, i32 noundef, double noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3r8b13CDSPFIRFilter15getBlockLenBitsEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3r8b17CDSPRealFFTKeeperC2Ei(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) unnamed_addr #5 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3r8b13CDSPFIRFilter14getKernelBlockEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress 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) #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3r8b13CDSPFIRFilter12getKernelLenEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3r8b21calcFIRFilterResponseEPKdidRdS2_i(ptr noundef, i32 noundef, double noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #7

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

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

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

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

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 #10 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass