; LLVM IR from jgaeddert/liquid-dsp :: sandbox (gmskmodem_equalizer_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 [27 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 [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [25 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 i32, align 4
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca { float, float }, align 4
  %24 = alloca { float, float }, align 4
  %25 = alloca i32, align 4
  %26 = alloca { float, float }, align 4
  %27 = alloca { float, float }, align 4
  %28 = alloca { float, float }, align 4
  %29 = alloca i32, align 4
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = 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) #5
  store i32 4, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store float 0x3FD3333340000000, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 3, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store float 5.000000e-01, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 240000, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 1200, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %33 = load i32, ptr %6, align 4, !tbaa !5
  %34 = load float, ptr %7, align 4, !tbaa !11
  %35 = call ptr @gmskmod_create(i32 noundef %33, i32 noundef 3, float noundef %34)
  store ptr %35, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store float 0x3FD99999A0000000, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %36 = load float, ptr %14, align 4, !tbaa !11
  %37 = call ptr @firfilt_crcf_create_kaiser(i32 noundef 17, float noundef %36, float noundef 6.000000e+01, float noundef 5.000000e-01)
  store ptr %37, ptr %15, align 8, !tbaa !9
  %38 = load ptr, ptr %15, align 8, !tbaa !9
  %39 = load float, ptr %14, align 4, !tbaa !11
  %40 = fmul float 2.000000e+00, %39
  %41 = call i32 @firfilt_crcf_set_scale(ptr noundef %38, float noundef %40)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %42 = load i32, ptr %6, align 4, !tbaa !5
  %43 = load i32, ptr %8, align 4, !tbaa !5
  %44 = load float, ptr %7, align 4, !tbaa !11
  %45 = call ptr @eqlms_cccf_create_rnyquist(i32 noundef 7, i32 noundef %42, i32 noundef %43, float noundef %44, float noundef 0.000000e+00)
  store ptr %45, ptr %16, align 8, !tbaa !9
  %46 = load ptr, ptr %16, align 8, !tbaa !9
  %47 = load float, ptr %9, align 4, !tbaa !11
  %48 = call i32 @eqlms_cccf_set_bw(ptr noundef %46, float noundef %47)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 800, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %49 = load i32, ptr %17, align 4, !tbaa !5
  %50 = call ptr @windowcf_create(i32 noundef %49)
  store ptr %50, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %51 = load i32, ptr %11, align 4, !tbaa !5
  %52 = call ptr @spgramcf_create_default(i32 noundef %51)
  store ptr %52, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %53 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %53, ptr %20, align 8, !tbaa !9
  %54 = load ptr, ptr %20, align 8, !tbaa !9
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.2, ptr noundef @.str) #5
  %56 = load ptr, ptr %20, align 8, !tbaa !9
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.3) #5
  %58 = load ptr, ptr %20, align 8, !tbaa !9
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.4) #5
  %60 = load ptr, ptr %20, align 8, !tbaa !9
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.5, i32 noundef %61) #5
  %63 = load ptr, ptr %20, align 8, !tbaa !9
  %64 = load i32, ptr %10, align 4, !tbaa !5
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.6, i32 noundef %64) #5
  %66 = load ptr, ptr %20, align 8, !tbaa !9
  %67 = load i32, ptr %11, align 4, !tbaa !5
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.7, i32 noundef %67) #5
  %69 = load ptr, ptr %20, align 8, !tbaa !9
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.8) #5
  %71 = load i32, ptr %6, align 4, !tbaa !5
  %72 = zext i32 %71 to i64
  %73 = call ptr @llvm.stacksave.p0()
  store ptr %73, ptr %21, align 8
  %74 = alloca { float, float }, i64 %72, align 16
  store i64 %72, ptr %22, align 8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %75

75:                                               ; preds = %153, %2
  %76 = load i32, ptr %13, align 4, !tbaa !5
  %77 = load i32, ptr %10, align 4, !tbaa !5
  %78 = icmp ult i32 %76, %77
  br i1 %78, label %79, label %156

79:                                               ; preds = %75
  %80 = load ptr, ptr %12, align 8, !tbaa !9
  %81 = call i32 @rand() #5
  %82 = and i32 %81, 1
  %83 = call i32 @gmskmod_modulate(ptr noundef %80, i32 noundef %82, ptr noundef %74)
  %84 = load ptr, ptr %15, align 8, !tbaa !9
  %85 = load i32, ptr %6, align 4, !tbaa !5
  %86 = call i32 @firfilt_crcf_execute_block(ptr noundef %84, ptr noundef %74, i32 noundef %85, ptr noundef %74)
  %87 = load ptr, ptr %16, align 8, !tbaa !9
  %88 = load i32, ptr %6, align 4, !tbaa !5
  %89 = call i32 @eqlms_cccf_push_block(ptr noundef %87, ptr noundef %74, i32 noundef %88)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %90 = load ptr, ptr %16, align 8, !tbaa !9
  %91 = call i32 @eqlms_cccf_execute(ptr noundef %90, ptr noundef %23)
  %92 = load ptr, ptr %19, align 8, !tbaa !9
  %93 = load i32, ptr %6, align 4, !tbaa !5
  %94 = call i32 @spgramcf_write(ptr noundef %92, ptr noundef %74, i32 noundef %93)
  %95 = load ptr, ptr %18, align 8, !tbaa !9
  %96 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %97 = load float, ptr %96, align 4
  %98 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  %99 = load float, ptr %98, align 4
  %100 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %101 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  store float %97, ptr %100, align 4
  store float %99, ptr %101, align 4
  %102 = load <2 x float>, ptr %24, align 4
  %103 = call i32 @windowcf_push(ptr noundef %95, <2 x float> noundef %102)
  %104 = load i32, ptr %13, align 4, !tbaa !5
  %105 = load i32, ptr %8, align 4, !tbaa !5
  %106 = icmp ult i32 %104, %105
  br i1 %106, label %107, label %108

107:                                              ; preds = %79
  store i32 4, ptr %25, align 4
  br label %150

108:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %109 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %110 = load float, ptr %109, align 4
  %111 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  %112 = load float, ptr %111, align 4
  %113 = fcmp ogt float %110, 0.000000e+00
  %114 = zext i1 %113 to i64
  %115 = select i1 %113, i32 1, i32 -1
  %116 = sitofp i32 %115 to double
  %117 = fmul double %116, 0x3FE6A09E667F3BCD
  %118 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %119 = load float, ptr %118, align 4
  %120 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  %121 = load float, ptr %120, align 4
  %122 = fcmp ogt float %121, 0.000000e+00
  %123 = zext i1 %122 to i64
  %124 = select i1 %122, i32 1, i32 -1
  %125 = sitofp i32 %124 to double
  %126 = fmul double %125, 0x3FE6A09E667F3BCD
  %127 = fmul double %126, 0.000000e+00
  %128 = fmul double %126, 1.000000e+00
  %129 = fadd double %117, %127
  %130 = fptrunc double %129 to float
  %131 = fptrunc double %128 to float
  %132 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %133 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  store float %130, ptr %132, align 4
  store float %131, ptr %133, align 4
  %134 = load ptr, ptr %16, align 8, !tbaa !9
  %135 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %136 = load float, ptr %135, align 4
  %137 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %138 = load float, ptr %137, align 4
  %139 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %140 = load float, ptr %139, align 4
  %141 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  %142 = load float, ptr %141, align 4
  %143 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %144 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  store float %136, ptr %143, align 4
  store float %138, ptr %144, align 4
  %145 = load <2 x float>, ptr %27, align 4
  %146 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %147 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  store float %140, ptr %146, align 4
  store float %142, ptr %147, align 4
  %148 = load <2 x float>, ptr %28, align 4
  %149 = call i32 @eqlms_cccf_step(ptr noundef %134, <2 x float> noundef %145, <2 x float> noundef %148)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  store i32 0, ptr %25, align 4
  br label %150

150:                                              ; preds = %108, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  %151 = load i32, ptr %25, align 4
  switch i32 %151, label %319 [
    i32 0, label %152
    i32 4, label %153
  ]

152:                                              ; preds = %150
  br label %153

153:                                              ; preds = %152, %150
  %154 = load i32, ptr %13, align 4, !tbaa !5
  %155 = add i32 %154, 1
  store i32 %155, ptr %13, align 4, !tbaa !5
  br label %75, !llvm.loop !13

156:                                              ; preds = %75
  %157 = load float, ptr %9, align 4, !tbaa !11
  %158 = fpext float %157 to double
  %159 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %158)
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %160 = load i32, ptr %6, align 4, !tbaa !5
  %161 = mul i32 2, %160
  %162 = load i32, ptr %8, align 4, !tbaa !5
  %163 = mul i32 %161, %162
  %164 = add i32 %163, 1
  store i32 %164, ptr %29, align 4, !tbaa !5
  %165 = load i32, ptr %29, align 4, !tbaa !5
  %166 = zext i32 %165 to i64
  %167 = alloca { float, float }, i64 %166, align 16
  store i64 %166, ptr %30, align 8
  %168 = load ptr, ptr %16, align 8, !tbaa !9
  %169 = call i32 @eqlms_cccf_copy_coefficients(ptr noundef %168, ptr noundef %167)
  %170 = load ptr, ptr %20, align 8, !tbaa !9
  %171 = load i32, ptr %29, align 4, !tbaa !5
  %172 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %170, ptr noundef @.str.10, i32 noundef %171) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %173

173:                                              ; preds = %198, %156
  %174 = load i32, ptr %13, align 4, !tbaa !5
  %175 = load i32, ptr %29, align 4, !tbaa !5
  %176 = icmp ult i32 %174, %175
  br i1 %176, label %177, label %201

177:                                              ; preds = %173
  %178 = load ptr, ptr %20, align 8, !tbaa !9
  %179 = load i32, ptr %13, align 4, !tbaa !5
  %180 = add i32 %179, 1
  %181 = load i32, ptr %13, align 4, !tbaa !5
  %182 = zext i32 %181 to i64
  %183 = getelementptr inbounds { float, float }, ptr %167, i64 %182
  %184 = getelementptr inbounds { float, float }, ptr %183, i32 0, i32 0
  %185 = load float, ptr %184, align 8
  %186 = getelementptr inbounds { float, float }, ptr %183, i32 0, i32 1
  %187 = load float, ptr %186, align 4
  %188 = fpext float %185 to double
  %189 = load i32, ptr %13, align 4, !tbaa !5
  %190 = zext i32 %189 to i64
  %191 = getelementptr inbounds { float, float }, ptr %167, i64 %190
  %192 = getelementptr inbounds { float, float }, ptr %191, i32 0, i32 0
  %193 = load float, ptr %192, align 8
  %194 = getelementptr inbounds { float, float }, ptr %191, i32 0, i32 1
  %195 = load float, ptr %194, align 4
  %196 = fpext float %195 to double
  %197 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef @.str.11, i32 noundef %180, double noundef %188, double noundef %196) #5
  br label %198

198:                                              ; preds = %177
  %199 = load i32, ptr %13, align 4, !tbaa !5
  %200 = add i32 %199, 1
  store i32 %200, ptr %13, align 4, !tbaa !5
  br label %173, !llvm.loop !15

201:                                              ; preds = %173
  %202 = load i32, ptr %11, align 4, !tbaa !5
  %203 = zext i32 %202 to i64
  %204 = alloca float, i64 %203, align 16
  store i64 %203, ptr %31, align 8
  %205 = load ptr, ptr %19, align 8, !tbaa !9
  %206 = call i32 @spgramcf_get_psd(ptr noundef %205, ptr noundef %204)
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %207

207:                                              ; preds = %221, %201
  %208 = load i32, ptr %13, align 4, !tbaa !5
  %209 = load i32, ptr %11, align 4, !tbaa !5
  %210 = icmp ult i32 %208, %209
  br i1 %210, label %211, label %224

211:                                              ; preds = %207
  %212 = load ptr, ptr %20, align 8, !tbaa !9
  %213 = load i32, ptr %13, align 4, !tbaa !5
  %214 = add i32 %213, 1
  %215 = load i32, ptr %13, align 4, !tbaa !5
  %216 = zext i32 %215 to i64
  %217 = getelementptr inbounds float, ptr %204, i64 %216
  %218 = load float, ptr %217, align 4, !tbaa !11
  %219 = fpext float %218 to double
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %212, ptr noundef @.str.12, i32 noundef %214, double noundef %219) #5
  br label %221

221:                                              ; preds = %211
  %222 = load i32, ptr %13, align 4, !tbaa !5
  %223 = add i32 %222, 1
  store i32 %223, ptr %13, align 4, !tbaa !5
  br label %207, !llvm.loop !16

224:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %225 = load ptr, ptr %18, align 8, !tbaa !9
  %226 = call i32 @windowcf_read(ptr noundef %225, ptr noundef %32)
  %227 = load ptr, ptr %20, align 8, !tbaa !9
  %228 = load i32, ptr %17, align 4, !tbaa !5
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef @.str.13, i32 noundef %228) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %230

230:                                              ; preds = %257, %224
  %231 = load i32, ptr %13, align 4, !tbaa !5
  %232 = load i32, ptr %17, align 4, !tbaa !5
  %233 = icmp ult i32 %231, %232
  br i1 %233, label %234, label %260

234:                                              ; preds = %230
  %235 = load ptr, ptr %20, align 8, !tbaa !9
  %236 = load i32, ptr %13, align 4, !tbaa !5
  %237 = add i32 %236, 1
  %238 = load ptr, ptr %32, align 8, !tbaa !9
  %239 = load i32, ptr %13, align 4, !tbaa !5
  %240 = zext i32 %239 to i64
  %241 = getelementptr inbounds { float, float }, ptr %238, i64 %240
  %242 = getelementptr inbounds { float, float }, ptr %241, i32 0, i32 0
  %243 = load float, ptr %242, align 4
  %244 = getelementptr inbounds { float, float }, ptr %241, i32 0, i32 1
  %245 = load float, ptr %244, align 4
  %246 = fpext float %243 to double
  %247 = load ptr, ptr %32, align 8, !tbaa !9
  %248 = load i32, ptr %13, align 4, !tbaa !5
  %249 = zext i32 %248 to i64
  %250 = getelementptr inbounds { float, float }, ptr %247, i64 %249
  %251 = getelementptr inbounds { float, float }, ptr %250, i32 0, i32 0
  %252 = load float, ptr %251, align 4
  %253 = getelementptr inbounds { float, float }, ptr %250, i32 0, i32 1
  %254 = load float, ptr %253, align 4
  %255 = fpext float %254 to double
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str.14, i32 noundef %237, double noundef %246, double noundef %255) #5
  br label %257

257:                                              ; preds = %234
  %258 = load i32, ptr %13, align 4, !tbaa !5
  %259 = add i32 %258, 1
  store i32 %259, ptr %13, align 4, !tbaa !5
  br label %230, !llvm.loop !17

260:                                              ; preds = %230
  %261 = load ptr, ptr %20, align 8, !tbaa !9
  %262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef @.str.15) #5
  %263 = load ptr, ptr %20, align 8, !tbaa !9
  %264 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.16) #5
  %265 = load ptr, ptr %20, align 8, !tbaa !9
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %265, ptr noundef @.str.17) #5
  %267 = load ptr, ptr %20, align 8, !tbaa !9
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %267, ptr noundef @.str.18) #5
  %269 = load ptr, ptr %20, align 8, !tbaa !9
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %269, ptr noundef @.str.19) #5
  %271 = load ptr, ptr %20, align 8, !tbaa !9
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %271, ptr noundef @.str.20) #5
  %273 = load ptr, ptr %20, align 8, !tbaa !9
  %274 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %273, ptr noundef @.str.21) #5
  %275 = load ptr, ptr %20, align 8, !tbaa !9
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %275, ptr noundef @.str.22) #5
  %277 = load ptr, ptr %20, align 8, !tbaa !9
  %278 = load i32, ptr %6, align 4, !tbaa !5
  %279 = load i32, ptr %8, align 4, !tbaa !5
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %277, ptr noundef @.str.23, i32 noundef %278, i32 noundef %279) #5
  %281 = load ptr, ptr %20, align 8, !tbaa !9
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.24) #5
  %283 = load ptr, ptr %20, align 8, !tbaa !9
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %283, ptr noundef @.str.25) #5
  %285 = load ptr, ptr %20, align 8, !tbaa !9
  %286 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %285, ptr noundef @.str.26) #5
  %287 = load ptr, ptr %20, align 8, !tbaa !9
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %287, ptr noundef @.str.27) #5
  %289 = load ptr, ptr %20, align 8, !tbaa !9
  %290 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef @.str.28) #5
  %291 = load ptr, ptr %20, align 8, !tbaa !9
  %292 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %291, ptr noundef @.str.29) #5
  %293 = load ptr, ptr %20, align 8, !tbaa !9
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %293, ptr noundef @.str.30) #5
  %295 = load ptr, ptr %20, align 8, !tbaa !9
  %296 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %295, ptr noundef @.str.31) #5
  %297 = load ptr, ptr %20, align 8, !tbaa !9
  %298 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %297, ptr noundef @.str.32) #5
  %299 = load ptr, ptr %20, align 8, !tbaa !9
  %300 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %299, ptr noundef @.str.33) #5
  %301 = load ptr, ptr %20, align 8, !tbaa !9
  %302 = load i32, ptr %17, align 4, !tbaa !5
  %303 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %301, ptr noundef @.str.34, i32 noundef %302) #5
  %304 = load ptr, ptr %20, align 8, !tbaa !9
  %305 = call i32 @fclose(ptr noundef %304)
  %306 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef @.str)
  %307 = load ptr, ptr %12, align 8, !tbaa !9
  %308 = call i32 @gmskmod_destroy(ptr noundef %307)
  %309 = load ptr, ptr %15, align 8, !tbaa !9
  %310 = call i32 @firfilt_crcf_destroy(ptr noundef %309)
  %311 = load ptr, ptr %16, align 8, !tbaa !9
  %312 = call i32 @eqlms_cccf_destroy(ptr noundef %311)
  %313 = load ptr, ptr %19, align 8, !tbaa !9
  %314 = call i32 @spgramcf_destroy(ptr noundef %313)
  %315 = load ptr, ptr %18, align 8, !tbaa !9
  %316 = call i32 @windowcf_destroy(ptr noundef %315)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  %317 = load ptr, ptr %21, align 8
  call void @llvm.stackrestore.p0(ptr %317)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %318 = load i32, ptr %3, align 4
  ret i32 %318

319:                                              ; preds = %150
  unreachable
}

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

declare ptr @gmskmod_create(i32 noundef, i32 noundef, float noundef) #2

declare ptr @firfilt_crcf_create_kaiser(i32 noundef, float noundef, float noundef, float noundef) #2

declare i32 @firfilt_crcf_set_scale(ptr noundef, float noundef) #2

declare ptr @eqlms_cccf_create_rnyquist(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) #2

declare i32 @eqlms_cccf_set_bw(ptr noundef, float noundef) #2

declare ptr @windowcf_create(i32 noundef) #2

declare ptr @spgramcf_create_default(i32 noundef) #2

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

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

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

declare i32 @gmskmod_modulate(ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @rand() #3

declare i32 @firfilt_crcf_execute_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

declare i32 @eqlms_cccf_push_block(ptr noundef, ptr noundef, i32 noundef) #2

declare i32 @eqlms_cccf_execute(ptr noundef, ptr noundef) #2

declare i32 @spgramcf_write(ptr noundef, ptr noundef, i32 noundef) #2

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

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

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

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

declare i32 @eqlms_cccf_copy_coefficients(ptr noundef, ptr noundef) #2

declare i32 @spgramcf_get_psd(ptr noundef, ptr noundef) #2

declare i32 @windowcf_read(ptr noundef, ptr noundef) #2

declare i32 @fclose(ptr noundef) #2

declare i32 @gmskmod_destroy(ptr noundef) #2

declare i32 @firfilt_crcf_destroy(ptr noundef) #2

declare i32 @eqlms_cccf_destroy(ptr noundef) #2

declare i32 @spgramcf_destroy(ptr noundef) #2

declare i32 @windowcf_destroy(ptr noundef) #2

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind willreturn }
attributes #5 = { 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 = distinct !{!16, !14}
!17 = distinct !{!17, !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 [27 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 [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [25 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 {
.peel.next118:
  %2 = alloca { float, float }, align 8
  %3 = alloca ptr, align 8
  %4 = tail call ptr @gmskmod_create(i32 noundef 4, i32 noundef 3, float noundef 0x3FD3333340000000) #6
  %5 = tail call ptr @firfilt_crcf_create_kaiser(i32 noundef 17, float noundef 0x3FD99999A0000000, float noundef 6.000000e+01, float noundef 5.000000e-01) #6
  %6 = tail call i32 @firfilt_crcf_set_scale(ptr noundef %5, float noundef 0x3FE99999A0000000) #6
  %7 = tail call ptr @eqlms_cccf_create_rnyquist(i32 noundef 7, i32 noundef 4, i32 noundef 3, float noundef 0x3FD3333340000000, float noundef 0.000000e+00) #6
  %8 = tail call i32 @eqlms_cccf_set_bw(ptr noundef %7, float noundef 5.000000e-01) #6
  %9 = tail call ptr @windowcf_create(i32 noundef 800) #6
  %10 = tail call ptr @spgramcf_create_default(i32 noundef 1200) #6
  %11 = tail call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #6
  %13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.3) #6
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.4) #6
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.5, i32 noundef 4) #6
  %16 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.6, i32 noundef 240000) #6
  %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.7, i32 noundef 1200) #6
  %18 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.8) #6
  %19 = alloca [4 x { float, float }], align 16
  %20 = tail call i32 @rand() #6
  %21 = and i32 %20, 1
  %22 = call i32 @gmskmod_modulate(ptr noundef %4, i32 noundef %21, ptr noundef nonnull %19) #6
  %23 = call i32 @firfilt_crcf_execute_block(ptr noundef %5, ptr noundef nonnull %19, i32 noundef 4, ptr noundef nonnull %19) #6
  %24 = call i32 @eqlms_cccf_push_block(ptr noundef %7, ptr noundef nonnull %19, i32 noundef 4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %25 = call i32 @eqlms_cccf_execute(ptr noundef %7, ptr noundef nonnull %2) #6
  %26 = call i32 @spgramcf_write(ptr noundef %10, ptr noundef nonnull %19, i32 noundef 4) #6
  %27 = load <2 x float>, ptr %2, align 8
  %28 = call i32 @windowcf_push(ptr noundef %9, <2 x float> noundef %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  %29 = call i32 @rand() #6
  %30 = and i32 %29, 1
  %31 = call i32 @gmskmod_modulate(ptr noundef %4, i32 noundef %30, ptr noundef nonnull %19) #6
  %32 = call i32 @firfilt_crcf_execute_block(ptr noundef %5, ptr noundef nonnull %19, i32 noundef 4, ptr noundef nonnull %19) #6
  %33 = call i32 @eqlms_cccf_push_block(ptr noundef %7, ptr noundef nonnull %19, i32 noundef 4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %34 = call i32 @eqlms_cccf_execute(ptr noundef %7, ptr noundef nonnull %2) #6
  %35 = call i32 @spgramcf_write(ptr noundef %10, ptr noundef nonnull %19, i32 noundef 4) #6
  %36 = load <2 x float>, ptr %2, align 8
  %37 = call i32 @windowcf_push(ptr noundef %9, <2 x float> noundef %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  %38 = call i32 @rand() #6
  %39 = and i32 %38, 1
  %40 = call i32 @gmskmod_modulate(ptr noundef %4, i32 noundef %39, ptr noundef nonnull %19) #6
  %41 = call i32 @firfilt_crcf_execute_block(ptr noundef %5, ptr noundef nonnull %19, i32 noundef 4, ptr noundef nonnull %19) #6
  %42 = call i32 @eqlms_cccf_push_block(ptr noundef %7, ptr noundef nonnull %19, i32 noundef 4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %43 = call i32 @eqlms_cccf_execute(ptr noundef %7, ptr noundef nonnull %2) #6
  %44 = call i32 @spgramcf_write(ptr noundef %10, ptr noundef nonnull %19, i32 noundef 4) #6
  %45 = load <2 x float>, ptr %2, align 8
  %46 = call i32 @windowcf_push(ptr noundef %9, <2 x float> noundef %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  br label %47

47:                                               ; preds = %.peel.next118, %47
  %.0106 = phi i32 [ 3, %.peel.next118 ], [ %70, %47 ]
  %48 = call i32 @rand() #6
  %49 = and i32 %48, 1
  %50 = call i32 @gmskmod_modulate(ptr noundef %4, i32 noundef %49, ptr noundef nonnull %19) #6
  %51 = call i32 @firfilt_crcf_execute_block(ptr noundef %5, ptr noundef nonnull %19, i32 noundef 4, ptr noundef nonnull %19) #6
  %52 = call i32 @eqlms_cccf_push_block(ptr noundef %7, ptr noundef nonnull %19, i32 noundef 4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %53 = call i32 @eqlms_cccf_execute(ptr noundef %7, ptr noundef nonnull %2) #6
  %54 = call i32 @spgramcf_write(ptr noundef %10, ptr noundef nonnull %19, i32 noundef 4) #6
  %55 = load <2 x float>, ptr %2, align 8
  %56 = call i32 @windowcf_push(ptr noundef %9, <2 x float> noundef %55) #6
  %57 = load <2 x float>, ptr %2, align 8
  %58 = extractelement <2 x float> %57, i64 0
  %59 = fcmp ogt float %58, 0.000000e+00
  %60 = select i1 %59, double 0x3FE6A09E667F3BCD, double 0xBFE6A09E667F3BCD
  %61 = extractelement <2 x float> %57, i64 1
  %62 = fcmp ogt float %61, 0.000000e+00
  %63 = select i1 %62, double 0x3FE6A09E667F3BCD, double 0xBFE6A09E667F3BCD
  %64 = call double @llvm.copysign.f64(double 0.000000e+00, double %63)
  %65 = fadd double %60, %64
  %66 = insertelement <2 x double> poison, double %65, i64 0
  %67 = insertelement <2 x double> %66, double %63, i64 1
  %68 = fptrunc <2 x double> %67 to <2 x float>
  %69 = call i32 @eqlms_cccf_step(ptr noundef %7, <2 x float> noundef %68, <2 x float> noundef %57) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  %70 = add nuw nsw i32 %.0106, 1
  %exitcond.not = icmp eq i32 %70, 240000
  br i1 %exitcond.not, label %.loopexit, label %47, !llvm.loop !5

.loopexit:                                        ; preds = %47
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef 5.000000e-01)
  %72 = alloca [25 x { float, float }], align 16
  %73 = call i32 @eqlms_cccf_copy_coefficients(ptr noundef %7, ptr noundef nonnull %72) #6
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.10, i32 noundef 25) #6
  %75 = load float, ptr %72, align 16
  %76 = getelementptr inbounds i8, ptr %72, i64 4
  %77 = fpext float %75 to double
  %78 = load float, ptr %76, align 4
  %79 = fpext float %78 to double
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 1, double noundef %77, double noundef %79) #6
  %81 = getelementptr inbounds i8, ptr %72, i64 8
  %82 = load float, ptr %81, align 8
  %83 = getelementptr inbounds i8, ptr %72, i64 12
  %84 = fpext float %82 to double
  %85 = load float, ptr %83, align 4
  %86 = fpext float %85 to double
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 2, double noundef %84, double noundef %86) #6
  %88 = getelementptr inbounds i8, ptr %72, i64 16
  %89 = load float, ptr %88, align 16
  %90 = getelementptr inbounds i8, ptr %72, i64 20
  %91 = fpext float %89 to double
  %92 = load float, ptr %90, align 4
  %93 = fpext float %92 to double
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 3, double noundef %91, double noundef %93) #6
  %95 = getelementptr inbounds i8, ptr %72, i64 24
  %96 = load float, ptr %95, align 8
  %97 = getelementptr inbounds i8, ptr %72, i64 28
  %98 = fpext float %96 to double
  %99 = load float, ptr %97, align 4
  %100 = fpext float %99 to double
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 4, double noundef %98, double noundef %100) #6
  %102 = getelementptr inbounds i8, ptr %72, i64 32
  %103 = load float, ptr %102, align 16
  %104 = getelementptr inbounds i8, ptr %72, i64 36
  %105 = fpext float %103 to double
  %106 = load float, ptr %104, align 4
  %107 = fpext float %106 to double
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 5, double noundef %105, double noundef %107) #6
  %109 = getelementptr inbounds i8, ptr %72, i64 40
  %110 = load float, ptr %109, align 8
  %111 = getelementptr inbounds i8, ptr %72, i64 44
  %112 = fpext float %110 to double
  %113 = load float, ptr %111, align 4
  %114 = fpext float %113 to double
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 6, double noundef %112, double noundef %114) #6
  %116 = getelementptr inbounds i8, ptr %72, i64 48
  %117 = load float, ptr %116, align 16
  %118 = getelementptr inbounds i8, ptr %72, i64 52
  %119 = fpext float %117 to double
  %120 = load float, ptr %118, align 4
  %121 = fpext float %120 to double
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 7, double noundef %119, double noundef %121) #6
  %123 = getelementptr inbounds i8, ptr %72, i64 56
  %124 = load float, ptr %123, align 8
  %125 = getelementptr inbounds i8, ptr %72, i64 60
  %126 = fpext float %124 to double
  %127 = load float, ptr %125, align 4
  %128 = fpext float %127 to double
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 8, double noundef %126, double noundef %128) #6
  %130 = getelementptr inbounds i8, ptr %72, i64 64
  %131 = load float, ptr %130, align 16
  %132 = getelementptr inbounds i8, ptr %72, i64 68
  %133 = fpext float %131 to double
  %134 = load float, ptr %132, align 4
  %135 = fpext float %134 to double
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 9, double noundef %133, double noundef %135) #6
  %137 = getelementptr inbounds i8, ptr %72, i64 72
  %138 = load float, ptr %137, align 8
  %139 = getelementptr inbounds i8, ptr %72, i64 76
  %140 = fpext float %138 to double
  %141 = load float, ptr %139, align 4
  %142 = fpext float %141 to double
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 10, double noundef %140, double noundef %142) #6
  %144 = getelementptr inbounds i8, ptr %72, i64 80
  %145 = load float, ptr %144, align 16
  %146 = getelementptr inbounds i8, ptr %72, i64 84
  %147 = fpext float %145 to double
  %148 = load float, ptr %146, align 4
  %149 = fpext float %148 to double
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 11, double noundef %147, double noundef %149) #6
  %151 = getelementptr inbounds i8, ptr %72, i64 88
  %152 = load float, ptr %151, align 8
  %153 = getelementptr inbounds i8, ptr %72, i64 92
  %154 = fpext float %152 to double
  %155 = load float, ptr %153, align 4
  %156 = fpext float %155 to double
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 12, double noundef %154, double noundef %156) #6
  %158 = getelementptr inbounds i8, ptr %72, i64 96
  %159 = load float, ptr %158, align 16
  %160 = getelementptr inbounds i8, ptr %72, i64 100
  %161 = fpext float %159 to double
  %162 = load float, ptr %160, align 4
  %163 = fpext float %162 to double
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 13, double noundef %161, double noundef %163) #6
  %165 = getelementptr inbounds i8, ptr %72, i64 104
  %166 = load float, ptr %165, align 8
  %167 = getelementptr inbounds i8, ptr %72, i64 108
  %168 = fpext float %166 to double
  %169 = load float, ptr %167, align 4
  %170 = fpext float %169 to double
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 14, double noundef %168, double noundef %170) #6
  %172 = getelementptr inbounds i8, ptr %72, i64 112
  %173 = load float, ptr %172, align 16
  %174 = getelementptr inbounds i8, ptr %72, i64 116
  %175 = fpext float %173 to double
  %176 = load float, ptr %174, align 4
  %177 = fpext float %176 to double
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 15, double noundef %175, double noundef %177) #6
  %179 = getelementptr inbounds i8, ptr %72, i64 120
  %180 = load float, ptr %179, align 8
  %181 = getelementptr inbounds i8, ptr %72, i64 124
  %182 = fpext float %180 to double
  %183 = load float, ptr %181, align 4
  %184 = fpext float %183 to double
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 16, double noundef %182, double noundef %184) #6
  %186 = getelementptr inbounds i8, ptr %72, i64 128
  %187 = load float, ptr %186, align 16
  %188 = getelementptr inbounds i8, ptr %72, i64 132
  %189 = fpext float %187 to double
  %190 = load float, ptr %188, align 4
  %191 = fpext float %190 to double
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 17, double noundef %189, double noundef %191) #6
  %193 = getelementptr inbounds i8, ptr %72, i64 136
  %194 = load float, ptr %193, align 8
  %195 = getelementptr inbounds i8, ptr %72, i64 140
  %196 = fpext float %194 to double
  %197 = load float, ptr %195, align 4
  %198 = fpext float %197 to double
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 18, double noundef %196, double noundef %198) #6
  %200 = getelementptr inbounds i8, ptr %72, i64 144
  %201 = load float, ptr %200, align 16
  %202 = getelementptr inbounds i8, ptr %72, i64 148
  %203 = fpext float %201 to double
  %204 = load float, ptr %202, align 4
  %205 = fpext float %204 to double
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 19, double noundef %203, double noundef %205) #6
  %207 = getelementptr inbounds i8, ptr %72, i64 152
  %208 = load float, ptr %207, align 8
  %209 = getelementptr inbounds i8, ptr %72, i64 156
  %210 = fpext float %208 to double
  %211 = load float, ptr %209, align 4
  %212 = fpext float %211 to double
  %213 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 20, double noundef %210, double noundef %212) #6
  %214 = getelementptr inbounds i8, ptr %72, i64 160
  %215 = load float, ptr %214, align 16
  %216 = getelementptr inbounds i8, ptr %72, i64 164
  %217 = fpext float %215 to double
  %218 = load float, ptr %216, align 4
  %219 = fpext float %218 to double
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 21, double noundef %217, double noundef %219) #6
  %221 = getelementptr inbounds i8, ptr %72, i64 168
  %222 = load float, ptr %221, align 8
  %223 = getelementptr inbounds i8, ptr %72, i64 172
  %224 = fpext float %222 to double
  %225 = load float, ptr %223, align 4
  %226 = fpext float %225 to double
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 22, double noundef %224, double noundef %226) #6
  %228 = getelementptr inbounds i8, ptr %72, i64 176
  %229 = load float, ptr %228, align 16
  %230 = getelementptr inbounds i8, ptr %72, i64 180
  %231 = fpext float %229 to double
  %232 = load float, ptr %230, align 4
  %233 = fpext float %232 to double
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 23, double noundef %231, double noundef %233) #6
  %235 = getelementptr inbounds i8, ptr %72, i64 184
  %236 = load float, ptr %235, align 8
  %237 = getelementptr inbounds i8, ptr %72, i64 188
  %238 = fpext float %236 to double
  %239 = load float, ptr %237, align 4
  %240 = fpext float %239 to double
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 24, double noundef %238, double noundef %240) #6
  %242 = getelementptr inbounds i8, ptr %72, i64 192
  %243 = load float, ptr %242, align 16
  %244 = getelementptr inbounds i8, ptr %72, i64 196
  %245 = fpext float %243 to double
  %246 = load float, ptr %244, align 4
  %247 = fpext float %246 to double
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.11, i32 noundef 25, double noundef %245, double noundef %247) #6
  %249 = alloca [1200 x float], align 16
  %250 = call i32 @spgramcf_get_psd(ptr noundef %10, ptr noundef nonnull %249) #6
  br label %251

251:                                              ; preds = %.loopexit, %251
  %indvars.iv = phi i64 [ 0, %.loopexit ], [ %indvars.iv.next, %251 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %252 = getelementptr inbounds float, ptr %249, i64 %indvars.iv
  %253 = load float, ptr %252, align 4, !tbaa !8
  %254 = fpext float %253 to double
  %255 = trunc nuw nsw i64 %indvars.iv.next to i32
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.12, i32 noundef %255, double noundef %254) #6
  %exitcond130.not = icmp eq i64 %indvars.iv.next, 1200
  br i1 %exitcond130.not, label %257, label %251, !llvm.loop !12

257:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %258 = call i32 @windowcf_read(ptr noundef %9, ptr noundef nonnull %3) #6
  %259 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.13, i32 noundef 800) #6
  br label %260

260:                                              ; preds = %257, %260
  %indvars.iv131 = phi i64 [ 0, %257 ], [ %indvars.iv.next132, %260 ]
  %indvars.iv.next132 = add nuw nsw i64 %indvars.iv131, 1
  %261 = load ptr, ptr %3, align 8, !tbaa !13
  %262 = getelementptr inbounds { float, float }, ptr %261, i64 %indvars.iv131
  %263 = load float, ptr %262, align 4
  %264 = getelementptr inbounds i8, ptr %262, i64 4
  %265 = fpext float %263 to double
  %266 = load float, ptr %264, align 4
  %267 = fpext float %266 to double
  %268 = trunc nuw nsw i64 %indvars.iv.next132 to i32
  %269 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.14, i32 noundef %268, double noundef %265, double noundef %267) #6
  %exitcond134.not = icmp eq i64 %indvars.iv.next132, 800
  br i1 %exitcond134.not, label %270, label %260, !llvm.loop !15

270:                                              ; preds = %260
  %271 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.15) #6
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.16) #6
  %273 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.17) #6
  %274 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.18) #6
  %275 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.19) #6
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.20) #6
  %277 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.21) #6
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.22) #6
  %279 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.23, i32 noundef 4, i32 noundef 3) #6
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.24) #6
  %281 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.25) #6
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.26) #6
  %283 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.27) #6
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.28) #6
  %285 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.29) #6
  %286 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.30) #6
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.31) #6
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.32) #6
  %289 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.33) #6
  %290 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.34, i32 noundef 800) #6
  %291 = call i32 @fclose(ptr noundef %11)
  %292 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, ptr noundef nonnull @.str)
  %293 = call i32 @gmskmod_destroy(ptr noundef %4) #6
  %294 = call i32 @firfilt_crcf_destroy(ptr noundef %5) #6
  %295 = call i32 @eqlms_cccf_destroy(ptr noundef %7) #6
  %296 = call i32 @spgramcf_destroy(ptr noundef %10) #6
  %297 = call i32 @windowcf_destroy(ptr noundef %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  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

declare ptr @gmskmod_create(i32 noundef, i32 noundef, float noundef) local_unnamed_addr #2

declare ptr @firfilt_crcf_create_kaiser(i32 noundef, float noundef, float noundef, float noundef) local_unnamed_addr #2

declare i32 @firfilt_crcf_set_scale(ptr noundef, float noundef) local_unnamed_addr #2

declare ptr @eqlms_cccf_create_rnyquist(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) local_unnamed_addr #2

declare i32 @eqlms_cccf_set_bw(ptr noundef, float noundef) local_unnamed_addr #2

declare ptr @windowcf_create(i32 noundef) local_unnamed_addr #2

declare ptr @spgramcf_create_default(i32 noundef) local_unnamed_addr #2

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

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

declare i32 @gmskmod_modulate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #4

declare i32 @firfilt_crcf_execute_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare i32 @eqlms_cccf_push_block(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @eqlms_cccf_execute(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @spgramcf_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

declare i32 @eqlms_cccf_copy_coefficients(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @spgramcf_get_psd(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @windowcf_read(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare i32 @gmskmod_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @firfilt_crcf_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @eqlms_cccf_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @spgramcf_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @windowcf_destroy(ptr noundef) local_unnamed_addr #2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6, !7}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!"llvm.loop.peeled.count", i32 3}
!8 = !{!9, !9, i64 0}
!9 = !{!"float", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = distinct !{!12, !6}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = distinct !{!15, !6}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,PostOrderFunctionAttrsPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass