; LLVM IR from jgaeddert/liquid-dsp :: sandbox (am_demod_dsb_pll_costas_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 [31 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 [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.34 = 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 i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  %21 = alloca { float, float }, align 4
  %22 = alloca { float, float }, align 4
  %23 = alloca { float, float }, align 4
  %24 = alloca float, align 4
  %25 = alloca ptr, align 8
  %26 = alloca { float, float }, align 4
  %27 = alloca { float, float }, align 4
  %28 = alloca float, align 4
  %29 = 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 1.000000e+00, 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
  %30 = load i32, ptr %10, align 4, !tbaa !5
  %31 = zext i32 %30 to i64
  %32 = call ptr @llvm.stacksave.p0()
  store ptr %32, ptr %13, align 8
  %33 = alloca float, i64 %31, align 16
  store i64 %31, ptr %14, align 8
  %34 = load i32, ptr %10, align 4, !tbaa !5
  %35 = zext i32 %34 to i64
  %36 = alloca { float, float }, i64 %35, align 16
  store i64 %35, ptr %15, align 8
  %37 = load i32, ptr %10, align 4, !tbaa !5
  %38 = zext i32 %37 to i64
  %39 = alloca float, i64 %38, align 16
  store i64 %38, ptr %16, align 8
  %40 = load i32, ptr %10, align 4, !tbaa !5
  %41 = zext i32 %40 to i64
  %42 = alloca float, i64 %41, align 16
  store i64 %41, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %43 = load i32, ptr %10, align 4, !tbaa !5
  %44 = uitofp i32 %43 to double
  %45 = fmul double 9.000000e-01, %44
  %46 = fptoui double %45 to i32
  store i32 %46, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %47 = load i32, ptr %10, align 4, !tbaa !5
  %48 = uitofp i32 %47 to double
  %49 = fmul double 5.000000e-02, %48
  %50 = fptoui double %49 to i32
  store i32 %50, ptr %19, align 4, !tbaa !5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %51

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

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

79:                                               ; preds = %55
  %80 = load i32, ptr %12, align 4, !tbaa !5
  %81 = load i32, ptr %18, align 4, !tbaa !5
  %82 = load i32, ptr %19, align 4, !tbaa !5
  %83 = call float @liquid_rcostaper_window(i32 noundef %80, i32 noundef %81, i32 noundef %82)
  br label %85

84:                                               ; preds = %55
  br label %85

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

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

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

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

100:                                              ; preds = %96
  %101 = load float, ptr %6, align 4, !tbaa !11
  %102 = load i32, ptr %12, align 4, !tbaa !5
  %103 = zext i32 %102 to i64
  %104 = getelementptr inbounds float, ptr %33, i64 %103
  %105 = load float, ptr %104, align 4, !tbaa !11
  %106 = fmul float %101, %105
  %107 = load i32, ptr %12, align 4, !tbaa !5
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds { float, float }, ptr %36, i64 %108
  %110 = getelementptr inbounds { float, float }, ptr %109, i32 0, i32 0
  %111 = getelementptr inbounds { float, float }, ptr %109, i32 0, i32 1
  store float %106, ptr %110, align 8
  store float 0.000000e+00, ptr %111, align 4
  br label %112

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

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

120:                                              ; preds = %213, %115
  %121 = load i32, ptr %12, align 4, !tbaa !5
  %122 = load i32, ptr %10, align 4, !tbaa !5
  %123 = icmp ult i32 %121, %122
  br i1 %123, label %124, label %216

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

150:                                              ; preds = %124
  %151 = fcmp uno float %148, %148
  br i1 %151, label %152, label %158, !prof !16

152:                                              ; preds = %150
  %153 = call <2 x float> @__mulsc3(float noundef %140, float noundef %142, float noundef %133, float noundef %135) #6
  store <2 x float> %153, ptr %23, align 4
  %154 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %155 = load float, ptr %154, align 4
  %156 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  %157 = load float, ptr %156, align 4
  br label %158

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

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

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

202:                                              ; preds = %193
  br label %203

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

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

212:                                              ; preds = %203
  br label %213

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

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

220:                                              ; preds = %264, %216
  %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 %267

224:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %225 = load ptr, ptr %25, 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 %36, 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 %26, i32 0, i32 0
  %242 = load float, ptr %241, align 4
  %243 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %244 = load float, ptr %243, align 4
  %245 = fmul float %238, %244
  store float %245, ptr %28, align 4, !tbaa !11
  %246 = load float, ptr %28, align 4, !tbaa !11
  %247 = load i32, ptr %12, align 4, !tbaa !5
  %248 = zext i32 %247 to i64
  %249 = getelementptr inbounds float, ptr %42, i64 %248
  store float %246, ptr %249, align 4, !tbaa !11
  %250 = load ptr, ptr %25, align 8, !tbaa !9
  %251 = load float, ptr %28, align 4, !tbaa !11
  %252 = call i32 @nco_crcf_pll_step(ptr noundef %250, float noundef %251)
  %253 = load ptr, ptr %25, align 8, !tbaa !9
  %254 = call i32 @nco_crcf_step(ptr noundef %253)
  %255 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %256 = load float, ptr %255, align 4
  %257 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %258 = load float, ptr %257, align 4
  %259 = load float, ptr %6, align 4, !tbaa !11
  %260 = fdiv float %256, %259
  %261 = load i32, ptr %12, align 4, !tbaa !5
  %262 = zext i32 %261 to i64
  %263 = getelementptr inbounds float, ptr %39, i64 %262
  store float %260, ptr %263, 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 %264

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

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

282:                                              ; preds = %334, %267
  %283 = load i32, ptr %12, align 4, !tbaa !5
  %284 = load i32, ptr %10, align 4, !tbaa !5
  %285 = icmp ult i32 %283, %284
  br i1 %285, label %286, label %337

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

334:                                              ; preds = %286
  %335 = load i32, ptr %12, align 4, !tbaa !5
  %336 = add i32 %335, 1
  store i32 %336, ptr %12, align 4, !tbaa !5
  br label %282, !llvm.loop !21

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

; 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: 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 i32 @nco_crcf_mix_down(ptr noundef, <2 x float> noundef, ptr noundef) #5

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

declare i32 @nco_crcf_step(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 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 [31 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 [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.34 = 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 4
  %4 = alloca [2400 x float], align 16
  %5 = alloca [2400 x { float, float }], align 16
  %6 = alloca [2400 x float], align 16
  %7 = alloca [2400 x float], align 16
  br label %8

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

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

24:                                               ; preds = %8, %22
  %25 = phi float [ %23, %22 ], [ 0.000000e+00, %8 ]
  %26 = fmul float %25, %20
  store float %26, ptr %15, 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 %8, !llvm.loop !9

vector.body:                                      ; preds = %24, %vector.body
  %index = phi i64 [ %index.next.1, %vector.body ], [ 0, %24 ]
  %27 = or disjoint i64 %index, 2
  %28 = getelementptr inbounds float, ptr %4, i64 %index
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %wide.load = load <2 x float>, ptr %28, align 16, !tbaa !5
  %wide.load149 = load <2 x float>, ptr %29, align 8, !tbaa !5
  %30 = getelementptr inbounds { float, float }, ptr %5, i64 %index
  %31 = getelementptr inbounds { float, float }, ptr %5, i64 %27
  %interleaved.vec = shufflevector <2 x float> %wide.load, <2 x float> zeroinitializer, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec, ptr %30, align 16
  %interleaved.vec150 = shufflevector <2 x float> %wide.load149, <2 x float> zeroinitializer, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec150, ptr %31, align 16
  %index.next = or disjoint i64 %index, 4
  %32 = or disjoint i64 %index, 6
  %33 = getelementptr inbounds float, ptr %4, i64 %index.next
  %34 = getelementptr inbounds i8, ptr %33, i64 8
  %wide.load.1 = load <2 x float>, ptr %33, align 16, !tbaa !5
  %wide.load149.1 = load <2 x float>, ptr %34, align 8, !tbaa !5
  %35 = getelementptr inbounds { float, float }, ptr %5, i64 %index.next
  %36 = getelementptr inbounds { float, float }, ptr %5, i64 %32
  %interleaved.vec.1 = shufflevector <2 x float> %wide.load.1, <2 x float> zeroinitializer, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec.1, ptr %35, align 16
  %interleaved.vec150.1 = shufflevector <2 x float> %wide.load149.1, <2 x float> zeroinitializer, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec150.1, ptr %36, align 16
  %index.next.1 = add nuw nsw i64 %index, 8
  %37 = icmp eq i64 %index.next.1, 2400
  br i1 %37, 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 ]
  %38 = fmul float %.0124, 0.000000e+00
  %.sroa.047.0.vec.insert = insertelement <2 x float> poison, float %38, i64 0
  %.sroa.047.4.vec.insert = insertelement <2 x float> %.sroa.047.0.vec.insert, float %.0124, i64 1
  %39 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.047.4.vec.insert) #7
  %40 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv133
  %41 = load float, ptr %40, align 8
  %42 = getelementptr inbounds i8, ptr %40, i64 4
  %43 = load float, ptr %42, align 4
  %44 = insertelement <2 x float> poison, float %41, i64 0
  %45 = shufflevector <2 x float> %44, <2 x float> poison, <2 x i32> zeroinitializer
  %46 = fmul <2 x float> %45, %39
  %47 = insertelement <2 x float> poison, float %43, i64 0
  %48 = shufflevector <2 x float> %47, <2 x float> poison, <2 x i32> zeroinitializer
  %49 = fmul <2 x float> %39, %48
  %50 = shufflevector <2 x float> %49, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %51 = fsub <2 x float> %46, %50
  %52 = fadd <2 x float> %46, %50
  %53 = shufflevector <2 x float> %51, <2 x float> %52, <2 x i32> <i32 0, i32 3>
  %54 = extractelement <2 x float> %51, i64 0
  %55 = fcmp uno float %54, 0.000000e+00
  br i1 %55, label %56, label %63, !prof !14

56:                                               ; preds = %.preheader117
  %57 = extractelement <2 x float> %52, i64 1
  %58 = fcmp uno float %57, 0.000000e+00
  br i1 %58, label %59, label %63, !prof !14

59:                                               ; preds = %56
  %60 = extractelement <2 x float> %39, i64 0
  %61 = extractelement <2 x float> %39, i64 1
  %62 = tail call <2 x float> @__mulsc3(float noundef %41, float noundef %43, float noundef %60, float noundef %61) #7
  br label %63

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

.preheader:                                       ; preds = %.lr.ph, %63
  %.pre-phi = phi double [ %78, %63 ], [ %84, %.lr.ph ]
  %.1.lcssa = phi float [ %77, %63 ], [ %83, %.lr.ph ]
  %80 = fcmp olt double %.pre-phi, 0xC00921FB54442D18
  br i1 %80, label %.lr.ph121, label %._crit_edge

.lr.ph:                                           ; preds = %63, %.lr.ph
  %81 = phi double [ %84, %.lr.ph ], [ %78, %63 ]
  %82 = fadd double %81, 0xC01921FB54442D18
  %83 = fptrunc double %82 to float
  %84 = fpext float %83 to double
  %85 = fcmp ogt double %84, 0x400921FB54442D18
  br i1 %85, label %.lr.ph, label %.preheader, !llvm.loop !15

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

._crit_edge:                                      ; preds = %.lr.ph121, %.preheader
  %.2.lcssa = phi float [ %.1.lcssa, %.preheader ], [ %88, %.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 %91, label %.preheader117, !llvm.loop !17

91:                                               ; preds = %._crit_edge
  %92 = tail call ptr @nco_crcf_create(i32 noundef 1) #7
  %93 = tail call i32 @nco_crcf_pll_set_bandwidth(ptr noundef %92, float noundef 0x3F847AE140000000) #7
  %94 = getelementptr inbounds i8, ptr %3, i64 4
  br label %95

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

107:                                              ; preds = %95
  %108 = call i32 @nco_crcf_destroy(ptr noundef %92) #7
  %109 = call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #7
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.3) #7
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.4) #7
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.5, i32 noundef 2400) #7
  br label %114

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

135:                                              ; preds = %114
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.10) #7
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.11, double noundef 0.000000e+00) #7
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.12) #7
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.13) #7
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.14) #7
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.15) #7
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.16) #7
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.17) #7
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.18) #7
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.19) #7
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.20) #7
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.21) #7
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.22) #7
  %149 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.16) #7
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.23) #7
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.24) #7
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.19) #7
  %153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.25) #7
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.26) #7
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.27) #7
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.28) #7
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.29) #7
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.30) #7
  %159 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.31) #7
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.19) #7
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.32) #7
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.33) #7
  %163 = call i32 @fclose(ptr noundef %109)
  %164 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.34, 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 i32 @nco_crcf_mix_down(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #4

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

; 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

; 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

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 = { 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,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass