; LLVM IR from jgaeddert/liquid-dsp :: sandbox (am_demod_dsb_pll_carrier_test)

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

@.str = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca { float, float }, align 4
  %21 = alloca { float, float }, align 4
  %22 = alloca { float, float }, align 4
  %23 = alloca float, align 4
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca { float, float }, align 4
  %27 = alloca { float, float }, align 4
  %28 = alloca float, align 4
  %29 = alloca { float, float }, align 4
  %30 = alloca { float, float }, align 4
  %31 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store float 5.000000e-01, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store float 0x3FE99999A0000000, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store float 0x3FB99999A0000000, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store float 3.000000e+01, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 2400, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store ptr @.str, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %32 = load i32, ptr %10, align 4, !tbaa !5
  %33 = zext i32 %32 to i64
  %34 = call ptr @llvm.stacksave.p0()
  store ptr %34, ptr %13, align 8
  %35 = alloca float, i64 %33, align 16
  store i64 %33, ptr %14, align 8
  %36 = load i32, ptr %10, align 4, !tbaa !5
  %37 = zext i32 %36 to i64
  %38 = alloca { float, float }, i64 %37, align 16
  store i64 %37, ptr %15, align 8
  %39 = load i32, ptr %10, align 4, !tbaa !5
  %40 = zext i32 %39 to i64
  %41 = alloca float, i64 %40, align 16
  store i64 %40, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %42 = load i32, ptr %10, align 4, !tbaa !5
  %43 = uitofp i32 %42 to double
  %44 = fmul double 9.000000e-01, %43
  %45 = fptoui double %44 to i32
  store i32 %45, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %46 = load i32, ptr %10, align 4, !tbaa !5
  %47 = uitofp i32 %46 to double
  %48 = fmul double 5.000000e-02, %47
  %49 = fptoui double %48 to i32
  store i32 %49, ptr %18, align 4, !tbaa !5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %91, %2
  %51 = load i32, ptr %12, align 4, !tbaa !5
  %52 = load i32, ptr %10, align 4, !tbaa !5
  %53 = icmp ult i32 %51, %52
  br i1 %53, label %54, label %94

54:                                               ; preds = %50
  %55 = load i32, ptr %12, align 4, !tbaa !5
  %56 = uitofp i32 %55 to double
  %57 = fmul double 0x3FC03EED01A19FCF, %56
  %58 = call double @cos(double noundef %57) #6
  %59 = fmul double 0x3FE3333340000000, %58
  %60 = fptrunc double %59 to float
  %61 = load i32, ptr %12, align 4, !tbaa !5
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds float, ptr %35, i64 %62
  store float %60, ptr %63, align 4, !tbaa !11
  %64 = load i32, ptr %12, align 4, !tbaa !5
  %65 = uitofp i32 %64 to double
  %66 = fmul double 0x3FC5CB8C89CAE457, %65
  %67 = call double @cos(double noundef %66) #6
  %68 = load i32, ptr %12, align 4, !tbaa !5
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds float, ptr %35, i64 %69
  %71 = load float, ptr %70, align 4, !tbaa !11
  %72 = fpext float %71 to double
  %73 = call double @llvm.fmuladd.f64(double 0x3FD99999A0000000, double %67, double %72)
  %74 = fptrunc double %73 to float
  store float %74, ptr %70, align 4, !tbaa !11
  %75 = load i32, ptr %12, align 4, !tbaa !5
  %76 = load i32, ptr %17, align 4, !tbaa !5
  %77 = icmp ult i32 %75, %76
  br i1 %77, label %78, label %83

78:                                               ; preds = %54
  %79 = load i32, ptr %12, align 4, !tbaa !5
  %80 = load i32, ptr %17, align 4, !tbaa !5
  %81 = load i32, ptr %18, align 4, !tbaa !5
  %82 = call float @liquid_rcostaper_window(i32 noundef %79, i32 noundef %80, i32 noundef %81)
  br label %84

83:                                               ; preds = %54
  br label %84

84:                                               ; preds = %83, %78
  %85 = phi float [ %82, %78 ], [ 0.000000e+00, %83 ]
  %86 = load i32, ptr %12, align 4, !tbaa !5
  %87 = zext i32 %86 to i64
  %88 = getelementptr inbounds float, ptr %35, i64 %87
  %89 = load float, ptr %88, align 4, !tbaa !11
  %90 = fmul float %89, %85
  store float %90, ptr %88, align 4, !tbaa !11
  br label %91

91:                                               ; preds = %84
  %92 = load i32, ptr %12, align 4, !tbaa !5
  %93 = add i32 %92, 1
  store i32 %93, ptr %12, align 4, !tbaa !5
  br label %50, !llvm.loop !13

94:                                               ; preds = %50
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %95

95:                                               ; preds = %111, %94
  %96 = load i32, ptr %12, align 4, !tbaa !5
  %97 = load i32, ptr %10, align 4, !tbaa !5
  %98 = icmp ult i32 %96, %97
  br i1 %98, label %99, label %114

99:                                               ; preds = %95
  %100 = load float, ptr %6, align 4, !tbaa !11
  %101 = load i32, ptr %12, align 4, !tbaa !5
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds float, ptr %35, i64 %102
  %104 = load float, ptr %103, align 4, !tbaa !11
  %105 = call float @llvm.fmuladd.f32(float %100, float %104, float 1.000000e+00)
  %106 = load i32, ptr %12, align 4, !tbaa !5
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds { float, float }, ptr %38, i64 %107
  %109 = getelementptr inbounds { float, float }, ptr %108, i32 0, i32 0
  %110 = getelementptr inbounds { float, float }, ptr %108, i32 0, i32 1
  store float %105, ptr %109, align 8
  store float 0.000000e+00, ptr %110, align 4
  br label %111

111:                                              ; preds = %99
  %112 = load i32, ptr %12, align 4, !tbaa !5
  %113 = add i32 %112, 1
  store i32 %113, ptr %12, align 4, !tbaa !5
  br label %95, !llvm.loop !15

114:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %115 = load float, ptr %9, align 4, !tbaa !11
  %116 = fneg float %115
  %117 = fdiv float %116, 2.000000e+01
  %118 = call float @powf(float noundef 1.000000e+01, float noundef %117) #6
  store float %118, ptr %19, align 4, !tbaa !11
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %119

119:                                              ; preds = %212, %114
  %120 = load i32, ptr %12, align 4, !tbaa !5
  %121 = load i32, ptr %10, align 4, !tbaa !5
  %122 = icmp ult i32 %120, %121
  br i1 %122, label %123, label %215

123:                                              ; preds = %119
  %124 = load float, ptr %7, align 4, !tbaa !11
  %125 = fmul float 0.000000e+00, %124
  %126 = fmul float 1.000000e+00, %124
  %127 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %128 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  store float %125, ptr %127, align 4
  store float %126, ptr %128, align 4
  %129 = load <2 x float>, ptr %20, align 4
  %130 = call <2 x float> @cexpf(<2 x float> noundef %129) #6
  store <2 x float> %130, ptr %21, align 4
  %131 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 0
  %132 = load float, ptr %131, align 4
  %133 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 1
  %134 = load float, ptr %133, align 4
  %135 = load i32, ptr %12, align 4, !tbaa !5
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds { float, float }, ptr %38, i64 %136
  %138 = getelementptr inbounds { float, float }, ptr %137, i32 0, i32 0
  %139 = load float, ptr %138, align 8
  %140 = getelementptr inbounds { float, float }, ptr %137, i32 0, i32 1
  %141 = load float, ptr %140, align 4
  %142 = fmul float %139, %132
  %143 = fmul float %141, %134
  %144 = fmul float %139, %134
  %145 = fmul float %141, %132
  %146 = fsub float %142, %143
  %147 = fadd float %144, %145
  %148 = fcmp uno float %146, %146
  br i1 %148, label %149, label %157, !prof !16

149:                                              ; preds = %123
  %150 = fcmp uno float %147, %147
  br i1 %150, label %151, label %157, !prof !16

151:                                              ; preds = %149
  %152 = call <2 x float> @__mulsc3(float noundef %139, float noundef %141, float noundef %132, float noundef %134) #6
  store <2 x float> %152, ptr %22, align 4
  %153 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %154 = load float, ptr %153, align 4
  %155 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  %156 = load float, ptr %155, align 4
  br label %157

157:                                              ; preds = %151, %149, %123
  %158 = phi float [ %146, %123 ], [ %146, %149 ], [ %154, %151 ]
  %159 = phi float [ %147, %123 ], [ %147, %149 ], [ %156, %151 ]
  %160 = getelementptr inbounds { float, float }, ptr %137, i32 0, i32 0
  %161 = getelementptr inbounds { float, float }, ptr %137, i32 0, i32 1
  store float %158, ptr %160, align 8
  store float %159, ptr %161, align 4
  %162 = load float, ptr %19, align 4, !tbaa !11
  %163 = call float (...) @randnf()
  %164 = call float (...) @randnf()
  %165 = fmul float 0.000000e+00, %164
  %166 = fmul float 1.000000e+00, %164
  %167 = fadd float %163, %165
  %168 = fmul float %162, %167
  %169 = fmul float %162, %166
  %170 = fpext float %168 to double
  %171 = fpext float %169 to double
  %172 = fmul double %170, 0x3FE6A09E667F3BCD
  %173 = fmul double %171, 0x3FE6A09E667F3BCD
  %174 = load i32, ptr %12, align 4, !tbaa !5
  %175 = zext i32 %174 to i64
  %176 = getelementptr inbounds { float, float }, ptr %38, i64 %175
  %177 = getelementptr inbounds { float, float }, ptr %176, i32 0, i32 0
  %178 = load float, ptr %177, align 8
  %179 = getelementptr inbounds { float, float }, ptr %176, i32 0, i32 1
  %180 = load float, ptr %179, align 4
  %181 = fpext float %178 to double
  %182 = fpext float %180 to double
  %183 = fadd double %181, %172
  %184 = fadd double %182, %173
  %185 = fptrunc double %183 to float
  %186 = fptrunc double %184 to float
  %187 = getelementptr inbounds { float, float }, ptr %176, i32 0, i32 0
  %188 = getelementptr inbounds { float, float }, ptr %176, i32 0, i32 1
  store float %185, ptr %187, align 8
  store float %186, ptr %188, align 4
  %189 = load float, ptr %8, align 4, !tbaa !11
  %190 = load float, ptr %7, align 4, !tbaa !11
  %191 = fadd float %190, %189
  store float %191, ptr %7, align 4, !tbaa !11
  br label %192

192:                                              ; preds = %196, %157
  %193 = load float, ptr %7, align 4, !tbaa !11
  %194 = fpext float %193 to double
  %195 = fcmp ogt double %194, 0x400921FB54442D18
  br i1 %195, label %196, label %201

196:                                              ; preds = %192
  %197 = load float, ptr %7, align 4, !tbaa !11
  %198 = fpext float %197 to double
  %199 = fsub double %198, 0x401921FB54442D18
  %200 = fptrunc double %199 to float
  store float %200, ptr %7, align 4, !tbaa !11
  br label %192, !llvm.loop !17

201:                                              ; preds = %192
  br label %202

202:                                              ; preds = %206, %201
  %203 = load float, ptr %7, align 4, !tbaa !11
  %204 = fpext float %203 to double
  %205 = fcmp olt double %204, 0xC00921FB54442D18
  br i1 %205, label %206, label %211

206:                                              ; preds = %202
  %207 = load float, ptr %7, align 4, !tbaa !11
  %208 = fpext float %207 to double
  %209 = fadd double %208, 0x401921FB54442D18
  %210 = fptrunc double %209 to float
  store float %210, ptr %7, align 4, !tbaa !11
  br label %202, !llvm.loop !18

211:                                              ; preds = %202
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %12, align 4, !tbaa !5
  %214 = add i32 %213, 1
  store i32 %214, ptr %12, align 4, !tbaa !5
  br label %119, !llvm.loop !19

215:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store float 0.000000e+00, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %216 = call ptr @nco_crcf_create(i32 noundef 1)
  store ptr %216, ptr %24, align 8, !tbaa !9
  %217 = load ptr, ptr %24, align 8, !tbaa !9
  %218 = call i32 @nco_crcf_pll_set_bandwidth(ptr noundef %217, float noundef 0x3F847AE140000000)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %219 = call ptr @iirfilt_crcf_create_dc_blocker(float noundef 0x3F947AE140000000)
  store ptr %219, ptr %25, align 8, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %220

220:                                              ; preds = %268, %215
  %221 = load i32, ptr %12, align 4, !tbaa !5
  %222 = load i32, ptr %10, align 4, !tbaa !5
  %223 = icmp ult i32 %221, %222
  br i1 %223, label %224, label %271

224:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %225 = load ptr, ptr %24, align 8, !tbaa !9
  %226 = load i32, ptr %12, align 4, !tbaa !5
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds { float, float }, ptr %38, i64 %227
  %229 = getelementptr inbounds { float, float }, ptr %228, i32 0, i32 0
  %230 = load float, ptr %229, align 8
  %231 = getelementptr inbounds { float, float }, ptr %228, i32 0, i32 1
  %232 = load float, ptr %231, align 4
  %233 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %234 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  store float %230, ptr %233, align 4
  store float %232, ptr %234, align 4
  %235 = load <2 x float>, ptr %27, align 4
  %236 = call i32 @nco_crcf_mix_down(ptr noundef %225, <2 x float> noundef %235, ptr noundef %26)
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %237 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %238 = load float, ptr %237, align 4
  %239 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %240 = load float, ptr %239, align 4
  %241 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 0
  %242 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 1
  store float %238, ptr %241, align 4
  store float %240, ptr %242, align 4
  %243 = load <2 x float>, ptr %29, align 4
  %244 = call float @cargf(<2 x float> noundef %243) #6
  store float %244, ptr %28, align 4, !tbaa !11
  %245 = load ptr, ptr %24, align 8, !tbaa !9
  %246 = load float, ptr %28, align 4, !tbaa !11
  %247 = call i32 @nco_crcf_pll_step(ptr noundef %245, float noundef %246)
  %248 = load ptr, ptr %24, align 8, !tbaa !9
  %249 = call i32 @nco_crcf_step(ptr noundef %248)
  %250 = load ptr, ptr %25, align 8, !tbaa !9
  %251 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %252 = load float, ptr %251, align 4
  %253 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %254 = load float, ptr %253, align 4
  %255 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 0
  %256 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 1
  store float %252, ptr %255, align 4
  store float %254, ptr %256, align 4
  %257 = load <2 x float>, ptr %30, align 4
  %258 = call i32 @iirfilt_crcf_execute(ptr noundef %250, <2 x float> noundef %257, ptr noundef %26)
  %259 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %260 = load float, ptr %259, align 4
  %261 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %262 = load float, ptr %261, align 4
  %263 = load float, ptr %6, align 4, !tbaa !11
  %264 = fdiv float %260, %263
  %265 = load i32, ptr %12, align 4, !tbaa !5
  %266 = zext i32 %265 to i64
  %267 = getelementptr inbounds float, ptr %41, i64 %266
  store float %264, ptr %267, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %268

268:                                              ; preds = %224
  %269 = load i32, ptr %12, align 4, !tbaa !5
  %270 = add i32 %269, 1
  store i32 %270, ptr %12, align 4, !tbaa !5
  br label %220, !llvm.loop !20

271:                                              ; preds = %220
  %272 = load ptr, ptr %24, align 8, !tbaa !9
  %273 = call i32 @nco_crcf_destroy(ptr noundef %272)
  %274 = load ptr, ptr %25, align 8, !tbaa !9
  %275 = call i32 @iirfilt_crcf_destroy(ptr noundef %274)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %276 = load ptr, ptr %11, align 8, !tbaa !9
  %277 = call noalias ptr @fopen(ptr noundef %276, ptr noundef @.str.1)
  store ptr %277, ptr %31, align 8, !tbaa !9
  %278 = load ptr, ptr %31, align 8, !tbaa !9
  %279 = load ptr, ptr %11, align 8, !tbaa !9
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef @.str.2, ptr noundef %279) #6
  %281 = load ptr, ptr %31, align 8, !tbaa !9
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.3) #6
  %283 = load ptr, ptr %31, align 8, !tbaa !9
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %283, ptr noundef @.str.4) #6
  %285 = load ptr, ptr %31, align 8, !tbaa !9
  %286 = load i32, ptr %10, align 4, !tbaa !5
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %285, ptr noundef @.str.5, i32 noundef %286) #6
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %288

288:                                              ; preds = %331, %271
  %289 = load i32, ptr %12, align 4, !tbaa !5
  %290 = load i32, ptr %10, align 4, !tbaa !5
  %291 = icmp ult i32 %289, %290
  br i1 %291, label %292, label %334

292:                                              ; preds = %288
  %293 = load ptr, ptr %31, align 8, !tbaa !9
  %294 = load i32, ptr %12, align 4, !tbaa !5
  %295 = add i32 %294, 1
  %296 = load i32, ptr %12, align 4, !tbaa !5
  %297 = zext i32 %296 to i64
  %298 = getelementptr inbounds float, ptr %35, i64 %297
  %299 = load float, ptr %298, align 4, !tbaa !11
  %300 = fpext float %299 to double
  %301 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %293, ptr noundef @.str.6, i32 noundef %295, double noundef %300) #6
  %302 = load ptr, ptr %31, align 8, !tbaa !9
  %303 = load i32, ptr %12, align 4, !tbaa !5
  %304 = add i32 %303, 1
  %305 = load i32, ptr %12, align 4, !tbaa !5
  %306 = zext i32 %305 to i64
  %307 = getelementptr inbounds { float, float }, ptr %38, i64 %306
  %308 = getelementptr inbounds { float, float }, ptr %307, i32 0, i32 0
  %309 = load float, ptr %308, align 8
  %310 = getelementptr inbounds { float, float }, ptr %307, i32 0, i32 1
  %311 = load float, ptr %310, align 4
  %312 = fpext float %309 to double
  %313 = load i32, ptr %12, align 4, !tbaa !5
  %314 = zext i32 %313 to i64
  %315 = getelementptr inbounds { float, float }, ptr %38, i64 %314
  %316 = getelementptr inbounds { float, float }, ptr %315, i32 0, i32 0
  %317 = load float, ptr %316, align 8
  %318 = getelementptr inbounds { float, float }, ptr %315, i32 0, i32 1
  %319 = load float, ptr %318, align 4
  %320 = fpext float %319 to double
  %321 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %302, ptr noundef @.str.7, i32 noundef %304, double noundef %312, double noundef %320) #6
  %322 = load ptr, ptr %31, align 8, !tbaa !9
  %323 = load i32, ptr %12, align 4, !tbaa !5
  %324 = add i32 %323, 1
  %325 = load i32, ptr %12, align 4, !tbaa !5
  %326 = zext i32 %325 to i64
  %327 = getelementptr inbounds float, ptr %41, i64 %326
  %328 = load float, ptr %327, align 4, !tbaa !11
  %329 = fpext float %328 to double
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %322, ptr noundef @.str.8, i32 noundef %324, double noundef %329) #6
  br label %331

331:                                              ; preds = %292
  %332 = load i32, ptr %12, align 4, !tbaa !5
  %333 = add i32 %332, 1
  store i32 %333, ptr %12, align 4, !tbaa !5
  br label %288, !llvm.loop !21

334:                                              ; preds = %288
  %335 = load ptr, ptr %31, align 8, !tbaa !9
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %335, ptr noundef @.str.9) #6
  %337 = load ptr, ptr %31, align 8, !tbaa !9
  %338 = load float, ptr %23, align 4, !tbaa !11
  %339 = fpext float %338 to double
  %340 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef @.str.10, double noundef %339) #6
  %341 = load ptr, ptr %31, align 8, !tbaa !9
  %342 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %341, ptr noundef @.str.11) #6
  %343 = load ptr, ptr %31, align 8, !tbaa !9
  %344 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %343, ptr noundef @.str.12) #6
  %345 = load ptr, ptr %31, align 8, !tbaa !9
  %346 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %345, ptr noundef @.str.13) #6
  %347 = load ptr, ptr %31, align 8, !tbaa !9
  %348 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %347, ptr noundef @.str.14) #6
  %349 = load ptr, ptr %31, align 8, !tbaa !9
  %350 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %349, ptr noundef @.str.15) #6
  %351 = load ptr, ptr %31, align 8, !tbaa !9
  %352 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %351, ptr noundef @.str.16) #6
  %353 = load ptr, ptr %31, align 8, !tbaa !9
  %354 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %353, ptr noundef @.str.17) #6
  %355 = load ptr, ptr %31, align 8, !tbaa !9
  %356 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %355, ptr noundef @.str.18) #6
  %357 = load ptr, ptr %31, align 8, !tbaa !9
  %358 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %357, ptr noundef @.str.19) #6
  %359 = load ptr, ptr %31, align 8, !tbaa !9
  %360 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %359, ptr noundef @.str.20) #6
  %361 = load ptr, ptr %31, align 8, !tbaa !9
  %362 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %361, ptr noundef @.str.21) #6
  %363 = load ptr, ptr %31, align 8, !tbaa !9
  %364 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %363, ptr noundef @.str.15) #6
  %365 = load ptr, ptr %31, align 8, !tbaa !9
  %366 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %365, ptr noundef @.str.22) #6
  %367 = load ptr, ptr %31, align 8, !tbaa !9
  %368 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %367, ptr noundef @.str.23) #6
  %369 = load ptr, ptr %31, align 8, !tbaa !9
  %370 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %369, ptr noundef @.str.18) #6
  %371 = load ptr, ptr %31, align 8, !tbaa !9
  %372 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %371, ptr noundef @.str.24) #6
  %373 = load ptr, ptr %31, align 8, !tbaa !9
  %374 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %373, ptr noundef @.str.25) #6
  %375 = load ptr, ptr %31, align 8, !tbaa !9
  %376 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %375, ptr noundef @.str.26) #6
  %377 = load ptr, ptr %31, align 8, !tbaa !9
  %378 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %377, ptr noundef @.str.27) #6
  %379 = load ptr, ptr %31, align 8, !tbaa !9
  %380 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %379, ptr noundef @.str.28) #6
  %381 = load ptr, ptr %31, align 8, !tbaa !9
  %382 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %381, ptr noundef @.str.29) #6
  %383 = load ptr, ptr %31, align 8, !tbaa !9
  %384 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %383, ptr noundef @.str.30) #6
  %385 = load ptr, ptr %31, align 8, !tbaa !9
  %386 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %385, ptr noundef @.str.18) #6
  %387 = load ptr, ptr %31, align 8, !tbaa !9
  %388 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %387, ptr noundef @.str.31) #6
  %389 = load ptr, ptr %31, align 8, !tbaa !9
  %390 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %389, ptr noundef @.str.32) #6
  %391 = load ptr, ptr %31, align 8, !tbaa !9
  %392 = call i32 @fclose(ptr noundef %391)
  %393 = load ptr, ptr %11, align 8, !tbaa !9
  %394 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, ptr noundef %393)
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  %395 = load ptr, ptr %13, align 8
  call void @llvm.stackrestore.p0(ptr %395)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  %396 = load i32, ptr %3, align 4
  ret i32 %396
}

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

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

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

declare float @liquid_rcostaper_window(i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: nounwind
declare float @powf(float noundef, float noundef) #3

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) #3

declare <2 x float> @__mulsc3(float, float, float, float)

declare float @randnf(...) #5

declare ptr @nco_crcf_create(i32 noundef) #5

declare i32 @nco_crcf_pll_set_bandwidth(ptr noundef, float noundef) #5

declare ptr @iirfilt_crcf_create_dc_blocker(float noundef) #5

declare i32 @nco_crcf_mix_down(ptr noundef, <2 x float> noundef, ptr noundef) #5

; Function Attrs: nounwind
declare float @cargf(<2 x float> noundef) #3

declare i32 @nco_crcf_pll_step(ptr noundef, float noundef) #5

declare i32 @nco_crcf_step(ptr noundef) #5

declare i32 @iirfilt_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) #5

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

declare i32 @nco_crcf_destroy(ptr noundef) #5

declare i32 @iirfilt_crcf_destroy(ptr noundef) #5

declare noalias ptr @fopen(ptr noundef, ptr noundef) #5

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

declare i32 @fclose(ptr noundef) #5

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { nocallback nofree nosync nounwind willreturn }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { "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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!"branch_weights", i32 1, i32 1048575}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !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"

@.str = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca { float, float }, align 8
  %4 = alloca [2400 x float], align 16
  %5 = alloca [2400 x { float, float }], align 16
  %6 = alloca [2400 x float], align 16
  br label %7

7:                                                ; preds = %2, %23
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %23 ]
  %8 = trunc nuw nsw i64 %indvars.iv to i32
  %9 = uitofp nneg i32 %8 to double
  %10 = fmul double %9, 0x3FC03EED01A19FCF
  %11 = tail call double @cos(double noundef %10) #8
  %12 = fmul double %11, 0x3FE3333340000000
  %13 = fptrunc double %12 to float
  %14 = getelementptr inbounds float, ptr %4, i64 %indvars.iv
  %15 = fmul double %9, 0x3FC5CB8C89CAE457
  %16 = tail call double @cos(double noundef %15) #8
  %17 = fpext float %13 to double
  %18 = tail call double @llvm.fmuladd.f64(double %16, double 0x3FD99999A0000000, double %17)
  %19 = fptrunc double %18 to float
  %20 = icmp ult i64 %indvars.iv, 2160
  br i1 %20, label %21, label %23

21:                                               ; preds = %7
  %22 = tail call float @liquid_rcostaper_window(i32 noundef %8, i32 noundef 2160, i32 noundef 120) #8
  br label %23

23:                                               ; preds = %7, %21
  %24 = phi float [ %22, %21 ], [ 0.000000e+00, %7 ]
  %25 = fmul float %24, %19
  store float %25, ptr %14, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 2400
  br i1 %exitcond.not, label %vector.body, label %7, !llvm.loop !9

vector.body:                                      ; preds = %23, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %23 ]
  %26 = or disjoint i64 %index, 2
  %27 = getelementptr inbounds float, ptr %4, i64 %index
  %28 = getelementptr inbounds i8, ptr %27, i64 8
  %wide.load = load <2 x float>, ptr %27, align 16, !tbaa !5
  %wide.load149 = load <2 x float>, ptr %28, align 8, !tbaa !5
  %29 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %wide.load, <2 x float> <float 5.000000e-01, float 5.000000e-01>, <2 x float> <float 1.000000e+00, float 1.000000e+00>)
  %30 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %wide.load149, <2 x float> <float 5.000000e-01, float 5.000000e-01>, <2 x float> <float 1.000000e+00, float 1.000000e+00>)
  %31 = getelementptr inbounds { float, float }, ptr %5, i64 %index
  %32 = getelementptr inbounds { float, float }, ptr %5, i64 %26
  %interleaved.vec = shufflevector <2 x float> %29, <2 x float> zeroinitializer, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec, ptr %31, align 16
  %interleaved.vec150 = shufflevector <2 x float> %30, <2 x float> zeroinitializer, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec150, ptr %32, align 16
  %index.next = add nuw i64 %index, 4
  %33 = icmp eq i64 %index.next, 2400
  br i1 %33, label %.preheader117, label %vector.body, !llvm.loop !11

.preheader117:                                    ; preds = %vector.body, %._crit_edge
  %indvars.iv133 = phi i64 [ %indvars.iv.next134, %._crit_edge ], [ 0, %vector.body ]
  %.0124 = phi float [ %.2.lcssa, %._crit_edge ], [ 0x3FE99999A0000000, %vector.body ]
  %34 = fmul float %.0124, 0.000000e+00
  %.sroa.051.0.vec.insert = insertelement <2 x float> poison, float %34, i64 0
  %.sroa.051.4.vec.insert = insertelement <2 x float> %.sroa.051.0.vec.insert, float %.0124, i64 1
  %35 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.051.4.vec.insert) #8
  %36 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv133
  %37 = load float, ptr %36, align 8
  %38 = getelementptr inbounds i8, ptr %36, i64 4
  %39 = load float, ptr %38, align 4
  %40 = insertelement <2 x float> poison, float %37, i64 0
  %41 = shufflevector <2 x float> %40, <2 x float> poison, <2 x i32> zeroinitializer
  %42 = fmul <2 x float> %41, %35
  %43 = insertelement <2 x float> poison, float %39, i64 0
  %44 = shufflevector <2 x float> %43, <2 x float> poison, <2 x i32> zeroinitializer
  %45 = fmul <2 x float> %35, %44
  %46 = shufflevector <2 x float> %45, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %47 = fsub <2 x float> %42, %46
  %48 = fadd <2 x float> %42, %46
  %49 = shufflevector <2 x float> %47, <2 x float> %48, <2 x i32> <i32 0, i32 3>
  %50 = extractelement <2 x float> %47, i64 0
  %51 = fcmp uno float %50, 0.000000e+00
  br i1 %51, label %52, label %59, !prof !14

52:                                               ; preds = %.preheader117
  %53 = extractelement <2 x float> %48, i64 1
  %54 = fcmp uno float %53, 0.000000e+00
  br i1 %54, label %55, label %59, !prof !14

55:                                               ; preds = %52
  %56 = extractelement <2 x float> %35, i64 0
  %57 = extractelement <2 x float> %35, i64 1
  %58 = tail call <2 x float> @__mulsc3(float noundef %37, float noundef %39, float noundef %56, float noundef %57) #8
  br label %59

59:                                               ; preds = %55, %52, %.preheader117
  %60 = phi <2 x float> [ %49, %.preheader117 ], [ %49, %52 ], [ %58, %55 ]
  %61 = tail call float (...) @randnf() #8
  %62 = tail call float (...) @randnf() #8
  %63 = fmul float %62, 0.000000e+00
  %64 = fadd float %61, %63
  %65 = fpext <2 x float> %60 to <2 x double>
  %66 = insertelement <2 x float> poison, float %64, i64 0
  %67 = insertelement <2 x float> %66, float %62, i64 1
  %68 = fmul <2 x float> %67, <float 0x3FA030DC40000000, float 0x3FA030DC40000000>
  %69 = fpext <2 x float> %68 to <2 x double>
  %70 = fmul <2 x double> %69, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %71 = fadd <2 x double> %70, %65
  %72 = fptrunc <2 x double> %71 to <2 x float>
  store <2 x float> %72, ptr %36, align 8
  %73 = fadd float %.0124, 0x3FB99999A0000000
  %74 = fpext float %73 to double
  %75 = fcmp ogt double %74, 0x400921FB54442D18
  br i1 %75, label %.lr.ph, label %.preheader

.preheader:                                       ; preds = %.lr.ph, %59
  %.pre-phi = phi double [ %74, %59 ], [ %80, %.lr.ph ]
  %.1.lcssa = phi float [ %73, %59 ], [ %79, %.lr.ph ]
  %76 = fcmp olt double %.pre-phi, 0xC00921FB54442D18
  br i1 %76, label %.lr.ph121, label %._crit_edge

.lr.ph:                                           ; preds = %59, %.lr.ph
  %77 = phi double [ %80, %.lr.ph ], [ %74, %59 ]
  %78 = fadd double %77, 0xC01921FB54442D18
  %79 = fptrunc double %78 to float
  %80 = fpext float %79 to double
  %81 = fcmp ogt double %80, 0x400921FB54442D18
  br i1 %81, label %.lr.ph, label %.preheader, !llvm.loop !15

.lr.ph121:                                        ; preds = %.preheader, %.lr.ph121
  %82 = phi double [ %85, %.lr.ph121 ], [ %.pre-phi, %.preheader ]
  %83 = fadd double %82, 0x401921FB54442D18
  %84 = fptrunc double %83 to float
  %85 = fpext float %84 to double
  %86 = fcmp olt double %85, 0xC00921FB54442D18
  br i1 %86, label %.lr.ph121, label %._crit_edge, !llvm.loop !16

._crit_edge:                                      ; preds = %.lr.ph121, %.preheader
  %.2.lcssa = phi float [ %.1.lcssa, %.preheader ], [ %84, %.lr.ph121 ]
  %indvars.iv.next134 = add nuw nsw i64 %indvars.iv133, 1
  %exitcond136.not = icmp eq i64 %indvars.iv.next134, 2400
  br i1 %exitcond136.not, label %87, label %.preheader117, !llvm.loop !17

87:                                               ; preds = %._crit_edge
  %88 = tail call ptr @nco_crcf_create(i32 noundef 1) #8
  %89 = tail call i32 @nco_crcf_pll_set_bandwidth(ptr noundef %88, float noundef 0x3F847AE140000000) #8
  %90 = tail call ptr @iirfilt_crcf_create_dc_blocker(float noundef 0x3F947AE140000000) #8
  br label %91

91:                                               ; preds = %87, %91
  %indvars.iv137 = phi i64 [ 0, %87 ], [ %indvars.iv.next138, %91 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %92 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv137
  %93 = load <2 x float>, ptr %92, align 8
  %94 = call i32 @nco_crcf_mix_down(ptr noundef %88, <2 x float> noundef %93, ptr noundef nonnull %3) #8
  %95 = load <2 x float>, ptr %3, align 8
  %96 = call float @cargf(<2 x float> noundef %95) #8
  %97 = call i32 @nco_crcf_pll_step(ptr noundef %88, float noundef %96) #8
  %98 = call i32 @nco_crcf_step(ptr noundef %88) #8
  %99 = load <2 x float>, ptr %3, align 8
  %100 = call i32 @iirfilt_crcf_execute(ptr noundef %90, <2 x float> noundef %99, ptr noundef nonnull %3) #8
  %101 = load float, ptr %3, align 8
  %102 = fmul float %101, 2.000000e+00
  %103 = getelementptr inbounds float, ptr %6, i64 %indvars.iv137
  store float %102, ptr %103, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %exitcond140.not = icmp eq i64 %indvars.iv.next138, 2400
  br i1 %exitcond140.not, label %104, label %91, !llvm.loop !18

104:                                              ; preds = %91
  %105 = call i32 @nco_crcf_destroy(ptr noundef %88) #8
  %106 = call i32 @iirfilt_crcf_destroy(ptr noundef %90) #8
  %107 = call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #8
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.3) #8
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.4) #8
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.5, i32 noundef 2400) #8
  br label %112

112:                                              ; preds = %104, %112
  %indvars.iv141 = phi i64 [ 0, %104 ], [ %indvars.iv.next142, %112 ]
  %indvars.iv.next142 = add nuw nsw i64 %indvars.iv141, 1
  %113 = getelementptr inbounds float, ptr %4, i64 %indvars.iv141
  %114 = load float, ptr %113, align 4, !tbaa !5
  %115 = fpext float %114 to double
  %116 = trunc nuw nsw i64 %indvars.iv.next142 to i32
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.6, i32 noundef %116, double noundef %115) #8
  %118 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv141
  %119 = load float, ptr %118, align 8
  %120 = getelementptr inbounds i8, ptr %118, i64 4
  %121 = fpext float %119 to double
  %122 = load float, ptr %120, align 4
  %123 = fpext float %122 to double
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.7, i32 noundef %116, double noundef %121, double noundef %123) #8
  %125 = getelementptr inbounds float, ptr %6, i64 %indvars.iv141
  %126 = load float, ptr %125, align 4, !tbaa !5
  %127 = fpext float %126 to double
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.8, i32 noundef %116, double noundef %127) #8
  %exitcond144.not = icmp eq i64 %indvars.iv.next142, 2400
  br i1 %exitcond144.not, label %129, label %112, !llvm.loop !19

129:                                              ; preds = %112
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.9) #8
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.10, double noundef 0.000000e+00) #8
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.11) #8
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.12) #8
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.13) #8
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.14) #8
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.15) #8
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.16) #8
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.17) #8
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.18) #8
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.19) #8
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.20) #8
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.21) #8
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.15) #8
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.22) #8
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.23) #8
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.18) #8
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.24) #8
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.25) #8
  %149 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.26) #8
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.27) #8
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.28) #8
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.29) #8
  %153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.30) #8
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.18) #8
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.31) #8
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.32) #8
  %157 = call i32 @fclose(ptr noundef %107)
  %158 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.33, ptr noundef nonnull @.str)
  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 nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #2

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

declare float @liquid_rcostaper_window(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) local_unnamed_addr #5

declare <2 x float> @__mulsc3(float, float, float, float) local_unnamed_addr

declare float @randnf(...) local_unnamed_addr #4

declare ptr @nco_crcf_create(i32 noundef) local_unnamed_addr #4

declare i32 @nco_crcf_pll_set_bandwidth(ptr noundef, float noundef) local_unnamed_addr #4

declare ptr @iirfilt_crcf_create_dc_blocker(float noundef) local_unnamed_addr #4

declare i32 @nco_crcf_mix_down(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare float @cargf(<2 x float> noundef) local_unnamed_addr #5

declare i32 @nco_crcf_pll_step(ptr noundef, float noundef) local_unnamed_addr #4

declare i32 @nco_crcf_step(ptr noundef) local_unnamed_addr #4

declare i32 @iirfilt_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #4

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

declare i32 @nco_crcf_destroy(ptr noundef) local_unnamed_addr #4

declare i32 @iirfilt_crcf_destroy(ptr noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #6

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #6

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #7

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 #6 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10, !12, !13}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = !{!"branch_weights", i32 1, i32 1048575}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass